ETH Price: $3,140.72 (-8.20%)
Gas: 7 Gwei

Contract

0xe667A6fF661507c8Ff8B37d094D49CF4fC5c199c
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Base URI182272382023-09-27 12:57:11302 days ago1695819431IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.000616179.68846224
Set Approval For...176741742023-07-12 1:18:11379 days ago1689124691IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0005976412.82169265
Mint One176315472023-07-06 1:30:11385 days ago1688607011IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0145820852.58974551
Mint One169120952023-03-26 14:08:11487 days ago1679839691IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0066722724.06330495
Set Approval For...166730742023-02-20 23:37:47520 days ago1676936267IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0010720723
Set Approval For...163873042023-01-12 1:01:11560 days ago1673485271IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0008810735.67120042
Set Approval For...163632182023-01-08 16:19:35563 days ago1673194775IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0009545320.4783601
Mint One163631122023-01-08 15:58:23564 days ago1673193503IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0058684919.75797924
Safe Transfer Fr...163334852023-01-04 12:40:11568 days ago1672836011IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0014550316.54633548
Safe Transfer Fr...163120852023-01-01 13:02:11571 days ago1672578131IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0011913413.54775202
Set Approval For...161409022022-12-08 15:32:11595 days ago1670513531IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0007121715.27873379
Set Approval For...161223532022-12-06 1:05:47597 days ago1670288747IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0005845512.5408862
Transfer Ownersh...161193682022-12-05 15:01:47598 days ago1670252507IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0006091620.94284889
Safe Transfer Fr...160770712022-11-29 17:14:59603 days ago1669742099IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0010757712.23352192
Set Approval For...159889722022-11-17 9:53:23616 days ago1668678803IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0003340713.47937511
Set Approval For...155827922022-09-21 15:59:23673 days ago1663775963IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0006863614.72505295
Mint One155658652022-09-19 6:45:35675 days ago1663569935IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0018766.76573724
Mint One155068052022-09-10 4:32:54684 days ago1662784374IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0029803710.74860885
Set Approval For...154845272022-09-06 14:06:41688 days ago1662473201IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0006650314.26735766
Set Approval For...154694192022-09-04 3:51:20690 days ago1662263480IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.000206754.43570113
Mint One154692652022-09-04 3:17:16690 days ago1662261436IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.001676446.04603302
Mint One154090262022-08-25 12:12:13700 days ago1661429533IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0034637111.12017033
Mint One153318782022-08-13 6:42:19712 days ago1660372939IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.002218127.9995771
Mint One152836882022-08-05 17:35:27719 days ago1659720927IN
Rorschach Meadow by Ash White: ROR Token
0.15 ETH0.0052743719.02182615
Set Approval For...152448002022-07-30 16:11:56726 days ago1659197516IN
Rorschach Meadow by Ash White: ROR Token
0 ETH0.0008768718.81220581
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
176315472023-07-06 1:30:11385 days ago1688607011
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
169347782023-03-29 18:39:47483 days ago1680115187
Rorschach Meadow by Ash White: ROR Token
0.0005 ETH
169347782023-03-29 18:39:47483 days ago1680115187
Rorschach Meadow by Ash White: ROR Token
0.0005 ETH
169120952023-03-26 14:08:11487 days ago1679839691
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
163735802023-01-10 3:00:59562 days ago1673319659
Rorschach Meadow by Ash White: ROR Token
0.0075 ETH
163735802023-01-10 3:00:59562 days ago1673319659
Rorschach Meadow by Ash White: ROR Token
0.0075 ETH
163631122023-01-08 15:58:23564 days ago1673193503
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
155658652022-09-19 6:45:35675 days ago1663569935
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
155068052022-09-10 4:32:54684 days ago1662784374
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
154692652022-09-04 3:17:16690 days ago1662261436
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
154090262022-08-25 12:12:13700 days ago1661429533
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
153318782022-08-13 6:42:19712 days ago1660372939
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152836882022-08-05 17:35:27719 days ago1659720927
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152404262022-07-29 23:49:03726 days ago1659138543
Rorschach Meadow by Ash White: ROR Token
0.3 ETH
152387522022-07-29 17:33:14726 days ago1659115994
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152337192022-07-28 22:43:27727 days ago1659048207
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152334802022-07-28 21:47:23727 days ago1659044843
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152320502022-07-28 16:23:54727 days ago1659025434
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152320502022-07-28 16:23:54727 days ago1659025434
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152320352022-07-28 16:20:04727 days ago1659025204
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152276062022-07-27 23:56:52728 days ago1658966212
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152276022022-07-27 23:55:19728 days ago1658966119
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152269302022-07-27 21:19:24728 days ago1658956764
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152266362022-07-27 20:14:03728 days ago1658952843
Rorschach Meadow by Ash White: ROR Token
0.15 ETH
152265922022-07-27 20:05:21728 days ago1658952321
Rorschach Meadow by Ash White: ROR Token
0.3 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GenArtERC721AI

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/interfaces/IERC165.sol";
import "@openzeppelin/contracts/interfaces/IERC2981.sol";
import "@openzeppelin/contracts/interfaces/IERC20.sol";
import "./GenArtAccess.sol";
import "./MintStateReserveGold.sol";
import "./IGenArtMembership.sol";
import "./IGenArtPaymentSplitterV2.sol";
import "./IGenArtInterfaceV3.sol";

/**
 * @dev GEN.ART ERC721 V2
 * Implements the extentions {IERC721Enumerable} and {IERC2981}.
 * Inherits access control from {GenArtAccess}.
 * Sends all ETH to a {PaymentSplitter} contract.
 * Restricts minting to GEN.ART Membership holders.
 * IMPORTANT: This implementation requires the royalties to be send to the contracts address
 * in order to split the funds between payees automatically.
 */
contract GenArtERC721AI is ERC721Enumerable, GenArtAccess, IERC2981 {
    using Strings for uint256;
    using MintStateReserveGold for MintStateReserveGold.State;

    uint256 public _mintPrice;
    uint256 public _mintSupply;
    address public _royaltyReceiver = address(this);
    uint256 public _collectionId;
    bool private _reservedMinted;
    address public _genartInterface;
    address public _paymentSplitter;
    address public _wethAddress;
    string private _uri;
    bool public _paused = true;

    MintStateReserveGold.State public _mintstate;

    /**
     *@dev Emitted on mint
     */
    event Mint(
        uint256 tokenId,
        uint256 collectionId,
        uint256 membershipId,
        address to
    );

    constructor(
        string memory name_,
        string memory symbol_,
        string memory uri_,
        uint256 collectionId_,
        uint256 mintPrice_,
        uint256 mintSupply_,
        address genartInterface_,
        address paymentSplitter_,
        address wethAddress_
    ) ERC721(name_, symbol_) GenArtAccess() {
        _uri = uri_;
        _collectionId = collectionId_;
        _mintPrice = mintPrice_;
        _mintSupply = mintSupply_;
        _genartInterface = genartInterface_;
        _paymentSplitter = paymentSplitter_;
        _wethAddress = wethAddress_;
        _mintstate.init(mintSupply_);
    }

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

    /**
     *@dev Get amount of mints for a membershipId
     */
    function getMembershipMints(uint256 membershipId)
        public
        view
        returns (uint256)
    {
        return _mintstate.getMints(membershipId);
    }

    /**
     *@dev Get available mints for a membershipId
     */
    function getAvailableMintsForMembership(uint256 membershipId)
        public
        view
        returns (uint256)
    {
        return
            _mintstate.getAvailableMints(
                membershipId,
                IGenArtInterfaceV3(_genartInterface).isGoldToken(membershipId),
                _mintSupply,
                totalSupply()
            );
    }

    /**
     *@dev Check if minter has available mint slots and has sent the required amount of ETH
     * Revert in case minting is paused or checks fail.
     */
    function checkMint(uint256 amount, uint256 availableMints) internal view {
        require(!_paused, "GenArtERC721AI: minting is paused");
        require(availableMints > 0, "GenArtERC721AI: no mints available");
        require(
            availableMints >= amount,
            "GenArtERC721AI: amount exceeds availableMints"
        );
        uint256 ethAmount;
        unchecked {
            ethAmount = _mintPrice * amount;
        }
        require(
            ethAmount <= msg.value,
            "GenArtERC721AI: transaction underpriced"
        );
    }

    /**
     *@dev Public function to mint the desired amount of tokens
     * Requirments:
     * - sender must be GEN.ART Membership owner
     */
    function mint(address to, uint256 amount) public payable {
        // get all available mints for sender
        uint256 availableMints = IGenArtInterfaceV3(_genartInterface)
            .getAvailableMintsForAccount(address(this), _msgSender());
        checkMint(amount, availableMints);
        // get all memberships for sender
        uint256[] memory memberships = IGenArtInterfaceV3(_genartInterface)
            .getMembershipsOf(_msgSender());
        uint256 minted;
        uint256 i;

        // loop until the desired amount of tokens was minted
        while (minted < amount && i < memberships.length) {
            // check if membership is gold
            bool isGold = IGenArtInterfaceV3(_genartInterface).isGoldToken(
                memberships[i]
            );
            // get available mints for membership
            uint256 mints = _mintstate.getAvailableMints(
                memberships[i],
                isGold,
                _mintSupply,
                totalSupply()
            );
            // mint tokens with membership and stop if desired amount reached
            for (uint256 j; j < mints && minted < amount; j++) {
                mintForMembership(to, memberships[i], isGold);
                minted++;
            }
            i++;
        }
        // send funds to PaymentSplitter
        IGenArtPaymentSplitterV2(_paymentSplitter).splitPayment{
            value: msg.value
        }(address(this));
    }

    /**
     *@dev Public function to mint one token for a GEN.ART Membership
     * Requirments:
     * - sender must own the membership
     */
    function mintOne(address to, uint256 membershipId) public payable {
        // check if sender is owner of membership
        require(
            IGenArtInterfaceV3(_genartInterface).ownerOfMembership(
                membershipId
            ) == _msgSender(),
            "GenArtERC721AI: sender is not membership owner"
        );
        // get available mints for membership
        uint256 availableMints = getAvailableMintsForMembership(membershipId);

        checkMint(1, availableMints);

        bool isGold = IGenArtInterfaceV3(_genartInterface).isGoldToken(
            membershipId
        );
        // mint token
        mintForMembership(to, membershipId, isGold);
        // send funds to PaymentSplitter
        IGenArtPaymentSplitterV2(_paymentSplitter).splitPayment{
            value: msg.value
        }(address(this));
    }

    /**
     *@dev Mint token for membership
     */
    function mintForMembership(
        address to,
        uint256 membershipId,
        bool isGold
    ) internal {
        // update mint state once membership minted a token
        _mintstate.update(membershipId, isGold, 1);
        _mintOne(to, membershipId);
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     * Emits a {Mint} event.
     */
    function _mintOne(address to, uint256 membershipId) internal virtual {
        uint256 tokenId = _collectionId * 100_000 + totalSupply() + 1;
        _safeMint(to, tokenId);
        emit Mint(tokenId, _collectionId, membershipId, to);
    }

    function burn(uint256 tokenId) public {
        address owner = ERC721.ownerOf(tokenId);
        // check if sender is owner of token
        require(
            _msgSender() == owner,
            "GenArtERC721AI: burn caller is not owner"
        );
        _burn(tokenId);
    }

    /**
     * @dev Get royalty info see {IERC2981}
     */
    function royaltyInfo(uint256, uint256 salePrice_)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        return (
            _royaltyReceiver,
            ((
                IGenArtPaymentSplitterV2(_paymentSplitter)
                    .getTotalSharesOfCollection(address(this), 1)
            ) * salePrice_) / 10_000
        );
    }

    /**
     *@dev Get all tokens owned by an address
     */
    function getTokensByOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }

        return tokenIds;
    }

    /**
     *@dev Release WETH royalties and send them to {PaymentSplitter}
     */
    function releaseWETHRoyalties() public {
        IERC20 weth = IERC20(_wethAddress);
        uint256 wethAmount = weth.balanceOf(address(this));
        weth.transfer(_paymentSplitter, wethAmount);
        IGenArtPaymentSplitterV2(_paymentSplitter).splitPaymentRoyaltyWETH(
            address(this),
            wethAmount
        );
    }

    /**
     *@dev Pause and unpause minting
     */
    function setPaused(bool paused) public onlyAdmin {
        _paused = paused;
    }

    /**
     *@dev Set reserved mints for gold members
     */
    function setReservedGold(uint8 reserved) public onlyGenArtAdmin {
        _mintstate.setReservedGold(reserved);
    }

    /**
     *@dev Reserved mints can only be called by admins
     * Only one possible mint.
     */
    function mintReserved() public onlyAdmin {
        require(
            !_reservedMinted,
            "GenArtERC721AI: reserved already minted"
        );
        _mintOne(genartAdmin, 0);
        _reservedMinted = true;
    }

    /**
     *@dev Set {PaymentSplitter} address
     */
    function setPaymentSplitter(address paymentSplitter)
        public
        onlyGenArtAdmin
    {
        _paymentSplitter = paymentSplitter;
    }

    /**
     *@dev Set receiver of royalties
     */
    function setRoyaltyReceiver(address receiver) public onlyGenArtAdmin {
        _royaltyReceiver = receiver;
    }

    /**
     * @dev Set base uri
     */
    function setBaseURI(string memory uri) public onlyGenArtAdmin {
        _uri = uri;
    }

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

    /**
     *@dev Royalties are forwarded to {PaymentSplitter}
     */
    receive() external payable {
        IGenArtPaymentSplitterV2(_paymentSplitter).splitPaymentRoyalty{
            value: msg.value
        }(address(this));
    }
}

