ETH Price: $3,415.83 (-0.16%)

Token

Degenesis (DGNS)
 

Overview

Max Total Supply

300 DGNS

Holders

163

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

A fully gamified Play-and-Earn project. Founded & developed by seasoned experts from the gaming industry. Imagine having the fun of playing Diablo, Hades, Path of Exile, Lost Ark etc. within a world where virtually anything in-game can become an NFT. That is Degenheim. Website: https://degenheim.com/ Discord: https://discord.gg/degenheim/ Degenheim: https://opensea.io/collection/degenheim-nft

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Degenesis

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion
File 1 of 11 : Degenesis.sol
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

/*
Degenesis.sol
Written by: mousedev.eth
*/

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract Degenesis is ERC721, Ownable {
    struct Bid {
        address bidder;
        uint128 bidAmount;
        uint32 bidId;
        bool hasSettled;
        bool exists;
    }

    mapping(uint256 => Bid) public bids;
    mapping(address => uint256) public userToBidId;

    string public contractURI =
        "ipfs://Qmdn8KkBwtPPM4hgFzetcq7vcTdJdUu9mddK4RRZaEhing";
    string public unrevealedURI = "ipfs://QmWwKbTdxe2kMB8EU2WWPaLzWH7Sx88cdbJTEJJx1icGhf";

    string public baseURI;
    string public baseURIEXT = ".json";

    bool public revealed;

    uint256 public shiftAmount;
    uint256 internal commitBlock;

    uint256 public currentBidId = 1;
    uint256 public totalSupply = 0;

    uint256 public minimumBid = 0.15 ether;
    uint256 public minimumBidIncrement = 0.01 ether;

    uint256 public finalPrice;

    uint256 public auctionStartTime;
    uint256 public auctionEndTime;

    event BidAdded(uint128 bidAmount, address bidder);
    event BidAdjusted(uint128 bidAmount, address bidder);

    constructor(uint256 _auctionStartTime, uint256 _auctionEndTime)
        ERC721("Degenesis", "DGNS")
    {
        auctionStartTime = _auctionStartTime;
        auctionEndTime = _auctionEndTime;
    }

    function getAllBids() public view returns (Bid[] memory) {
        return getBids(uint32(currentBidId) - 1, 1);
    }

    function getBids(uint32 _quantity, uint256 _startingId)
        public
        view
        returns (Bid[] memory)
    {
        Bid[] memory _bids = new Bid[](_quantity);
        uint256 _currentBidsArrayIndex = 0;

        for (
            uint256 thisBidId = _startingId;
            thisBidId < _startingId + _quantity;
            thisBidId++
        ) {
            _bids[_currentBidsArrayIndex] = bids[thisBidId];
            _currentBidsArrayIndex++;
        }

        return _bids;
    }

    //Bids are non revokable.
    function bid() public payable {
        //Require auction is started.
        require(
            block.timestamp >= auctionStartTime &&
                block.timestamp < auctionEndTime,
            "Auction is not active!"
        );

        if (userToBidId[msg.sender] > 0) {
            //Require they are bidding more than minimum bid increment
            require(
                msg.value >= minimumBidIncrement,
                "Bid increment must be higher than minimum bid increment."
            );

            uint256 thisBidId = userToBidId[msg.sender];

            //Create a new bid total which is their previous bid + new bid amount.
            uint128 newBidTotal = bids[thisBidId].bidAmount +
                uint128(msg.value);

            //Create this bid struct with index as the current length.
            bids[thisBidId].bidAmount = newBidTotal;

            //Emit event.
            emit BidAdjusted(newBidTotal, msg.sender);
        } else {
            //Require they are bidding more than minimum bid amount
            require(
                msg.value >= minimumBid,
                "Bid must be higher than minimum amount."
            );

            //They have not bid yet, create a new bid Id.
            uint256 thisBidId = currentBidId;

            //Create their bid record.
            bids[thisBidId] = Bid(
                msg.sender,
                uint128(msg.value),
                uint32(thisBidId),
                false,
                true
            );

            //Store their bid id.
            userToBidId[msg.sender] = thisBidId;

            //Increment current id.
            ++currentBidId;

            //Emit event.
            emit BidAdded(uint128(msg.value), msg.sender);
        }
    }

    function setFinalPrice(uint128 _finalPrice) public onlyOwner {
        //Require auction has passed.
        require(block.timestamp >= auctionEndTime, "Auction is still active!");

        //Require final price has not been set.
        require(finalPrice == 0, "Final price already set!");

        //Set final price.
        finalPrice = _finalPrice;
    }

    function settleBids(uint256[] memory _bidIds) public onlyOwner {
        //Require auction has passed.
        require(block.timestamp >= auctionEndTime, "Auction is still active!");
        require(finalPrice > 0, "Final price has not been set!");

        for (uint256 i = 0; i < _bidIds.length; ++i) {
            uint256 thisBidId = _bidIds[i];

            //Store thisBid in memory to avoid storage reads.
            Bid memory _thisBid = bids[thisBidId];

            //Require they haven't settled their bid.
            require(!_thisBid.hasSettled, "You've already settled your bid!");

            require(_thisBid.exists, "Bid doesn't exist!");

            //Mark as settled.
            bids[thisBidId].hasSettled = true;

            //If their bid lost, or if the total supply is hit.
            if (_thisBid.bidAmount < finalPrice || totalSupply >= 250) {
                //They lost.
                //Send their bid back.
                (bool succ, ) = payable(_thisBid.bidder).call{
                    value: _thisBid.bidAmount
                }("");
                require(succ, "transfer failed");
            } else {
                //They won.
                //Mint them the next tokenId
                _mint(_thisBid.bidder, totalSupply);

                //Increment totalSupply by one.
                totalSupply++;

                //Calculate refund amount.
                uint256 refund = _thisBid.bidAmount - finalPrice;

                //Send refund.
                if (refund > 0) {
                    (bool succ, ) = payable(_thisBid.bidder).call{
                        value: refund
                    }("");
                    require(succ, "transfer failed");
                }
            }
        }
    }

    function adjustTimes(uint256 _auctionStartTime, uint256 _auctionEndTime)
        public
        onlyOwner
    {
        auctionStartTime = _auctionStartTime;
        auctionEndTime = _auctionEndTime;
    }

    function mintTeam(uint256 _quantity, address _receiver) public onlyOwner {
        require(totalSupply + _quantity <= 300, "Total supply exceeded!");
        for (uint256 i = 0; i < _quantity; i++) {
            _mint(_receiver, totalSupply + i);
        }
        totalSupply += _quantity;
    }

    function withdrawInitialETH() public onlyOwner {
        (bool succ, ) = payable(msg.sender).call{value: finalPrice * 250}("");
        require(succ, "transfer failed");
    }

    function withdrawFinalETH() public onlyOwner {
        require(
            block.timestamp >= auctionStartTime + 1 weeks,
            "Not enough time has passed!"
        );

        (bool succ, ) = payable(msg.sender).call{value: address(this).balance}(
            ""
        );
        require(succ, "transfer failed");
    }

    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseURI = _baseURI;
    }

    function setBaseURIEXT(string memory _baseURIEXT) public onlyOwner {
        baseURIEXT = _baseURIEXT;
    }

    function setContractURI(string memory _contractURI) public onlyOwner {
        contractURI = _contractURI;
    }

    function setRevealData(string memory _unrevealedURI) public onlyOwner {
        unrevealedURI = _unrevealedURI;
    }

    function commit(string memory _baseURI) public onlyOwner {
        require(commitBlock == 0, "Commit block already set!");

        commitBlock = block.number + 5;
        baseURI = _baseURI;
    }

    function reveal() public onlyOwner {
        require(block.number >= commitBlock, "Hasn't passed commit block!");
        require(commitBlock > 0, "Commit block not set!");
        require(!revealed, "Has already been revealed");

        shiftAmount = uint256(blockhash(commitBlock));
        revealed = true;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        if (revealed) {
            uint256 _newTokenId = (_tokenId + shiftAmount) % totalSupply;
            return
                string(
                    abi.encodePacked(
                        baseURI,
                        Strings.toString(_newTokenId),
                        baseURIEXT
                    )
                );
        } else {
            return unrevealedURI;
        }
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        _requireMinted(tokenId);

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

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

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

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

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        _requireMinted(tokenId);

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Reverts if the `tokenId` has not been minted yet.
     */
    function _requireMinted(uint256 tokenId) internal view virtual {
        require(_exists(tokenId), "ERC721: invalid token ID");
    }

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 4 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 5 of 11 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 6 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 10 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_auctionStartTime","type":"uint256"},{"internalType":"uint256","name":"_auctionEndTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint128","name":"bidAmount","type":"uint128"},{"indexed":false,"internalType":"address","name":"bidder","type":"address"}],"name":"BidAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint128","name":"bidAmount","type":"uint128"},{"indexed":false,"internalType":"address","name":"bidder","type":"address"}],"name":"BidAdjusted","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":"uint256","name":"_auctionStartTime","type":"uint256"},{"internalType":"uint256","name":"_auctionEndTime","type":"uint256"}],"name":"adjustTimes","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":[],"name":"auctionEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIEXT","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"bids","outputs":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint128","name":"bidAmount","type":"uint128"},{"internalType":"uint32","name":"bidId","type":"uint32"},{"internalType":"bool","name":"hasSettled","type":"bool"},{"internalType":"bool","name":"exists","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"commit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentBidId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"finalPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllBids","outputs":[{"components":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint128","name":"bidAmount","type":"uint128"},{"internalType":"uint32","name":"bidId","type":"uint32"},{"internalType":"bool","name":"hasSettled","type":"bool"},{"internalType":"bool","name":"exists","type":"bool"}],"internalType":"struct Degenesis.Bid[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_quantity","type":"uint32"},{"internalType":"uint256","name":"_startingId","type":"uint256"}],"name":"getBids","outputs":[{"components":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint128","name":"bidAmount","type":"uint128"},{"internalType":"uint32","name":"bidId","type":"uint32"},{"internalType":"bool","name":"hasSettled","type":"bool"},{"internalType":"bool","name":"exists","type":"bool"}],"internalType":"struct Degenesis.Bid[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumBid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumBidIncrement","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintTeam","outputs":[],"stateMutability":"nonpayable","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURIEXT","type":"string"}],"name":"setBaseURIEXT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_finalPrice","type":"uint128"}],"name":"setFinalPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedURI","type":"string"}],"name":"setRevealData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_bidIds","type":"uint256[]"}],"name":"settleBids","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shiftAmount","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":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userToBidId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFinalETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawInitialETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e0604052603560808181529062003c7160a03980516200002991600991602090910190620001c0565b5060405180606001604052806035815260200162003ca66035913980516200005a91600a91602090910190620001c0565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200008991600c91620001c0565b5060016010556000601155670214e8348c4f0000601255662386f26fc10000601355348015620000b857600080fd5b5060405162003cdb38038062003cdb833981016040819052620000db9162000266565b6040805180820182526009815268446567656e6573697360b81b60208083019182528351808501909452600484526344474e5360e01b9084015281519192916200012891600091620001c0565b5080516200013e906001906020840190620001c0565b5050506200015b620001556200016a60201b60201c565b6200016e565b601591909155601655620002c7565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001ce906200028a565b90600052602060002090601f016020900481019282620001f257600085556200023d565b82601f106200020d57805160ff19168380011785556200023d565b828001600101855582156200023d579182015b828111156200023d57825182559160200191906001019062000220565b506200024b9291506200024f565b5090565b5b808211156200024b576000815560010162000250565b6000806040838503121562000279578182fd5b505080516020909101519092909150565b600181811c908216806200029f57607f821691505b60208210811415620002c157634e487b7160e01b600052602260045260246000fd5b50919050565b61399a80620002d76000396000f3fe6080604052600436106102fd5760003560e01c80638d0f6da31161018f578063c001710a116100e1578063e8a3d4851161008a578063ec89b5e011610064578063ec89b5e014610932578063f070704014610948578063f2fde38b1461095d57600080fd5b8063e8a3d485146108b1578063e985e9c5146108c6578063eb54f9ec1461091c57600080fd5b8063c87b56dd116100bb578063c87b56dd1461084e578063d3a863861461086e578063e517fb9c1461088457600080fd5b8063c001710a146107f9578063c2bd6e3214610819578063c6a1de361461083957600080fd5b80639867db7411610143578063a6b513ee1161011d578063a6b513ee146107ad578063b85e471b146107c3578063b88d4fde146107d957600080fd5b80639867db7414610758578063a22cb46514610778578063a475b5dd1461079857600080fd5b80638eac1134116101745780638eac113414610703578063938e3d7b1461072357806395d89b411461074357600080fd5b80638d0f6da3146106b65780638da5cb5b146106d857600080fd5b80634423c5f1116102535780636b1c9841116101fc57806370a08231116101d657806370a0823114610661578063715018a6146106815780637bffd7551461069657600080fd5b80636b1c9841146106175780636c0360eb146106375780637035bf181461064c57600080fd5b806355f804b31161022d57806355f804b3146105c157806362d7d727146105e15780636352211e146105f757600080fd5b80634423c5f1146104815780634b449cba1461059157806351830227146105a757600080fd5b80631998aeef116102b5578063225bd2f21161028f578063225bd2f21461042157806323b872dd1461044157806342842e0e1461046157600080fd5b80631998aeef146103e45780631a92c640146103ec578063212b45ae1461040c57600080fd5b8063081812fc116102e6578063081812fc14610359578063095ea7b31461039e57806318160ddd146103c057600080fd5b806301ffc9a71461030257806306fdde0314610337575b600080fd5b34801561030e57600080fd5b5061032261031d36600461333e565b61097d565b60405190151581526020015b60405180910390f35b34801561034357600080fd5b5061034c610a62565b60405161032e91906136a1565b34801561036557600080fd5b506103796103743660046133ec565b610af4565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161032e565b3480156103aa57600080fd5b506103be6103b936600461326d565b610b28565b005b3480156103cc57600080fd5b506103d660115481565b60405190815260200161032e565b6103be610cba565b3480156103f857600080fd5b506103be610407366004613296565b611101565b34801561041857600080fd5b506103be61165b565b34801561042d57600080fd5b506103be61043c366004613376565b61172a565b34801561044d57600080fd5b506103be61045c36600461317f565b611745565b34801561046d57600080fd5b506103be61047c36600461317f565b6117e6565b34801561048d57600080fd5b5061053461049c3660046133ec565b6007602052600090815260409020805460019091015473ffffffffffffffffffffffffffffffffffffffff909116906fffffffffffffffffffffffffffffffff81169063ffffffff7001000000000000000000000000000000008204169060ff740100000000000000000000000000000000000000008204811691750100000000000000000000000000000000000000000090041685565b6040805173ffffffffffffffffffffffffffffffffffffffff90961686526fffffffffffffffffffffffffffffffff909416602086015263ffffffff9092169284019290925290151560608301521515608082015260a00161032e565b34801561059d57600080fd5b506103d660165481565b3480156105b357600080fd5b50600d546103229060ff1681565b3480156105cd57600080fd5b506103be6105dc366004613376565b611801565b3480156105ed57600080fd5b506103d6600e5481565b34801561060357600080fd5b506103796106123660046133ec565b61181c565b34801561062357600080fd5b506103be610632366004613376565b6118a8565b34801561064357600080fd5b5061034c6118c3565b34801561065857600080fd5b5061034c611951565b34801561066d57600080fd5b506103d661067c36600461312c565b61195e565b34801561068d57600080fd5b506103be611a2c565b3480156106a257600080fd5b506103be6106b1366004613404565b611a3e565b3480156106c257600080fd5b506106cb611b0f565b60405161032e9190613601565b3480156106e457600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff16610379565b34801561070f57600080fd5b506103be61071e3660046133bc565b611b2f565b34801561072f57600080fd5b506103be61073e366004613376565b611c24565b34801561074f57600080fd5b5061034c611c3f565b34801561076457600080fd5b506103be610773366004613376565b611c4e565b34801561078457600080fd5b506103be610793366004613233565b611ce1565b3480156107a457600080fd5b506103be611cec565b3480156107b957600080fd5b506103d660145481565b3480156107cf57600080fd5b506103d660105481565b3480156107e557600080fd5b506103be6107f43660046131ba565b611e6d565b34801561080557600080fd5b506103be610814366004613426565b611f15565b34801561082557600080fd5b506106cb610834366004613447565b611f28565b34801561084557600080fd5b5061034c612132565b34801561085a57600080fd5b5061034c6108693660046133ec565b61213f565b34801561087a57600080fd5b506103d660125481565b34801561089057600080fd5b506103d661089f36600461312c565b60086020526000908152604090205481565b3480156108bd57600080fd5b5061034c612239565b3480156108d257600080fd5b506103226108e136600461314d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561092857600080fd5b506103d660155481565b34801561093e57600080fd5b506103d660135481565b34801561095457600080fd5b506103be612246565b34801561096957600080fd5b506103be61097836600461312c565b6122e9565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a1057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a5c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610a7190613808565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d90613808565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b5050505050905090565b6000610aff8261239d565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b338261181c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff82161480610c1f5750610c1f81336108e1565b610cab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610bed565b610cb58383612428565b505050565b6015544210158015610ccd575060165442105b610d33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f41756374696f6e206973206e6f742061637469766521000000000000000000006044820152606401610bed565b3360009081526008602052604090205415610eac57601354341015610dda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f42696420696e6372656d656e74206d757374206265206869676865722074686160448201527f6e206d696e696d756d2062696420696e6372656d656e742e00000000000000006064820152608401610bed565b336000908152600860209081526040808320548084526007909252822060010154909190610e1b9034906fffffffffffffffffffffffffffffffff16613703565b60008381526007602090815260409182902060010180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff8516908117909155825190815233918101919091529192507f11880bcaa4e30553c6e84a5b434c474f360f93086437d5e2ecb860e0385d39ab910160405180910390a15050565b601254341015610f3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f426964206d75737420626520686967686572207468616e206d696e696d756d2060448201527f616d6f756e742e000000000000000000000000000000000000000000000000006064820152608401610bed565b601080546040805160a081018252338082526fffffffffffffffffffffffffffffffff348116602080850191825263ffffffff808816868801908152600060608801818152600160808a018181528c8452600787528b84209a518b5473ffffffffffffffffffffffffffffffffffffffff919091167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216178c5597519a909101805494519251915115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9215157401000000000000000000000000000000000000000002929092167fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff93909616700100000000000000000000000000000000029490971699909716989098179190911796909616179290921790559082526008905290812082905582549192916110af9061385c565b90915550604080516fffffffffffffffffffffffffffffffff341681523360208201527f0eaef4638dc8f0ad6e519174c70041f1d56c6fc7aa5cec86add6e6f3ec19e6fd910160405180910390a1505b565b6111096124c8565b601654421015611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41756374696f6e206973207374696c6c206163746976652100000000000000006044820152606401610bed565b6000601454116111e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f46696e616c20707269636520686173206e6f74206265656e20736574210000006044820152606401610bed565b60005b8151811015611657576000828281518110611228577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602090810291909101810151600081815260078352604090819020815160a081018352815473ffffffffffffffffffffffffffffffffffffffff1681526001909101546fffffffffffffffffffffffffffffffff81169482019490945263ffffffff7001000000000000000000000000000000008504169181019190915260ff740100000000000000000000000000000000000000008404811615801560608401527501000000000000000000000000000000000000000000909404161515608082015290925090611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f596f7527766520616c726561647920736574746c656420796f757220626964216044820152606401610bed565b80608001516113c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f42696420646f65736e27742065786973742100000000000000000000000000006044820152606401610bed565b600082815260076020908152604090912060010180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055601454908201516fffffffffffffffffffffffffffffffff16108061143a575060fa60115410155b15611524578051602082015160405160009273ffffffffffffffffffffffffffffffffffffffff16916fffffffffffffffffffffffffffffffff16908381818185875af1925050503d80600081146114ae576040519150601f19603f3d011682016040523d82523d6000602084013e6114b3565b606091505b505090508061151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610bed565b50611644565b6115348160000151601154612549565b601180549060006115448361385c565b9190505550600060145482602001516fffffffffffffffffffffffffffffffff1661156f91906137a0565b9050801561164257815160405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d80600081146115d0576040519150601f19603f3d011682016040523d82523d6000602084013e6115d5565b606091505b5050905080611640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610bed565b505b505b5050806116509061385c565b90506111e4565b5050565b6116636124c8565b60145460009033906116769060fa613763565b6040515b60006040518083038185875af1925050503d80600081146116b7576040519150601f19603f3d011682016040523d82523d6000602084013e6116bc565b606091505b5050905080611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610bed565b50565b6117326124c8565b805161165790600a906020840190612ff9565b61174f338261270b565b6117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610bed565b610cb58383836127cb565b610cb583838360405180602001604052806000815250611e6d565b6118096124c8565b805161165790600b906020840190612ff9565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610a5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610bed565b6118b06124c8565b805161165790600c906020840190612ff9565b600b80546118d090613808565b80601f01602080910402602001604051908101604052809291908181526020018280546118fc90613808565b80156119495780601f1061191e57610100808354040283529160200191611949565b820191906000526020600020905b81548152906001019060200180831161192c57829003601f168201915b505050505081565b600a80546118d090613808565b600073ffffffffffffffffffffffffffffffffffffffff8216611a03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610bed565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b611a346124c8565b6110ff6000612a32565b611a466124c8565b61012c82601154611a579190613737565b1115611abf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f546f74616c20737570706c7920657863656564656421000000000000000000006044820152606401610bed565b60005b82811015611af357611ae18282601154611adc9190613737565b612549565b80611aeb8161385c565b915050611ac2565b508160116000828254611b069190613737565b90915550505050565b6060611b2a6001601054611b2391906137b7565b6001611f28565b905090565b611b376124c8565b601654421015611ba3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41756374696f6e206973207374696c6c206163746976652100000000000000006044820152606401610bed565b60145415611c0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f46696e616c20707269636520616c7265616479207365742100000000000000006044820152606401610bed565b6fffffffffffffffffffffffffffffffff16601455565b611c2c6124c8565b8051611657906009906020840190612ff9565b606060018054610a7190613808565b611c566124c8565b600f5415611cc0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f436f6d6d697420626c6f636b20616c72656164792073657421000000000000006044820152606401610bed565b611ccb436005613737565b600f55805161165790600b906020840190612ff9565b611657338383612aa9565b611cf46124c8565b600f54431015611d60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4861736e27742070617373656420636f6d6d697420626c6f636b2100000000006044820152606401610bed565b6000600f5411611dcc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f436f6d6d697420626c6f636b206e6f74207365742100000000000000000000006044820152606401610bed565b600d5460ff1615611e39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f48617320616c7265616479206265656e2072657665616c6564000000000000006044820152606401610bed565b600f5440600e55600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611e77338361270b565b611f03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610bed565b611f0f84848484612bd7565b50505050565b611f1d6124c8565b601591909155601655565b606060008363ffffffff1667ffffffffffffffff811115611f72577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611fe957816020015b6040805160a0810182526000808252602080830182905292820181905260608201819052608082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909201910181611f905790505b5090506000835b61200063ffffffff871686613737565b81101561212857600081815260076020908152604091829020825160a081018452815473ffffffffffffffffffffffffffffffffffffffff1681526001909101546fffffffffffffffffffffffffffffffff81169282019290925263ffffffff7001000000000000000000000000000000008304169281019290925260ff7401000000000000000000000000000000000000000082048116151560608401527501000000000000000000000000000000000000000000909104161515608082015283518490849081106120fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525081806121129061385c565b92505080806121209061385c565b915050611ff0565b5090949350505050565b600c80546118d090613808565b600d5460609060ff16156121a2576000601154600e54846121609190613737565b61216a9190613895565b9050600b61217782612c7a565b600c60405160200161218b93929190613585565b604051602081830303815290604052915050919050565b600a80546121af90613808565b80601f01602080910402602001604051908101604052809291908181526020018280546121db90613808565b80156122285780601f106121fd57610100808354040283529160200191612228565b820191906000526020600020905b81548152906001019060200180831161220b57829003601f168201915b50505050509050919050565b919050565b600980546118d090613808565b61224e6124c8565b60155461225e9062093a80613737565b4210156122c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4e6f7420656e6f7567682074696d6520686173207061737365642100000000006044820152606401610bed565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161167a565b6122f16124c8565b73ffffffffffffffffffffffffffffffffffffffff8116612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bed565b61172781612a32565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610bed565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906124828261181c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146110ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bed565b73ffffffffffffffffffffffffffffffffffffffff82166125c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bed565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bed565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612688908490613737565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000806127178361181c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612785575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b806127c357508373ffffffffffffffffffffffffffffffffffffffff166127ab84610af4565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166127eb8261181c565b73ffffffffffffffffffffffffffffffffffffffff161461288e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610bed565b73ffffffffffffffffffffffffffffffffffffffff8216612930576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bed565b61293b600082612428565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906129719084906137a0565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906129ac908490613737565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bed565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612be28484846127cb565b612bee84848484612dfa565b611f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bed565b606081612cba57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ce45780612cce8161385c565b9150612cdd9050600a8361374f565b9150612cbe565b60008167ffffffffffffffff811115612d26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d50576020820181803683370190505b5090505b84156127c357612d656001836137a0565b9150612d72600a86613895565b612d7d906030613737565b60f81b818381518110612db9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612df3600a8661374f565b9450612d54565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612fee576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612e719033908990889088906004016135b8565b602060405180830381600087803b158015612e8b57600080fd5b505af1925050508015612ed9575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612ed69181019061335a565b60015b612fa3573d808015612f07576040519150601f19603f3d011682016040523d82523d6000602084013e612f0c565b606091505b508051612f9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bed565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506127c3565b506001949350505050565b82805461300590613808565b90600052602060002090601f016020900481019282613027576000855561306d565b82601f1061304057805160ff191683800117855561306d565b8280016001018555821561306d579182015b8281111561306d578251825591602001919060010190613052565b5061307992915061307d565b5090565b5b80821115613079576000815560010161307e565b600067ffffffffffffffff8311156130ac576130ac613907565b6130dd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016136b4565b90508281528383830111156130f157600080fd5b828260208301376000602084830101529392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461223457600080fd5b60006020828403121561313d578081fd5b61314682613108565b9392505050565b6000806040838503121561315f578081fd5b61316883613108565b915061317660208401613108565b90509250929050565b600080600060608486031215613193578081fd5b61319c84613108565b92506131aa60208501613108565b9150604084013590509250925092565b600080600080608085870312156131cf578081fd5b6131d885613108565b93506131e660208601613108565b925060408501359150606085013567ffffffffffffffff811115613208578182fd5b8501601f81018713613218578182fd5b61322787823560208401613092565b91505092959194509250565b60008060408385031215613245578182fd5b61324e83613108565b915060208301358015158114613262578182fd5b809150509250929050565b6000806040838503121561327f578182fd5b61328883613108565b946020939093013593505050565b600060208083850312156132a8578182fd5b823567ffffffffffffffff808211156132bf578384fd5b818501915085601f8301126132d2578384fd5b8135818111156132e4576132e4613907565b8060051b91506132f58483016136b4565b8181528481019084860184860187018a101561330f578788fd5b8795505b83861015613331578035835260019590950194918601918601613313565b5098975050505050505050565b60006020828403121561334f578081fd5b813561314681613936565b60006020828403121561336b578081fd5b815161314681613936565b600060208284031215613387578081fd5b813567ffffffffffffffff81111561339d578182fd5b8201601f810184136133ad578182fd5b6127c384823560208401613092565b6000602082840312156133cd578081fd5b81356fffffffffffffffffffffffffffffffff81168114613146578182fd5b6000602082840312156133fd578081fd5b5035919050565b60008060408385031215613416578182fd5b8235915061317660208401613108565b60008060408385031215613438578182fd5b50508035926020909101359150565b60008060408385031215613459578182fd5b823563ffffffff81168114613288578283fd5b600081518084526134848160208601602086016137dc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8054600090600181811c90808316806134d057607f831692505b6020808410821415613509577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561351d576001811461354c57613579565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613579565b60008881526020902060005b868110156135715781548b820152908501908301613558565b505084890196505b50505050505092915050565b600061359182866134b6565b84516135a18183602089016137dc565b6135ad818301866134b6565b979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526135f7608083018461346c565b9695505050505050565b602080825282518282018190526000919060409081850190868401855b82811015613694578151805173ffffffffffffffffffffffffffffffffffffffff168552868101516fffffffffffffffffffffffffffffffff16878601528581015163ffffffff168686015260608082015115159086015260809081015115159085015260a0909301929085019060010161361e565b5091979650505050505050565b602081526000613146602083018461346c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156136fb576136fb613907565b604052919050565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561372e5761372e6138a9565b01949350505050565b6000821982111561374a5761374a6138a9565b500190565b60008261375e5761375e6138d8565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561379b5761379b6138a9565b500290565b6000828210156137b2576137b26138a9565b500390565b600063ffffffff838116908316818110156137d4576137d46138a9565b039392505050565b60005b838110156137f75781810151838201526020016137df565b83811115611f0f5750506000910152565b600181811c9082168061381c57607f821691505b60208210811415613856577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561388e5761388e6138a9565b5060010190565b6000826138a4576138a46138d8565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461172757600080fdfea2646970667358221220c81c9d0298c9879ad15c4fb1b8ac79f2229ac9610f4a8f39eb9fa2ff538051ce64736f6c63430008040033697066733a2f2f516d646e384b6b42777450504d346867467a6574637137766354644a645575396d64644b3452525a614568696e67697066733a2f2f516d57774b6254647865326b4d4238455532575750614c7a574837537838386364624a54454a4a7831696347686600000000000000000000000000000000000000000000000000000000633dd430000000000000000000000000000000000000000000000000000000006341c8b0

Deployed Bytecode

0x6080604052600436106102fd5760003560e01c80638d0f6da31161018f578063c001710a116100e1578063e8a3d4851161008a578063ec89b5e011610064578063ec89b5e014610932578063f070704014610948578063f2fde38b1461095d57600080fd5b8063e8a3d485146108b1578063e985e9c5146108c6578063eb54f9ec1461091c57600080fd5b8063c87b56dd116100bb578063c87b56dd1461084e578063d3a863861461086e578063e517fb9c1461088457600080fd5b8063c001710a146107f9578063c2bd6e3214610819578063c6a1de361461083957600080fd5b80639867db7411610143578063a6b513ee1161011d578063a6b513ee146107ad578063b85e471b146107c3578063b88d4fde146107d957600080fd5b80639867db7414610758578063a22cb46514610778578063a475b5dd1461079857600080fd5b80638eac1134116101745780638eac113414610703578063938e3d7b1461072357806395d89b411461074357600080fd5b80638d0f6da3146106b65780638da5cb5b146106d857600080fd5b80634423c5f1116102535780636b1c9841116101fc57806370a08231116101d657806370a0823114610661578063715018a6146106815780637bffd7551461069657600080fd5b80636b1c9841146106175780636c0360eb146106375780637035bf181461064c57600080fd5b806355f804b31161022d57806355f804b3146105c157806362d7d727146105e15780636352211e146105f757600080fd5b80634423c5f1146104815780634b449cba1461059157806351830227146105a757600080fd5b80631998aeef116102b5578063225bd2f21161028f578063225bd2f21461042157806323b872dd1461044157806342842e0e1461046157600080fd5b80631998aeef146103e45780631a92c640146103ec578063212b45ae1461040c57600080fd5b8063081812fc116102e6578063081812fc14610359578063095ea7b31461039e57806318160ddd146103c057600080fd5b806301ffc9a71461030257806306fdde0314610337575b600080fd5b34801561030e57600080fd5b5061032261031d36600461333e565b61097d565b60405190151581526020015b60405180910390f35b34801561034357600080fd5b5061034c610a62565b60405161032e91906136a1565b34801561036557600080fd5b506103796103743660046133ec565b610af4565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161032e565b3480156103aa57600080fd5b506103be6103b936600461326d565b610b28565b005b3480156103cc57600080fd5b506103d660115481565b60405190815260200161032e565b6103be610cba565b3480156103f857600080fd5b506103be610407366004613296565b611101565b34801561041857600080fd5b506103be61165b565b34801561042d57600080fd5b506103be61043c366004613376565b61172a565b34801561044d57600080fd5b506103be61045c36600461317f565b611745565b34801561046d57600080fd5b506103be61047c36600461317f565b6117e6565b34801561048d57600080fd5b5061053461049c3660046133ec565b6007602052600090815260409020805460019091015473ffffffffffffffffffffffffffffffffffffffff909116906fffffffffffffffffffffffffffffffff81169063ffffffff7001000000000000000000000000000000008204169060ff740100000000000000000000000000000000000000008204811691750100000000000000000000000000000000000000000090041685565b6040805173ffffffffffffffffffffffffffffffffffffffff90961686526fffffffffffffffffffffffffffffffff909416602086015263ffffffff9092169284019290925290151560608301521515608082015260a00161032e565b34801561059d57600080fd5b506103d660165481565b3480156105b357600080fd5b50600d546103229060ff1681565b3480156105cd57600080fd5b506103be6105dc366004613376565b611801565b3480156105ed57600080fd5b506103d6600e5481565b34801561060357600080fd5b506103796106123660046133ec565b61181c565b34801561062357600080fd5b506103be610632366004613376565b6118a8565b34801561064357600080fd5b5061034c6118c3565b34801561065857600080fd5b5061034c611951565b34801561066d57600080fd5b506103d661067c36600461312c565b61195e565b34801561068d57600080fd5b506103be611a2c565b3480156106a257600080fd5b506103be6106b1366004613404565b611a3e565b3480156106c257600080fd5b506106cb611b0f565b60405161032e9190613601565b3480156106e457600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff16610379565b34801561070f57600080fd5b506103be61071e3660046133bc565b611b2f565b34801561072f57600080fd5b506103be61073e366004613376565b611c24565b34801561074f57600080fd5b5061034c611c3f565b34801561076457600080fd5b506103be610773366004613376565b611c4e565b34801561078457600080fd5b506103be610793366004613233565b611ce1565b3480156107a457600080fd5b506103be611cec565b3480156107b957600080fd5b506103d660145481565b3480156107cf57600080fd5b506103d660105481565b3480156107e557600080fd5b506103be6107f43660046131ba565b611e6d565b34801561080557600080fd5b506103be610814366004613426565b611f15565b34801561082557600080fd5b506106cb610834366004613447565b611f28565b34801561084557600080fd5b5061034c612132565b34801561085a57600080fd5b5061034c6108693660046133ec565b61213f565b34801561087a57600080fd5b506103d660125481565b34801561089057600080fd5b506103d661089f36600461312c565b60086020526000908152604090205481565b3480156108bd57600080fd5b5061034c612239565b3480156108d257600080fd5b506103226108e136600461314d565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561092857600080fd5b506103d660155481565b34801561093e57600080fd5b506103d660135481565b34801561095457600080fd5b506103be612246565b34801561096957600080fd5b506103be61097836600461312c565b6122e9565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a1057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a5c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610a7190613808565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9d90613808565b8015610aea5780601f10610abf57610100808354040283529160200191610aea565b820191906000526020600020905b815481529060010190602001808311610acd57829003601f168201915b5050505050905090565b6000610aff8261239d565b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b338261181c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bf6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff82161480610c1f5750610c1f81336108e1565b610cab576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610bed565b610cb58383612428565b505050565b6015544210158015610ccd575060165442105b610d33576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f41756374696f6e206973206e6f742061637469766521000000000000000000006044820152606401610bed565b3360009081526008602052604090205415610eac57601354341015610dda576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f42696420696e6372656d656e74206d757374206265206869676865722074686160448201527f6e206d696e696d756d2062696420696e6372656d656e742e00000000000000006064820152608401610bed565b336000908152600860209081526040808320548084526007909252822060010154909190610e1b9034906fffffffffffffffffffffffffffffffff16613703565b60008381526007602090815260409182902060010180547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff8516908117909155825190815233918101919091529192507f11880bcaa4e30553c6e84a5b434c474f360f93086437d5e2ecb860e0385d39ab910160405180910390a15050565b601254341015610f3e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602760248201527f426964206d75737420626520686967686572207468616e206d696e696d756d2060448201527f616d6f756e742e000000000000000000000000000000000000000000000000006064820152608401610bed565b601080546040805160a081018252338082526fffffffffffffffffffffffffffffffff348116602080850191825263ffffffff808816868801908152600060608801818152600160808a018181528c8452600787528b84209a518b5473ffffffffffffffffffffffffffffffffffffffff919091167fffffffffffffffffffffffff0000000000000000000000000000000000000000918216178c5597519a909101805494519251915115157501000000000000000000000000000000000000000000027fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff9215157401000000000000000000000000000000000000000002929092167fffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff93909616700100000000000000000000000000000000029490971699909716989098179190911796909616179290921790559082526008905290812082905582549192916110af9061385c565b90915550604080516fffffffffffffffffffffffffffffffff341681523360208201527f0eaef4638dc8f0ad6e519174c70041f1d56c6fc7aa5cec86add6e6f3ec19e6fd910160405180910390a1505b565b6111096124c8565b601654421015611175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41756374696f6e206973207374696c6c206163746976652100000000000000006044820152606401610bed565b6000601454116111e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f46696e616c20707269636520686173206e6f74206265656e20736574210000006044820152606401610bed565b60005b8151811015611657576000828281518110611228577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602090810291909101810151600081815260078352604090819020815160a081018352815473ffffffffffffffffffffffffffffffffffffffff1681526001909101546fffffffffffffffffffffffffffffffff81169482019490945263ffffffff7001000000000000000000000000000000008504169181019190915260ff740100000000000000000000000000000000000000008404811615801560608401527501000000000000000000000000000000000000000000909404161515608082015290925090611356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f596f7527766520616c726561647920736574746c656420796f757220626964216044820152606401610bed565b80608001516113c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f42696420646f65736e27742065786973742100000000000000000000000000006044820152606401610bed565b600082815260076020908152604090912060010180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1674010000000000000000000000000000000000000000179055601454908201516fffffffffffffffffffffffffffffffff16108061143a575060fa60115410155b15611524578051602082015160405160009273ffffffffffffffffffffffffffffffffffffffff16916fffffffffffffffffffffffffffffffff16908381818185875af1925050503d80600081146114ae576040519150601f19603f3d011682016040523d82523d6000602084013e6114b3565b606091505b505090508061151e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610bed565b50611644565b6115348160000151601154612549565b601180549060006115448361385c565b9190505550600060145482602001516fffffffffffffffffffffffffffffffff1661156f91906137a0565b9050801561164257815160405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d80600081146115d0576040519150601f19603f3d011682016040523d82523d6000602084013e6115d5565b606091505b5050905080611640576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610bed565b505b505b5050806116509061385c565b90506111e4565b5050565b6116636124c8565b60145460009033906116769060fa613763565b6040515b60006040518083038185875af1925050503d80600081146116b7576040519150601f19603f3d011682016040523d82523d6000602084013e6116bc565b606091505b5050905080611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610bed565b50565b6117326124c8565b805161165790600a906020840190612ff9565b61174f338261270b565b6117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610bed565b610cb58383836127cb565b610cb583838360405180602001604052806000815250611e6d565b6118096124c8565b805161165790600b906020840190612ff9565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610a5c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610bed565b6118b06124c8565b805161165790600c906020840190612ff9565b600b80546118d090613808565b80601f01602080910402602001604051908101604052809291908181526020018280546118fc90613808565b80156119495780601f1061191e57610100808354040283529160200191611949565b820191906000526020600020905b81548152906001019060200180831161192c57829003601f168201915b505050505081565b600a80546118d090613808565b600073ffffffffffffffffffffffffffffffffffffffff8216611a03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e657200000000000000000000000000000000000000000000006064820152608401610bed565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b611a346124c8565b6110ff6000612a32565b611a466124c8565b61012c82601154611a579190613737565b1115611abf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f546f74616c20737570706c7920657863656564656421000000000000000000006044820152606401610bed565b60005b82811015611af357611ae18282601154611adc9190613737565b612549565b80611aeb8161385c565b915050611ac2565b508160116000828254611b069190613737565b90915550505050565b6060611b2a6001601054611b2391906137b7565b6001611f28565b905090565b611b376124c8565b601654421015611ba3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f41756374696f6e206973207374696c6c206163746976652100000000000000006044820152606401610bed565b60145415611c0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f46696e616c20707269636520616c7265616479207365742100000000000000006044820152606401610bed565b6fffffffffffffffffffffffffffffffff16601455565b611c2c6124c8565b8051611657906009906020840190612ff9565b606060018054610a7190613808565b611c566124c8565b600f5415611cc0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f436f6d6d697420626c6f636b20616c72656164792073657421000000000000006044820152606401610bed565b611ccb436005613737565b600f55805161165790600b906020840190612ff9565b611657338383612aa9565b611cf46124c8565b600f54431015611d60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4861736e27742070617373656420636f6d6d697420626c6f636b2100000000006044820152606401610bed565b6000600f5411611dcc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f436f6d6d697420626c6f636b206e6f74207365742100000000000000000000006044820152606401610bed565b600d5460ff1615611e39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f48617320616c7265616479206265656e2072657665616c6564000000000000006044820152606401610bed565b600f5440600e55600d80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b611e77338361270b565b611f03576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f7665640000000000000000000000000000000000006064820152608401610bed565b611f0f84848484612bd7565b50505050565b611f1d6124c8565b601591909155601655565b606060008363ffffffff1667ffffffffffffffff811115611f72577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611fe957816020015b6040805160a0810182526000808252602080830182905292820181905260608201819052608082015282527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff909201910181611f905790505b5090506000835b61200063ffffffff871686613737565b81101561212857600081815260076020908152604091829020825160a081018452815473ffffffffffffffffffffffffffffffffffffffff1681526001909101546fffffffffffffffffffffffffffffffff81169282019290925263ffffffff7001000000000000000000000000000000008304169281019290925260ff7401000000000000000000000000000000000000000082048116151560608401527501000000000000000000000000000000000000000000909104161515608082015283518490849081106120fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018190525081806121129061385c565b92505080806121209061385c565b915050611ff0565b5090949350505050565b600c80546118d090613808565b600d5460609060ff16156121a2576000601154600e54846121609190613737565b61216a9190613895565b9050600b61217782612c7a565b600c60405160200161218b93929190613585565b604051602081830303815290604052915050919050565b600a80546121af90613808565b80601f01602080910402602001604051908101604052809291908181526020018280546121db90613808565b80156122285780601f106121fd57610100808354040283529160200191612228565b820191906000526020600020905b81548152906001019060200180831161220b57829003601f168201915b50505050509050919050565b919050565b600980546118d090613808565b61224e6124c8565b60155461225e9062093a80613737565b4210156122c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4e6f7420656e6f7567682074696d6520686173207061737365642100000000006044820152606401610bed565b60003373ffffffffffffffffffffffffffffffffffffffff164760405161167a565b6122f16124c8565b73ffffffffffffffffffffffffffffffffffffffff8116612394576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bed565b61172781612a32565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16611727576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610bed565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906124828261181c565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60065473ffffffffffffffffffffffffffffffffffffffff1633146110ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bed565b73ffffffffffffffffffffffffffffffffffffffff82166125c6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bed565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612652576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bed565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612688908490613737565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000806127178361181c565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612785575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b806127c357508373ffffffffffffffffffffffffffffffffffffffff166127ab84610af4565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff166127eb8261181c565b73ffffffffffffffffffffffffffffffffffffffff161461288e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610bed565b73ffffffffffffffffffffffffffffffffffffffff8216612930576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610bed565b61293b600082612428565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906129719084906137a0565b909155505073ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906129ac908490613737565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bed565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612be28484846127cb565b612bee84848484612dfa565b611f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bed565b606081612cba57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ce45780612cce8161385c565b9150612cdd9050600a8361374f565b9150612cbe565b60008167ffffffffffffffff811115612d26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d50576020820181803683370190505b5090505b84156127c357612d656001836137a0565b9150612d72600a86613895565b612d7d906030613737565b60f81b818381518110612db9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612df3600a8661374f565b9450612d54565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612fee576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612e719033908990889088906004016135b8565b602060405180830381600087803b158015612e8b57600080fd5b505af1925050508015612ed9575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612ed69181019061335a565b60015b612fa3573d808015612f07576040519150601f19603f3d011682016040523d82523d6000602084013e612f0c565b606091505b508051612f9b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610bed565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506127c3565b506001949350505050565b82805461300590613808565b90600052602060002090601f016020900481019282613027576000855561306d565b82601f1061304057805160ff191683800117855561306d565b8280016001018555821561306d579182015b8281111561306d578251825591602001919060010190613052565b5061307992915061307d565b5090565b5b80821115613079576000815560010161307e565b600067ffffffffffffffff8311156130ac576130ac613907565b6130dd60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016136b4565b90508281528383830111156130f157600080fd5b828260208301376000602084830101529392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461223457600080fd5b60006020828403121561313d578081fd5b61314682613108565b9392505050565b6000806040838503121561315f578081fd5b61316883613108565b915061317660208401613108565b90509250929050565b600080600060608486031215613193578081fd5b61319c84613108565b92506131aa60208501613108565b9150604084013590509250925092565b600080600080608085870312156131cf578081fd5b6131d885613108565b93506131e660208601613108565b925060408501359150606085013567ffffffffffffffff811115613208578182fd5b8501601f81018713613218578182fd5b61322787823560208401613092565b91505092959194509250565b60008060408385031215613245578182fd5b61324e83613108565b915060208301358015158114613262578182fd5b809150509250929050565b6000806040838503121561327f578182fd5b61328883613108565b946020939093013593505050565b600060208083850312156132a8578182fd5b823567ffffffffffffffff808211156132bf578384fd5b818501915085601f8301126132d2578384fd5b8135818111156132e4576132e4613907565b8060051b91506132f58483016136b4565b8181528481019084860184860187018a101561330f578788fd5b8795505b83861015613331578035835260019590950194918601918601613313565b5098975050505050505050565b60006020828403121561334f578081fd5b813561314681613936565b60006020828403121561336b578081fd5b815161314681613936565b600060208284031215613387578081fd5b813567ffffffffffffffff81111561339d578182fd5b8201601f810184136133ad578182fd5b6127c384823560208401613092565b6000602082840312156133cd578081fd5b81356fffffffffffffffffffffffffffffffff81168114613146578182fd5b6000602082840312156133fd578081fd5b5035919050565b60008060408385031215613416578182fd5b8235915061317660208401613108565b60008060408385031215613438578182fd5b50508035926020909101359150565b60008060408385031215613459578182fd5b823563ffffffff81168114613288578283fd5b600081518084526134848160208601602086016137dc565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8054600090600181811c90808316806134d057607f831692505b6020808410821415613509577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b81801561351d576001811461354c57613579565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613579565b60008881526020902060005b868110156135715781548b820152908501908301613558565b505084890196505b50505050505092915050565b600061359182866134b6565b84516135a18183602089016137dc565b6135ad818301866134b6565b979650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526135f7608083018461346c565b9695505050505050565b602080825282518282018190526000919060409081850190868401855b82811015613694578151805173ffffffffffffffffffffffffffffffffffffffff168552868101516fffffffffffffffffffffffffffffffff16878601528581015163ffffffff168686015260608082015115159086015260809081015115159085015260a0909301929085019060010161361e565b5091979650505050505050565b602081526000613146602083018461346c565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156136fb576136fb613907565b604052919050565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561372e5761372e6138a9565b01949350505050565b6000821982111561374a5761374a6138a9565b500190565b60008261375e5761375e6138d8565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561379b5761379b6138a9565b500290565b6000828210156137b2576137b26138a9565b500390565b600063ffffffff838116908316818110156137d4576137d46138a9565b039392505050565b60005b838110156137f75781810151838201526020016137df565b83811115611f0f5750506000910152565b600181811c9082168061381c57607f821691505b60208210811415613856577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561388e5761388e6138a9565b5060010190565b6000826138a4576138a46138d8565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461172757600080fdfea2646970667358221220c81c9d0298c9879ad15c4fb1b8ac79f2229ac9610f4a8f39eb9fa2ff538051ce64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000633dd430000000000000000000000000000000000000000000000000000000006341c8b0

-----Decoded View---------------
Arg [0] : _auctionStartTime (uint256): 1664996400
Arg [1] : _auctionEndTime (uint256): 1665255600

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000633dd430
Arg [1] : 000000000000000000000000000000000000000000000000000000006341c8b0


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

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