ETH Price: $2,987.08 (-2.24%)
Gas: 2 Gwei

Token

AiLBUMS by GEN.ART (AiB)
 

Overview

Max Total Supply

247 AiB

Holders

129

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 AiB
0x6160099177d93f8b40ecdec9421d3183a03fc1da
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:
GenArtERC721Ailbums

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

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

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

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

    MintStateGoldAirdrop.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_,
        uint8 standardSupply_,
        uint8 goldSupply_,
        uint256 mintPrice_,
        uint256 mintSupply_,
        address genartInterface_,
        address paymentSplitter_,
        address wethAddress_
    ) ERC721(name_, symbol_) GenArtAccess() {
        _uri = uri_;
        _collectionId = collectionId_;
        _mintPrice = mintPrice_;
        _mintSupply = mintSupply_;
        _genartInterface = genartInterface_;
        _paymentSplitter = paymentSplitter_;
        _wethAddress = wethAddress_;
        _mintstate.init(standardSupply_, goldSupply_);
    }

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

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

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

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

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

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

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

        checkMint(1, availableMints);
        // mint token
        mintForMembership(to, membershipId);
        // send funds to PaymentSplitter
        IGenArtPaymentSplitterV2(_paymentSplitter).splitPayment{
            value: msg.value
        }(address(this));
    }

    /**
     *@dev Mint token for membership
     */
    function mintForMembership(address to, uint256 membershipId) internal {
        // update mint state once membership minted a token
        uint256 tokenId = _collectionId *
            100_000 +
            totalSupply() -
            _mintstate.getGoldMints() +
            1;

        bool isGold = IGenArtInterfaceV3(_genartInterface).isGoldToken(
            membershipId
        );
        _mintOne(to, tokenId, membershipId);
        if (isGold) {
            uint256 tokenIdGold = _collectionId *
                100_000 +
                _mintSupply +
                _mintstate.getGoldMints() +
                1;
            _mintOne(to, tokenIdGold, membershipId);
        }
        _mintstate.update(membershipId, isGold, 1);
    }

    /**
     * @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 tokenId,
        uint256 membershipId
    ) internal virtual {
        _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,
            "GenArtERC721Ailbums: burn caller is not owner"
        );
        _burn(tokenId);
    }

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

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

        return tokenIds;
    }

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

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

    /**
     *@dev Reserved mints can only be called by admins
     * Only one possible mint.
     */
    function mintReserved() public onlyAdmin {
        require(
            !_reservedMinted,
            "GenArtERC721Ailbums: reserved already minted"
        );
        uint256 tokenId = _collectionId *
            100_000 +
            totalSupply() -
            _mintstate.getGoldMints() +
            1;
        _mintOne(genartAdmin, tokenId, 0);
        _reservedMinted = true;
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

library MintStateGoldAirdrop {
    struct State {
        uint8 _allowedMintGold;
        uint8 _allowedMintStandard;
        uint256 _goldMints;
        // maps membershipIds to the amount of mints
        mapping(uint256 => uint256) _mints;
    }

    function init(
        State storage state,
        uint8 allowedMintStandard,
        uint8 allowedMintGold
    ) internal {
        state._allowedMintStandard = allowedMintStandard;
        state._allowedMintGold = allowedMintGold;
    }

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

    function getGoldMints(State storage state) internal view returns (uint256) {
        return state._goldMints;
    }

    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 maxMints,
        uint256 currentSupply
    ) internal view returns (uint256) {
        uint256 availableMints = maxMints - (currentSupply - state._goldMints);

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    function splitPayment(address collection) external payable;

    function splitPaymentRoyalty(address collection) external payable;

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

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

    function release(address account) external;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

File 12 of 22 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 16 of 22 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 18 of 22 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"uri_","type":"string"},{"internalType":"uint256","name":"collectionId_","type":"uint256"},{"internalType":"uint8","name":"standardSupply_","type":"uint8"},{"internalType":"uint8","name":"goldSupply_","type":"uint8"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"},{"internalType":"uint256","name":"mintSupply_","type":"uint256"},{"internalType":"address","name":"genartInterface_","type":"address"},{"internalType":"address","name":"paymentSplitter_","type":"address"},{"internalType":"address","name":"wethAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collectionId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"membershipId","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_collectionId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_genartInterface","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintstate","outputs":[{"internalType":"uint8","name":"_allowedMintGold","type":"uint8"},{"internalType":"uint8","name":"_allowedMintStandard","type":"uint8"},{"internalType":"uint256","name":"_goldMints","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_paymentSplitter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_royaltyReceiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"genartAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"membershipId","type":"uint256"}],"name":"getAvailableMintsForMembership","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"membershipId","type":"uint256"}],"name":"getMembershipMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokensByOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"membershipId","type":"uint256"}],"name":"mintOne","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseWETHRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice_","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"},{"internalType":"bool","name":"access","type":"bool"}],"name":"setAdminAccess","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"setGenArtAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"paymentSplitter","type":"address"}],"name":"setPaymentSplitter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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"}]

