ETH Price: $3,164.30 (+4.20%)

Token

(0xdc1b41492db3b485914d92a2e2cfa35fd93fc8ca)
 

Overview

Max Total Supply

225 ERC-721 TOKEN*

Holders

144

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0 ERC-721 TOKEN*
0xdc27361494e95f566409f379abd08813e73468eb
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GenArtERC721

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : GenArtERC721.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 "./GenArtAccess.sol";
import "./MintStates.sol";
import "./IGenArtMembership.sol";
import "./IGenArtPaymentSplitter.sol";
import "./IGenArtInterfaceV2.sol";

/**
 * @dev GEN.ART ERC721 V1
 * 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 GenArtERC721 is ERC721Enumerable, GenArtAccess, IERC2981 {
    using Strings for uint256;
    using MintStates for MintStates.State;

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

    MintStates.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_,
        uint256 reservedGold_,
        address genartMembership_,
        address genartInterface_,
        address paymentSplitter_,
        address artist_
    ) ERC721(name_, symbol_) GenArtAccess() {
        _uri = uri_;
        _collectionId = collectionId_;
        _mintPrice = mintPrice_;
        _mintSupply = mintSupply_;
        _mintstate.init(reservedGold_);
        _genartMembership = genartMembership_;
        _genartInterface = genartInterface_;
        _paymentSplitter = paymentSplitter_;
        _artist = artist_;
    }

    /**
     * @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 available mints for an account
     */
    function getAvailableMintsForAccount(address account)
        public
        view
        returns (uint256)
    {
        uint256[] memory memberships = IGenArtMembership(_genartMembership)
            .getTokensByOwner(account);

        uint256 availableMints;
        for (uint256 i; i < memberships.length; i++) {
            availableMints += _mintstate.getAvailableMints(
                memberships[i],
                IGenArtInterfaceV2(_genartInterface).isGoldToken(
                    memberships[i]
                ),
                _mintSupply,
                totalSupply()
            );
        }
        return availableMints;
    }

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

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

    /**
     *@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, "GenArtERC721: minting is paused");
        require(availableMints > 0, "GenArtERC721: no mints available");
        require(
            availableMints >= amount,
            "GenArtERC721: amount exceeds availableMints"
        );
        uint256 ethAmount;
        unchecked {
            ethAmount = _mintPrice * amount;
        }
        require(
            ethAmount <= msg.value,
            "GenArtERC721: 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 = getAvailableMintsForAccount(_msgSender());
        checkMint(amount, availableMints);
        // get all memberships for sender
        uint256[] memory memberships = IGenArtMembership(_genartMembership)
            .getTokensByOwner(_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 = IGenArtInterfaceV2(_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
        IGenArtPaymentSplitter(_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(
            IGenArtInterfaceV2(_genartInterface).ownerOf(membershipId) ==
                _msgSender(),
            "GenArtERC721: sender is not membership owner"
        );
        // get available mints for membership
        uint256 availableMints = getAvailableMintsForMembership(membershipId);

        checkMint(1, availableMints);
        // mint token
        mintForMembership(
            to,
            membershipId,
            IGenArtInterfaceV2(_genartInterface).isGoldToken(membershipId)
        );
        // send funds to PaymentSplitter
        IGenArtPaymentSplitter(_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,
            "GenArtERC721: 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,
            ((
                IGenArtPaymentSplitter(_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 Pause and unpause minting
     */
    function setPaused(bool paused) public onlyAdmin {
        _paused = paused;
    }

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

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

    function setRoyaltyReceiver(address receiver) public onlyGenArtAdmin {
        _royaltyReceiver = receiver;
    }

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

    /**
     * @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 {
        IGenArtPaymentSplitter(_paymentSplitter).splitPaymentRoyalty{
            value: msg.value
        }(address(this));
    }
}

File 2 of 20 : 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 20 : 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 20 : 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 20 : 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 6 of 20 : MintStates.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

library MintStates {
    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 = 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 7 of 20 : 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 8 of 20 : IGenArtPaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IGenArtPaymentSplitter {
    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 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 9 of 20 : IGenArtInterfaceV2.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IGenArtInterfaceV2 {
    function getMaxMintForMembership(uint256 _membershipId)
        external
        view
        returns (uint256);

    function getMaxMintForOwner(address owner) external view returns (uint256);

    function upgradeGenArtTokenContract(address _genArtTokenAddress) external;

    function setAllowGen(bool allow) external;

    function genAllowed() external view returns (bool);

    function isGoldToken(uint256 _membershipId) external view returns (bool);

    function transferFrom(
        address _from,
        address _to,
        uint256 _amount
    ) external;

    function getRandomChoice(uint256[] memory choices, uint256 seed)
        external
        view
        returns (uint256);

    function balanceOf(address _owner) external view returns (uint256);

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

File 10 of 20 : 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 11 of 20 : 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 12 of 20 : 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 13 of 20 : 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 14 of 20 : 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 15 of 20 : 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 16 of 20 : 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 17 of 20 : 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 18 of 20 : 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 19 of 20 : 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 20 of 20 : 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":"uint256","name":"reservedGold_","type":"uint256"},{"internalType":"address","name":"genartMembership_","type":"address"},{"internalType":"address","name":"genartInterface_","type":"address"},{"internalType":"address","name":"paymentSplitter_","type":"address"},{"internalType":"address","name":"artist_","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":"_artist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":"_genartMembership","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":[{"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":"address","name":"account","type":"address"}],"name":"getAvailableMintsForAccount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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":"uint256","name":"reserved","type":"uint256"}],"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"}]

608060405230600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601660006101000a81548160ff0219169083151502179055503480156200006d57600080fd5b506040516200670a3803806200670a8339818101604052810190620000939190620004d6565b8a8a8160009080519060200190620000ad92919062000386565b508060019080519060200190620000c692919062000386565b505050620000e9620000dd6200029760201b60201c565b6200029f60201b60201c565b620000f96200029760201b60201c565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555088601590805190602001906200015192919062000386565b508760108190555086600d8190555085600e81905550620001828560176200036560201b620029c51790919060201c565b83601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505050505050506200080a565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80826000018190555060018260010181905550600182600201819055505050565b8280546200039490620006fb565b90600052602060002090601f016020900481019282620003b8576000855562000404565b82601f10620003d357805160ff191683800117855562000404565b8280016001018555821562000404579182015b8281111562000403578251825591602001919060010190620003e6565b5b50905062000413919062000417565b5090565b5b808211156200043257600081600090555060010162000418565b5090565b60006200044d620004478462000651565b62000628565b9050828152602081018484840111156200046657600080fd5b62000473848285620006c5565b509392505050565b6000815190506200048c81620007d6565b92915050565b600082601f830112620004a457600080fd5b8151620004b684826020860162000436565b91505092915050565b600081519050620004d081620007f0565b92915050565b60008060008060008060008060008060006101608c8e031215620004f957600080fd5b60008c015167ffffffffffffffff8111156200051457600080fd5b620005228e828f0162000492565b9b505060208c015167ffffffffffffffff8111156200054057600080fd5b6200054e8e828f0162000492565b9a505060408c015167ffffffffffffffff8111156200056c57600080fd5b6200057a8e828f0162000492565b99505060606200058d8e828f01620004bf565b9850506080620005a08e828f01620004bf565b97505060a0620005b38e828f01620004bf565b96505060c0620005c68e828f01620004bf565b95505060e0620005d98e828f016200047b565b945050610100620005ed8e828f016200047b565b935050610120620006018e828f016200047b565b925050610140620006158e828f016200047b565b9150509295989b509295989b9093969950565b60006200063462000647565b905062000642828262000731565b919050565b6000604051905090565b600067ffffffffffffffff8211156200066f576200066e62000796565b5b6200067a82620007c5565b9050602081019050919050565b600062000694826200069b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620006e5578082015181840152602081019050620006c8565b83811115620006f5576000848401525b50505050565b600060028204905060018216806200071457607f821691505b602082108114156200072b576200072a62000767565b5b50919050565b6200073c82620007c5565b810181811067ffffffffffffffff821117156200075e576200075d62000796565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620007e18162000687565b8114620007ed57600080fd5b50565b620007fb81620006bb565b81146200080757600080fd5b50565b615ef0806200081a6000396000f3fe60806040526004361061028c5760003560e01c806355f804b31161015a57806399863754116100c1578063e985e9c51161007a578063e985e9c514610aad578063eac30b0214610aea578063ec8c890414610b15578063f00e9e1f14610b2c578063f2fde38b14610b57578063f65a0b3e14610b8057610321565b806399863754146109ae578063a22cb465146109d7578063b88d4fde14610a00578063c87b56dd14610a29578063d48e13c314610a66578063e637f98f14610a8257610321565b8063715018a611610113578063715018a6146108bf5780638296a2e8146108d65780638da5cb5b146109015780638dc251e31461092c57806391a1104d1461095557806395d89b411461098357610321565b806355f804b3146107795780635dca58f6146107a25780636352211e146107df5780636b29b79f1461081c5780636eaef5bb1461084557806370a082311461088257610321565b80632a55205a116101fe5780634046f91a116101b75780634046f91a1461066657806340c10f191461069157806342842e0e146106ad57806342966c68146106d6578063429b62e5146106ff5780634f6ccce71461073c57610321565b80632a55205a1461051d5780632f745c591461055b57806330c7656f146105985780633c3f2d41146105c15780634017465c146105ec57806340398d671461062957610321565b80630e0aff94116102505780630e0aff941461041f57806316c38b3c1461044a57806316c61ccc1461047357806318160ddd1461049e5780631b2119b8146104c957806323b872dd146104f457610321565b806301ffc9a7146103265780630387da421461036357806306fdde031461038e578063081812fc146103b9578063095ea7b3146103f657610321565b3661032157601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329a72ca334306040518363ffffffff1660e01b81526004016102ed9190614d0d565b6000604051808303818588803b15801561030657600080fd5b505af115801561031a573d6000803e3d6000fd5b5050505050005b600080fd5b34801561033257600080fd5b5061034d600480360381019061034891906146b3565b610ba9565b60405161035a9190614de8565b60405180910390f35b34801561036f57600080fd5b50610378610c23565b6040516103859190615185565b60405180910390f35b34801561039a57600080fd5b506103a3610c29565b6040516103b09190614e03565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614746565b610cbb565b6040516103ed9190614d0d565b60405180910390f35b34801561040257600080fd5b5061041d600480360381019061041891906145e4565b610d40565b005b34801561042b57600080fd5b50610434610e58565b6040516104419190614d0d565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190614661565b610e7e565b005b34801561047f57600080fd5b50610488610f71565b6040516104959190614de8565b60405180910390f35b3480156104aa57600080fd5b506104b3610f84565b6040516104c09190615185565b60405180910390f35b3480156104d557600080fd5b506104de610f91565b6040516104eb9190615185565b60405180910390f35b34801561050057600080fd5b5061051b600480360381019061051691906144de565b610f97565b005b34801561052957600080fd5b50610544600480360381019061053f9190614798565b610ff7565b604051610552929190614d9d565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d91906145e4565b6110ee565b60405161058f9190615185565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614746565b611193565b005b3480156105cd57600080fd5b506105d6611247565b6040516105e39190614d0d565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e9190614746565b61126d565b6040516106209190615185565b60405180910390f35b34801561063557600080fd5b50610650600480360381019061064b9190614450565b61128a565b60405161065d9190614dc6565b60405180910390f35b34801561067257600080fd5b5061067b611384565b6040516106889190614d0d565b60405180910390f35b6106ab60048036038101906106a691906145e4565b6113aa565b005b3480156106b957600080fd5b506106d460048036038101906106cf91906144de565b61171f565b005b3480156106e257600080fd5b506106fd60048036038101906106f89190614746565b61173f565b005b34801561070b57600080fd5b5061072660048036038101906107219190614450565b6117ce565b6040516107339190614de8565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190614746565b6117ee565b6040516107709190615185565b60405180910390f35b34801561078557600080fd5b506107a0600480360381019061079b9190614705565b611885565b005b3480156107ae57600080fd5b506107c960048036038101906107c49190614450565b61193c565b6040516107d69190615185565b60405180910390f35b3480156107eb57600080fd5b5061080660048036038101906108019190614746565b611b76565b6040516108139190614d0d565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e9190614450565b611c28565b005b34801561085157600080fd5b5061086c60048036038101906108679190614746565b611d09565b6040516108799190615185565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190614450565b611ddf565b6040516108b69190615185565b60405180910390f35b3480156108cb57600080fd5b506108d4611e97565b005b3480156108e257600080fd5b506108eb611f1f565b6040516108f89190615185565b60405180910390f35b34801561090d57600080fd5b50610916611f25565b6040516109239190614d0d565b60405180910390f35b34801561093857600080fd5b50610953600480360381019061094e9190614450565b611f4f565b005b34801561096157600080fd5b5061096a612030565b60405161097a94939291906151e5565b60405180910390f35b34801561098f57600080fd5b5061099861204e565b6040516109a59190614e03565b60405180910390f35b3480156109ba57600080fd5b506109d560048036038101906109d09190614450565b6120e0565b005b3480156109e357600080fd5b506109fe60048036038101906109f991906145a8565b6121c1565b005b348015610a0c57600080fd5b50610a276004803603810190610a22919061452d565b6121d7565b005b348015610a3557600080fd5b50610a506004803603810190610a4b9190614746565b612239565b604051610a5d9190614e03565b60405180910390f35b610a806004803603810190610a7b91906145e4565b6122e0565b005b348015610a8e57600080fd5b50610a9761255f565b604051610aa49190614d0d565b60405180910390f35b348015610ab957600080fd5b50610ad46004803603810190610acf91906144a2565b612585565b604051610ae19190614de8565b60405180910390f35b348015610af657600080fd5b50610aff612619565b604051610b0c9190614d0d565b60405180910390f35b348015610b2157600080fd5b50610b2a61263f565b005b348015610b3857600080fd5b50610b416127af565b604051610b4e9190614d0d565b60405180910390f35b348015610b6357600080fd5b50610b7e6004803603810190610b799190614450565b6127d5565b005b348015610b8c57600080fd5b50610ba76004803603810190610ba291906145a8565b6128cd565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c1c5750610c1b826129e6565b5b9050919050565b600d5481565b606060008054610c3890615543565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6490615543565b8015610cb15780601f10610c8657610100808354040283529160200191610cb1565b820191906000526020600020905b815481529060010190602001808311610c9457829003601f168201915b5050505050905090565b6000610cc682612a60565b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90615065565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4b82611b76565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db3906150e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ddb612acc565b73ffffffffffffffffffffffffffffffffffffffff161480610e0a5750610e0981610e04612acc565b612585565b5b610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090614fa5565b60405180910390fd5b610e538383612ad4565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e88612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16610ea9611f25565b73ffffffffffffffffffffffffffffffffffffffff161480610f145750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4a90615165565b60405180910390fd5b81601660006101000a81548160ff0219169083151502179055505050565b601660009054906101000a900460ff1681565b6000600880549050905090565b600e5481565b610fa8610fa2612acc565b82612b8d565b610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde90615105565b60405180910390fd5b610ff2838383612c6b565b505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663306e38be3060016040518363ffffffff1660e01b815260040161107f929190614d74565b60206040518083038186803b15801561109757600080fd5b505afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf919061476f565b6110d991906153e0565b6110e391906153af565b915091509250929050565b60006110f983611ddf565b821061113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190614e25565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600061119d612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690615125565b60405180910390fd5b611243826017612ed290919063ffffffff16565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611283826017612edf90919063ffffffff16565b9050919050565b6060600061129783611ddf565b905060008167ffffffffffffffff8111156112db577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113095781602001602082028036833780820191505090505b50905060005b828110156113795761132185826110ee565b82828151811061135a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611371906155a6565b91505061130f565b508092505050919050565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113bc6113b7612acc565b61193c565b90506113c88282612eff565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340398d67611410612acc565b6040518263ffffffff1660e01b815260040161142c9190614d0d565b60006040518083038186803b15801561144457600080fd5b505afa158015611458573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114819190614620565b90506000805b84821080156114965750825181105b15611689576000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15858481518110611514577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016115389190615185565b60206040518083038186803b15801561155057600080fd5b505afa158015611564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611588919061468a565b905060006115ef8584815181106115c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183600e546115dc610f84565b601761302690949392919063ffffffff16565b905060005b818110801561160257508785105b156116735761165289878681518110611644577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151856130bb565b848061165d906155a6565b955050808061166b906155a6565b9150506115f4565b50828061167f906155a6565b9350505050611487565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016116e59190614d0d565b6000604051808303818588803b1580156116fe57600080fd5b505af1158015611712573d6000803e3d6000fd5b5050505050505050505050565b61173a838383604051806020016040528060008152506121d7565b505050565b600061174a82611b76565b90508073ffffffffffffffffffffffffffffffffffffffff1661176b612acc565b73ffffffffffffffffffffffffffffffffffffffff16146117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b890614f45565b60405180910390fd5b6117ca826130e3565b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60006117f8610f84565b8210611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090615145565b60405180910390fd5b60088281548110611873577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600061188f612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890615125565b60405180910390fd5b816015908051906020019061193792919061419f565b505050565b600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340398d67846040518263ffffffff1660e01b815260040161199a9190614d0d565b60006040518083038186803b1580156119b257600080fd5b505afa1580156119c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906119ef9190614620565b90506000805b8251811015611b6b57611b4b838281518110611a3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15868581518110611ab9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401611add9190615185565b60206040518083038186803b158015611af557600080fd5b505afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d919061468a565b600e54611b38610f84565b601761302690949392919063ffffffff16565b82611b569190615359565b91508080611b63906155a6565b9150506119f5565b508092505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1690614fe5565b60405180910390fd5b80915050919050565b6000611c32612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbb90615125565b60405180910390fd5b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000611dd882601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15856040518263ffffffff1660e01b8152600401611d6a9190615185565b60206040518083038186803b158015611d8257600080fd5b505afa158015611d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dba919061468a565b600e54611dc5610f84565b601761302690949392919063ffffffff16565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4790614fc5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611e9f612acc565b73ffffffffffffffffffffffffffffffffffffffff16611ebd611f25565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a906150a5565b60405180910390fd5b611f1d6000613200565b565b60105481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611f59612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290615125565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60178060000154908060010154908060020154908060040154905084565b60606001805461205d90615543565b80601f016020809104026020016040519081016040528092919081815260200182805461208990615543565b80156120d65780601f106120ab576101008083540402835291602001916120d6565b820191906000526020600020905b8154815290600101906020018083116120b957829003601f168201915b5050505050905090565b60006120ea612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461217c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217390615125565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6121d36121cc612acc565b83836132c6565b5050565b6121e86121e2612acc565b83612b8d565b612227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221e90615105565b60405180910390fd5b61223384848484613433565b50505050565b606061224482612a60565b612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a906150c5565b60405180910390fd5b600061228d61348f565b905060008151116122ad57604051806020016040528060008152506122d8565b806122b784613521565b6040516020016122c8929190614ce9565b6040516020818303038152906040525b915050919050565b6122e8612acc565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016123599190615185565b60206040518083038186803b15801561237157600080fd5b505afa158015612385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a99190614479565b73ffffffffffffffffffffffffffffffffffffffff16146123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690614ec5565b60405180910390fd5b600061240a82611d09565b9050612417600182612eff565b6124cc8383601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15866040518263ffffffff1660e01b81526004016124779190615185565b60206040518083038186803b15801561248f57600080fd5b505afa1580156124a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c7919061468a565b6130bb565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016125289190614d0d565b6000604051808303818588803b15801561254157600080fd5b505af1158015612555573d6000803e3d6000fd5b5050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612649612acc565b90508073ffffffffffffffffffffffffffffffffffffffff1661266a611f25565b73ffffffffffffffffffffffffffffffffffffffff1614806126d55750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270b90615165565b60405180910390fd5b601160009054906101000a900460ff1615612764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275b90614f65565b60405180910390fd5b612791600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006136ce565b6001601160006101000a81548160ff02191690831515021790555050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6127dd612acc565b73ffffffffffffffffffffffffffffffffffffffff166127fb611f25565b73ffffffffffffffffffffffffffffffffffffffff1614612851576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612848906150a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b890614e65565b60405180910390fd5b6128ca81613200565b50565b60006128d7612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296090615125565b60405180910390fd5b81600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b80826000018190555060018260010181905550600182600201819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a595750612a588261374f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b4783611b76565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b9882612a60565b612bd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bce90614f25565b60405180910390fd5b6000612be283611b76565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c5157508373ffffffffffffffffffffffffffffffffffffffff16612c3984610cbb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c625750612c618185612585565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c8b82611b76565b73ffffffffffffffffffffffffffffffffffffffff1614612ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd890614e85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4890614ee5565b60405180910390fd5b612d5c838383613831565b612d67600082612ad4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db7919061543a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e0e9190615359565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ecd838383613945565b505050565b8082600001819055505050565b600082600301600083815260200190815260200160002054905092915050565b601660009054906101000a900460ff1615612f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4690615005565b60405180910390fd5b60008111612f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8990615045565b60405180910390fd5b81811015612fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcc90615085565b60405180910390fd5b600082600d5402905034811115613021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301890614f85565b60405180910390fd5b505050565b60008086600401548760000154111561306057841561304657600061305b565b8660040154876000015461305a919061543a565b5b613063565b60005b90506000818486613074919061543a565b61307e919061543a565b90506000811161308f5760006130ae565b6130998888612edf565b6130a3898861394a565b6130ad919061543a565b5b9250505095945050505050565b6130d4828260016017613969909392919063ffffffff16565b6130de83836136ce565b505050565b60006130ee82611b76565b90506130fc81600084613831565b613107600083612ad4565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613157919061543a565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131fc81600084613945565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332c90614f05565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516134269190614de8565b60405180910390a3505050565b61343e848484612c6b565b61344a848484846139ab565b613489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348090614e45565b60405180910390fd5b50505050565b60606015805461349e90615543565b80601f01602080910402602001604051908101604052809291908181526020018280546134ca90615543565b80156135175780601f106134ec57610100808354040283529160200191613517565b820191906000526020600020905b8154815290600101906020018083116134fa57829003601f168201915b5050505050905090565b60606000821415613569576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506136c9565b600082905060005b6000821461359b578080613584906155a6565b915050600a8261359491906153af565b9150613571565b60008167ffffffffffffffff8111156135dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561360f5781602001600182028036833780820191505090505b5090505b600085146136c257600182613628919061543a565b9150600a8561363791906155ef565b60306136439190615359565b60f81b81838151811061367f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136bb91906153af565b9450613613565b8093505050505b919050565b600060016136da610f84565b620186a06010546136eb91906153e0565b6136f59190615359565b6136ff9190615359565b905061370b8382613b42565b7faacef1bbb194eac329f8f247fbe8cce3eca2ed1f2e0a45a0488c2dd8afe6e51681601054848660405161374294939291906151a0565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061381a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061382a575061382982613b60565b5b9050919050565b61383c838383613bca565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561387f5761387a81613bcf565b6138be565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138bd576138bc8382613c18565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613901576138fc81613d85565b613940565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461393f5761393e8282613ec8565b5b5b505050565b505050565b60008161395b578260020154613961565b82600101545b905092915050565b808460030160008581526020019081526020016000206000828254019250508190555081156139a5578084600401600082825401925050819055505b50505050565b60006139cc8473ffffffffffffffffffffffffffffffffffffffff16613f47565b15613b35578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139f5612acc565b8786866040518563ffffffff1660e01b8152600401613a179493929190614d28565b602060405180830381600087803b158015613a3157600080fd5b505af1925050508015613a6257506040513d601f19601f82011682018060405250810190613a5f91906146dc565b60015b613ae5573d8060008114613a92576040519150601f19603f3d011682016040523d82523d6000602084013e613a97565b606091505b50600081511415613add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad490614e45565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b3a565b600190505b949350505050565b613b5c828260405180602001604052806000815250613f6a565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2584611ddf565b613c2f919061543a565b9050600060076000848152602001908152602001600020549050818114613d14576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d99919061543a565b9050600060096000848152602001908152602001600020549050600060088381548110613def577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613eac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ed383611ddf565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613f748383613fc5565b613f8160008484846139ab565b613fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb790614e45565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402c90615025565b60405180910390fd5b61403e81612a60565b1561407e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407590614ea5565b60405180910390fd5b61408a60008383613831565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546140da9190615359565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461419b60008383613945565b5050565b8280546141ab90615543565b90600052602060002090601f0160209004810192826141cd5760008555614214565b82601f106141e657805160ff1916838001178555614214565b82800160010185558215614214579182015b828111156142135782518255916020019190600101906141f8565b5b5090506142219190614225565b5090565b5b8082111561423e576000816000905550600101614226565b5090565b60006142556142508461524f565b61522a565b9050808382526020820190508285602086028201111561427457600080fd5b60005b858110156142a4578161428a888261443b565b845260208401935060208301925050600181019050614277565b5050509392505050565b60006142c16142bc8461527b565b61522a565b9050828152602081018484840111156142d957600080fd5b6142e4848285615501565b509392505050565b60006142ff6142fa846152ac565b61522a565b90508281526020810184848401111561431757600080fd5b614322848285615501565b509392505050565b60008135905061433981615e5e565b92915050565b60008151905061434e81615e5e565b92915050565b600082601f83011261436557600080fd5b8151614375848260208601614242565b91505092915050565b60008135905061438d81615e75565b92915050565b6000815190506143a281615e75565b92915050565b6000813590506143b781615e8c565b92915050565b6000815190506143cc81615e8c565b92915050565b600082601f8301126143e357600080fd5b81356143f38482602086016142ae565b91505092915050565b600082601f83011261440d57600080fd5b813561441d8482602086016142ec565b91505092915050565b60008135905061443581615ea3565b92915050565b60008151905061444a81615ea3565b92915050565b60006020828403121561446257600080fd5b60006144708482850161432a565b91505092915050565b60006020828403121561448b57600080fd5b60006144998482850161433f565b91505092915050565b600080604083850312156144b557600080fd5b60006144c38582860161432a565b92505060206144d48582860161432a565b9150509250929050565b6000806000606084860312156144f357600080fd5b60006145018682870161432a565b93505060206145128682870161432a565b925050604061452386828701614426565b9150509250925092565b6000806000806080858703121561454357600080fd5b60006145518782880161432a565b94505060206145628782880161432a565b935050604061457387828801614426565b925050606085013567ffffffffffffffff81111561459057600080fd5b61459c878288016143d2565b91505092959194509250565b600080604083850312156145bb57600080fd5b60006145c98582860161432a565b92505060206145da8582860161437e565b9150509250929050565b600080604083850312156145f757600080fd5b60006146058582860161432a565b925050602061461685828601614426565b9150509250929050565b60006020828403121561463257600080fd5b600082015167ffffffffffffffff81111561464c57600080fd5b61465884828501614354565b91505092915050565b60006020828403121561467357600080fd5b60006146818482850161437e565b91505092915050565b60006020828403121561469c57600080fd5b60006146aa84828501614393565b91505092915050565b6000602082840312156146c557600080fd5b60006146d3848285016143a8565b91505092915050565b6000602082840312156146ee57600080fd5b60006146fc848285016143bd565b91505092915050565b60006020828403121561471757600080fd5b600082013567ffffffffffffffff81111561473157600080fd5b61473d848285016143fc565b91505092915050565b60006020828403121561475857600080fd5b600061476684828501614426565b91505092915050565b60006020828403121561478157600080fd5b600061478f8482850161443b565b91505092915050565b600080604083850312156147ab57600080fd5b60006147b985828601614426565b92505060206147ca85828601614426565b9150509250929050565b60006147e08383614ccb565b60208301905092915050565b6147f58161546e565b82525050565b6000614806826152ed565b614810818561531b565b935061481b836152dd565b8060005b8381101561484c57815161483388826147d4565b975061483e8361530e565b92505060018101905061481f565b5085935050505092915050565b61486281615480565b82525050565b6000614873826152f8565b61487d818561532c565b935061488d818560208601615510565b614896816156dc565b840191505092915050565b6148aa816154ef565b82525050565b60006148bb82615303565b6148c5818561533d565b93506148d5818560208601615510565b6148de816156dc565b840191505092915050565b60006148f482615303565b6148fe818561534e565b935061490e818560208601615510565b80840191505092915050565b6000614927602b8361533d565b9150614932826156ed565b604082019050919050565b600061494a60328361533d565b91506149558261573c565b604082019050919050565b600061496d60268361533d565b91506149788261578b565b604082019050919050565b600061499060258361533d565b915061499b826157da565b604082019050919050565b60006149b3601c8361533d565b91506149be82615829565b602082019050919050565b60006149d6602c8361533d565b91506149e182615852565b604082019050919050565b60006149f960248361533d565b9150614a04826158a1565b604082019050919050565b6000614a1c60198361533d565b9150614a27826158f0565b602082019050919050565b6000614a3f602c8361533d565b9150614a4a82615919565b604082019050919050565b6000614a6260268361533d565b9150614a6d82615968565b604082019050919050565b6000614a8560258361533d565b9150614a90826159b7565b604082019050919050565b6000614aa860258361533d565b9150614ab382615a06565b604082019050919050565b6000614acb60388361533d565b9150614ad682615a55565b604082019050919050565b6000614aee602a8361533d565b9150614af982615aa4565b604082019050919050565b6000614b1160298361533d565b9150614b1c82615af3565b604082019050919050565b6000614b34601f8361533d565b9150614b3f82615b42565b602082019050919050565b6000614b5760208361533d565b9150614b6282615b6b565b602082019050919050565b6000614b7a60208361533d565b9150614b8582615b94565b602082019050919050565b6000614b9d602c8361533d565b9150614ba882615bbd565b604082019050919050565b6000614bc0602b8361533d565b9150614bcb82615c0c565b604082019050919050565b6000614be360208361533d565b9150614bee82615c5b565b602082019050919050565b6000614c06602f8361533d565b9150614c1182615c84565b604082019050919050565b6000614c2960218361533d565b9150614c3482615cd3565b604082019050919050565b6000614c4c60318361533d565b9150614c5782615d22565b604082019050919050565b6000614c6f60288361533d565b9150614c7a82615d71565b604082019050919050565b6000614c92602c8361533d565b9150614c9d82615dc0565b604082019050919050565b6000614cb5602f8361533d565b9150614cc082615e0f565b604082019050919050565b614cd4816154d8565b82525050565b614ce3816154d8565b82525050565b6000614cf582856148e9565b9150614d0182846148e9565b91508190509392505050565b6000602082019050614d2260008301846147ec565b92915050565b6000608082019050614d3d60008301876147ec565b614d4a60208301866147ec565b614d576040830185614cda565b8181036060830152614d698184614868565b905095945050505050565b6000604082019050614d8960008301856147ec565b614d9660208301846148a1565b9392505050565b6000604082019050614db260008301856147ec565b614dbf6020830184614cda565b9392505050565b60006020820190508181036000830152614de081846147fb565b905092915050565b6000602082019050614dfd6000830184614859565b92915050565b60006020820190508181036000830152614e1d81846148b0565b905092915050565b60006020820190508181036000830152614e3e8161491a565b9050919050565b60006020820190508181036000830152614e5e8161493d565b9050919050565b60006020820190508181036000830152614e7e81614960565b9050919050565b60006020820190508181036000830152614e9e81614983565b9050919050565b60006020820190508181036000830152614ebe816149a6565b9050919050565b60006020820190508181036000830152614ede816149c9565b9050919050565b60006020820190508181036000830152614efe816149ec565b9050919050565b60006020820190508181036000830152614f1e81614a0f565b9050919050565b60006020820190508181036000830152614f3e81614a32565b9050919050565b60006020820190508181036000830152614f5e81614a55565b9050919050565b60006020820190508181036000830152614f7e81614a78565b9050919050565b60006020820190508181036000830152614f9e81614a9b565b9050919050565b60006020820190508181036000830152614fbe81614abe565b9050919050565b60006020820190508181036000830152614fde81614ae1565b9050919050565b60006020820190508181036000830152614ffe81614b04565b9050919050565b6000602082019050818103600083015261501e81614b27565b9050919050565b6000602082019050818103600083015261503e81614b4a565b9050919050565b6000602082019050818103600083015261505e81614b6d565b9050919050565b6000602082019050818103600083015261507e81614b90565b9050919050565b6000602082019050818103600083015261509e81614bb3565b9050919050565b600060208201905081810360008301526150be81614bd6565b9050919050565b600060208201905081810360008301526150de81614bf9565b9050919050565b600060208201905081810360008301526150fe81614c1c565b9050919050565b6000602082019050818103600083015261511e81614c3f565b9050919050565b6000602082019050818103600083015261513e81614c62565b9050919050565b6000602082019050818103600083015261515e81614c85565b9050919050565b6000602082019050818103600083015261517e81614ca8565b9050919050565b600060208201905061519a6000830184614cda565b92915050565b60006080820190506151b56000830187614cda565b6151c26020830186614cda565b6151cf6040830185614cda565b6151dc60608301846147ec565b95945050505050565b60006080820190506151fa6000830187614cda565b6152076020830186614cda565b6152146040830185614cda565b6152216060830184614cda565b95945050505050565b6000615234615245565b90506152408282615575565b919050565b6000604051905090565b600067ffffffffffffffff82111561526a576152696156ad565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615296576152956156ad565b5b61529f826156dc565b9050602081019050919050565b600067ffffffffffffffff8211156152c7576152c66156ad565b5b6152d0826156dc565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615364826154d8565b915061536f836154d8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153a4576153a3615620565b5b828201905092915050565b60006153ba826154d8565b91506153c5836154d8565b9250826153d5576153d461564f565b5b828204905092915050565b60006153eb826154d8565b91506153f6836154d8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561542f5761542e615620565b5b828202905092915050565b6000615445826154d8565b9150615450836154d8565b92508282101561546357615462615620565b5b828203905092915050565b6000615479826154b8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154fa826154e2565b9050919050565b82818337600083830152505050565b60005b8381101561552e578082015181840152602081019050615513565b8381111561553d576000848401525b50505050565b6000600282049050600182168061555b57607f821691505b6020821081141561556f5761556e61567e565b5b50919050565b61557e826156dc565b810181811067ffffffffffffffff8211171561559d5761559c6156ad565b5b80604052505050565b60006155b1826154d8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155e4576155e3615620565b5b600182019050919050565b60006155fa826154d8565b9150615605836154d8565b9250826156155761561461564f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f47656e4172744552433732313a2073656e646572206973206e6f74206d656d6260008201527f657273686970206f776e65720000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a206275726e2063616c6c6572206973206e6f7460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a20726573657276656420616c7265616479206d60008201527f696e746564000000000000000000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a207472616e73616374696f6e20756e6465727060008201527f7269636564000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a206d696e74696e672069732070617573656400600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e4172744552433732313a206e6f206d696e747320617661696c61626c65600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a20616d6f756e7420657863656564732061766160008201527f696c61626c654d696e7473000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f742067656e6160008201527f72742061646d696e000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f74207468652060008201527f6f776e6572206e6f722061646d696e0000000000000000000000000000000000602082015250565b615e678161546e565b8114615e7257600080fd5b50565b615e7e81615480565b8114615e8957600080fd5b50565b615e958161548c565b8114615ea057600080fd5b50565b615eac816154d8565b8114615eb757600080fd5b5056fea26469706673582212207e87381efd1c8b92044e3842463d0b9de719bf7188e144f5256222bd0596311964736f6c63430008040033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000004e2000000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000000e100000000000000000000000000000000000000000000000000000000000000640000000000000000000000001ca39c7f0f65b4da24b094a9afac7acf626b7f38000000000000000000000000f368f333fdbc6393e617eeb6adc421b5de352cc8000000000000000000000000ea5c043605c0d5952466d80673d7681980d5b75100000000000000000000000015e6d255fa29b4ce27eb760de2bbe0f4a7078886000000000000000000000000000000000000000000000000000000000000000f4475736b2062792047454e2e4152540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344534b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e67656e2e6172742f7075626c69632f617474726962757465732f0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061028c5760003560e01c806355f804b31161015a57806399863754116100c1578063e985e9c51161007a578063e985e9c514610aad578063eac30b0214610aea578063ec8c890414610b15578063f00e9e1f14610b2c578063f2fde38b14610b57578063f65a0b3e14610b8057610321565b806399863754146109ae578063a22cb465146109d7578063b88d4fde14610a00578063c87b56dd14610a29578063d48e13c314610a66578063e637f98f14610a8257610321565b8063715018a611610113578063715018a6146108bf5780638296a2e8146108d65780638da5cb5b146109015780638dc251e31461092c57806391a1104d1461095557806395d89b411461098357610321565b806355f804b3146107795780635dca58f6146107a25780636352211e146107df5780636b29b79f1461081c5780636eaef5bb1461084557806370a082311461088257610321565b80632a55205a116101fe5780634046f91a116101b75780634046f91a1461066657806340c10f191461069157806342842e0e146106ad57806342966c68146106d6578063429b62e5146106ff5780634f6ccce71461073c57610321565b80632a55205a1461051d5780632f745c591461055b57806330c7656f146105985780633c3f2d41146105c15780634017465c146105ec57806340398d671461062957610321565b80630e0aff94116102505780630e0aff941461041f57806316c38b3c1461044a57806316c61ccc1461047357806318160ddd1461049e5780631b2119b8146104c957806323b872dd146104f457610321565b806301ffc9a7146103265780630387da421461036357806306fdde031461038e578063081812fc146103b9578063095ea7b3146103f657610321565b3661032157601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329a72ca334306040518363ffffffff1660e01b81526004016102ed9190614d0d565b6000604051808303818588803b15801561030657600080fd5b505af115801561031a573d6000803e3d6000fd5b5050505050005b600080fd5b34801561033257600080fd5b5061034d600480360381019061034891906146b3565b610ba9565b60405161035a9190614de8565b60405180910390f35b34801561036f57600080fd5b50610378610c23565b6040516103859190615185565b60405180910390f35b34801561039a57600080fd5b506103a3610c29565b6040516103b09190614e03565b60405180910390f35b3480156103c557600080fd5b506103e060048036038101906103db9190614746565b610cbb565b6040516103ed9190614d0d565b60405180910390f35b34801561040257600080fd5b5061041d600480360381019061041891906145e4565b610d40565b005b34801561042b57600080fd5b50610434610e58565b6040516104419190614d0d565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190614661565b610e7e565b005b34801561047f57600080fd5b50610488610f71565b6040516104959190614de8565b60405180910390f35b3480156104aa57600080fd5b506104b3610f84565b6040516104c09190615185565b60405180910390f35b3480156104d557600080fd5b506104de610f91565b6040516104eb9190615185565b60405180910390f35b34801561050057600080fd5b5061051b600480360381019061051691906144de565b610f97565b005b34801561052957600080fd5b50610544600480360381019061053f9190614798565b610ff7565b604051610552929190614d9d565b60405180910390f35b34801561056757600080fd5b50610582600480360381019061057d91906145e4565b6110ee565b60405161058f9190615185565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190614746565b611193565b005b3480156105cd57600080fd5b506105d6611247565b6040516105e39190614d0d565b60405180910390f35b3480156105f857600080fd5b50610613600480360381019061060e9190614746565b61126d565b6040516106209190615185565b60405180910390f35b34801561063557600080fd5b50610650600480360381019061064b9190614450565b61128a565b60405161065d9190614dc6565b60405180910390f35b34801561067257600080fd5b5061067b611384565b6040516106889190614d0d565b60405180910390f35b6106ab60048036038101906106a691906145e4565b6113aa565b005b3480156106b957600080fd5b506106d460048036038101906106cf91906144de565b61171f565b005b3480156106e257600080fd5b506106fd60048036038101906106f89190614746565b61173f565b005b34801561070b57600080fd5b5061072660048036038101906107219190614450565b6117ce565b6040516107339190614de8565b60405180910390f35b34801561074857600080fd5b50610763600480360381019061075e9190614746565b6117ee565b6040516107709190615185565b60405180910390f35b34801561078557600080fd5b506107a0600480360381019061079b9190614705565b611885565b005b3480156107ae57600080fd5b506107c960048036038101906107c49190614450565b61193c565b6040516107d69190615185565b60405180910390f35b3480156107eb57600080fd5b5061080660048036038101906108019190614746565b611b76565b6040516108139190614d0d565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e9190614450565b611c28565b005b34801561085157600080fd5b5061086c60048036038101906108679190614746565b611d09565b6040516108799190615185565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190614450565b611ddf565b6040516108b69190615185565b60405180910390f35b3480156108cb57600080fd5b506108d4611e97565b005b3480156108e257600080fd5b506108eb611f1f565b6040516108f89190615185565b60405180910390f35b34801561090d57600080fd5b50610916611f25565b6040516109239190614d0d565b60405180910390f35b34801561093857600080fd5b50610953600480360381019061094e9190614450565b611f4f565b005b34801561096157600080fd5b5061096a612030565b60405161097a94939291906151e5565b60405180910390f35b34801561098f57600080fd5b5061099861204e565b6040516109a59190614e03565b60405180910390f35b3480156109ba57600080fd5b506109d560048036038101906109d09190614450565b6120e0565b005b3480156109e357600080fd5b506109fe60048036038101906109f991906145a8565b6121c1565b005b348015610a0c57600080fd5b50610a276004803603810190610a22919061452d565b6121d7565b005b348015610a3557600080fd5b50610a506004803603810190610a4b9190614746565b612239565b604051610a5d9190614e03565b60405180910390f35b610a806004803603810190610a7b91906145e4565b6122e0565b005b348015610a8e57600080fd5b50610a9761255f565b604051610aa49190614d0d565b60405180910390f35b348015610ab957600080fd5b50610ad46004803603810190610acf91906144a2565b612585565b604051610ae19190614de8565b60405180910390f35b348015610af657600080fd5b50610aff612619565b604051610b0c9190614d0d565b60405180910390f35b348015610b2157600080fd5b50610b2a61263f565b005b348015610b3857600080fd5b50610b416127af565b604051610b4e9190614d0d565b60405180910390f35b348015610b6357600080fd5b50610b7e6004803603810190610b799190614450565b6127d5565b005b348015610b8c57600080fd5b50610ba76004803603810190610ba291906145a8565b6128cd565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c1c5750610c1b826129e6565b5b9050919050565b600d5481565b606060008054610c3890615543565b80601f0160208091040260200160405190810160405280929190818152602001828054610c6490615543565b8015610cb15780601f10610c8657610100808354040283529160200191610cb1565b820191906000526020600020905b815481529060010190602001808311610c9457829003601f168201915b5050505050905090565b6000610cc682612a60565b610d05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfc90615065565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4b82611b76565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db3906150e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ddb612acc565b73ffffffffffffffffffffffffffffffffffffffff161480610e0a5750610e0981610e04612acc565b612585565b5b610e49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4090614fa5565b60405180910390fd5b610e538383612ad4565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610e88612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16610ea9611f25565b73ffffffffffffffffffffffffffffffffffffffff161480610f145750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4a90615165565b60405180910390fd5b81601660006101000a81548160ff0219169083151502179055505050565b601660009054906101000a900460ff1681565b6000600880549050905090565b600e5481565b610fa8610fa2612acc565b82612b8d565b610fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fde90615105565b60405180910390fd5b610ff2838383612c6b565b505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663306e38be3060016040518363ffffffff1660e01b815260040161107f929190614d74565b60206040518083038186803b15801561109757600080fd5b505afa1580156110ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110cf919061476f565b6110d991906153e0565b6110e391906153af565b915091509250929050565b60006110f983611ddf565b821061113a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113190614e25565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600061119d612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690615125565b60405180910390fd5b611243826017612ed290919063ffffffff16565b5050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611283826017612edf90919063ffffffff16565b9050919050565b6060600061129783611ddf565b905060008167ffffffffffffffff8111156112db577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156113095781602001602082028036833780820191505090505b50905060005b828110156113795761132185826110ee565b82828151811061135a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611371906155a6565b91505061130f565b508092505050919050565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006113bc6113b7612acc565b61193c565b90506113c88282612eff565b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340398d67611410612acc565b6040518263ffffffff1660e01b815260040161142c9190614d0d565b60006040518083038186803b15801561144457600080fd5b505afa158015611458573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906114819190614620565b90506000805b84821080156114965750825181105b15611689576000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15858481518110611514577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b81526004016115389190615185565b60206040518083038186803b15801561155057600080fd5b505afa158015611564573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611588919061468a565b905060006115ef8584815181106115c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183600e546115dc610f84565b601761302690949392919063ffffffff16565b905060005b818110801561160257508785105b156116735761165289878681518110611644577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151856130bb565b848061165d906155a6565b955050808061166b906155a6565b9150506115f4565b50828061167f906155a6565b9350505050611487565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016116e59190614d0d565b6000604051808303818588803b1580156116fe57600080fd5b505af1158015611712573d6000803e3d6000fd5b5050505050505050505050565b61173a838383604051806020016040528060008152506121d7565b505050565b600061174a82611b76565b90508073ffffffffffffffffffffffffffffffffffffffff1661176b612acc565b73ffffffffffffffffffffffffffffffffffffffff16146117c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b890614f45565b60405180910390fd5b6117ca826130e3565b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b60006117f8610f84565b8210611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090615145565b60405180910390fd5b60088281548110611873577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b600061188f612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191890615125565b60405180910390fd5b816015908051906020019061193792919061419f565b505050565b600080601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340398d67846040518263ffffffff1660e01b815260040161199a9190614d0d565b60006040518083038186803b1580156119b257600080fd5b505afa1580156119c6573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906119ef9190614620565b90506000805b8251811015611b6b57611b4b838281518110611a3a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15868581518110611ab9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401611add9190615185565b60206040518083038186803b158015611af557600080fd5b505afa158015611b09573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b2d919061468a565b600e54611b38610f84565b601761302690949392919063ffffffff16565b82611b569190615359565b91508080611b63906155a6565b9150506119f5565b508092505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1690614fe5565b60405180910390fd5b80915050919050565b6000611c32612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbb90615125565b60405180910390fd5b81601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000611dd882601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15856040518263ffffffff1660e01b8152600401611d6a9190615185565b60206040518083038186803b158015611d8257600080fd5b505afa158015611d96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611dba919061468a565b600e54611dc5610f84565b601761302690949392919063ffffffff16565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4790614fc5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611e9f612acc565b73ffffffffffffffffffffffffffffffffffffffff16611ebd611f25565b73ffffffffffffffffffffffffffffffffffffffff1614611f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0a906150a5565b60405180910390fd5b611f1d6000613200565b565b60105481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611f59612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611feb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe290615125565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b60178060000154908060010154908060020154908060040154905084565b60606001805461205d90615543565b80601f016020809104026020016040519081016040528092919081815260200182805461208990615543565b80156120d65780601f106120ab576101008083540402835291602001916120d6565b820191906000526020600020905b8154815290600101906020018083116120b957829003601f168201915b5050505050905090565b60006120ea612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461217c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217390615125565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6121d36121cc612acc565b83836132c6565b5050565b6121e86121e2612acc565b83612b8d565b612227576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221e90615105565b60405180910390fd5b61223384848484613433565b50505050565b606061224482612a60565b612283576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227a906150c5565b60405180910390fd5b600061228d61348f565b905060008151116122ad57604051806020016040528060008152506122d8565b806122b784613521565b6040516020016122c8929190614ce9565b6040516020818303038152906040525b915050919050565b6122e8612acc565b73ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b81526004016123599190615185565b60206040518083038186803b15801561237157600080fd5b505afa158015612385573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123a99190614479565b73ffffffffffffffffffffffffffffffffffffffff16146123ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f690614ec5565b60405180910390fd5b600061240a82611d09565b9050612417600182612eff565b6124cc8383601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15866040518263ffffffff1660e01b81526004016124779190615185565b60206040518083038186803b15801561248f57600080fd5b505afa1580156124a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c7919061468a565b6130bb565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016125289190614d0d565b6000604051808303818588803b15801561254157600080fd5b505af1158015612555573d6000803e3d6000fd5b5050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612649612acc565b90508073ffffffffffffffffffffffffffffffffffffffff1661266a611f25565b73ffffffffffffffffffffffffffffffffffffffff1614806126d55750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612714576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270b90615165565b60405180910390fd5b601160009054906101000a900460ff1615612764576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275b90614f65565b60405180910390fd5b612791600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006136ce565b6001601160006101000a81548160ff02191690831515021790555050565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6127dd612acc565b73ffffffffffffffffffffffffffffffffffffffff166127fb611f25565b73ffffffffffffffffffffffffffffffffffffffff1614612851576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612848906150a5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156128c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128b890614e65565b60405180910390fd5b6128ca81613200565b50565b60006128d7612acc565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296090615125565b60405180910390fd5b81600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b80826000018190555060018260010181905550600182600201819055505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612a595750612a588261374f565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612b4783611b76565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612b9882612a60565b612bd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bce90614f25565b60405180910390fd5b6000612be283611b76565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612c5157508373ffffffffffffffffffffffffffffffffffffffff16612c3984610cbb565b73ffffffffffffffffffffffffffffffffffffffff16145b80612c625750612c618185612585565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612c8b82611b76565b73ffffffffffffffffffffffffffffffffffffffff1614612ce1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd890614e85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4890614ee5565b60405180910390fd5b612d5c838383613831565b612d67600082612ad4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db7919061543a565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e0e9190615359565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612ecd838383613945565b505050565b8082600001819055505050565b600082600301600083815260200190815260200160002054905092915050565b601660009054906101000a900460ff1615612f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f4690615005565b60405180910390fd5b60008111612f92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8990615045565b60405180910390fd5b81811015612fd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fcc90615085565b60405180910390fd5b600082600d5402905034811115613021576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161301890614f85565b60405180910390fd5b505050565b60008086600401548760000154111561306057841561304657600061305b565b8660040154876000015461305a919061543a565b5b613063565b60005b90506000818486613074919061543a565b61307e919061543a565b90506000811161308f5760006130ae565b6130998888612edf565b6130a3898861394a565b6130ad919061543a565b5b9250505095945050505050565b6130d4828260016017613969909392919063ffffffff16565b6130de83836136ce565b505050565b60006130ee82611b76565b90506130fc81600084613831565b613107600083612ad4565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613157919061543a565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131fc81600084613945565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161332c90614f05565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516134269190614de8565b60405180910390a3505050565b61343e848484612c6b565b61344a848484846139ab565b613489576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348090614e45565b60405180910390fd5b50505050565b60606015805461349e90615543565b80601f01602080910402602001604051908101604052809291908181526020018280546134ca90615543565b80156135175780601f106134ec57610100808354040283529160200191613517565b820191906000526020600020905b8154815290600101906020018083116134fa57829003601f168201915b5050505050905090565b60606000821415613569576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506136c9565b600082905060005b6000821461359b578080613584906155a6565b915050600a8261359491906153af565b9150613571565b60008167ffffffffffffffff8111156135dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561360f5781602001600182028036833780820191505090505b5090505b600085146136c257600182613628919061543a565b9150600a8561363791906155ef565b60306136439190615359565b60f81b81838151811061367f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856136bb91906153af565b9450613613565b8093505050505b919050565b600060016136da610f84565b620186a06010546136eb91906153e0565b6136f59190615359565b6136ff9190615359565b905061370b8382613b42565b7faacef1bbb194eac329f8f247fbe8cce3eca2ed1f2e0a45a0488c2dd8afe6e51681601054848660405161374294939291906151a0565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061381a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061382a575061382982613b60565b5b9050919050565b61383c838383613bca565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561387f5761387a81613bcf565b6138be565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146138bd576138bc8382613c18565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613901576138fc81613d85565b613940565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461393f5761393e8282613ec8565b5b5b505050565b505050565b60008161395b578260020154613961565b82600101545b905092915050565b808460030160008581526020019081526020016000206000828254019250508190555081156139a5578084600401600082825401925050819055505b50505050565b60006139cc8473ffffffffffffffffffffffffffffffffffffffff16613f47565b15613b35578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139f5612acc565b8786866040518563ffffffff1660e01b8152600401613a179493929190614d28565b602060405180830381600087803b158015613a3157600080fd5b505af1925050508015613a6257506040513d601f19601f82011682018060405250810190613a5f91906146dc565b60015b613ae5573d8060008114613a92576040519150601f19603f3d011682016040523d82523d6000602084013e613a97565b606091505b50600081511415613add576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ad490614e45565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613b3a565b600190505b949350505050565b613b5c828260405180602001604052806000815250613f6a565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613c2584611ddf565b613c2f919061543a565b9050600060076000848152602001908152602001600020549050818114613d14576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d99919061543a565b9050600060096000848152602001908152602001600020549050600060088381548110613def577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613e37577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613eac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613ed383611ddf565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613f748383613fc5565b613f8160008484846139ab565b613fc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb790614e45565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415614035576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161402c90615025565b60405180910390fd5b61403e81612a60565b1561407e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161407590614ea5565b60405180910390fd5b61408a60008383613831565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546140da9190615359565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461419b60008383613945565b5050565b8280546141ab90615543565b90600052602060002090601f0160209004810192826141cd5760008555614214565b82601f106141e657805160ff1916838001178555614214565b82800160010185558215614214579182015b828111156142135782518255916020019190600101906141f8565b5b5090506142219190614225565b5090565b5b8082111561423e576000816000905550600101614226565b5090565b60006142556142508461524f565b61522a565b9050808382526020820190508285602086028201111561427457600080fd5b60005b858110156142a4578161428a888261443b565b845260208401935060208301925050600181019050614277565b5050509392505050565b60006142c16142bc8461527b565b61522a565b9050828152602081018484840111156142d957600080fd5b6142e4848285615501565b509392505050565b60006142ff6142fa846152ac565b61522a565b90508281526020810184848401111561431757600080fd5b614322848285615501565b509392505050565b60008135905061433981615e5e565b92915050565b60008151905061434e81615e5e565b92915050565b600082601f83011261436557600080fd5b8151614375848260208601614242565b91505092915050565b60008135905061438d81615e75565b92915050565b6000815190506143a281615e75565b92915050565b6000813590506143b781615e8c565b92915050565b6000815190506143cc81615e8c565b92915050565b600082601f8301126143e357600080fd5b81356143f38482602086016142ae565b91505092915050565b600082601f83011261440d57600080fd5b813561441d8482602086016142ec565b91505092915050565b60008135905061443581615ea3565b92915050565b60008151905061444a81615ea3565b92915050565b60006020828403121561446257600080fd5b60006144708482850161432a565b91505092915050565b60006020828403121561448b57600080fd5b60006144998482850161433f565b91505092915050565b600080604083850312156144b557600080fd5b60006144c38582860161432a565b92505060206144d48582860161432a565b9150509250929050565b6000806000606084860312156144f357600080fd5b60006145018682870161432a565b93505060206145128682870161432a565b925050604061452386828701614426565b9150509250925092565b6000806000806080858703121561454357600080fd5b60006145518782880161432a565b94505060206145628782880161432a565b935050604061457387828801614426565b925050606085013567ffffffffffffffff81111561459057600080fd5b61459c878288016143d2565b91505092959194509250565b600080604083850312156145bb57600080fd5b60006145c98582860161432a565b92505060206145da8582860161437e565b9150509250929050565b600080604083850312156145f757600080fd5b60006146058582860161432a565b925050602061461685828601614426565b9150509250929050565b60006020828403121561463257600080fd5b600082015167ffffffffffffffff81111561464c57600080fd5b61465884828501614354565b91505092915050565b60006020828403121561467357600080fd5b60006146818482850161437e565b91505092915050565b60006020828403121561469c57600080fd5b60006146aa84828501614393565b91505092915050565b6000602082840312156146c557600080fd5b60006146d3848285016143a8565b91505092915050565b6000602082840312156146ee57600080fd5b60006146fc848285016143bd565b91505092915050565b60006020828403121561471757600080fd5b600082013567ffffffffffffffff81111561473157600080fd5b61473d848285016143fc565b91505092915050565b60006020828403121561475857600080fd5b600061476684828501614426565b91505092915050565b60006020828403121561478157600080fd5b600061478f8482850161443b565b91505092915050565b600080604083850312156147ab57600080fd5b60006147b985828601614426565b92505060206147ca85828601614426565b9150509250929050565b60006147e08383614ccb565b60208301905092915050565b6147f58161546e565b82525050565b6000614806826152ed565b614810818561531b565b935061481b836152dd565b8060005b8381101561484c57815161483388826147d4565b975061483e8361530e565b92505060018101905061481f565b5085935050505092915050565b61486281615480565b82525050565b6000614873826152f8565b61487d818561532c565b935061488d818560208601615510565b614896816156dc565b840191505092915050565b6148aa816154ef565b82525050565b60006148bb82615303565b6148c5818561533d565b93506148d5818560208601615510565b6148de816156dc565b840191505092915050565b60006148f482615303565b6148fe818561534e565b935061490e818560208601615510565b80840191505092915050565b6000614927602b8361533d565b9150614932826156ed565b604082019050919050565b600061494a60328361533d565b91506149558261573c565b604082019050919050565b600061496d60268361533d565b91506149788261578b565b604082019050919050565b600061499060258361533d565b915061499b826157da565b604082019050919050565b60006149b3601c8361533d565b91506149be82615829565b602082019050919050565b60006149d6602c8361533d565b91506149e182615852565b604082019050919050565b60006149f960248361533d565b9150614a04826158a1565b604082019050919050565b6000614a1c60198361533d565b9150614a27826158f0565b602082019050919050565b6000614a3f602c8361533d565b9150614a4a82615919565b604082019050919050565b6000614a6260268361533d565b9150614a6d82615968565b604082019050919050565b6000614a8560258361533d565b9150614a90826159b7565b604082019050919050565b6000614aa860258361533d565b9150614ab382615a06565b604082019050919050565b6000614acb60388361533d565b9150614ad682615a55565b604082019050919050565b6000614aee602a8361533d565b9150614af982615aa4565b604082019050919050565b6000614b1160298361533d565b9150614b1c82615af3565b604082019050919050565b6000614b34601f8361533d565b9150614b3f82615b42565b602082019050919050565b6000614b5760208361533d565b9150614b6282615b6b565b602082019050919050565b6000614b7a60208361533d565b9150614b8582615b94565b602082019050919050565b6000614b9d602c8361533d565b9150614ba882615bbd565b604082019050919050565b6000614bc0602b8361533d565b9150614bcb82615c0c565b604082019050919050565b6000614be360208361533d565b9150614bee82615c5b565b602082019050919050565b6000614c06602f8361533d565b9150614c1182615c84565b604082019050919050565b6000614c2960218361533d565b9150614c3482615cd3565b604082019050919050565b6000614c4c60318361533d565b9150614c5782615d22565b604082019050919050565b6000614c6f60288361533d565b9150614c7a82615d71565b604082019050919050565b6000614c92602c8361533d565b9150614c9d82615dc0565b604082019050919050565b6000614cb5602f8361533d565b9150614cc082615e0f565b604082019050919050565b614cd4816154d8565b82525050565b614ce3816154d8565b82525050565b6000614cf582856148e9565b9150614d0182846148e9565b91508190509392505050565b6000602082019050614d2260008301846147ec565b92915050565b6000608082019050614d3d60008301876147ec565b614d4a60208301866147ec565b614d576040830185614cda565b8181036060830152614d698184614868565b905095945050505050565b6000604082019050614d8960008301856147ec565b614d9660208301846148a1565b9392505050565b6000604082019050614db260008301856147ec565b614dbf6020830184614cda565b9392505050565b60006020820190508181036000830152614de081846147fb565b905092915050565b6000602082019050614dfd6000830184614859565b92915050565b60006020820190508181036000830152614e1d81846148b0565b905092915050565b60006020820190508181036000830152614e3e8161491a565b9050919050565b60006020820190508181036000830152614e5e8161493d565b9050919050565b60006020820190508181036000830152614e7e81614960565b9050919050565b60006020820190508181036000830152614e9e81614983565b9050919050565b60006020820190508181036000830152614ebe816149a6565b9050919050565b60006020820190508181036000830152614ede816149c9565b9050919050565b60006020820190508181036000830152614efe816149ec565b9050919050565b60006020820190508181036000830152614f1e81614a0f565b9050919050565b60006020820190508181036000830152614f3e81614a32565b9050919050565b60006020820190508181036000830152614f5e81614a55565b9050919050565b60006020820190508181036000830152614f7e81614a78565b9050919050565b60006020820190508181036000830152614f9e81614a9b565b9050919050565b60006020820190508181036000830152614fbe81614abe565b9050919050565b60006020820190508181036000830152614fde81614ae1565b9050919050565b60006020820190508181036000830152614ffe81614b04565b9050919050565b6000602082019050818103600083015261501e81614b27565b9050919050565b6000602082019050818103600083015261503e81614b4a565b9050919050565b6000602082019050818103600083015261505e81614b6d565b9050919050565b6000602082019050818103600083015261507e81614b90565b9050919050565b6000602082019050818103600083015261509e81614bb3565b9050919050565b600060208201905081810360008301526150be81614bd6565b9050919050565b600060208201905081810360008301526150de81614bf9565b9050919050565b600060208201905081810360008301526150fe81614c1c565b9050919050565b6000602082019050818103600083015261511e81614c3f565b9050919050565b6000602082019050818103600083015261513e81614c62565b9050919050565b6000602082019050818103600083015261515e81614c85565b9050919050565b6000602082019050818103600083015261517e81614ca8565b9050919050565b600060208201905061519a6000830184614cda565b92915050565b60006080820190506151b56000830187614cda565b6151c26020830186614cda565b6151cf6040830185614cda565b6151dc60608301846147ec565b95945050505050565b60006080820190506151fa6000830187614cda565b6152076020830186614cda565b6152146040830185614cda565b6152216060830184614cda565b95945050505050565b6000615234615245565b90506152408282615575565b919050565b6000604051905090565b600067ffffffffffffffff82111561526a576152696156ad565b5b602082029050602081019050919050565b600067ffffffffffffffff821115615296576152956156ad565b5b61529f826156dc565b9050602081019050919050565b600067ffffffffffffffff8211156152c7576152c66156ad565b5b6152d0826156dc565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615364826154d8565b915061536f836154d8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153a4576153a3615620565b5b828201905092915050565b60006153ba826154d8565b91506153c5836154d8565b9250826153d5576153d461564f565b5b828204905092915050565b60006153eb826154d8565b91506153f6836154d8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561542f5761542e615620565b5b828202905092915050565b6000615445826154d8565b9150615450836154d8565b92508282101561546357615462615620565b5b828203905092915050565b6000615479826154b8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154fa826154e2565b9050919050565b82818337600083830152505050565b60005b8381101561552e578082015181840152602081019050615513565b8381111561553d576000848401525b50505050565b6000600282049050600182168061555b57607f821691505b6020821081141561556f5761556e61567e565b5b50919050565b61557e826156dc565b810181811067ffffffffffffffff8211171561559d5761559c6156ad565b5b80604052505050565b60006155b1826154d8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155e4576155e3615620565b5b600182019050919050565b60006155fa826154d8565b9150615605836154d8565b9250826156155761561461564f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f47656e4172744552433732313a2073656e646572206973206e6f74206d656d6260008201527f657273686970206f776e65720000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a206275726e2063616c6c6572206973206e6f7460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a20726573657276656420616c7265616479206d60008201527f696e746564000000000000000000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a207472616e73616374696f6e20756e6465727060008201527f7269636564000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a206d696e74696e672069732070617573656400600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e4172744552433732313a206e6f206d696e747320617661696c61626c65600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e4172744552433732313a20616d6f756e7420657863656564732061766160008201527f696c61626c654d696e7473000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f742067656e6160008201527f72742061646d696e000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f74207468652060008201527f6f776e6572206e6f722061646d696e0000000000000000000000000000000000602082015250565b615e678161546e565b8114615e7257600080fd5b50565b615e7e81615480565b8114615e8957600080fd5b50565b615e958161548c565b8114615ea057600080fd5b50565b615eac816154d8565b8114615eb757600080fd5b5056fea26469706673582212207e87381efd1c8b92044e3842463d0b9de719bf7188e144f5256222bd0596311964736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000004e2000000000000000000000000000000000000000000000000002c68af0bb14000000000000000000000000000000000000000000000000000000000000000000e100000000000000000000000000000000000000000000000000000000000000640000000000000000000000001ca39c7f0f65b4da24b094a9afac7acf626b7f38000000000000000000000000f368f333fdbc6393e617eeb6adc421b5de352cc8000000000000000000000000ea5c043605c0d5952466d80673d7681980d5b75100000000000000000000000015e6d255fa29b4ce27eb760de2bbe0f4a7078886000000000000000000000000000000000000000000000000000000000000000f4475736b2062792047454e2e4152540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000344534b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e67656e2e6172742f7075626c69632f617474726962757465732f0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Dusk by GEN.ART
Arg [1] : symbol_ (string): DSK
Arg [2] : uri_ (string): https://api.gen.art/public/attributes/
Arg [3] : collectionId_ (uint256): 20000
Arg [4] : mintPrice_ (uint256): 200000000000000000
Arg [5] : mintSupply_ (uint256): 225
Arg [6] : reservedGold_ (uint256): 100
Arg [7] : genartMembership_ (address): 0x1Ca39c7F0F65B4Da24b094A9afac7aCf626B7f38
Arg [8] : genartInterface_ (address): 0xF368f333FDBc6393E617EEB6ADC421b5De352cc8
Arg [9] : paymentSplitter_ (address): 0xeA5c043605c0d5952466D80673d7681980D5b751
Arg [10] : artist_ (address): 0x15E6d255fA29b4Ce27eB760DE2bBE0F4a7078886

-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000004e20
Arg [4] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000e1
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 0000000000000000000000001ca39c7f0f65b4da24b094a9afac7acf626b7f38
Arg [8] : 000000000000000000000000f368f333fdbc6393e617eeb6adc421b5de352cc8
Arg [9] : 000000000000000000000000ea5c043605c0d5952466d80673d7681980d5b751
Arg [10] : 00000000000000000000000015e6d255fa29b4ce27eb760de2bbe0f4a7078886
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [12] : 4475736b2062792047454e2e4152540000000000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [14] : 44534b0000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000026
Arg [16] : 68747470733a2f2f6170692e67656e2e6172742f7075626c69632f6174747269
Arg [17] : 62757465732f0000000000000000000000000000000000000000000000000000


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

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