File 2 of 22 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 22 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

File 4 of 22 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 5 of 22 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 6 of 22 : GenArtAccess.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @dev This implements access control for owner and admins
 */
abstract contract GenArtAccess is Ownable {
    mapping(address => bool) public admins;
    address public genartAdmin;

    constructor() Ownable() {
        genartAdmin = _msgSender();
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyAdmin() {
        address sender = _msgSender();
        require(
            owner() == sender || admins[sender],
            "GenArtAccess: caller is not the owner nor admin"
        );
        _;
    }

    /**
     * @dev Throws if called by any account other than the GEN.ART admin.
     */
    modifier onlyGenArtAdmin() {
        address sender = _msgSender();
        require(
            genartAdmin == sender,
            "GenArtAccess: caller is not genart admin"
        );
        _;
    }

    function setGenArtAdmin(address admin) public onlyGenArtAdmin {
        genartAdmin = admin;
    }

    function setAdminAccess(address admin, bool access) public onlyGenArtAdmin {
        admins[admin] = access;
    }
}

File 7 of 22 : MintStateReserveGold.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library MintStateReserveGold {
    struct State {
        uint256 reservedGoldSupply;
        uint256 allowedMintGold;
        uint256 allowedMintStandard;
        // maps membershipIds to the amount of mints
        mapping(uint256 => uint256) _mints;
        uint256 _goldMints;
    }

    function getMints(State storage state, uint256 membershipId)
        internal
        view
        returns (uint256)
    {
        return state._mints[membershipId];
    }

    function getAllowedMints(State storage state, bool isGold)
        internal
        view
        returns (uint256)
    {
        return (isGold ? state.allowedMintGold : state.allowedMintStandard);
    }

    function getAvailableMints(
        State storage state,
        uint256 membershipId,
        bool isGold,
        uint256 collectionSupply,
        uint256 currentSupply
    ) internal view returns (uint256) {
        uint256 reserved = state.reservedGoldSupply <= state._goldMints
            ? 0
            : !isGold
            ? (state.reservedGoldSupply - state._goldMints)
            : 0;
        uint256 availableMints = reserved > collectionSupply - currentSupply
            ? 0
            : collectionSupply - currentSupply - reserved;

        return
            availableMints > 0
                ? getAllowedMints(state, isGold) - getMints(state, membershipId)
                : 0;
    }

    function init(State storage state, uint256 reservedGold) internal {
        state.reservedGoldSupply = reservedGold;
        state.allowedMintGold = 1;
        state.allowedMintStandard = 1;
    }

    function setReservedGold(State storage state, uint256 reservedGold)
        internal
    {
        state.reservedGoldSupply = reservedGold;
    }

    function update(
        State storage state,
        uint256 membershipId,
        bool isGold,
        uint256 value
    ) internal {
        unchecked {
            state._mints[membershipId] += value;
        }
        if (isGold) {
            unchecked {
                state._goldMints += value;
            }
        }
    }
}

File 8 of 22 : IGenArtMembership.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IGenArtMembership {
    function getTokensByOwner(address owner)
        external
        view
        returns (uint256[] memory);

    function ownerOf(uint256 tokenId) external view returns (address);

    function isGoldToken(uint256 _tokenId) external view returns (bool);
}

File 9 of 22 : IGenArtPaymentSplitterV2.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IGenArtPaymentSplitterV2 {
    function addCollectionPayment(
        address collection,
        address[] memory payees,
        uint256[] memory shares
    ) external;

    function addCollectionPaymentRoyalty(
        address collection,
        address[] memory payees,
        uint256[] memory shares
    ) external;

    function splitPayment(address collection) external payable;

    function splitPaymentRoyalty(address collection) external payable;

    function splitPaymentRoyaltyWETH(address collection, uint256 wethAmount)
        external
        payable;

    function getTotalSharesOfCollection(address collection, uint8 _payment)
        external
        view
        returns (uint256);

    function release(address account) external;

    function updatePayee(
        address collection,
        uint8 paymentType,
        uint256 payeeIndex,
        address newPayee
    ) external;
}

File 10 of 22 : IGenArtInterfaceV3.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IGenArtInterfaceV3 {
    function isGoldToken(uint256 _membershipId) external view returns (bool);

    function getAvailableMintsForAccount(address collection, address account)
        external
        view
        returns (uint256);

    function getMembershipsOf(address account)
        external
        view
        returns (uint256[] memory);

    function ownerOfMembership(uint256 _membershipId) external view returns (address);
}

File 11 of 22 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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: balance query for the zero address");
        return _balances[owner];
    }

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _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: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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 12 of 22 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 22 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 14 of 22 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 15 of 22 : 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 16 of 22 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 17 of 22 : 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 18 of 22 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 19 of 22 : 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 20 of 22 : 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);
}