608060405230600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601460006101000a81548160ff0219169083151502179055503480156200006d57600080fd5b506040516200675f3803806200675f8339818101604052810190620000939190620004cc565b8a8a8160009080519060200190620000ad92919062000365565b508060019080519060200190620000c692919062000365565b505050620000e9620000dd6200025860201b60201c565b6200026060201b60201c565b620000f96200025860201b60201c565b600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555088601390805190602001906200015192919062000365565b508760108190555084600d8190555083600e8190555082601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601460016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000247878760156200032660201b6200286c179092919060201c565b505050505050505050505062000827565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b818360000160016101000a81548160ff021916908360ff160217905550808360000160006101000a81548160ff021916908360ff160217905550505050565b8280546200037390620006fe565b90600052602060002090601f016020900481019282620003975760008555620003e3565b82601f10620003b257805160ff1916838001178555620003e3565b82800160010185558215620003e3579182015b82811115620003e2578251825591602001919060010190620003c5565b5b509050620003f29190620003f6565b5090565b5b8082111562000411576000816000905550600101620003f7565b5090565b60006200042c620004268462000647565b6200061e565b9050828152602081018484840111156200044557600080fd5b62000452848285620006c8565b509392505050565b6000815190506200046b81620007d9565b92915050565b600082601f8301126200048357600080fd5b81516200049584826020860162000415565b91505092915050565b600081519050620004af81620007f3565b92915050565b600081519050620004c6816200080d565b92915050565b60008060008060008060008060008060006101608c8e031215620004ef57600080fd5b60008c015167ffffffffffffffff8111156200050a57600080fd5b620005188e828f0162000471565b9b505060208c015167ffffffffffffffff8111156200053657600080fd5b620005448e828f0162000471565b9a505060408c015167ffffffffffffffff8111156200056257600080fd5b620005708e828f0162000471565b9950506060620005838e828f016200049e565b9850506080620005968e828f01620004b5565b97505060a0620005a98e828f01620004b5565b96505060c0620005bc8e828f016200049e565b95505060e0620005cf8e828f016200049e565b945050610100620005e38e828f016200045a565b935050610120620005f78e828f016200045a565b9250506101406200060b8e828f016200045a565b9150509295989b509295989b9093969950565b60006200062a6200063d565b905062000638828262000734565b919050565b6000604051905090565b600067ffffffffffffffff82111562000665576200066462000799565b5b6200067082620007c8565b9050602081019050919050565b60006200068a8262000691565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60005b83811015620006e8578082015181840152602081019050620006cb565b83811115620006f8576000848401525b50505050565b600060028204905060018216806200071757607f821691505b602082108114156200072e576200072d6200076a565b5b50919050565b6200073f82620007c8565b810181811067ffffffffffffffff8211171562000761576200076062000799565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b620007e4816200067d565b8114620007f057600080fd5b50565b620007fe81620006b1565b81146200080a57600080fd5b50565b6200081881620006bb565b81146200082457600080fd5b50565b615f2880620008376000396000f3fe6080604052600436106102765760003560e01c80636352211e1161014f5780639828a590116100c1578063e637f98f1161007a578063e637f98f14610a1c578063e985e9c514610a47578063ec8c890414610a84578063f00e9e1f14610a9b578063f2fde38b14610ac6578063f65a0b3e14610aef5761030b565b80639828a590146109315780639986375414610948578063a22cb46514610971578063b88d4fde1461099a578063c87b56dd146109c3578063d48e13c314610a005761030b565b80638296a2e8116101135780638296a2e81461082f5780638da5cb5b1461085a5780638dc251e31461088557806390aafc01146108ae57806391a1104d146108d957806395d89b41146109065761030b565b80636352211e146107385780636b29b79f146107755780636eaef5bb1461079e57806370a08231146107db578063715018a6146108185761030b565b80632a55205a116101e857806340c10f19116101ac57806340c10f191461062757806342842e0e1461064357806342966c681461066c578063429b62e5146106955780634f6ccce7146106d257806355f804b31461070f5761030b565b80632a55205a146105075780632f745c59146105455780633c3f2d41146105825780634017465c146105ad57806340398d67146105ea5761030b565b80630e0aff941161023a5780630e0aff941461040957806316c38b3c1461043457806316c61ccc1461045d57806318160ddd146104885780631b2119b8146104b357806323b872dd146104de5761030b565b806301ffc9a7146103105780630387da421461034d57806306fdde0314610378578063081812fc146103a3578063095ea7b3146103e05761030b565b3661030b57601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329a72ca334306040518363ffffffff1660e01b81526004016102d79190614cde565b6000604051808303818588803b1580156102f057600080fd5b505af1158015610304573d6000803e3d6000fd5b5050505050005b600080fd5b34801561031c57600080fd5b5061033760048036038101906103329190614675565b610b18565b6040516103449190614de2565b60405180910390f35b34801561035957600080fd5b50610362610b92565b60405161036f919061517f565b60405180910390f35b34801561038457600080fd5b5061038d610b98565b60405161039a9190614dfd565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190614708565b610c2a565b6040516103d79190614cde565b60405180910390f35b3480156103ec57600080fd5b50610407600480360381019061040291906145a6565b610caf565b005b34801561041557600080fd5b5061041e610dc7565b60405161042b9190614cde565b60405180910390f35b34801561044057600080fd5b5061045b60048036038101906104569190614623565b610ded565b005b34801561046957600080fd5b50610472610ee0565b60405161047f9190614de2565b60405180910390f35b34801561049457600080fd5b5061049d610ef3565b6040516104aa919061517f565b60405180910390f35b3480156104bf57600080fd5b506104c8610f00565b6040516104d5919061517f565b60405180910390f35b3480156104ea57600080fd5b50610505600480360381019061050091906144a0565b610f06565b005b34801561051357600080fd5b5061052e6004803603810190610529919061475a565b610f66565b60405161053c929190614d97565b60405180910390f35b34801561055157600080fd5b5061056c600480360381019061056791906145a6565b61105d565b604051610579919061517f565b60405180910390f35b34801561058e57600080fd5b50610597611102565b6040516105a49190614cde565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190614708565b611128565b6040516105e1919061517f565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614412565b611145565b60405161061e9190614dc0565b60405180910390f35b610641600480360381019061063c91906145a6565b61123f565b005b34801561064f57600080fd5b5061066a600480360381019061066591906144a0565b611657565b005b34801561067857600080fd5b50610693600480360381019061068e9190614708565b611677565b005b3480156106a157600080fd5b506106bc60048036038101906106b79190614412565b611706565b6040516106c99190614de2565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f49190614708565b611726565b604051610706919061517f565b60405180910390f35b34801561071b57600080fd5b50610736600480360381019061073191906146c7565b6117bd565b005b34801561074457600080fd5b5061075f600480360381019061075a9190614708565b611874565b60405161076c9190614cde565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190614412565b611926565b005b3480156107aa57600080fd5b506107c560048036038101906107c09190614708565b611a07565b6040516107d2919061517f565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190614412565b611add565b60405161080f919061517f565b60405180910390f35b34801561082457600080fd5b5061082d611b95565b005b34801561083b57600080fd5b50610844611c1d565b604051610851919061517f565b60405180910390f35b34801561086657600080fd5b5061086f611c23565b60405161087c9190614cde565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a79190614412565b611c4d565b005b3480156108ba57600080fd5b506108c3611d2e565b6040516108d09190614cde565b60405180910390f35b3480156108e557600080fd5b506108ee611d54565b6040516108fd939291906151df565b60405180910390f35b34801561091257600080fd5b5061091b611d86565b6040516109289190614dfd565b60405180910390f35b34801561093d57600080fd5b50610946611e18565b005b34801561095457600080fd5b5061096f600480360381019061096a9190614412565b61200f565b005b34801561097d57600080fd5b506109986004803603810190610993919061456a565b6120f0565b005b3480156109a657600080fd5b506109c160048036038101906109bc91906144ef565b612106565b005b3480156109cf57600080fd5b506109ea60048036038101906109e59190614708565b612168565b6040516109f79190614dfd565b60405180910390f35b610a1a6004803603810190610a1591906145a6565b61220f565b005b348015610a2857600080fd5b50610a316123e3565b604051610a3e9190614cde565b60405180910390f35b348015610a5357600080fd5b50610a6e6004803603810190610a699190614464565b612409565b604051610a7b9190614de2565b60405180910390f35b348015610a9057600080fd5b50610a9961249d565b005b348015610aa757600080fd5b50610ab0612656565b604051610abd9190614cde565b60405180910390f35b348015610ad257600080fd5b50610aed6004803603810190610ae89190614412565b61267c565b005b348015610afb57600080fd5b50610b166004803603810190610b11919061456a565b612774565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b8b5750610b8a826128ab565b5b9050919050565b600d5481565b606060008054610ba79061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd39061552f565b8015610c205780601f10610bf557610100808354040283529160200191610c20565b820191906000526020600020905b815481529060010190602001808311610c0357829003601f168201915b5050505050905090565b6000610c3582612925565b610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b9061505f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cba82611874565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906150bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d4a612991565b73ffffffffffffffffffffffffffffffffffffffff161480610d795750610d7881610d73612991565b612409565b5b610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90614f7f565b60405180910390fd5b610dc28383612999565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610df7612991565b90508073ffffffffffffffffffffffffffffffffffffffff16610e18611c23565b73ffffffffffffffffffffffffffffffffffffffff161480610e835750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb99061513f565b60405180910390fd5b81601460006101000a81548160ff0219169083151502179055505050565b601460009054906101000a900460ff1681565b6000600880549050905090565b600e5481565b610f17610f11612991565b82612a52565b610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d906150df565b60405180910390fd5b610f61838383612b30565b505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663306e38be3060016040518363ffffffff1660e01b8152600401610fee929190614d6e565b60206040518083038186803b15801561100657600080fd5b505afa15801561101a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103e9190614731565b61104891906153cc565b611052919061539b565b915091509250929050565b600061106883611add565b82106110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a090614e3f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061113e826015612d9790919063ffffffff16565b9050919050565b6060600061115283611add565b905060008167ffffffffffffffff811115611196577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111c45781602001602082028036833780820191505090505b50905060005b82811015611234576111dc858261105d565b828281518110611215577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061122c90615592565b9150506111ca565b508092505050919050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a8bc51ac30611288612991565b6040518363ffffffff1660e01b81526004016112a5929190614cf9565b60206040518083038186803b1580156112bd57600080fd5b505afa1580156112d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f59190614731565b90506113018282612db7565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ea85b1e5611349612991565b6040518263ffffffff1660e01b81526004016113659190614cde565b60006040518083038186803b15801561137d57600080fd5b505afa158015611391573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906113ba91906145e2565b90506000805b84821080156113cf5750825181105b156115c1576000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d1585848151811061144d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401611471919061517f565b60206040518083038186803b15801561148957600080fd5b505afa15801561149d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c1919061464c565b90506000611528858481518110611501577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183600e54611515610ef3565b6015612ede90949392919063ffffffff16565b905060005b818110801561153b57508785105b156115ab5761158a8987868151811061157d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612f38565b848061159590615592565b95505080806115a390615592565b91505061152d565b5082806115b790615592565b93505050506113c0565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b815260040161161d9190614cde565b6000604051808303818588803b15801561163657600080fd5b505af115801561164a573d6000803e3d6000fd5b5050505050505050505050565b61167283838360405180602001604052806000815250612106565b505050565b600061168282611874565b90508073ffffffffffffffffffffffffffffffffffffffff166116a3612991565b73ffffffffffffffffffffffffffffffffffffffff16146116f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f09061503f565b60405180910390fd5b611702826130ad565b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000611730610ef3565b8210611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061511f565b60405180910390fd5b600882815481106117ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60006117c7612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611859576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611850906150ff565b60405180910390fd5b816013908051906020019061186f929190614161565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191490614fbf565b60405180910390fd5b80915050919050565b6000611930612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b9906150ff565b60405180910390fd5b81601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000611ad682601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15856040518263ffffffff1660e01b8152600401611a68919061517f565b60206040518083038186803b158015611a8057600080fd5b505afa158015611a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab8919061464c565b600e54611ac3610ef3565b6015612ede90949392919063ffffffff16565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614f9f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b9d612991565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611c23565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c089061507f565b60405180910390fd5b611c1b60006131ca565b565b60105481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611c57612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce0906150ff565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60158060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060010154905083565b606060018054611d959061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054611dc19061552f565b8015611e0e5780601f10611de357610100808354040283529160200191611e0e565b820191906000526020600020905b815481529060010190602001808311611df157829003601f168201915b5050505050905090565b6000601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e7a9190614cde565b60206040518083038186803b158015611e9257600080fd5b505afa158015611ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eca9190614731565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611f29929190614d97565b602060405180830381600087803b158015611f4357600080fd5b505af1158015611f57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7b919061464c565b50601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634aee68a130836040518363ffffffff1660e01b8152600401611fd9929190614d97565b600060405180830381600087803b158015611ff357600080fd5b505af1158015612007573d6000803e3d6000fd5b505050505050565b6000612019612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a2906150ff565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6121026120fb612991565b8383613290565b5050565b612117612111612991565b83612a52565b612156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214d906150df565b60405180910390fd5b612162848484846133fd565b50505050565b606061217382612925565b6121b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a99061509f565b60405180910390fd5b60006121bc613459565b905060008151116121dc5760405180602001604052806000815250612207565b806121e6846134eb565b6040516020016121f7929190614cba565b6040516020818303038152906040525b915050919050565b612217612991565b73ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a47dc5f0836040518263ffffffff1660e01b8152600401612288919061517f565b60206040518083038186803b1580156122a057600080fd5b505afa1580156122b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d8919061443b565b73ffffffffffffffffffffffffffffffffffffffff161461232e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232590614fff565b60405180910390fd5b600061233982611a07565b9050612346600182612db7565b6123508383612f38565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016123ac9190614cde565b6000604051808303818588803b1580156123c557600080fd5b505af11580156123d9573d6000803e3d6000fd5b5050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006124a7612991565b90508073ffffffffffffffffffffffffffffffffffffffff166124c8611c23565b73ffffffffffffffffffffffffffffffffffffffff1614806125335750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612572576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125699061513f565b60405180910390fd5b601160009054906101000a900460ff16156125c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b990614e1f565b60405180910390fd5b600060016125d06015613698565b6125d8610ef3565b620186a06010546125e991906153cc565b6125f39190615345565b6125fd9190615426565b6126079190615345565b9050612637600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260006136a6565b6001601160006101000a81548160ff0219169083151502179055505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612684612991565b73ffffffffffffffffffffffffffffffffffffffff166126a2611c23565b73ffffffffffffffffffffffffffffffffffffffff16146126f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ef9061507f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f90614e7f565b60405180910390fd5b612771816131ca565b50565b600061277e612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612810576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612807906150ff565b60405180910390fd5b81600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b818360000160016101000a81548160ff021916908360ff160217905550808360000160006101000a81548160ff021916908360ff160217905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061291e575061291d826136f4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a0c83611874565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a5d82612925565b612a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9390614f1f565b60405180910390fd5b6000612aa783611874565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b1657508373ffffffffffffffffffffffffffffffffffffffff16612afe84610c2a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b275750612b268185612409565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b5082611874565b73ffffffffffffffffffffffffffffffffffffffff1614612ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9d90614e9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0d90614edf565b60405180910390fd5b612c218383836137d6565b612c2c600082612999565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c7c9190615426565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cd39190615345565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d928383836138ea565b505050565b600082600201600083815260200190815260200160002054905092915050565b601460009054906101000a900460ff1615612e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfe90614f3f565b60405180910390fd5b60008111612e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e419061515f565b60405180910390fd5b81811015612e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8490614f5f565b60405180910390fd5b600082600d5402905034811115612ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed090614fdf565b60405180910390fd5b505050565b600080866001015483612ef19190615426565b84612efc9190615426565b905060008111612f0d576000612f2c565b612f178787612d97565b612f2188876138ef565b612f2b9190615426565b5b91505095945050505050565b60006001612f466015613698565b612f4e610ef3565b620186a0601054612f5f91906153cc565b612f699190615345565b612f739190615426565b612f7d9190615345565b90506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15846040518263ffffffff1660e01b8152600401612fdc919061517f565b60206040518083038186803b158015612ff457600080fd5b505afa158015613008573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302c919061464c565b90506130398483856136a6565b801561308e576000600161304d6015613698565b600e54620186a060105461306191906153cc565b61306b9190615345565b6130759190615345565b61307f9190615345565b905061308c8582866136a6565b505b6130a783826001601561392b909392919063ffffffff16565b50505050565b60006130b882611874565b90506130c6816000846137d6565b6130d1600083612999565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131219190615426565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131c6816000846138ea565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f690614eff565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516133f09190614de2565b60405180910390a3505050565b613408848484612b30565b6134148484848461396d565b613453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344a90614e5f565b60405180910390fd5b50505050565b6060601380546134689061552f565b80601f01602080910402602001604051908101604052809291908181526020018280546134949061552f565b80156134e15780601f106134b6576101008083540402835291602001916134e1565b820191906000526020600020905b8154815290600101906020018083116134c457829003601f168201915b5050505050905090565b60606000821415613533576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613693565b600082905060005b6000821461356557808061354e90615592565b915050600a8261355e919061539b565b915061353b565b60008167ffffffffffffffff8111156135a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135d95781602001600182028036833780820191505090505b5090505b6000851461368c576001826135f29190615426565b9150600a8561360191906155db565b603061360d9190615345565b60f81b818381518110613649577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613685919061539b565b94506135dd565b8093505050505b919050565b600081600101549050919050565b6136b08383613b04565b7faacef1bbb194eac329f8f247fbe8cce3eca2ed1f2e0a45a0488c2dd8afe6e5168260105483866040516136e7949392919061519a565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137bf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137cf57506137ce82613b22565b5b9050919050565b6137e1838383613b8c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138245761381f81613b91565b613863565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613862576138618382613bda565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138a6576138a181613d47565b6138e5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138e4576138e38282613e8a565b5b5b505050565b505050565b60008161390d578260000160019054906101000a900460ff16613920565b8260000160009054906101000a900460ff165b60ff16905092915050565b80846002016000858152602001908152602001600020600082825401925050819055508115613967578084600101600082825401925050819055505b50505050565b600061398e8473ffffffffffffffffffffffffffffffffffffffff16613f09565b15613af7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139b7612991565b8786866040518563ffffffff1660e01b81526004016139d99493929190614d22565b602060405180830381600087803b1580156139f357600080fd5b505af1925050508015613a2457506040513d601f19601f82011682018060405250810190613a21919061469e565b60015b613aa7573d8060008114613a54576040519150601f19603f3d011682016040523d82523d6000602084013e613a59565b606091505b50600081511415613a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9690614e5f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613afc565b600190505b949350505050565b613b1e828260405180602001604052806000815250613f2c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613be784611add565b613bf19190615426565b9050600060076000848152602001908152602001600020549050818114613cd6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d5b9190615426565b9050600060096000848152602001908152602001600020549050600060088381548110613db1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613df9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613e9583611add565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613f368383613f87565b613f43600084848461396d565b613f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f7990614e5f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fee9061501f565b60405180910390fd5b61400081612925565b15614040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161403790614ebf565b60405180910390fd5b61404c600083836137d6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461409c9190615345565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461415d600083836138ea565b5050565b82805461416d9061552f565b90600052602060002090601f01602090048101928261418f57600085556141d6565b82601f106141a857805160ff19168380011785556141d6565b828001600101855582156141d6579182015b828111156141d55782518255916020019190600101906141ba565b5b5090506141e391906141e7565b5090565b5b808211156142005760008160009055506001016141e8565b5090565b60006142176142128461523b565b615216565b9050808382526020820190508285602086028201111561423657600080fd5b60005b85811015614266578161424c88826143fd565b845260208401935060208301925050600181019050614239565b5050509392505050565b600061428361427e84615267565b615216565b90508281526020810184848401111561429b57600080fd5b6142a68482856154ed565b509392505050565b60006142c16142bc84615298565b615216565b9050828152602081018484840111156142d957600080fd5b6142e48482856154ed565b509392505050565b6000813590506142fb81615e96565b92915050565b60008151905061431081615e96565b92915050565b600082601f83011261432757600080fd5b8151614337848260208601614204565b91505092915050565b60008135905061434f81615ead565b92915050565b60008151905061436481615ead565b92915050565b60008135905061437981615ec4565b92915050565b60008151905061438e81615ec4565b92915050565b600082601f8301126143a557600080fd5b81356143b5848260208601614270565b91505092915050565b600082601f8301126143cf57600080fd5b81356143df8482602086016142ae565b91505092915050565b6000813590506143f781615edb565b92915050565b60008151905061440c81615edb565b92915050565b60006020828403121561442457600080fd5b6000614432848285016142ec565b91505092915050565b60006020828403121561444d57600080fd5b600061445b84828501614301565b91505092915050565b6000806040838503121561447757600080fd5b6000614485858286016142ec565b9250506020614496858286016142ec565b9150509250929050565b6000806000606084860312156144b557600080fd5b60006144c3868287016142ec565b93505060206144d4868287016142ec565b92505060406144e5868287016143e8565b9150509250925092565b6000806000806080858703121561450557600080fd5b6000614513878288016142ec565b9450506020614524878288016142ec565b9350506040614535878288016143e8565b925050606085013567ffffffffffffffff81111561455257600080fd5b61455e87828801614394565b91505092959194509250565b6000806040838503121561457d57600080fd5b600061458b858286016142ec565b925050602061459c85828601614340565b9150509250929050565b600080604083850312156145b957600080fd5b60006145c7858286016142ec565b92505060206145d8858286016143e8565b9150509250929050565b6000602082840312156145f457600080fd5b600082015167ffffffffffffffff81111561460e57600080fd5b61461a84828501614316565b91505092915050565b60006020828403121561463557600080fd5b600061464384828501614340565b91505092915050565b60006020828403121561465e57600080fd5b600061466c84828501614355565b91505092915050565b60006020828403121561468757600080fd5b60006146958482850161436a565b91505092915050565b6000602082840312156146b057600080fd5b60006146be8482850161437f565b91505092915050565b6000602082840312156146d957600080fd5b600082013567ffffffffffffffff8111156146f357600080fd5b6146ff848285016143be565b91505092915050565b60006020828403121561471a57600080fd5b6000614728848285016143e8565b91505092915050565b60006020828403121561474357600080fd5b6000614751848285016143fd565b91505092915050565b6000806040838503121561476d57600080fd5b600061477b858286016143e8565b925050602061478c858286016143e8565b9150509250929050565b60006147a28383614c8d565b60208301905092915050565b6147b78161545a565b82525050565b60006147c8826152d9565b6147d28185615307565b93506147dd836152c9565b8060005b8381101561480e5781516147f58882614796565b9750614800836152fa565b9250506001810190506147e1565b5085935050505092915050565b6148248161546c565b82525050565b6000614835826152e4565b61483f8185615318565b935061484f8185602086016154fc565b614858816156c8565b840191505092915050565b61486c816154db565b82525050565b600061487d826152ef565b6148878185615329565b93506148978185602086016154fc565b6148a0816156c8565b840191505092915050565b60006148b6826152ef565b6148c0818561533a565b93506148d08185602086016154fc565b80840191505092915050565b60006148e9602c83615329565b91506148f4826156d9565b604082019050919050565b600061490c602b83615329565b915061491782615728565b604082019050919050565b600061492f603283615329565b915061493a82615777565b604082019050919050565b6000614952602683615329565b915061495d826157c6565b604082019050919050565b6000614975602583615329565b915061498082615815565b604082019050919050565b6000614998601c83615329565b91506149a382615864565b602082019050919050565b60006149bb602483615329565b91506149c68261588d565b604082019050919050565b60006149de601983615329565b91506149e9826158dc565b602082019050919050565b6000614a01602c83615329565b9150614a0c82615905565b604082019050919050565b6000614a24602683615329565b9150614a2f82615954565b604082019050919050565b6000614a47603283615329565b9150614a52826159a3565b604082019050919050565b6000614a6a603883615329565b9150614a75826159f2565b604082019050919050565b6000614a8d602a83615329565b9150614a9882615a41565b604082019050919050565b6000614ab0602983615329565b9150614abb82615a90565b604082019050919050565b6000614ad3602c83615329565b9150614ade82615adf565b604082019050919050565b6000614af6603383615329565b9150614b0182615b2e565b604082019050919050565b6000614b19602083615329565b9150614b2482615b7d565b602082019050919050565b6000614b3c602d83615329565b9150614b4782615ba6565b604082019050919050565b6000614b5f602c83615329565b9150614b6a82615bf5565b604082019050919050565b6000614b82602083615329565b9150614b8d82615c44565b602082019050919050565b6000614ba5602f83615329565b9150614bb082615c6d565b604082019050919050565b6000614bc8602183615329565b9150614bd382615cbc565b604082019050919050565b6000614beb603183615329565b9150614bf682615d0b565b604082019050919050565b6000614c0e602883615329565b9150614c1982615d5a565b604082019050919050565b6000614c31602c83615329565b9150614c3c82615da9565b604082019050919050565b6000614c54602f83615329565b9150614c5f82615df8565b604082019050919050565b6000614c77602783615329565b9150614c8282615e47565b604082019050919050565b614c96816154c4565b82525050565b614ca5816154c4565b82525050565b614cb4816154ce565b82525050565b6000614cc682856148ab565b9150614cd282846148ab565b91508190509392505050565b6000602082019050614cf360008301846147ae565b92915050565b6000604082019050614d0e60008301856147ae565b614d1b60208301846147ae565b9392505050565b6000608082019050614d3760008301876147ae565b614d4460208301866147ae565b614d516040830185614c9c565b8181036060830152614d63818461482a565b905095945050505050565b6000604082019050614d8360008301856147ae565b614d906020830184614863565b9392505050565b6000604082019050614dac60008301856147ae565b614db96020830184614c9c565b9392505050565b60006020820190508181036000830152614dda81846147bd565b905092915050565b6000602082019050614df7600083018461481b565b92915050565b60006020820190508181036000830152614e178184614872565b905092915050565b60006020820190508181036000830152614e38816148dc565b9050919050565b60006020820190508181036000830152614e58816148ff565b9050919050565b60006020820190508181036000830152614e7881614922565b9050919050565b60006020820190508181036000830152614e9881614945565b9050919050565b60006020820190508181036000830152614eb881614968565b9050919050565b60006020820190508181036000830152614ed88161498b565b9050919050565b60006020820190508181036000830152614ef8816149ae565b9050919050565b60006020820190508181036000830152614f18816149d1565b9050919050565b60006020820190508181036000830152614f38816149f4565b9050919050565b60006020820190508181036000830152614f5881614a17565b9050919050565b60006020820190508181036000830152614f7881614a3a565b9050919050565b60006020820190508181036000830152614f9881614a5d565b9050919050565b60006020820190508181036000830152614fb881614a80565b9050919050565b60006020820190508181036000830152614fd881614aa3565b9050919050565b60006020820190508181036000830152614ff881614ac6565b9050919050565b6000602082019050818103600083015261501881614ae9565b9050919050565b6000602082019050818103600083015261503881614b0c565b9050919050565b6000602082019050818103600083015261505881614b2f565b9050919050565b6000602082019050818103600083015261507881614b52565b9050919050565b6000602082019050818103600083015261509881614b75565b9050919050565b600060208201905081810360008301526150b881614b98565b9050919050565b600060208201905081810360008301526150d881614bbb565b9050919050565b600060208201905081810360008301526150f881614bde565b9050919050565b6000602082019050818103600083015261511881614c01565b9050919050565b6000602082019050818103600083015261513881614c24565b9050919050565b6000602082019050818103600083015261515881614c47565b9050919050565b6000602082019050818103600083015261517881614c6a565b9050919050565b60006020820190506151946000830184614c9c565b92915050565b60006080820190506151af6000830187614c9c565b6151bc6020830186614c9c565b6151c96040830185614c9c565b6151d660608301846147ae565b95945050505050565b60006060820190506151f46000830186614cab565b6152016020830185614cab565b61520e6040830184614c9c565b949350505050565b6000615220615231565b905061522c8282615561565b919050565b6000604051905090565b600067ffffffffffffffff82111561525657615255615699565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561528257615281615699565b5b61528b826156c8565b9050602081019050919050565b600067ffffffffffffffff8211156152b3576152b2615699565b5b6152bc826156c8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615350826154c4565b915061535b836154c4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153905761538f61560c565b5b828201905092915050565b60006153a6826154c4565b91506153b1836154c4565b9250826153c1576153c061563b565b5b828204905092915050565b60006153d7826154c4565b91506153e2836154c4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561541b5761541a61560c565b5b828202905092915050565b6000615431826154c4565b915061543c836154c4565b92508282101561544f5761544e61560c565b5b828203905092915050565b6000615465826154a4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154e6826154ce565b9050919050565b82818337600083830152505050565b60005b8381101561551a5780820151818401526020810190506154ff565b83811115615529576000848401525b50505050565b6000600282049050600182168061554757607f821691505b6020821081141561555b5761555a61566a565b5b50919050565b61556a826156c8565b810181811067ffffffffffffffff8211171561558957615588615699565b5b80604052505050565b600061559d826154c4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155d0576155cf61560c565b5b600182019050919050565b60006155e6826154c4565b91506155f1836154c4565b9250826156015761560061563b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f47656e41727445524337323141696c62756d733a20726573657276656420616c60008201527f7265616479206d696e7465640000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a206d696e74696e672069732060008201527f7061757365640000000000000000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a20616d6f756e74206578636560008201527f65647320617661696c61626c654d696e74730000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a207472616e73616374696f6e60008201527f20756e6465727072696365640000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a2073656e646572206973206e60008201527f6f74206d656d62657273686970206f776e657200000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e41727445524337323141696c62756d733a206275726e2063616c6c657260008201527f206973206e6f74206f776e657200000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f742067656e6160008201527f72742061646d696e000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f74207468652060008201527f6f776e6572206e6f722061646d696e0000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a206e6f206d696e747320617660008201527f61696c61626c6500000000000000000000000000000000000000000000000000602082015250565b615e9f8161545a565b8114615eaa57600080fd5b50565b615eb68161546c565b8114615ec157600080fd5b50565b615ecd81615478565b8114615ed857600080fd5b50565b615ee4816154c4565b8114615eef57600080fd5b5056fea26469706673582212204f201cda31d7affd41b662b4a1cca70174a1725d2aa7a35feaa483113f2696ed64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000004e210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000002c68af0bb1400000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000f09473b9e7d00f505f467b344f3907a948e38da0000000000000000000000000b42970b84c25aa3b1fd145fc41d2f301ec4bb9ad000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000001241694c42554d532062792047454e2e415254000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034169420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e67656e2e6172742f7075626c69632f617474726962757465732f0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102765760003560e01c80636352211e1161014f5780639828a590116100c1578063e637f98f1161007a578063e637f98f14610a1c578063e985e9c514610a47578063ec8c890414610a84578063f00e9e1f14610a9b578063f2fde38b14610ac6578063f65a0b3e14610aef5761030b565b80639828a590146109315780639986375414610948578063a22cb46514610971578063b88d4fde1461099a578063c87b56dd146109c3578063d48e13c314610a005761030b565b80638296a2e8116101135780638296a2e81461082f5780638da5cb5b1461085a5780638dc251e31461088557806390aafc01146108ae57806391a1104d146108d957806395d89b41146109065761030b565b80636352211e146107385780636b29b79f146107755780636eaef5bb1461079e57806370a08231146107db578063715018a6146108185761030b565b80632a55205a116101e857806340c10f19116101ac57806340c10f191461062757806342842e0e1461064357806342966c681461066c578063429b62e5146106955780634f6ccce7146106d257806355f804b31461070f5761030b565b80632a55205a146105075780632f745c59146105455780633c3f2d41146105825780634017465c146105ad57806340398d67146105ea5761030b565b80630e0aff941161023a5780630e0aff941461040957806316c38b3c1461043457806316c61ccc1461045d57806318160ddd146104885780631b2119b8146104b357806323b872dd146104de5761030b565b806301ffc9a7146103105780630387da421461034d57806306fdde0314610378578063081812fc146103a3578063095ea7b3146103e05761030b565b3661030b57601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166329a72ca334306040518363ffffffff1660e01b81526004016102d79190614cde565b6000604051808303818588803b1580156102f057600080fd5b505af1158015610304573d6000803e3d6000fd5b5050505050005b600080fd5b34801561031c57600080fd5b5061033760048036038101906103329190614675565b610b18565b6040516103449190614de2565b60405180910390f35b34801561035957600080fd5b50610362610b92565b60405161036f919061517f565b60405180910390f35b34801561038457600080fd5b5061038d610b98565b60405161039a9190614dfd565b60405180910390f35b3480156103af57600080fd5b506103ca60048036038101906103c59190614708565b610c2a565b6040516103d79190614cde565b60405180910390f35b3480156103ec57600080fd5b50610407600480360381019061040291906145a6565b610caf565b005b34801561041557600080fd5b5061041e610dc7565b60405161042b9190614cde565b60405180910390f35b34801561044057600080fd5b5061045b60048036038101906104569190614623565b610ded565b005b34801561046957600080fd5b50610472610ee0565b60405161047f9190614de2565b60405180910390f35b34801561049457600080fd5b5061049d610ef3565b6040516104aa919061517f565b60405180910390f35b3480156104bf57600080fd5b506104c8610f00565b6040516104d5919061517f565b60405180910390f35b3480156104ea57600080fd5b50610505600480360381019061050091906144a0565b610f06565b005b34801561051357600080fd5b5061052e6004803603810190610529919061475a565b610f66565b60405161053c929190614d97565b60405180910390f35b34801561055157600080fd5b5061056c600480360381019061056791906145a6565b61105d565b604051610579919061517f565b60405180910390f35b34801561058e57600080fd5b50610597611102565b6040516105a49190614cde565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf9190614708565b611128565b6040516105e1919061517f565b60405180910390f35b3480156105f657600080fd5b50610611600480360381019061060c9190614412565b611145565b60405161061e9190614dc0565b60405180910390f35b610641600480360381019061063c91906145a6565b61123f565b005b34801561064f57600080fd5b5061066a600480360381019061066591906144a0565b611657565b005b34801561067857600080fd5b50610693600480360381019061068e9190614708565b611677565b005b3480156106a157600080fd5b506106bc60048036038101906106b79190614412565b611706565b6040516106c99190614de2565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f49190614708565b611726565b604051610706919061517f565b60405180910390f35b34801561071b57600080fd5b50610736600480360381019061073191906146c7565b6117bd565b005b34801561074457600080fd5b5061075f600480360381019061075a9190614708565b611874565b60405161076c9190614cde565b60405180910390f35b34801561078157600080fd5b5061079c60048036038101906107979190614412565b611926565b005b3480156107aa57600080fd5b506107c560048036038101906107c09190614708565b611a07565b6040516107d2919061517f565b60405180910390f35b3480156107e757600080fd5b5061080260048036038101906107fd9190614412565b611add565b60405161080f919061517f565b60405180910390f35b34801561082457600080fd5b5061082d611b95565b005b34801561083b57600080fd5b50610844611c1d565b604051610851919061517f565b60405180910390f35b34801561086657600080fd5b5061086f611c23565b60405161087c9190614cde565b60405180910390f35b34801561089157600080fd5b506108ac60048036038101906108a79190614412565b611c4d565b005b3480156108ba57600080fd5b506108c3611d2e565b6040516108d09190614cde565b60405180910390f35b3480156108e557600080fd5b506108ee611d54565b6040516108fd939291906151df565b60405180910390f35b34801561091257600080fd5b5061091b611d86565b6040516109289190614dfd565b60405180910390f35b34801561093d57600080fd5b50610946611e18565b005b34801561095457600080fd5b5061096f600480360381019061096a9190614412565b61200f565b005b34801561097d57600080fd5b506109986004803603810190610993919061456a565b6120f0565b005b3480156109a657600080fd5b506109c160048036038101906109bc91906144ef565b612106565b005b3480156109cf57600080fd5b506109ea60048036038101906109e59190614708565b612168565b6040516109f79190614dfd565b60405180910390f35b610a1a6004803603810190610a1591906145a6565b61220f565b005b348015610a2857600080fd5b50610a316123e3565b604051610a3e9190614cde565b60405180910390f35b348015610a5357600080fd5b50610a6e6004803603810190610a699190614464565b612409565b604051610a7b9190614de2565b60405180910390f35b348015610a9057600080fd5b50610a9961249d565b005b348015610aa757600080fd5b50610ab0612656565b604051610abd9190614cde565b60405180910390f35b348015610ad257600080fd5b50610aed6004803603810190610ae89190614412565b61267c565b005b348015610afb57600080fd5b50610b166004803603810190610b11919061456a565b612774565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b8b5750610b8a826128ab565b5b9050919050565b600d5481565b606060008054610ba79061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd39061552f565b8015610c205780601f10610bf557610100808354040283529160200191610c20565b820191906000526020600020905b815481529060010190602001808311610c0357829003601f168201915b5050505050905090565b6000610c3582612925565b610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b9061505f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cba82611874565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906150bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d4a612991565b73ffffffffffffffffffffffffffffffffffffffff161480610d795750610d7881610d73612991565b612409565b5b610db8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daf90614f7f565b60405180910390fd5b610dc28383612999565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610df7612991565b90508073ffffffffffffffffffffffffffffffffffffffff16610e18611c23565b73ffffffffffffffffffffffffffffffffffffffff161480610e835750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b610ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb99061513f565b60405180910390fd5b81601460006101000a81548160ff0219169083151502179055505050565b601460009054906101000a900460ff1681565b6000600880549050905090565b600e5481565b610f17610f11612991565b82612a52565b610f56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4d906150df565b60405180910390fd5b610f61838383612b30565b505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661271084601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663306e38be3060016040518363ffffffff1660e01b8152600401610fee929190614d6e565b60206040518083038186803b15801561100657600080fd5b505afa15801561101a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103e9190614731565b61104891906153cc565b611052919061539b565b915091509250929050565b600061106883611add565b82106110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a090614e3f565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600061113e826015612d9790919063ffffffff16565b9050919050565b6060600061115283611add565b905060008167ffffffffffffffff811115611196577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111c45781602001602082028036833780820191505090505b50905060005b82811015611234576111dc858261105d565b828281518110611215577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061122c90615592565b9150506111ca565b508092505050919050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a8bc51ac30611288612991565b6040518363ffffffff1660e01b81526004016112a5929190614cf9565b60206040518083038186803b1580156112bd57600080fd5b505afa1580156112d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112f59190614731565b90506113018282612db7565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ea85b1e5611349612991565b6040518263ffffffff1660e01b81526004016113659190614cde565b60006040518083038186803b15801561137d57600080fd5b505afa158015611391573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906113ba91906145e2565b90506000805b84821080156113cf5750825181105b156115c1576000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d1585848151811061144d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401611471919061517f565b60206040518083038186803b15801561148957600080fd5b505afa15801561149d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114c1919061464c565b90506000611528858481518110611501577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183600e54611515610ef3565b6015612ede90949392919063ffffffff16565b905060005b818110801561153b57508785105b156115ab5761158a8987868151811061157d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151612f38565b848061159590615592565b95505080806115a390615592565b91505061152d565b5082806115b790615592565b93505050506113c0565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b815260040161161d9190614cde565b6000604051808303818588803b15801561163657600080fd5b505af115801561164a573d6000803e3d6000fd5b5050505050505050505050565b61167283838360405180602001604052806000815250612106565b505050565b600061168282611874565b90508073ffffffffffffffffffffffffffffffffffffffff166116a3612991565b73ffffffffffffffffffffffffffffffffffffffff16146116f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f09061503f565b60405180910390fd5b611702826130ad565b5050565b600b6020528060005260406000206000915054906101000a900460ff1681565b6000611730610ef3565b8210611771576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117689061511f565b60405180910390fd5b600882815481106117ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b60006117c7612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611859576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611850906150ff565b60405180910390fd5b816013908051906020019061186f929190614161565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191490614fbf565b60405180910390fd5b80915050919050565b6000611930612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b9906150ff565b60405180910390fd5b81601160016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000611ad682601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15856040518263ffffffff1660e01b8152600401611a68919061517f565b60206040518083038186803b158015611a8057600080fd5b505afa158015611a94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab8919061464c565b600e54611ac3610ef3565b6015612ede90949392919063ffffffff16565b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4590614f9f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b9d612991565b73ffffffffffffffffffffffffffffffffffffffff16611bbb611c23565b73ffffffffffffffffffffffffffffffffffffffff1614611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c089061507f565b60405180910390fd5b611c1b60006131ca565b565b60105481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000611c57612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611ce9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce0906150ff565b60405180910390fd5b81600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60158060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060010154905083565b606060018054611d959061552f565b80601f0160208091040260200160405190810160405280929190818152602001828054611dc19061552f565b8015611e0e5780601f10611de357610100808354040283529160200191611e0e565b820191906000526020600020905b815481529060010190602001808311611df157829003601f168201915b5050505050905090565b6000601460019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611e7a9190614cde565b60206040518083038186803b158015611e9257600080fd5b505afa158015611ea6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eca9190614731565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b8152600401611f29929190614d97565b602060405180830381600087803b158015611f4357600080fd5b505af1158015611f57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f7b919061464c565b50601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634aee68a130836040518363ffffffff1660e01b8152600401611fd9929190614d97565b600060405180830381600087803b158015611ff357600080fd5b505af1158015612007573d6000803e3d6000fd5b505050505050565b6000612019612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146120ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a2906150ff565b60405180910390fd5b81600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6121026120fb612991565b8383613290565b5050565b612117612111612991565b83612a52565b612156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214d906150df565b60405180910390fd5b612162848484846133fd565b50505050565b606061217382612925565b6121b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a99061509f565b60405180910390fd5b60006121bc613459565b905060008151116121dc5760405180602001604052806000815250612207565b806121e6846134eb565b6040516020016121f7929190614cba565b6040516020818303038152906040525b915050919050565b612217612991565b73ffffffffffffffffffffffffffffffffffffffff16601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a47dc5f0836040518263ffffffff1660e01b8152600401612288919061517f565b60206040518083038186803b1580156122a057600080fd5b505afa1580156122b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122d8919061443b565b73ffffffffffffffffffffffffffffffffffffffff161461232e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232590614fff565b60405180910390fd5b600061233982611a07565b9050612346600182612db7565b6123508383612f38565b601160019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663cf58b8ea34306040518363ffffffff1660e01b81526004016123ac9190614cde565b6000604051808303818588803b1580156123c557600080fd5b505af11580156123d9573d6000803e3d6000fd5b5050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006124a7612991565b90508073ffffffffffffffffffffffffffffffffffffffff166124c8611c23565b73ffffffffffffffffffffffffffffffffffffffff1614806125335750600b60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b612572576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125699061513f565b60405180910390fd5b601160009054906101000a900460ff16156125c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b990614e1f565b60405180910390fd5b600060016125d06015613698565b6125d8610ef3565b620186a06010546125e991906153cc565b6125f39190615345565b6125fd9190615426565b6126079190615345565b9050612637600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168260006136a6565b6001601160006101000a81548160ff0219169083151502179055505050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612684612991565b73ffffffffffffffffffffffffffffffffffffffff166126a2611c23565b73ffffffffffffffffffffffffffffffffffffffff16146126f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ef9061507f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f90614e7f565b60405180910390fd5b612771816131ca565b50565b600061277e612991565b90508073ffffffffffffffffffffffffffffffffffffffff16600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612810576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612807906150ff565b60405180910390fd5b81600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b818360000160016101000a81548160ff021916908360ff160217905550808360000160006101000a81548160ff021916908360ff160217905550505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061291e575061291d826136f4565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612a0c83611874565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612a5d82612925565b612a9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9390614f1f565b60405180910390fd5b6000612aa783611874565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612b1657508373ffffffffffffffffffffffffffffffffffffffff16612afe84610c2a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612b275750612b268185612409565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612b5082611874565b73ffffffffffffffffffffffffffffffffffffffff1614612ba6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b9d90614e9f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0d90614edf565b60405180910390fd5b612c218383836137d6565b612c2c600082612999565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c7c9190615426565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cd39190615345565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d928383836138ea565b505050565b600082600201600083815260200190815260200160002054905092915050565b601460009054906101000a900460ff1615612e07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfe90614f3f565b60405180910390fd5b60008111612e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e419061515f565b60405180910390fd5b81811015612e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e8490614f5f565b60405180910390fd5b600082600d5402905034811115612ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed090614fdf565b60405180910390fd5b505050565b600080866001015483612ef19190615426565b84612efc9190615426565b905060008111612f0d576000612f2c565b612f178787612d97565b612f2188876138ef565b612f2b9190615426565b5b91505095945050505050565b60006001612f466015613698565b612f4e610ef3565b620186a0601054612f5f91906153cc565b612f699190615345565b612f739190615426565b612f7d9190615345565b90506000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f4ed4d15846040518263ffffffff1660e01b8152600401612fdc919061517f565b60206040518083038186803b158015612ff457600080fd5b505afa158015613008573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061302c919061464c565b90506130398483856136a6565b801561308e576000600161304d6015613698565b600e54620186a060105461306191906153cc565b61306b9190615345565b6130759190615345565b61307f9190615345565b905061308c8582866136a6565b505b6130a783826001601561392b909392919063ffffffff16565b50505050565b60006130b882611874565b90506130c6816000846137d6565b6130d1600083612999565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131219190615426565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46131c6816000846138ea565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132f690614eff565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516133f09190614de2565b60405180910390a3505050565b613408848484612b30565b6134148484848461396d565b613453576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161344a90614e5f565b60405180910390fd5b50505050565b6060601380546134689061552f565b80601f01602080910402602001604051908101604052809291908181526020018280546134949061552f565b80156134e15780601f106134b6576101008083540402835291602001916134e1565b820191906000526020600020905b8154815290600101906020018083116134c457829003601f168201915b5050505050905090565b60606000821415613533576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613693565b600082905060005b6000821461356557808061354e90615592565b915050600a8261355e919061539b565b915061353b565b60008167ffffffffffffffff8111156135a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156135d95781602001600182028036833780820191505090505b5090505b6000851461368c576001826135f29190615426565b9150600a8561360191906155db565b603061360d9190615345565b60f81b818381518110613649577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613685919061539b565b94506135dd565b8093505050505b919050565b600081600101549050919050565b6136b08383613b04565b7faacef1bbb194eac329f8f247fbe8cce3eca2ed1f2e0a45a0488c2dd8afe6e5168260105483866040516136e7949392919061519a565b60405180910390a1505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806137bf57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806137cf57506137ce82613b22565b5b9050919050565b6137e1838383613b8c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138245761381f81613b91565b613863565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614613862576138618382613bda565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156138a6576138a181613d47565b6138e5565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146138e4576138e38282613e8a565b5b5b505050565b505050565b60008161390d578260000160019054906101000a900460ff16613920565b8260000160009054906101000a900460ff165b60ff16905092915050565b80846002016000858152602001908152602001600020600082825401925050819055508115613967578084600101600082825401925050819055505b50505050565b600061398e8473ffffffffffffffffffffffffffffffffffffffff16613f09565b15613af7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139b7612991565b8786866040518563ffffffff1660e01b81526004016139d99493929190614d22565b602060405180830381600087803b1580156139f357600080fd5b505af1925050508015613a2457506040513d601f19601f82011682018060405250810190613a21919061469e565b60015b613aa7573d8060008114613a54576040519150601f19603f3d011682016040523d82523d6000602084013e613a59565b606091505b50600081511415613a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a9690614e5f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613afc565b600190505b949350505050565b613b1e828260405180602001604052806000815250613f2c565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613be784611add565b613bf19190615426565b9050600060076000848152602001908152602001600020549050818114613cd6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613d5b9190615426565b9050600060096000848152602001908152602001600020549050600060088381548110613db1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613df9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613e6e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613e9583611add565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b613f368383613f87565b613f43600084848461396d565b613f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f7990614e5f565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613ff7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fee9061501f565b60405180910390fd5b61400081612925565b15614040576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161403790614ebf565b60405180910390fd5b61404c600083836137d6565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461409c9190615345565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461415d600083836138ea565b5050565b82805461416d9061552f565b90600052602060002090601f01602090048101928261418f57600085556141d6565b82601f106141a857805160ff19168380011785556141d6565b828001600101855582156141d6579182015b828111156141d55782518255916020019190600101906141ba565b5b5090506141e391906141e7565b5090565b5b808211156142005760008160009055506001016141e8565b5090565b60006142176142128461523b565b615216565b9050808382526020820190508285602086028201111561423657600080fd5b60005b85811015614266578161424c88826143fd565b845260208401935060208301925050600181019050614239565b5050509392505050565b600061428361427e84615267565b615216565b90508281526020810184848401111561429b57600080fd5b6142a68482856154ed565b509392505050565b60006142c16142bc84615298565b615216565b9050828152602081018484840111156142d957600080fd5b6142e48482856154ed565b509392505050565b6000813590506142fb81615e96565b92915050565b60008151905061431081615e96565b92915050565b600082601f83011261432757600080fd5b8151614337848260208601614204565b91505092915050565b60008135905061434f81615ead565b92915050565b60008151905061436481615ead565b92915050565b60008135905061437981615ec4565b92915050565b60008151905061438e81615ec4565b92915050565b600082601f8301126143a557600080fd5b81356143b5848260208601614270565b91505092915050565b600082601f8301126143cf57600080fd5b81356143df8482602086016142ae565b91505092915050565b6000813590506143f781615edb565b92915050565b60008151905061440c81615edb565b92915050565b60006020828403121561442457600080fd5b6000614432848285016142ec565b91505092915050565b60006020828403121561444d57600080fd5b600061445b84828501614301565b91505092915050565b6000806040838503121561447757600080fd5b6000614485858286016142ec565b9250506020614496858286016142ec565b9150509250929050565b6000806000606084860312156144b557600080fd5b60006144c3868287016142ec565b93505060206144d4868287016142ec565b92505060406144e5868287016143e8565b9150509250925092565b6000806000806080858703121561450557600080fd5b6000614513878288016142ec565b9450506020614524878288016142ec565b9350506040614535878288016143e8565b925050606085013567ffffffffffffffff81111561455257600080fd5b61455e87828801614394565b91505092959194509250565b6000806040838503121561457d57600080fd5b600061458b858286016142ec565b925050602061459c85828601614340565b9150509250929050565b600080604083850312156145b957600080fd5b60006145c7858286016142ec565b92505060206145d8858286016143e8565b9150509250929050565b6000602082840312156145f457600080fd5b600082015167ffffffffffffffff81111561460e57600080fd5b61461a84828501614316565b91505092915050565b60006020828403121561463557600080fd5b600061464384828501614340565b91505092915050565b60006020828403121561465e57600080fd5b600061466c84828501614355565b91505092915050565b60006020828403121561468757600080fd5b60006146958482850161436a565b91505092915050565b6000602082840312156146b057600080fd5b60006146be8482850161437f565b91505092915050565b6000602082840312156146d957600080fd5b600082013567ffffffffffffffff8111156146f357600080fd5b6146ff848285016143be565b91505092915050565b60006020828403121561471a57600080fd5b6000614728848285016143e8565b91505092915050565b60006020828403121561474357600080fd5b6000614751848285016143fd565b91505092915050565b6000806040838503121561476d57600080fd5b600061477b858286016143e8565b925050602061478c858286016143e8565b9150509250929050565b60006147a28383614c8d565b60208301905092915050565b6147b78161545a565b82525050565b60006147c8826152d9565b6147d28185615307565b93506147dd836152c9565b8060005b8381101561480e5781516147f58882614796565b9750614800836152fa565b9250506001810190506147e1565b5085935050505092915050565b6148248161546c565b82525050565b6000614835826152e4565b61483f8185615318565b935061484f8185602086016154fc565b614858816156c8565b840191505092915050565b61486c816154db565b82525050565b600061487d826152ef565b6148878185615329565b93506148978185602086016154fc565b6148a0816156c8565b840191505092915050565b60006148b6826152ef565b6148c0818561533a565b93506148d08185602086016154fc565b80840191505092915050565b60006148e9602c83615329565b91506148f4826156d9565b604082019050919050565b600061490c602b83615329565b915061491782615728565b604082019050919050565b600061492f603283615329565b915061493a82615777565b604082019050919050565b6000614952602683615329565b915061495d826157c6565b604082019050919050565b6000614975602583615329565b915061498082615815565b604082019050919050565b6000614998601c83615329565b91506149a382615864565b602082019050919050565b60006149bb602483615329565b91506149c68261588d565b604082019050919050565b60006149de601983615329565b91506149e9826158dc565b602082019050919050565b6000614a01602c83615329565b9150614a0c82615905565b604082019050919050565b6000614a24602683615329565b9150614a2f82615954565b604082019050919050565b6000614a47603283615329565b9150614a52826159a3565b604082019050919050565b6000614a6a603883615329565b9150614a75826159f2565b604082019050919050565b6000614a8d602a83615329565b9150614a9882615a41565b604082019050919050565b6000614ab0602983615329565b9150614abb82615a90565b604082019050919050565b6000614ad3602c83615329565b9150614ade82615adf565b604082019050919050565b6000614af6603383615329565b9150614b0182615b2e565b604082019050919050565b6000614b19602083615329565b9150614b2482615b7d565b602082019050919050565b6000614b3c602d83615329565b9150614b4782615ba6565b604082019050919050565b6000614b5f602c83615329565b9150614b6a82615bf5565b604082019050919050565b6000614b82602083615329565b9150614b8d82615c44565b602082019050919050565b6000614ba5602f83615329565b9150614bb082615c6d565b604082019050919050565b6000614bc8602183615329565b9150614bd382615cbc565b604082019050919050565b6000614beb603183615329565b9150614bf682615d0b565b604082019050919050565b6000614c0e602883615329565b9150614c1982615d5a565b604082019050919050565b6000614c31602c83615329565b9150614c3c82615da9565b604082019050919050565b6000614c54602f83615329565b9150614c5f82615df8565b604082019050919050565b6000614c77602783615329565b9150614c8282615e47565b604082019050919050565b614c96816154c4565b82525050565b614ca5816154c4565b82525050565b614cb4816154ce565b82525050565b6000614cc682856148ab565b9150614cd282846148ab565b91508190509392505050565b6000602082019050614cf360008301846147ae565b92915050565b6000604082019050614d0e60008301856147ae565b614d1b60208301846147ae565b9392505050565b6000608082019050614d3760008301876147ae565b614d4460208301866147ae565b614d516040830185614c9c565b8181036060830152614d63818461482a565b905095945050505050565b6000604082019050614d8360008301856147ae565b614d906020830184614863565b9392505050565b6000604082019050614dac60008301856147ae565b614db96020830184614c9c565b9392505050565b60006020820190508181036000830152614dda81846147bd565b905092915050565b6000602082019050614df7600083018461481b565b92915050565b60006020820190508181036000830152614e178184614872565b905092915050565b60006020820190508181036000830152614e38816148dc565b9050919050565b60006020820190508181036000830152614e58816148ff565b9050919050565b60006020820190508181036000830152614e7881614922565b9050919050565b60006020820190508181036000830152614e9881614945565b9050919050565b60006020820190508181036000830152614eb881614968565b9050919050565b60006020820190508181036000830152614ed88161498b565b9050919050565b60006020820190508181036000830152614ef8816149ae565b9050919050565b60006020820190508181036000830152614f18816149d1565b9050919050565b60006020820190508181036000830152614f38816149f4565b9050919050565b60006020820190508181036000830152614f5881614a17565b9050919050565b60006020820190508181036000830152614f7881614a3a565b9050919050565b60006020820190508181036000830152614f9881614a5d565b9050919050565b60006020820190508181036000830152614fb881614a80565b9050919050565b60006020820190508181036000830152614fd881614aa3565b9050919050565b60006020820190508181036000830152614ff881614ac6565b9050919050565b6000602082019050818103600083015261501881614ae9565b9050919050565b6000602082019050818103600083015261503881614b0c565b9050919050565b6000602082019050818103600083015261505881614b2f565b9050919050565b6000602082019050818103600083015261507881614b52565b9050919050565b6000602082019050818103600083015261509881614b75565b9050919050565b600060208201905081810360008301526150b881614b98565b9050919050565b600060208201905081810360008301526150d881614bbb565b9050919050565b600060208201905081810360008301526150f881614bde565b9050919050565b6000602082019050818103600083015261511881614c01565b9050919050565b6000602082019050818103600083015261513881614c24565b9050919050565b6000602082019050818103600083015261515881614c47565b9050919050565b6000602082019050818103600083015261517881614c6a565b9050919050565b60006020820190506151946000830184614c9c565b92915050565b60006080820190506151af6000830187614c9c565b6151bc6020830186614c9c565b6151c96040830185614c9c565b6151d660608301846147ae565b95945050505050565b60006060820190506151f46000830186614cab565b6152016020830185614cab565b61520e6040830184614c9c565b949350505050565b6000615220615231565b905061522c8282615561565b919050565b6000604051905090565b600067ffffffffffffffff82111561525657615255615699565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561528257615281615699565b5b61528b826156c8565b9050602081019050919050565b600067ffffffffffffffff8211156152b3576152b2615699565b5b6152bc826156c8565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000615350826154c4565b915061535b836154c4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156153905761538f61560c565b5b828201905092915050565b60006153a6826154c4565b91506153b1836154c4565b9250826153c1576153c061563b565b5b828204905092915050565b60006153d7826154c4565b91506153e2836154c4565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561541b5761541a61560c565b5b828202905092915050565b6000615431826154c4565b915061543c836154c4565b92508282101561544f5761544e61560c565b5b828203905092915050565b6000615465826154a4565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006154e6826154ce565b9050919050565b82818337600083830152505050565b60005b8381101561551a5780820151818401526020810190506154ff565b83811115615529576000848401525b50505050565b6000600282049050600182168061554757607f821691505b6020821081141561555b5761555a61566a565b5b50919050565b61556a826156c8565b810181811067ffffffffffffffff8211171561558957615588615699565b5b80604052505050565b600061559d826154c4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156155d0576155cf61560c565b5b600182019050919050565b60006155e6826154c4565b91506155f1836154c4565b9250826156015761560061563b565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f47656e41727445524337323141696c62756d733a20726573657276656420616c60008201527f7265616479206d696e7465640000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a206d696e74696e672069732060008201527f7061757365640000000000000000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a20616d6f756e74206578636560008201527f65647320617661696c61626c654d696e74730000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a207472616e73616374696f6e60008201527f20756e6465727072696365640000000000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a2073656e646572206973206e60008201527f6f74206d656d62657273686970206f776e657200000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f47656e41727445524337323141696c62756d733a206275726e2063616c6c657260008201527f206973206e6f74206f776e657200000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f742067656e6160008201527f72742061646d696e000000000000000000000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f47656e4172744163636573733a2063616c6c6572206973206e6f74207468652060008201527f6f776e6572206e6f722061646d696e0000000000000000000000000000000000602082015250565b7f47656e41727445524337323141696c62756d733a206e6f206d696e747320617660008201527f61696c61626c6500000000000000000000000000000000000000000000000000602082015250565b615e9f8161545a565b8114615eaa57600080fd5b50565b615eb68161546c565b8114615ec157600080fd5b50565b615ecd81615478565b8114615ed857600080fd5b50565b615ee4816154c4565b8114615eef57600080fd5b5056fea26469706673582212204f201cda31d7affd41b662b4a1cca70174a1725d2aa7a35feaa483113f2696ed64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e00000000000000000000000000000000000000000000000000000000000004e210000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000002c68af0bb1400000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000f09473b9e7d00f505f467b344f3907a948e38da0000000000000000000000000b42970b84c25aa3b1fd145fc41d2f301ec4bb9ad000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2000000000000000000000000000000000000000000000000000000000000001241694c42554d532062792047454e2e415254000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034169420000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002668747470733a2f2f6170692e67656e2e6172742f7075626c69632f617474726962757465732f0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): AiLBUMS by GEN.ART
Arg [1] : symbol_ (string): AiB
Arg [2] : uri_ (string): https://api.gen.art/public/attributes/
Arg [3] : collectionId_ (uint256): 20001
Arg [4] : standardSupply_ (uint8): 1
Arg [5] : goldSupply_ (uint8): 1
Arg [6] : mintPrice_ (uint256): 200000000000000000
Arg [7] : mintSupply_ (uint256): 512
Arg [8] : genartInterface_ (address): 0xf09473B9e7D00F505f467B344f3907a948E38Da0
Arg [9] : paymentSplitter_ (address): 0xB42970B84C25aa3b1FD145fC41d2F301EC4BB9ad
Arg [10] : wethAddress_ (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2

-----Encoded View---------------
18 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [1] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000004e21
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 00000000000000000000000000000000000000000000000002c68af0bb140000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [8] : 000000000000000000000000f09473b9e7d00f505f467b344f3907a948e38da0
Arg [9] : 000000000000000000000000b42970b84c25aa3b1fd145fc41d2f301ec4bb9ad
Arg [10] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [12] : 41694c42554d532062792047454e2e4152540000000000000000000000000000
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [14] : 4169420000000000000000000000000000000000000000000000000000000000
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.