File 21 of 22 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 22 of 22 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"uri_","type":"string"},{"internalType":"uint256","name":"collectionId_","type":"uint256"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"},{"internalType":"uint256","name":"mintSupply_","type":"uint256"},{"internalType":"address","name":"genartInterface_","type":"address"},{"internalType":"address","name":"paymentSplitter_","type":"address"},{"internalType":"address","name":"wethAddress_","type":"address"}],"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collectionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"membershipId","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_collectionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_genartInterface","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintstate","outputs":[{"internalType":"uint256","name":"reservedGoldSupply","type":"uint256"},{"internalType":"uint256","name":"allowedMintGold","type":"uint256"},{"internalType":"uint256","name":"allowedMintStandard","type":"uint256"},{"internalType":"uint256","name":"_goldMints","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paymentSplitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"genartAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"membershipId","type":"uint256"}],"name":"getAvailableMintsForMembership","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"membershipId","type":"uint256"}],"name":"getMembershipMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokensByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"membershipId","type":"uint256"}],"name":"mintOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintReserved","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":"releaseWETHRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"admin","type":"address"},{"internalType":"bool","name":"access","type":"bool"}],"name":"setAdminAccess","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"setGenArtAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"paymentSplitter","type":"address"}],"name":"setPaymentSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"reserved","type":"uint8"}],"name":"setReservedGold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405230600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601560006101000a81548160ff0219169083151502179055503480156200006d57600080fd5b506040516200676538038062006765833981810160405281019062000093919062000493565b88888160009080519060200190620000ad92919062000343565b508060019080519060200190620000c692919062000343565b505050620000e9620000dd6200025460201b60201c565b6200025c60201b60201c565b620000f96200025460201b60201c565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555086601490805190602001906200015192919062000343565b508560108190555084600d8190555083600e8190555082601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002458460166200032260201b620029ad1790919060201c565b50505050505050505062000799565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80826000018190555060018260010181905550600182600201819055505050565b82805462000351906200068a565b90600052602060002090601f016020900481019282620003755760008555620003c1565b82601f106200039057805160ff1916838001178555620003c1565b82800160010185558215620003c1579182015b82811115620003c0578251825591602001919060010190620003a3565b5b509050620003d09190620003d4565b5090565b5b80821115620003ef576000816000905550600101620003d5565b5090565b60006200040a6200040484620005e0565b620005b7565b9050828152602081018484840111156200042357600080fd5b6200043084828562000654565b509392505050565b600081519050620004498162000765565b92915050565b600082601f8301126200046157600080fd5b815162000473848260208601620003f3565b91505092915050565b6000815190506200048d816200077f565b92915050565b60008060008060008060008060006101208a8c031215620004b357600080fd5b60008a015167ffffffffffffffff811115620004ce57600080fd5b620004dc8c828d016200044f565b99505060208a015167ffffffffffffffff811115620004fa57600080fd5b620005088c828d016200044f565b98505060408a015167ffffffffffffffff8111156200052657600080fd5b620005348c828d016200044f565b9750506060620005478c828d016200047c565b96505060806200055a8c828d016200047c565b95505060a06200056d8c828d016200047c565b94505060c0620005808c828d0162000438565b93505060e0620005938c828d0162000438565b925050610100620005a78c828d0162000438565b9150509295985092959850929598565b6000620005c3620005d6565b9050620005d18282620006c0565b919050565b6000604051905090565b600067ffffffffffffffff821115620005fe57620005fd62000725565b5b620006098262000754565b9050602081019050919050565b600062000623826200062a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200067457808201518184015260208101905062000657565b8381111562000684576000848401525b50505050565b60006002820490506001821680620006a357607f821691505b60208210811415620006ba57620006b9620006f6565b5b50919050565b620006cb8262000754565b810181811067ffffffffffffffff82111715620006ed57620006ec62000725565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620007708162000616565b81146200077c57600080fd5b50565b6200078a816200064a565b81146200079657600080fd5b50565b615fbc80620007a96000396000f3fe6080604052600436106102815760003560e01c80636b29b79f1161014f57806399863754116100c1578063e637f98f1161007a578063e637f98f14610a51578063e985e9c514610a7c578063ec8c890414610ab9578063f00e9e1f14610ad0578063f2fde38b14610afb578063f65a0b3e14610b2457610316565b80639986375414610954578063a22cb4651461097d578063abef1848146109a6578063b88d4fde146109cf578063c87b56dd146109f8578063d48e13c314610a3557610316565b80638da5cb5b116101135780638da5cb5b146108655780638dc251e31461089057806390aafc01146108b957806391a1104d146108e457806395d89b41146109125780639828a5901461093d57610316565b80636b29b79f146107805780636eaef5bb146107a957806370a08231146107e6578063715018a6146108235780638296a2e81461083a57610316565b80632a55205a116101f357806342842e0e116101ac57806342842e0e1461064e57806342966c6814610677578063429b62e5146106a05780634f6ccce7146106dd57806355f804b31461071a5780636352211e1461074357610316565b80632a55205a146105125780632f745c59146105505780633c3f2d411461058d5780634017465c146105b857806340398d67146105f557806340c10f191461063257610316565b80630e0aff94116102455780630e0aff941461041457806316c38b3c1461043f57806316c61ccc1461046857806318160ddd146104935780631b2119b8146104be57806323b872dd146104e957610316565b806301ffc9a71461031b5780630387da421461035857806306fdde0314610383578063081812fc146103ae578063095ea7b3146103eb57610316565b3661031657601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329a72ca334306040518363ffffffff1660e01b81526004016102e29190614d4d565b6000604051808303818588803b1580156102fb57600080fd5b505af115801561030f573d6000803e3d6000fd5b5050505050005b600080fd5b34801561032757600080fd5b50610342600480360381019061033d91906146ca565b610b4d565b60405161034f9190614e51565b60405180910390f35b34801561036457600080fd5b5061036d610bc7565b60405161037a91906151ee565b60405180910390f35b34801561038f57600080fd5b50610398610bcd565b6040516103a59190614e6c565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d0919061475d565b610c5f565b6040516103e29190614d4d565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d91906145fb565b610ce4565b005b34801561042057600080fd5b50610429610dfc565b6040516104369190614d4d565b60405180910390f35b34801561044b57600080fd5b5061046660048036038101906104619190614678565b610e22565b005b34801561047457600080fd5b5061047d610f15565b60405161048a9190614e51565b60405180910390f35b34801561049f57600080fd5b506104a8610f28565b6040516104b591906151ee565b60405180910390f35b3480156104ca57600080fd5b506104d3610f35565b6040516104e091906151ee565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b91906144f5565b610f3b565b005b34801561051e57600080fd5b50610539600480360381019061053491906147af565b610f9b565b604051610547929190614e06565b60405180910390f35b34801561055c57600080fd5b50610577600480360381019061057291906145fb565b611092565b60405161058491906151ee565b60405180910390f35b34801561059957600080fd5b506105a2611137565b6040516105af9190614d4d565b60405180910390f35b3480156105c457600080fd5b506105df60048036038101906105da919061475d565b61115d565b6040516105ec91906151ee565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190614467565b61117a565b6040516106299190614e2f565b60405180910390f35b61064c600480360381019061064791906145fb565b611274565b005b34801561065a57600080fd5b50610675600480360381019061067091906144f5565b61168d565b005b34801561068357600080fd5b5061069e6004803603810190610699919061475d565b6116ad565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614467565b61173c565b6040516106d49190614e51565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff919061475d565b61175c565b60405161071191906151ee565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c919061471c565b6117f3565b005b34801561074f57600080fd5b5061076a6004803603810190610765919061475d565b6118aa565b6040516107779190614d4d565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190614467565b61195c565b005b3480156107b557600080fd5b506107d060048036038101906107cb919061475d565b611a3d565b6040516107dd91906151ee565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190614467565b611b13565b60405161081a91906151ee565b60405180910390f35b34801561082f57600080fd5b50610838611bcb565b005b34801561084657600080fd5b5061084f611c53565b60405161085c91906151ee565b60405180910390f35b34801561087157600080fd5b5061087a611c59565b6040516108879190614d4d565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b29190614467565b611c83565b005b3480156108c557600080fd5b506108ce611d64565b6040516108db9190614d4d565b60405180910390f35b3480156108f057600080fd5b506108f9611d8a565b604051610909949392919061524e565b60405180910390f35b34801561091e57600080fd5b50610927611da8565b6040516109349190614e6c565b60405180910390f35b34801561094957600080fd5b50610952611e3a565b005b34801561096057600080fd5b5061097b60048036038101906109769190614467565b612031565b005b34801561098957600080fd5b506109a4600480360381019061099f91906145bf565b612112565b005b3480156109b257600080fd5b506109cd60048036038101906109c891906147eb565b612128565b005b3480156109db57600080fd5b506109f660048036038101906109f19190614544565b6121df565b005b348015610a0457600080fd5b50610a1f6004803603810190610a1a919061475d565b612241565b604051610a2c9190614e6c565b60405180910390f35b610a4f6004803603810190610a4a91906145fb565b6122e8565b005b348015610a5d57600080fd5b50610a6661256d565b604051610a739190614d4d565b60405180910390f35b348015610a8857600080fd5b50610aa36004803603810190610a9e91906144b9565b612593565b604051610ab09190614e51565b60405180910390f35b348015610ac557600080fd5b50610ace612627565b005b348015610adc57600080fd5b50610ae5612797565b604051610af29190614d4d565b60405180910390f35b348015610b0757600080fd5b50610b226004803603810190610b1d9190614467565b6127bd565b005b348015610b3057600080fd5b50610b4b6004803603810190610b4691906145bf565b6128b5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bc05750610bbf826129ce565b5b9050919050565b600d5481565b606060008054610bdc906155ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610c08906155ac565b8015610c555780601f10610c2a57610100808354040283529160200191610c55565b820191906000526020600020905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b6000610c6a82612a48565b610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca0906150ae565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cef826118aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d579061512e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7f612ab4565b73ffffffffffffffffffffffffffffffffffffffff161480610dae5750610dad81610da8612ab4565b612593565b5b610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490614fee565b60405180910390fd5b610df78383612abc565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e2c612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16610e4d611c59565b73ffffffffffffffffffffffffffffffffffffffff161480610eb85750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee906151ce565b60405180910390fd5b81601560006101000a81548160ff0219169083151502179055505050565b601560009054906101000a900460ff1681565b6000600880549050905090565b600e5481565b610f4c610f46612ab4565b82612b75565b610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f829061514e565b60405180910390fd5b610f96838383612c53565b505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663306e38be3060016040518363ffffffff1660e01b8152600401611023929190614ddd565b60206040518083038186803b15801561103b57600080fd5b505afa15801561104f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110739190614786565b61107d9190615449565b6110879190615418565b915091509250929050565b600061109d83611b13565b82106110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590614e8e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611173826016612eba90919063ffffffff16565b9050919050565b6060600061118783611b13565b905060008167ffffffffffffffff8111156111cb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111f95781602001602082028036833780820191505090505b50905060005b82811015611269576112118582611092565b82828151811061124a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806112619061560f565b9150506111ff565b508092505050919050565b6000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a8bc51ac306112bd612ab4565b6040518363ffffffff1660e01b81526004016112da929190614d68565b60206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190614786565b90506113368282612eda565b6000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ea85b1e561137e612ab4565b6040518263ffffffff1660e01b815260040161139a9190614d4d565b60006040518083038186803b1580156113b257600080fd5b505afa1580156113c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906113ef9190614637565b90506000805b84821080156114045750825181105b156115f7576000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15858481518110611482577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016114a691906151ee565b60206040518083038186803b1580156114be57600080fd5b505afa1580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f691906146a1565b9050600061155d858481518110611536577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183600e5461154a610f28565b601661300190949392919063ffffffff16565b905060005b818110801561157057508785105b156115e1576115c0898786815181106115b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151856130b0565b84806115cb9061560f565b95505080806115d99061560f565b915050611562565b5082806115ed9061560f565b93505050506113f5565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016116539190614d4d565b6000604051808303818588803b15801561166c57600080fd5b505af1158015611680573d6000803e3d6000fd5b5050505050505050505050565b6116a8838383604051806020016040528060008152506121df565b505050565b60006116b8826118aa565b90508073ffffffffffffffffffffffffffffffffffffffff166116d9612ab4565b73ffffffffffffffffffffffffffffffffffffffff161461172f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611726906150ce565b60405180910390fd5b611738826130d8565b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000611766610f28565b82106117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e906151ae565b60405180910390fd5b600882815481106117e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60006117fd612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461188f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118869061518e565b60405180910390fd5b81601490805190602001906118a59291906141a1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a9061502e565b60405180910390fd5b80915050919050565b6000611966612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef9061518e565b60405180910390fd5b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000611b0c82601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15856040518263ffffffff1660e01b8152600401611a9e91906151ee565b60206040518083038186803b158015611ab657600080fd5b505afa158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee91906146a1565b600e54611af9610f28565b601661300190949392919063ffffffff16565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b9061500e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611bd3612ab4565b73ffffffffffffffffffffffffffffffffffffffff16611bf1611c59565b73ffffffffffffffffffffffffffffffffffffffff1614611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e906150ee565b60405180910390fd5b611c5160006131f5565b565b60105481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611c8d612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d169061518e565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60168060000154908060010154908060020154908060040154905084565b606060018054611db7906155ac565b80601f0160208091040260200160405190810160405280929190818152602001828054611de3906155ac565b8015611e305780601f10611e0557610100808354040283529160200191611e30565b820191906000526020600020905b815481529060010190602001808311611e1357829003601f168201915b5050505050905090565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e9c9190614d4d565b60206040518083038186803b158015611eb457600080fd5b505afa158015611ec8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eec9190614786565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611f4b929190614e06565b602060405180830381600087803b158015611f6557600080fd5b505af1158015611f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9d91906146a1565b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634aee68a130836040518363ffffffff1660e01b8152600401611ffb929190614e06565b600060405180830381600087803b15801561201557600080fd5b505af1158015612029573d6000803e3d6000fd5b505050505050565b600061203b612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c49061518e565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61212461211d612ab4565b83836132bb565b5050565b6000612132612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb9061518e565b60405180910390fd5b6121db8260ff16601661342890919063ffffffff16565b5050565b6121f06121ea612ab4565b83612b75565b61222f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122269061514e565b60405180910390fd5b61223b84848484613435565b50505050565b606061224c82612a48565b61228b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122829061510e565b60405180910390fd5b6000612295613491565b905060008151116122b557604051806020016040528060008152506122e0565b806122bf84613523565b6040516020016122d0929190614d29565b6040516020818303038152906040525b915050919050565b6122f0612ab4565b73ffffffffffffffffffffffffffffffffffffffff16601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a47dc5f0836040518263ffffffff1660e01b815260040161236191906151ee565b60206040518083038186803b15801561237957600080fd5b505afa15801561238d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b19190614490565b73ffffffffffffffffffffffffffffffffffffffff1614612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90614fae565b60405180910390fd5b600061241282611a3d565b905061241f600182612eda565b6000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15846040518263ffffffff1660e01b815260040161247c91906151ee565b60206040518083038186803b15801561249457600080fd5b505afa1580156124a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cc91906146a1565b90506124d98484836130b0565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016125359190614d4d565b6000604051808303818588803b15801561254e57600080fd5b505af1158015612562573d6000803e3d6000fd5b505050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612631612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16612652611c59565b73ffffffffffffffffffffffffffffffffffffffff1614806126bd5750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6126fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f3906151ce565b60405180910390fd5b601160009054906101000a900460ff161561274c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127439061516e565b60405180910390fd5b612779600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006136d0565b6001601160006101000a81548160ff02191690831515021790555050565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6127c5612ab4565b73ffffffffffffffffffffffffffffffffffffffff166127e3611c59565b73ffffffffffffffffffffffffffffffffffffffff1614612839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612830906150ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a090614ece565b60405180910390fd5b6128b2816131f5565b50565b60006128bf612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129489061518e565b60405180910390fd5b81600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b80826000018190555060018260010181905550600182600201819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a415750612a4082613751565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b2f836118aa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b8082612a48565b612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb690614f8e565b60405180910390fd5b6000612bca836118aa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c3957508373ffffffffffffffffffffffffffffffffffffffff16612c2184610c5f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c4a5750612c498185612593565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c73826118aa565b73ffffffffffffffffffffffffffffffffffffffff1614612cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc090614eee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3090614f2e565b60405180910390fd5b612d44838383613833565b612d4f600082612abc565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d9f91906154a3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612df691906153c2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eb5838383613947565b505050565b600082600301600083815260200190815260200160002054905092915050565b601560009054906101000a900460ff1615612f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2190614f6e565b60405180910390fd5b60008111612f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6490614fce565b60405180910390fd5b81811015612fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa79061508e565b60405180910390fd5b600082600d5402905034811115612ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff39061504e565b60405180910390fd5b505050565b60008086600401548760000154111561303b578415613021576000613036565b8660040154876000015461303591906154a3565b5b61303e565b60005b90506000838561304e91906154a3565b82116130705781848661306191906154a3565b61306b91906154a3565b613073565b60005b9050600081116130845760006130a3565b61308e8888612eba565b613098898861394c565b6130a291906154a3565b5b9250505095945050505050565b6130c982826001601661396b909392919063ffffffff16565b6130d383836136d0565b505050565b60006130e3826118aa565b90506130f181600084613833565b6130fc600083612abc565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461314c91906154a3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131f181600084613947565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561332a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332190614f4e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161341b9190614e51565b60405180910390a3505050565b8082600001819055505050565b613440848484612c53565b61344c848484846139ad565b61348b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348290614eae565b60405180910390fd5b50505050565b6060601480546134a0906155ac565b80601f01602080910402602001604051908101604052809291908181526020018280546134cc906155ac565b80156135195780601f106134ee57610100808354040283529160200191613519565b820191906000526020600020905b8154815290600101906020018083116134fc57829003601f168201915b5050505050905090565b6060600082141561356b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506136cb565b600082905060005b6000821461359d5780806135869061560f565b915050600a826135969190615418565b9150613573565b60008167ffffffffffffffff8111156135df577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136115781602001600182028036833780820191505090505b5090505b600085146136c45760018261362a91906154a3565b9150600a856136399190615658565b603061364591906153c2565b60f81b818381518110613681577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136bd9190615418565b9450613615565b8093505050505b919050565b600060016136dc610f28565b620186a06010546136ed9190615449565b6136f791906153c2565b61370191906153c2565b905061370d8382613b44565b7faacef1bbb194eac329f8f247fbe8cce3eca2ed1f2e0a45a0488c2dd8afe6e5168160105484866040516137449493929190615209565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061381c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061382c575061382b82613b62565b5b9050919050565b61383e838383613bcc565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138815761387c81613bd1565b6138c0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138bf576138be8382613c1a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613903576138fe81613d87565b613942565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613941576139408282613eca565b5b5b505050565b505050565b60008161395d578260020154613963565b82600101545b905092915050565b808460030160008581526020019081526020016000206000828254019250508190555081156139a7578084600401600082825401925050819055505b50505050565b60006139ce8473ffffffffffffffffffffffffffffffffffffffff16613f49565b15613b37578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139f7612ab4565b8786866040518563ffffffff1660e01b8152600401613a199493929190614d91565b602060405180830381600087803b158015613a3357600080fd5b505af1925050508015613a6457506040513d601f19601f82011682018060405250810190613a6191906146f3565b60015b613ae7573d8060008114613a94576040519150601f19603f3d011682016040523d82523d6000602084013e613a99565b606091505b50600081511415613adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad690614eae565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b3c565b600190505b949350505050565b613b5e828260405180602001604052806000815250613f6c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2784611b13565b613c3191906154a3565b9050600060076000848152602001908152602001600020549050818114613d16576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d9b91906154a3565b9050600060096000848152602001908152602001600020549050600060088381548110613df1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613eae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ed583611b13565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613f768383613fc7565b613f8360008484846139ad565b613fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb990614eae565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402e9061506e565b60405180910390fd5b61404081612a48565b15614080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407790614f0e565b60405180910390fd5b61408c60008383613833565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546140dc91906153c2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461419d60008383613947565b5050565b8280546141ad906155ac565b90600052602060002090601f0160209004810192826141cf5760008555614216565b82601f106141e857805160ff1916838001178555614216565b82800160010185558215614216579182015b828111156142155782518255916020019190600101906141fa565b5b5090506142239190614227565b5090565b5b80821115614240576000816000905550600101614228565b5090565b6000614257614252846152b8565b615293565b9050808382526020820190508285602086028201111561427657600080fd5b60005b858110156142a6578161428c888261443d565b845260208401935060208301925050600181019050614279565b5050509392505050565b60006142c36142be846152e4565b615293565b9050828152602081018484840111156142db57600080fd5b6142e684828561556a565b509392505050565b60006143016142fc84615315565b615293565b90508281526020810184848401111561431957600080fd5b61432484828561556a565b509392505050565b60008135905061433b81615f13565b92915050565b60008151905061435081615f13565b92915050565b600082601f83011261436757600080fd5b8151614377848260208601614244565b91505092915050565b60008135905061438f81615f2a565b92915050565b6000815190506143a481615f2a565b92915050565b6000813590506143b981615f41565b92915050565b6000815190506143ce81615f41565b92915050565b600082601f8301126143e557600080fd5b81356143f58482602086016142b0565b91505092915050565b600082601f83011261440f57600080fd5b813561441f8482602086016142ee565b91505092915050565b60008135905061443781615f58565b92915050565b60008151905061444c81615f58565b92915050565b60008135905061446181615f6f565b92915050565b60006020828403121561447957600080fd5b60006144878482850161432c565b91505092915050565b6000602082840312156144a257600080fd5b60006144b084828501614341565b91505092915050565b600080604083850312156144cc57600080fd5b60006144da8582860161432c565b92505060206144eb8582860161432c565b9150509250929050565b60008060006060848603121561450a57600080fd5b60006145188682870161432c565b93505060206145298682870161432c565b925050604061453a86828701614428565b9150509250925092565b6000806000806080858703121561455a57600080fd5b60006145688782880161432c565b94505060206145798782880161432c565b935050604061458a87828801614428565b925050606085013567ffffffffffffffff8111156145a757600080fd5b6145b3878288016143d4565b91505092959194509250565b600080604083850312156145d257600080fd5b60006145e08582860161432c565b92505060206145f185828601614380565b9150509250929050565b6000806040838503121561460e57600080fd5b600061461c8582860161432c565b925050602061462d85828601614428565b9150509250929050565b60006020828403121561464957600080fd5b600082015167ffffffffffffffff81111561466357600080fd5b61466f84828501614356565b91505092915050565b60006020828403121561468a57600080fd5b600061469884828501614380565b91505092915050565b6000602082840312156146b357600080fd5b60006146c184828501614395565b91505092915050565b6000602082840312156146dc57600080fd5b60006146ea848285016143aa565b91505092915050565b60006020828403121561470557600080fd5b6000614713848285016143bf565b91505092915050565b60006020828403121561472e57600080fd5b600082013567ffffffffffffffff81111561474857600080fd5b614754848285016143fe565b91505092915050565b60006020828403121561476f57600080fd5b600061477d84828501614428565b91505092915050565b60006020828403121561479857600080fd5b60006147a68482850161443d565b91505092915050565b600080604083850312156147c257600080fd5b60006147d085828601614428565b92505060206147e185828601614428565b9150509250929050565b6000602082840312156147fd57600080fd5b600061480b84828501614452565b91505092915050565b60006148208383614d0b565b60208301905092915050565b614835816154d7565b82525050565b600061484682615356565b6148508185615384565b935061485b83615346565b8060005b8381101561488c5781516148738882614814565b975061487e83615377565b92505060018101905061485f565b5085935050505092915050565b6148a2816154e9565b82525050565b60006148b382615361565b6148bd8185615395565b93506148cd818560208601615579565b6148d681615745565b840191505092915050565b6148ea81615558565b82525050565b60006148fb8261536c565b61490581856153a6565b9350614915818560208601615579565b61491e81615745565b840191505092915050565b60006149348261536c565b61493e81856153b7565b935061494e818560208601615579565b80840191505092915050565b6000614967602b836153a6565b915061497282615756565b604082019050919050565b600061498a6032836153a6565b9150614995826157a5565b604082019050919050565b60006149ad6026836153a6565b91506149b8826157f4565b604082019050919050565b60006149d06025836153a6565b91506149db82615843565b604082019050919050565b60006149f3601c836153a6565b91506149fe82615892565b602082019050919050565b6000614a166024836153a6565b9150614a21826158bb565b604082019050919050565b6000614a396019836153a6565b9150614a448261590a565b602082019050919050565b6000614a5c6021836153a6565b9150614a6782615933565b604082019050919050565b6000614a7f602c836153a6565b9150614a8a82615982565b604082019050919050565b6000614aa2602e836153a6565b9150614aad826159d1565b604082019050919050565b6000614ac56022836153a6565b9150614ad082615a20565b604082019050919050565b6000614ae86038836153a6565b9150614af382615a6f565b604082019050919050565b6000614b0b602a836153a6565b9150614b1682615abe565b604082019050919050565b6000614b2e6029836153a6565b9150614b3982615b0d565b604082019050919050565b6000614b516027836153a6565b9150614b5c82615b5c565b604082019050919050565b6000614b746020836153a6565b9150614b7f82615bab565b602082019050919050565b6000614b97602d836153a6565b9150614ba282615bd4565b604082019050919050565b6000614bba602c836153a6565b9150614bc582615c23565b604082019050919050565b6000614bdd6028836153a6565b9150614be882615c72565b604082019050919050565b6000614c006020836153a6565b9150614c0b82615cc1565b602082019050919050565b6000614c23602f836153a6565b9150614c2e82615cea565b604082019050919050565b6000614c466021836153a6565b9150614c5182615d39565b604082019050919050565b6000614c696031836153a6565b9150614c7482615d88565b604082019050919050565b6000614c8c6027836153a6565b9150614c9782615dd7565b604082019050919050565b6000614caf6028836153a6565b9150614cba82615e26565b604082019050919050565b6000614cd2602c836153a6565b9150614cdd82615e75565b604082019050919050565b6000614cf5602f836153a6565b9150614d0082615ec4565b604082019050919050565b614d1481615541565b82525050565b614d2381615541565b82525050565b6000614d358285614929565b9150614d418284614929565b91508190509392505050565b6000602082019050614d62600083018461482c565b92915050565b6000604082019050614d7d600083018561482c565b614d8a602083018461482c565b9392505050565b6000608082019050614da6600083018761482c565b614db3602083018661482c565b614dc06040830185614d1a565b8181036060830152614dd281846148a8565b905095945050505050565b6000604082019050614df2600083018561482c565b614dff60208301846148e1565b9392505050565b6000604082019050614e1b600083018561482c565b614e286020830184614d1a565b9392505050565b60006020820190508181036000830152614e49818461483b565b905092915050565b6000602082019050614e666000830184614899565b92915050565b60006020820190508181036000830152614e8681846148f0565b905092915050565b60006020820190508181036000830152614ea78161495a565b9050919050565b60006020820190508181036000830152614ec78161497d565b9050919050565b60006020820190508181036000830152614ee7816149a0565b9050919050565b60006020820190508181036000830152614f07816149c3565b9050919050565b60006020820190508181036000830152614f27816149e6565b9050919050565b60006020820190508181036000830152614f4781614a09565b9050919050565b60006020820190508181036000830152614f6781614a2c565b9050919050565b60006020820190508181036000830152614f8781614a4f565b9050919050565b60006020820190508181036000830152614fa781614a72565b9050919050565b60006020820190508181036000830152614fc781614a95565b9050919050565b60006020820190508181036000830152614fe781614ab8565b9050919050565b6000602082019050818103600083015261500781614adb565b9050919050565b6000602082019050818103600083015261502781614afe565b9050919050565b6000602082019050818103600083015261504781614b21565b9050919050565b6000602082019050818103600083015261506781614b44565b9050919050565b6000602082019050818103600083015261508781614b67565b9050919050565b600060208201905081810360008301526150a781614b8a565b9050919050565b600060208201905081810360008301526150c781614bad565b9050919050565b600060208201905081810360008301526150e781614bd0565b9050919050565b6000602082019050818103600083015261510781614bf3565b9050919050565b6000602082019050818103600083015261512781614c16565b9050919050565b6000602082019050818103600083015261514781614c39565b9050919050565b6000602082019050818103600083015261516781614c5c565b9050919050565b6000602082019050818103600083015261518781614c7f565b9050919050565b600060208201905081810360008301526151a781614ca2565b9050919050565b600060208201905081810360008301526151c781614cc5565b9050919050565b600060208201905081810360008301526151e781614ce8565b9050919050565b60006020820190506152036000830184614d1a565b92915050565b600060808201905061521e6000830187614d1a565b61522b6020830186614d1a565b6152386040830185614d1a565b615245606083018461482c565b95945050505050565b60006080820190506152636000830187614d1a565b6152706020830186614d1a565b61527d6040830185614d1a565b61528a6060830184614d1a565b95945050505050565b600061529d6152ae565b90506152a982826155de565b919050565b6000604051905090565b600067ffffffffffffffff8211156152d3576152d2615716565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152ff576152fe615716565b5b61530882615745565b9050602081019050919050565b600067ffffffffffffffff8211156153305761532f615716565b5b61533982615745565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153cd82615541565b91506153d883615541565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561540d5761540c615689565b5b828201905092915050565b600061542382615541565b915061542e83615541565b92508261543e5761543d6156b8565b5b828204905092915050565b600061545482615541565b915061545f83615541565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561549857615497615689565b5b828202905092915050565b60006154ae82615541565b91506154b983615541565b9250828210156154cc576154cb615689565b5b828203905092915050565b60006154e282615521565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006155638261554b565b9050919050565b82818337600083830152505050565b60005b8381101561559757808201518184015260208101905061557c565b838111156155a6576000848401525b50505050565b600060028204905060018216806155c457607f821691505b602082108114156155d8576155d76156e7565b5b50919050565b6155e782615745565b810181811067ffffffffffffffff8211171561560657615605615716565b5b80604052505050565b600061561a82615541565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561564d5761564c615689565b5b600182019050919050565b600061566382615541565b915061566e83615541565b92508261567e5761567d6156b8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f47656e41727445524337323141493a206d696e74696e6720697320706175736560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a2073656e646572206973206e6f74206d6560008201527f6d62657273686970206f776e6572000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a206e6f206d696e747320617661696c616260008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a207472616e73616374696f6e20756e646560008201527f7270726963656400000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e41727445524337323141493a20616d6f756e742065786365656473206160008201527f7661696c61626c654d696e747300000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a206275726e2063616c6c6572206973206e60008201527f6f74206f776e6572000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a20726573657276656420616c726561647960008201527f206d696e74656400000000000000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f742067656e6160008201527f72742061646d696e000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f74207468652060008201527f6f776e6572206e6f722061646d696e0000000000000000000000000000000000602082015250565b615f1c816154d7565b8114615f2757600080fd5b50565b615f33816154e9565b8114615f3e57600080fd5b50565b615f4a816154f5565b8114615f5557600080fd5b50565b615f6181615541565b8114615f6c57600080fd5b50565b615f788161554b565b8114615f8357600080fd5b5056fea26469706673582212206b947c38ae7df930bdcdd55767a641325ed2ad3ac2d7a4f10ad93ba970e8096664736f6c634300080400330000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000004e230000000000000000000000000000000000000000000000000214e8348c4f000000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000f09473b9e7d00f505f467b344f3907a948e38da0000000000000000000000000b42970b84c25aa3b1fd145fc41d2f301ec4bb9ad000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000001d526f72736368616368204d6561646f77206279204173682057686974650000000000000000000000000000000000000000000000000000000000000000000003524f520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e67656e2e6172742f7075626c69632f617474726962757465732f0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102815760003560e01c80636b29b79f1161014f57806399863754116100c1578063e637f98f1161007a578063e637f98f14610a51578063e985e9c514610a7c578063ec8c890414610ab9578063f00e9e1f14610ad0578063f2fde38b14610afb578063f65a0b3e14610b2457610316565b80639986375414610954578063a22cb4651461097d578063abef1848146109a6578063b88d4fde146109cf578063c87b56dd146109f8578063d48e13c314610a3557610316565b80638da5cb5b116101135780638da5cb5b146108655780638dc251e31461089057806390aafc01146108b957806391a1104d146108e457806395d89b41146109125780639828a5901461093d57610316565b80636b29b79f146107805780636eaef5bb146107a957806370a08231146107e6578063715018a6146108235780638296a2e81461083a57610316565b80632a55205a116101f357806342842e0e116101ac57806342842e0e1461064e57806342966c6814610677578063429b62e5146106a05780634f6ccce7146106dd57806355f804b31461071a5780636352211e1461074357610316565b80632a55205a146105125780632f745c59146105505780633c3f2d411461058d5780634017465c146105b857806340398d67146105f557806340c10f191461063257610316565b80630e0aff94116102455780630e0aff941461041457806316c38b3c1461043f57806316c61ccc1461046857806318160ddd146104935780631b2119b8146104be57806323b872dd146104e957610316565b806301ffc9a71461031b5780630387da421461035857806306fdde0314610383578063081812fc146103ae578063095ea7b3146103eb57610316565b3661031657601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329a72ca334306040518363ffffffff1660e01b81526004016102e29190614d4d565b6000604051808303818588803b1580156102fb57600080fd5b505af115801561030f573d6000803e3d6000fd5b5050505050005b600080fd5b34801561032757600080fd5b50610342600480360381019061033d91906146ca565b610b4d565b60405161034f9190614e51565b60405180910390f35b34801561036457600080fd5b5061036d610bc7565b60405161037a91906151ee565b60405180910390f35b34801561038f57600080fd5b50610398610bcd565b6040516103a59190614e6c565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d0919061475d565b610c5f565b6040516103e29190614d4d565b60405180910390f35b3480156103f757600080fd5b50610412600480360381019061040d91906145fb565b610ce4565b005b34801561042057600080fd5b50610429610dfc565b6040516104369190614d4d565b60405180910390f35b34801561044b57600080fd5b5061046660048036038101906104619190614678565b610e22565b005b34801561047457600080fd5b5061047d610f15565b60405161048a9190614e51565b60405180910390f35b34801561049f57600080fd5b506104a8610f28565b6040516104b591906151ee565b60405180910390f35b3480156104ca57600080fd5b506104d3610f35565b6040516104e091906151ee565b60405180910390f35b3480156104f557600080fd5b50610510600480360381019061050b91906144f5565b610f3b565b005b34801561051e57600080fd5b50610539600480360381019061053491906147af565b610f9b565b604051610547929190614e06565b60405180910390f35b34801561055c57600080fd5b50610577600480360381019061057291906145fb565b611092565b60405161058491906151ee565b60405180910390f35b34801561059957600080fd5b506105a2611137565b6040516105af9190614d4d565b60405180910390f35b3480156105c457600080fd5b506105df60048036038101906105da919061475d565b61115d565b6040516105ec91906151ee565b60405180910390f35b34801561060157600080fd5b5061061c60048036038101906106179190614467565b61117a565b6040516106299190614e2f565b60405180910390f35b61064c600480360381019061064791906145fb565b611274565b005b34801561065a57600080fd5b50610675600480360381019061067091906144f5565b61168d565b005b34801561068357600080fd5b5061069e6004803603810190610699919061475d565b6116ad565b005b3480156106ac57600080fd5b506106c760048036038101906106c29190614467565b61173c565b6040516106d49190614e51565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff919061475d565b61175c565b60405161071191906151ee565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c919061471c565b6117f3565b005b34801561074f57600080fd5b5061076a6004803603810190610765919061475d565b6118aa565b6040516107779190614d4d565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190614467565b61195c565b005b3480156107b557600080fd5b506107d060048036038101906107cb919061475d565b611a3d565b6040516107dd91906151ee565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190614467565b611b13565b60405161081a91906151ee565b60405180910390f35b34801561082f57600080fd5b50610838611bcb565b005b34801561084657600080fd5b5061084f611c53565b60405161085c91906151ee565b60405180910390f35b34801561087157600080fd5b5061087a611c59565b6040516108879190614d4d565b60405180910390f35b34801561089c57600080fd5b506108b760048036038101906108b29190614467565b611c83565b005b3480156108c557600080fd5b506108ce611d64565b6040516108db9190614d4d565b60405180910390f35b3480156108f057600080fd5b506108f9611d8a565b604051610909949392919061524e565b60405180910390f35b34801561091e57600080fd5b50610927611da8565b6040516109349190614e6c565b60405180910390f35b34801561094957600080fd5b50610952611e3a565b005b34801561096057600080fd5b5061097b60048036038101906109769190614467565b612031565b005b34801561098957600080fd5b506109a4600480360381019061099f91906145bf565b612112565b005b3480156109b257600080fd5b506109cd60048036038101906109c891906147eb565b612128565b005b3480156109db57600080fd5b506109f660048036038101906109f19190614544565b6121df565b005b348015610a0457600080fd5b50610a1f6004803603810190610a1a919061475d565b612241565b604051610a2c9190614e6c565b60405180910390f35b610a4f6004803603810190610a4a91906145fb565b6122e8565b005b348015610a5d57600080fd5b50610a6661256d565b604051610a739190614d4d565b60405180910390f35b348015610a8857600080fd5b50610aa36004803603810190610a9e91906144b9565b612593565b604051610ab09190614e51565b60405180910390f35b348015610ac557600080fd5b50610ace612627565b005b348015610adc57600080fd5b50610ae5612797565b604051610af29190614d4d565b60405180910390f35b348015610b0757600080fd5b50610b226004803603810190610b1d9190614467565b6127bd565b005b348015610b3057600080fd5b50610b4b6004803603810190610b4691906145bf565b6128b5565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bc05750610bbf826129ce565b5b9050919050565b600d5481565b606060008054610bdc906155ac565b80601f0160208091040260200160405190810160405280929190818152602001828054610c08906155ac565b8015610c555780601f10610c2a57610100808354040283529160200191610c55565b820191906000526020600020905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b6000610c6a82612a48565b610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca0906150ae565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cef826118aa565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d579061512e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7f612ab4565b73ffffffffffffffffffffffffffffffffffffffff161480610dae5750610dad81610da8612ab4565b612593565b5b610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de490614fee565b60405180910390fd5b610df78383612abc565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e2c612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16610e4d611c59565b73ffffffffffffffffffffffffffffffffffffffff161480610eb85750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee906151ce565b60405180910390fd5b81601560006101000a81548160ff0219169083151502179055505050565b601560009054906101000a900460ff1681565b6000600880549050905090565b600e5481565b610f4c610f46612ab4565b82612b75565b610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f829061514e565b60405180910390fd5b610f96838383612c53565b505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663306e38be3060016040518363ffffffff1660e01b8152600401611023929190614ddd565b60206040518083038186803b15801561103b57600080fd5b505afa15801561104f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110739190614786565b61107d9190615449565b6110879190615418565b915091509250929050565b600061109d83611b13565b82106110de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d590614e8e565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611173826016612eba90919063ffffffff16565b9050919050565b6060600061118783611b13565b905060008167ffffffffffffffff8111156111cb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111f95781602001602082028036833780820191505090505b50905060005b82811015611269576112118582611092565b82828151811061124a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080806112619061560f565b9150506111ff565b508092505050919050565b6000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a8bc51ac306112bd612ab4565b6040518363ffffffff1660e01b81526004016112da929190614d68565b60206040518083038186803b1580156112f257600080fd5b505afa158015611306573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132a9190614786565b90506113368282612eda565b6000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ea85b1e561137e612ab4565b6040518263ffffffff1660e01b815260040161139a9190614d4d565b60006040518083038186803b1580156113b257600080fd5b505afa1580156113c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906113ef9190614637565b90506000805b84821080156114045750825181105b156115f7576000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15858481518110611482577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016114a691906151ee565b60206040518083038186803b1580156114be57600080fd5b505afa1580156114d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f691906146a1565b9050600061155d858481518110611536577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183600e5461154a610f28565b601661300190949392919063ffffffff16565b905060005b818110801561157057508785105b156115e1576115c0898786815181106115b2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151856130b0565b84806115cb9061560f565b95505080806115d99061560f565b915050611562565b5082806115ed9061560f565b93505050506113f5565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016116539190614d4d565b6000604051808303818588803b15801561166c57600080fd5b505af1158015611680573d6000803e3d6000fd5b5050505050505050505050565b6116a8838383604051806020016040528060008152506121df565b505050565b60006116b8826118aa565b90508073ffffffffffffffffffffffffffffffffffffffff166116d9612ab4565b73ffffffffffffffffffffffffffffffffffffffff161461172f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611726906150ce565b60405180910390fd5b611738826130d8565b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000611766610f28565b82106117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e906151ae565b60405180910390fd5b600882815481106117e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60006117fd612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461188f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118869061518e565b60405180910390fd5b81601490805190602001906118a59291906141a1565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611953576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194a9061502e565b60405180910390fd5b80915050919050565b6000611966612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ef9061518e565b60405180910390fd5b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000611b0c82601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15856040518263ffffffff1660e01b8152600401611a9e91906151ee565b60206040518083038186803b158015611ab657600080fd5b505afa158015611aca573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611aee91906146a1565b600e54611af9610f28565b601661300190949392919063ffffffff16565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7b9061500e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611bd3612ab4565b73ffffffffffffffffffffffffffffffffffffffff16611bf1611c59565b73ffffffffffffffffffffffffffffffffffffffff1614611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e906150ee565b60405180910390fd5b611c5160006131f5565b565b60105481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611c8d612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d169061518e565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60168060000154908060010154908060020154908060040154905084565b606060018054611db7906155ac565b80601f0160208091040260200160405190810160405280929190818152602001828054611de3906155ac565b8015611e305780601f10611e0557610100808354040283529160200191611e30565b820191906000526020600020905b815481529060010190602001808311611e1357829003601f168201915b5050505050905090565b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e9c9190614d4d565b60206040518083038186803b158015611eb457600080fd5b505afa158015611ec8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eec9190614786565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611f4b929190614e06565b602060405180830381600087803b158015611f6557600080fd5b505af1158015611f79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f9d91906146a1565b50601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634aee68a130836040518363ffffffff1660e01b8152600401611ffb929190614e06565b600060405180830381600087803b15801561201557600080fd5b505af1158015612029573d6000803e3d6000fd5b505050505050565b600061203b612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c49061518e565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b61212461211d612ab4565b83836132bb565b5050565b6000612132612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146121c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121bb9061518e565b60405180910390fd5b6121db8260ff16601661342890919063ffffffff16565b5050565b6121f06121ea612ab4565b83612b75565b61222f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122269061514e565b60405180910390fd5b61223b84848484613435565b50505050565b606061224c82612a48565b61228b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122829061510e565b60405180910390fd5b6000612295613491565b905060008151116122b557604051806020016040528060008152506122e0565b806122bf84613523565b6040516020016122d0929190614d29565b6040516020818303038152906040525b915050919050565b6122f0612ab4565b73ffffffffffffffffffffffffffffffffffffffff16601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a47dc5f0836040518263ffffffff1660e01b815260040161236191906151ee565b60206040518083038186803b15801561237957600080fd5b505afa15801561238d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b19190614490565b73ffffffffffffffffffffffffffffffffffffffff1614612407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123fe90614fae565b60405180910390fd5b600061241282611a3d565b905061241f600182612eda565b6000601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15846040518263ffffffff1660e01b815260040161247c91906151ee565b60206040518083038186803b15801561249457600080fd5b505afa1580156124a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124cc91906146a1565b90506124d98484836130b0565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016125359190614d4d565b6000604051808303818588803b15801561254e57600080fd5b505af1158015612562573d6000803e3d6000fd5b505050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612631612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16612652611c59565b73ffffffffffffffffffffffffffffffffffffffff1614806126bd5750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b6126fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f3906151ce565b60405180910390fd5b601160009054906101000a900460ff161561274c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127439061516e565b60405180910390fd5b612779600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006136d0565b6001601160006101000a81548160ff02191690831515021790555050565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6127c5612ab4565b73ffffffffffffffffffffffffffffffffffffffff166127e3611c59565b73ffffffffffffffffffffffffffffffffffffffff1614612839576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612830906150ee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a090614ece565b60405180910390fd5b6128b2816131f5565b50565b60006128bf612ab4565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612951576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129489061518e565b60405180910390fd5b81600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b80826000018190555060018260010181905550600182600201819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a415750612a4082613751565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b2f836118aa565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b8082612a48565b612bbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb690614f8e565b60405180910390fd5b6000612bca836118aa565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c3957508373ffffffffffffffffffffffffffffffffffffffff16612c2184610c5f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c4a5750612c498185612593565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c73826118aa565b73ffffffffffffffffffffffffffffffffffffffff1614612cc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cc090614eee565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3090614f2e565b60405180910390fd5b612d44838383613833565b612d4f600082612abc565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612d9f91906154a3565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612df691906153c2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612eb5838383613947565b505050565b600082600301600083815260200190815260200160002054905092915050565b601560009054906101000a900460ff1615612f2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2190614f6e565b60405180910390fd5b60008111612f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6490614fce565b60405180910390fd5b81811015612fb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fa79061508e565b60405180910390fd5b600082600d5402905034811115612ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff39061504e565b60405180910390fd5b505050565b60008086600401548760000154111561303b578415613021576000613036565b8660040154876000015461303591906154a3565b5b61303e565b60005b90506000838561304e91906154a3565b82116130705781848661306191906154a3565b61306b91906154a3565b613073565b60005b9050600081116130845760006130a3565b61308e8888612eba565b613098898861394c565b6130a291906154a3565b5b9250505095945050505050565b6130c982826001601661396b909392919063ffffffff16565b6130d383836136d0565b505050565b60006130e3826118aa565b90506130f181600084613833565b6130fc600083612abc565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461314c91906154a3565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131f181600084613947565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561332a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332190614f4e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161341b9190614e51565b60405180910390a3505050565b8082600001819055505050565b613440848484612c53565b61344c848484846139ad565b61348b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348290614eae565b60405180910390fd5b50505050565b6060601480546134a0906155ac565b80601f01602080910402602001604051908101604052809291908181526020018280546134cc906155ac565b80156135195780601f106134ee57610100808354040283529160200191613519565b820191906000526020600020905b8154815290600101906020018083116134fc57829003601f168201915b5050505050905090565b6060600082141561356b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506136cb565b600082905060005b6000821461359d5780806135869061560f565b915050600a826135969190615418565b9150613573565b60008167ffffffffffffffff8111156135df577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156136115781602001600182028036833780820191505090505b5090505b600085146136c45760018261362a91906154a3565b9150600a856136399190615658565b603061364591906153c2565b60f81b818381518110613681577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136bd9190615418565b9450613615565b8093505050505b919050565b600060016136dc610f28565b620186a06010546136ed9190615449565b6136f791906153c2565b61370191906153c2565b905061370d8382613b44565b7faacef1bbb194eac329f8f247fbe8cce3eca2ed1f2e0a45a0488c2dd8afe6e5168160105484866040516137449493929190615209565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061381c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061382c575061382b82613b62565b5b9050919050565b61383e838383613bcc565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138815761387c81613bd1565b6138c0565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138bf576138be8382613c1a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613903576138fe81613d87565b613942565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613941576139408282613eca565b5b5b505050565b505050565b60008161395d578260020154613963565b82600101545b905092915050565b808460030160008581526020019081526020016000206000828254019250508190555081156139a7578084600401600082825401925050819055505b50505050565b60006139ce8473ffffffffffffffffffffffffffffffffffffffff16613f49565b15613b37578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139f7612ab4565b8786866040518563ffffffff1660e01b8152600401613a199493929190614d91565b602060405180830381600087803b158015613a3357600080fd5b505af1925050508015613a6457506040513d601f19601f82011682018060405250810190613a6191906146f3565b60015b613ae7573d8060008114613a94576040519150601f19603f3d011682016040523d82523d6000602084013e613a99565b606091505b50600081511415613adf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad690614eae565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b3c565b600190505b949350505050565b613b5e828260405180602001604052806000815250613f6c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2784611b13565b613c3191906154a3565b9050600060076000848152602001908152602001600020549050818114613d16576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d9b91906154a3565b9050600060096000848152602001908152602001600020549050600060088381548110613df1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e39577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613eae577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ed583611b13565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613f768383613fc7565b613f8360008484846139ad565b613fc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb990614eae565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614037576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402e9061506e565b60405180910390fd5b61404081612a48565b15614080576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407790614f0e565b60405180910390fd5b61408c60008383613833565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546140dc91906153c2565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461419d60008383613947565b5050565b8280546141ad906155ac565b90600052602060002090601f0160209004810192826141cf5760008555614216565b82601f106141e857805160ff1916838001178555614216565b82800160010185558215614216579182015b828111156142155782518255916020019190600101906141fa565b5b5090506142239190614227565b5090565b5b80821115614240576000816000905550600101614228565b5090565b6000614257614252846152b8565b615293565b9050808382526020820190508285602086028201111561427657600080fd5b60005b858110156142a6578161428c888261443d565b845260208401935060208301925050600181019050614279565b5050509392505050565b60006142c36142be846152e4565b615293565b9050828152602081018484840111156142db57600080fd5b6142e684828561556a565b509392505050565b60006143016142fc84615315565b615293565b90508281526020810184848401111561431957600080fd5b61432484828561556a565b509392505050565b60008135905061433b81615f13565b92915050565b60008151905061435081615f13565b92915050565b600082601f83011261436757600080fd5b8151614377848260208601614244565b91505092915050565b60008135905061438f81615f2a565b92915050565b6000815190506143a481615f2a565b92915050565b6000813590506143b981615f41565b92915050565b6000815190506143ce81615f41565b92915050565b600082601f8301126143e557600080fd5b81356143f58482602086016142b0565b91505092915050565b600082601f83011261440f57600080fd5b813561441f8482602086016142ee565b91505092915050565b60008135905061443781615f58565b92915050565b60008151905061444c81615f58565b92915050565b60008135905061446181615f6f565b92915050565b60006020828403121561447957600080fd5b60006144878482850161432c565b91505092915050565b6000602082840312156144a257600080fd5b60006144b084828501614341565b91505092915050565b600080604083850312156144cc57600080fd5b60006144da8582860161432c565b92505060206144eb8582860161432c565b9150509250929050565b60008060006060848603121561450a57600080fd5b60006145188682870161432c565b93505060206145298682870161432c565b925050604061453a86828701614428565b9150509250925092565b6000806000806080858703121561455a57600080fd5b60006145688782880161432c565b94505060206145798782880161432c565b935050604061458a87828801614428565b925050606085013567ffffffffffffffff8111156145a757600080fd5b6145b3878288016143d4565b91505092959194509250565b600080604083850312156145d257600080fd5b60006145e08582860161432c565b92505060206145f185828601614380565b9150509250929050565b6000806040838503121561460e57600080fd5b600061461c8582860161432c565b925050602061462d85828601614428565b9150509250929050565b60006020828403121561464957600080fd5b600082015167ffffffffffffffff81111561466357600080fd5b61466f84828501614356565b91505092915050565b60006020828403121561468a57600080fd5b600061469884828501614380565b91505092915050565b6000602082840312156146b357600080fd5b60006146c184828501614395565b91505092915050565b6000602082840312156146dc57600080fd5b60006146ea848285016143aa565b91505092915050565b60006020828403121561470557600080fd5b6000614713848285016143bf565b91505092915050565b60006020828403121561472e57600080fd5b600082013567ffffffffffffffff81111561474857600080fd5b614754848285016143fe565b91505092915050565b60006020828403121561476f57600080fd5b600061477d84828501614428565b91505092915050565b60006020828403121561479857600080fd5b60006147a68482850161443d565b91505092915050565b600080604083850312156147c257600080fd5b60006147d085828601614428565b92505060206147e185828601614428565b9150509250929050565b6000602082840312156147fd57600080fd5b600061480b84828501614452565b91505092915050565b60006148208383614d0b565b60208301905092915050565b614835816154d7565b82525050565b600061484682615356565b6148508185615384565b935061485b83615346565b8060005b8381101561488c5781516148738882614814565b975061487e83615377565b92505060018101905061485f565b5085935050505092915050565b6148a2816154e9565b82525050565b60006148b382615361565b6148bd8185615395565b93506148cd818560208601615579565b6148d681615745565b840191505092915050565b6148ea81615558565b82525050565b60006148fb8261536c565b61490581856153a6565b9350614915818560208601615579565b61491e81615745565b840191505092915050565b60006149348261536c565b61493e81856153b7565b935061494e818560208601615579565b80840191505092915050565b6000614967602b836153a6565b915061497282615756565b604082019050919050565b600061498a6032836153a6565b9150614995826157a5565b604082019050919050565b60006149ad6026836153a6565b91506149b8826157f4565b604082019050919050565b60006149d06025836153a6565b91506149db82615843565b604082019050919050565b60006149f3601c836153a6565b91506149fe82615892565b602082019050919050565b6000614a166024836153a6565b9150614a21826158bb565b604082019050919050565b6000614a396019836153a6565b9150614a448261590a565b602082019050919050565b6000614a5c6021836153a6565b9150614a6782615933565b604082019050919050565b6000614a7f602c836153a6565b9150614a8a82615982565b604082019050919050565b6000614aa2602e836153a6565b9150614aad826159d1565b604082019050919050565b6000614ac56022836153a6565b9150614ad082615a20565b604082019050919050565b6000614ae86038836153a6565b9150614af382615a6f565b604082019050919050565b6000614b0b602a836153a6565b9150614b1682615abe565b604082019050919050565b6000614b2e6029836153a6565b9150614b3982615b0d565b604082019050919050565b6000614b516027836153a6565b9150614b5c82615b5c565b604082019050919050565b6000614b746020836153a6565b9150614b7f82615bab565b602082019050919050565b6000614b97602d836153a6565b9150614ba282615bd4565b604082019050919050565b6000614bba602c836153a6565b9150614bc582615c23565b604082019050919050565b6000614bdd6028836153a6565b9150614be882615c72565b604082019050919050565b6000614c006020836153a6565b9150614c0b82615cc1565b602082019050919050565b6000614c23602f836153a6565b9150614c2e82615cea565b604082019050919050565b6000614c466021836153a6565b9150614c5182615d39565b604082019050919050565b6000614c696031836153a6565b9150614c7482615d88565b604082019050919050565b6000614c8c6027836153a6565b9150614c9782615dd7565b604082019050919050565b6000614caf6028836153a6565b9150614cba82615e26565b604082019050919050565b6000614cd2602c836153a6565b9150614cdd82615e75565b604082019050919050565b6000614cf5602f836153a6565b9150614d0082615ec4565b604082019050919050565b614d1481615541565b82525050565b614d2381615541565b82525050565b6000614d358285614929565b9150614d418284614929565b91508190509392505050565b6000602082019050614d62600083018461482c565b92915050565b6000604082019050614d7d600083018561482c565b614d8a602083018461482c565b9392505050565b6000608082019050614da6600083018761482c565b614db3602083018661482c565b614dc06040830185614d1a565b8181036060830152614dd281846148a8565b905095945050505050565b6000604082019050614df2600083018561482c565b614dff60208301846148e1565b9392505050565b6000604082019050614e1b600083018561482c565b614e286020830184614d1a565b9392505050565b60006020820190508181036000830152614e49818461483b565b905092915050565b6000602082019050614e666000830184614899565b92915050565b60006020820190508181036000830152614e8681846148f0565b905092915050565b60006020820190508181036000830152614ea78161495a565b9050919050565b60006020820190508181036000830152614ec78161497d565b9050919050565b60006020820190508181036000830152614ee7816149a0565b9050919050565b60006020820190508181036000830152614f07816149c3565b9050919050565b60006020820190508181036000830152614f27816149e6565b9050919050565b60006020820190508181036000830152614f4781614a09565b9050919050565b60006020820190508181036000830152614f6781614a2c565b9050919050565b60006020820190508181036000830152614f8781614a4f565b9050919050565b60006020820190508181036000830152614fa781614a72565b9050919050565b60006020820190508181036000830152614fc781614a95565b9050919050565b60006020820190508181036000830152614fe781614ab8565b9050919050565b6000602082019050818103600083015261500781614adb565b9050919050565b6000602082019050818103600083015261502781614afe565b9050919050565b6000602082019050818103600083015261504781614b21565b9050919050565b6000602082019050818103600083015261506781614b44565b9050919050565b6000602082019050818103600083015261508781614b67565b9050919050565b600060208201905081810360008301526150a781614b8a565b9050919050565b600060208201905081810360008301526150c781614bad565b9050919050565b600060208201905081810360008301526150e781614bd0565b9050919050565b6000602082019050818103600083015261510781614bf3565b9050919050565b6000602082019050818103600083015261512781614c16565b9050919050565b6000602082019050818103600083015261514781614c39565b9050919050565b6000602082019050818103600083015261516781614c5c565b9050919050565b6000602082019050818103600083015261518781614c7f565b9050919050565b600060208201905081810360008301526151a781614ca2565b9050919050565b600060208201905081810360008301526151c781614cc5565b9050919050565b600060208201905081810360008301526151e781614ce8565b9050919050565b60006020820190506152036000830184614d1a565b92915050565b600060808201905061521e6000830187614d1a565b61522b6020830186614d1a565b6152386040830185614d1a565b615245606083018461482c565b95945050505050565b60006080820190506152636000830187614d1a565b6152706020830186614d1a565b61527d6040830185614d1a565b61528a6060830184614d1a565b95945050505050565b600061529d6152ae565b90506152a982826155de565b919050565b6000604051905090565b600067ffffffffffffffff8211156152d3576152d2615716565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156152ff576152fe615716565b5b61530882615745565b9050602081019050919050565b600067ffffffffffffffff8211156153305761532f615716565b5b61533982615745565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b60006153cd82615541565b91506153d883615541565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561540d5761540c615689565b5b828201905092915050565b600061542382615541565b915061542e83615541565b92508261543e5761543d6156b8565b5b828204905092915050565b600061545482615541565b915061545f83615541565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561549857615497615689565b5b828202905092915050565b60006154ae82615541565b91506154b983615541565b9250828210156154cc576154cb615689565b5b828203905092915050565b60006154e282615521565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006155638261554b565b9050919050565b82818337600083830152505050565b60005b8381101561559757808201518184015260208101905061557c565b838111156155a6576000848401525b50505050565b600060028204905060018216806155c457607f821691505b602082108114156155d8576155d76156e7565b5b50919050565b6155e782615745565b810181811067ffffffffffffffff8211171561560657615605615716565b5b80604052505050565b600061561a82615541565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561564d5761564c615689565b5b600182019050919050565b600061566382615541565b915061566e83615541565b92508261567e5761567d6156b8565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f47656e41727445524337323141493a206d696e74696e6720697320706175736560008201527f6400000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a2073656e646572206973206e6f74206d6560008201527f6d62657273686970206f776e6572000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a206e6f206d696e747320617661696c616260008201527f6c65000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a207472616e73616374696f6e20756e646560008201527f7270726963656400000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e41727445524337323141493a20616d6f756e742065786365656473206160008201527f7661696c61626c654d696e747300000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a206275726e2063616c6c6572206973206e60008201527f6f74206f776e6572000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f47656e41727445524337323141493a20726573657276656420616c726561647960008201527f206d696e74656400000000000000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f742067656e6160008201527f72742061646d696e000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f74207468652060008201527f6f776e6572206e6f722061646d696e0000000000000000000000000000000000602082015250565b615f1c816154d7565b8114615f2757600080fd5b50565b615f33816154e9565b8114615f3e57600080fd5b50565b615f4a816154f5565b8114615f5557600080fd5b50565b615f6181615541565b8114615f6c57600080fd5b50565b615f788161554b565b8114615f8357600080fd5b5056fea26469706673582212206b947c38ae7df930bdcdd55767a641325ed2ad3ac2d7a4f10ad93ba970e8096664736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000004e230000000000000000000000000000000000000000000000000214e8348c4f000000000000000000000000000000000000000000000000000000000000000001f4000000000000000000000000f09473b9e7d00f505f467b344f3907a948e38da0000000000000000000000000b42970b84c25aa3b1fd145fc41d2f301ec4bb9ad000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000001d526f72736368616368204d6561646f77206279204173682057686974650000000000000000000000000000000000000000000000000000000000000000000003524f520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e67656e2e6172742f7075626c69632f617474726962757465732f0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Rorschach Meadow by Ash White
Arg [1] : symbol_ (string): ROR
Arg [2] : uri_ (string): https://api.gen.art/public/attributes/
Arg [3] : collectionId_ (uint256): 20003
Arg [4] : mintPrice_ (uint256): 150000000000000000
Arg [5] : mintSupply_ (uint256): 500
Arg [6] : genartInterface_ (address): 0xf09473B9e7D00F505f467B344f3907a948E38Da0
Arg [7] : paymentSplitter_ (address): 0xB42970B84C25aa3b1FD145fC41d2F301EC4BB9ad
Arg [8] : wethAddress_ (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000004e23
Arg [4] : 0000000000000000000000000000000000000000000000000214e8348c4f0000
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [6] : 000000000000000000000000f09473b9e7d00f505f467b344f3907a948e38da0
Arg [7] : 000000000000000000000000b42970b84c25aa3b1fd145fc41d2f301ec4bb9ad
Arg [8] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [9] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [10] : 526f72736368616368204d6561646f7720627920417368205768697465000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [12] : 524f520000000000000000000000000000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [14] : 68747470733a2f2f6170692e67656e2e6172742f7075626c69632f6174747269
Arg [15] : 62757465732f0000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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