ETH Price: $3,046.66 (+2.22%)
Gas: 1 Gwei

Token

Party Spuds (SPUDS)
 

Overview

Max Total Supply

0 SPUDS

Holders

119

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
47 SPUDS
0x5caa27a1cd3351d5b9f86558a56a566dec2f7658
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:
PartySpudClub

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : PartySpudClub.sol
// SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.9;

import '@openzeppelin/contracts/token/ERC721/ERC721.sol';
import '@openzeppelin/contracts/utils/math/SafeMath.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import './RandomlyAssigned.sol';

/**
 * @title The Party Spud Club's Minting contract
 * @dev Extends the ERC721 Non-Fungible Token Standard
 */
contract PartySpudClub is ERC721, AccessControl, RandomlyAssigned {
    using SafeMath for uint256;
    using Strings for uint256;

    // ======================================================== Structs and Enums

    struct MintTypes {
        uint256 _numberOfFreeMintsByAddress;
        uint256 _numberOfWhitelistMintsByAddress;
        uint256 _numberOfMintsByAddress;
    }

    struct Voucher {
        bytes32 r;
        bytes32 s;
        uint8 v;
    }
    enum VoucherType {
        OGHodler,
        FreeMint,
        Whitelist
    }
    enum SalePhase {
        Locked,
        PreSale,
        PublicSale
    } // During public sale, no more discounts, no more max mints

    // ======================================================== Private Variables

    uint256 private constant MAX_COMMUNITY_SPUDS = 69; // reserved for the community and marketing

    string private constant _defaultBaseURI =
        'https://api.thepartyspudclub.io/metadata';

    address private communityAddress =
        0xa54F87a652254baA2D1B39984a7E25022681fF41;

    // ======================================================== Public Variables

    uint256 public constant NUMBER_OF_OG_SPUDS = 200;
    uint256 public constant NUMBER_OF_RESERVED_SPUDS = 35;
    uint256 public constant MAX_SPUDS_SUPPLY = 888;

    bytes32 public constant SPUD_EMPEROR_ROLE = keccak256('SPUD_EMPEROR_ROLE');

    address public immutable adminSigner;

    string public tokenBaseURI;

    bool public claimActive = false;

    SalePhase public phase = SalePhase.Locked;

    uint256 public spudPrice = 0.1 ether;
    uint256 public discountedSpudPrice = 0.075 ether;
    uint256 public communityTokensMinted;

    uint256 public maxMintsPerAddress = 10; // max total mints per address

    mapping(address => MintTypes) public addressToMints;

    // ======================================================== Constructor

    constructor(string memory _uri, address _adminSigner)
        ERC721('Party Spuds', 'SPUDS')
        RandomlyAssigned(
            MAX_SPUDS_SUPPLY + NUMBER_OF_OG_SPUDS + NUMBER_OF_RESERVED_SPUDS,
            NUMBER_OF_OG_SPUDS + NUMBER_OF_RESERVED_SPUDS
        )
    {
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        tokenBaseURI = _uri;
        adminSigner = _adminSigner;
    }

    // ======================================================== Spud Emperor Functions

    /// Set the base URI for the metadata
    /// @dev modifies the state of the `_tokenBaseURI` variable
    /// @param URI the URI to set as the base token URI
    function setBaseURI(string memory URI)
        external
        onlyRole(SPUD_EMPEROR_ROLE)
    {
        tokenBaseURI = URI;
    }

    /// Updates the community address
    /// @dev modifies the state of the `communityAddress` variable
    /// @notice updates the community address
    /// @param newAddress_ The new price for minting
    function updateCommunityAddress(address newAddress_)
        external
        onlyRole(SPUD_EMPEROR_ROLE)
    {
        communityAddress = newAddress_;
    }

    /// Adjust the mint price
    /// @dev modifies the state of the `spudPrice` variable
    /// @notice sets the price for minting a token
    /// @param newPrice_ The new price for minting
    function adjustMintPrice(uint256 newPrice_)
        external
        onlyRole(SPUD_EMPEROR_ROLE)
    {
        spudPrice = newPrice_;
    }

    /// Adjust the discounted mint price
    /// @dev modifies the state of the `discountedSpudPrice` variable
    /// @notice sets the discounted price for minting a token
    /// @param newPrice_ The new price for minting
    function adjustDiscountedMintPrice(uint256 newPrice_)
        external
        onlyRole(SPUD_EMPEROR_ROLE)
    {
        discountedSpudPrice = newPrice_;
    }

    /// Adjust the maximum allowed mints per address
    /// @dev modifies the state of the `maxMintsPerAddress` variable
    /// @notice sets the maximum allowed mints per address
    /// @param maxMintsPerAddress_ The new price maximum
    function adjustMaximumMints(uint256 maxMintsPerAddress_)
        external
        onlyRole(SPUD_EMPEROR_ROLE)
    {
        maxMintsPerAddress = maxMintsPerAddress_;
    }

    /// Enter Phase
    /// @dev Updates the `phase` variable
    /// @notice Enters a new sale phase
    function enterPhase(SalePhase phase_) external onlyRole(SPUD_EMPEROR_ROLE) {
        phase = phase_;
    }

    /// Activate claiming
    /// @dev set the state of `claimActive` variable to true
    /// @notice Activate the claiming event
    function activateClaiming() external onlyRole(SPUD_EMPEROR_ROLE) {
        claimActive = true;
    }

    /// Deactivate claiming
    /// @dev set the state of `claimActive` variable to false
    /// @notice Deactivate the claiming event
    function deactivateClaiming() external onlyRole(SPUD_EMPEROR_ROLE) {
        claimActive = false;
    }

    /// Mint tokens for the community and marketing
    /// @dev Mints the number of tokens passed in as count to the communityAddress
    /// @param count The number of tokens to mint
    function reserveCommunityTokens(uint256 count)
        external
        onlyRole(SPUD_EMPEROR_ROLE)
        ensureAvailabilityFor(count)
    {
        require(
            count + communityTokensMinted <= MAX_COMMUNITY_SPUDS,
            'Exceeds the allowed supply of community tokens'
        );
        for (uint256 i = 0; i < count; i++) {
            _mintRandomId(communityAddress);
        }
        communityTokensMinted += count;
    }

    /// Disburse payments
    /// @dev transfers amounts that correspond to addresses passeed in as args
    /// @param payees_ recipient addresses
    /// @param amounts_ amount to payout to address with corresponding index in the `payees_` array
    function disbursePayments(
        address[] memory payees_,
        uint256[] memory amounts_
    ) external onlyRole(SPUD_EMPEROR_ROLE) {
        require(
            payees_.length == amounts_.length,
            'Payees and amounts length mismatch'
        );
        for (uint256 i; i < payees_.length; i++) {
            makePaymentTo(payees_[i], amounts_[i]);
        }
    }

    /// Make a payment
    /// @dev internal fn called by `disbursePayments` to send Ether to an address
    function makePaymentTo(address address_, uint256 amt_) private {
        (bool success, ) = address_.call{value: amt_}('');
        require(success, 'Transfer failed.');
    }

    // ======================================================== Overrides
    /// Overrides supportsInterface
    /// @dev Overrides supportsInterface, defined twice in the base contracts
    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    // ======================================================== External Functions

    /// Claim OG Tokens
    /// @dev mints OG token IDs using verified vouchers signed by an admin address
    /// @notice uses the voucher supplied to confirm that only the owner of the original ID can claim
    /// @param idxsToClaim the indexes for the IDs array of the tokens claimed in this TX
    /// @param idsOfOwner IDs of OG tokens belonging to the caller, used to verify the voucher
    /// @param voucher voucher for verifying the signer
    function claimOGTokensByIds(
        address owner_,
        uint256[] calldata idxsToClaim,
        uint256[] calldata idsOfOwner,
        Voucher memory voucher
    ) external {
        require(claimActive, 'Claim event is not active');
        bytes32 digest = keccak256(
            abi.encode(VoucherType.OGHodler, idsOfOwner, owner_)
        );
        require(_isVerifiedVoucher(digest, voucher), 'Invalid voucher');

        for (uint256 i; i < idxsToClaim.length; i++) {
            uint256 tokenId = idsOfOwner[idxsToClaim[i]];
            _claimReservedToken(owner_, tokenId);
        }
    }

    /// Claim Free Mint Tokens
    /// @dev mints the qty of tokens verified using vouchers signed by an admin signer
    /// @notice claims earned free tokens
    /// @param count number of tokens to claim in transaction
    /// @param allotted total number of tokens recipient is allowed to claim
    /// @param voucher voucher for verifying the signer
    function claimFreeMintTokens(
        uint256 count,
        uint256 allotted,
        Voucher memory voucher
    ) external ensureAvailabilityFor(count) {
        require(phase == SalePhase.PreSale, 'Pre-sale is not active');
        bytes32 digest = keccak256(
            abi.encode(VoucherType.FreeMint, allotted, msg.sender)
        );
        require(_isVerifiedVoucher(digest, voucher), 'Invalid voucher');
        require(
            count + addressToMints[msg.sender]._numberOfFreeMintsByAddress <=
                allotted,
            'Exceeds number of earned Spuds'
        );
        addressToMints[msg.sender]._numberOfFreeMintsByAddress += count;
        for (uint256 i; i < count; i++) {
            _mintRandomId(msg.sender);
        }
    }

    /// Claim Whitelist Tokens
    /// @dev mints the qty of tokens verified using vouchers signed by an admin signer
    /// @notice claims earned whitelist tokens
    /// @param count number of tokens to claim in transaction
    /// @param allotted total number of tokens recipient is allowed to claim
    /// @param voucher voucher for verifying the signer
    function claimWhitelistTokens(
        uint256 count,
        uint256 allotted,
        Voucher memory voucher
    )
        external
        payable
        validateDiscountedEthPayment(count)
        ensureAvailabilityFor(count)
    {
        require(phase == SalePhase.PreSale, 'Pre-sale is not active');
        require(claimActive, 'Claim event is not active');
        bytes32 digest = keccak256(
            abi.encode(VoucherType.Whitelist, allotted, msg.sender)
        );
        require(_isVerifiedVoucher(digest, voucher), 'Invalid voucher');
        require(
            count +
                addressToMints[msg.sender]._numberOfWhitelistMintsByAddress <=
                allotted,
            'Exceeds number of earned Spuds'
        );
        addressToMints[msg.sender]._numberOfWhitelistMintsByAddress += count;
        for (uint256 i; i < count; i++) {
            _mintRandomId(msg.sender);
        }
    }

    /// Public minting open to all
    /// @dev mints tokens during public sale, limited by `maxMintsPerAddress`
    /// @notice mints tokens with randomized IDs to the sender's address
    /// @param count number of tokens to mint in transaction
    function mintSpud(uint256 count)
        external
        payable
        validateEthPayment(count)
        ensureAvailabilityFor(count)
    {
        require(phase == SalePhase.PublicSale, 'Public sale is not active');
        require(
            msg.sender == tx.origin,
            'Smart contracts are not allowed to mint'
        ); // block smart contracts from minting
        require(
            count + addressToMints[msg.sender]._numberOfMintsByAddress <=
                maxMintsPerAddress,
            'Exceeds maximum allowable mints'
        );
        addressToMints[msg.sender]._numberOfMintsByAddress += count;
        for (uint256 i; i < count; i++) {
            _mintRandomId(msg.sender);
        }
    }

    // ======================================================== Internal Functions

    /// @dev make sure that the voucher sent was signed by the admin signer
    function _isVerifiedVoucher(bytes32 digest, Voucher memory voucher)
        private
        view
        returns (bool)
    {
        address signer = ecrecover(digest, voucher.v, voucher.r, voucher.s);
        require(signer != address(0), 'ECDSA: invalid voucher');
        return signer == adminSigner;
    }

    /// @dev internal check to ensure an OG token ID, or ID outside of the collection, doesn't get minted
    function _mintRandomId(address to) private {
        uint256 id = nextToken();
        assert(
            id > NUMBER_OF_OG_SPUDS + NUMBER_OF_RESERVED_SPUDS &&
                id <=
                MAX_SPUDS_SUPPLY + NUMBER_OF_OG_SPUDS + NUMBER_OF_RESERVED_SPUDS
        );
        _safeMint(to, id);
    }

    /// @dev mints a token with a known ID, must fall within desired range
    function _claimReservedToken(address to, uint256 id) internal {
        assert(id != 0);
        assert(id <= NUMBER_OF_OG_SPUDS);
        if (!_exists(id)) {
            _safeMint(to, id);
        }
    }

    // ======================================================== Overrides

    /// Return the tokenURI for a given ID
    /// @dev overrides ERC721's `tokenURI` function and returns either the `_tokenBaseURI` or a custom URI
    /// @notice reutrns the tokenURI using the `_tokenBase` URI if the token ID hasn't been supplied with a unique custom URI
    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        require(_exists(tokenId), 'Cannot query non-existent token');

        return
            bytes(tokenBaseURI).length > 0
                ? string(
                    abi.encodePacked(tokenBaseURI, '/', tokenId.toString())
                )
                : _defaultBaseURI;
    }

    // ======================================================== Modifiers

    /// Modifier to validate Eth payments on payable functions
    /// @dev compares the product of the state variable `spudPrice` and supplied `count` to msg.value
    /// @param count factor to multiply by
    modifier validateEthPayment(uint256 count) {
        require(
            spudPrice * count <= msg.value,
            'You have not sent enough ether'
        );
        _;
    }

    /// Modifier to validate Eth payments on payable functions
    /// @dev compares the product of the state variable `discountedSpudPrice` and supplied `count` to msg.value
    /// @param count factor to multiply by
    modifier validateDiscountedEthPayment(uint256 count) {
        require(
            discountedSpudPrice * count <= msg.value,
            'You have not sent enough ether'
        );
        _;
    }
}

File 2 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not 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 || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits 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 3 of 15 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 15 : 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 5 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 6 of 15 : RandomlyAssigned.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import './WithLimitedSupply.sol';

/// @author Modified version of original code by 1001.digital
/// @title Randomly assign tokenIDs from a given set of tokens.
abstract contract RandomlyAssigned is WithLimitedSupply {
    // Used for random index assignment
    mapping(uint256 => uint256) private tokenMatrix;

    // The initial token ID
    uint256 private immutable startFrom;

    /// Instanciate the contract
    /// @param maxSupply_ how many tokens this collection should hold
    /// @param numReserved_ the number of tokens reserved whose IDs dont come from the randomizer
    constructor(uint256 maxSupply_, uint256 numReserved_)
        WithLimitedSupply(maxSupply_, numReserved_)
    {
        startFrom = numReserved_ + 1;
    }

    /// Get the next token ID
    /// @dev Randomly gets a new token ID and keeps track of the ones that are still available.
    /// @return the next token ID
    function nextToken() internal override returns (uint256) {
        uint256 maxIndex = maxAvailableSupply() - tokenCount();
        uint256 random = uint256(
            keccak256(
                abi.encodePacked(
                    msg.sender,
                    block.coinbase,
                    block.difficulty,
                    block.gaslimit,
                    block.timestamp
                )
            )
        ) % maxIndex;

        uint256 value = 0;
        if (tokenMatrix[random] == 0) {
            // If this matrix position is empty, set the value to the generated random number.
            value = random;
        } else {
            // Otherwise, use the previously stored number from the matrix.
            value = tokenMatrix[random];
        }

        // If the last available tokenID is still unused...
        if (tokenMatrix[maxIndex - 1] == 0) {
            // ...store that ID in the current matrix position.
            tokenMatrix[random] = maxIndex - 1;
        } else {
            // ...otherwise copy over the stored number to the current matrix position.
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }

        // Increment counts (ie. qty minted)
        super.nextToken();

        return value + startFrom;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

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

pragma solidity ^0.8.0;

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

File 9 of 15 : 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 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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 14 of 15 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 15 of 15 : WithLimitedSupply.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @author Modified version of original code by 1001.digital
/// @title A token tracker that limits the token supply and increments token IDs on each new mint.
abstract contract WithLimitedSupply {
    // Keeps track of how many we have minted
    uint256 private _tokenCount;

    /// @dev The maximum count of tokens this token tracker will issue.
    uint256 private immutable _maxAvailableSupply;

    /// Instanciate the contract
    /// @param maxSupply_ how many tokens this collection should hold
    constructor(uint256 maxSupply_, uint256 reserved_) {
        _maxAvailableSupply = maxSupply_ - reserved_;
    }

    function maxAvailableSupply() public view returns (uint256) {
        return _maxAvailableSupply;
    }

    /// @dev Get the current token count
    /// @return the created token count
    /// TODO: if this is not required externally, does making it `public view` use unnecessary gas?
    function tokenCount() public view returns (uint256) {
        return _tokenCount;
    }

    /// @dev Check whether tokens are still available
    /// @return the available token count
    function availableTokenCount() public view returns (uint256) {
        return maxAvailableSupply() - tokenCount();
    }

    /// @dev Increment the token count and fetch the latest count
    /// @return the next token id
    function nextToken() internal virtual ensureAvailability returns (uint256) {
        return _tokenCount++;
    }

    /// @dev Check whether another token is still available
    modifier ensureAvailability() {
        require(availableTokenCount() > 0, 'No more tokens available');
        _;
    }

    /// @param amount Check whether number of tokens are still available
    /// @dev Check whether tokens are still available
    modifier ensureAvailabilityFor(uint256 amount) {
        require(
            availableTokenCount() >= amount,
            'Requested number of tokens not available'
        );
        _;
    }
}

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":"_uri","type":"string"},{"internalType":"address","name":"_adminSigner","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":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SPUDS_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_OF_OG_SPUDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_OF_RESERVED_SPUDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SPUD_EMPEROR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activateClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToMints","outputs":[{"internalType":"uint256","name":"_numberOfFreeMintsByAddress","type":"uint256"},{"internalType":"uint256","name":"_numberOfWhitelistMintsByAddress","type":"uint256"},{"internalType":"uint256","name":"_numberOfMintsByAddress","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice_","type":"uint256"}],"name":"adjustDiscountedMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMintsPerAddress_","type":"uint256"}],"name":"adjustMaximumMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice_","type":"uint256"}],"name":"adjustMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"adminSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"allotted","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct PartySpudClub.Voucher","name":"voucher","type":"tuple"}],"name":"claimFreeMintTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"uint256[]","name":"idxsToClaim","type":"uint256[]"},{"internalType":"uint256[]","name":"idsOfOwner","type":"uint256[]"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct PartySpudClub.Voucher","name":"voucher","type":"tuple"}],"name":"claimOGTokensByIds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"},{"internalType":"uint256","name":"allotted","type":"uint256"},{"components":[{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"},{"internalType":"uint8","name":"v","type":"uint8"}],"internalType":"struct PartySpudClub.Voucher","name":"voucher","type":"tuple"}],"name":"claimWhitelistTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"communityTokensMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deactivateClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"payees_","type":"address[]"},{"internalType":"uint256[]","name":"amounts_","type":"uint256[]"}],"name":"disbursePayments","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"discountedSpudPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum PartySpudClub.SalePhase","name":"phase_","type":"uint8"}],"name":"enterPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAvailableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintSpud","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"phase","outputs":[{"internalType":"enum PartySpudClub.SalePhase","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"reserveCommunityTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"spudPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","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":[{"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":"newAddress_","type":"address"}],"name":"updateCommunityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60e060405273a54f87a652254baa2d1b39984a7e25022681ff41600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600b60006101000a81548160ff0219169083151502179055506000600b60016101000a81548160ff021916908360028111156200009d576200009c62000487565b5b021790555067016345785d8a0000600c5567010a741a46278000600d55600a600f55348015620000cc57600080fd5b50604051620065ef380380620065ef8339818101604052810190620000f29190620006b8565b602360c861037862000105919062000757565b62000111919062000757565b602360c862000121919062000757565b81816040518060400160405280600b81526020017f50617274792053707564730000000000000000000000000000000000000000008152506040518060400160405280600581526020017f53505544530000000000000000000000000000000000000000000000000000008152508160009080519060200190620001a7929190620003d7565b508060019080519060200190620001c0929190620003d7565b5050508082620001d19190620007b4565b608081815250505050600181620001e9919062000757565b60a081815250505050620002076000801b336200025c60201b60201c565b81600a90805190602001906200021f929190620003d7565b508073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1681525050505062000854565b6200026e82826200027260201b60201c565b5050565b6200028482826200036460201b60201c565b620003605760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000305620003cf60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600033905090565b828054620003e5906200081e565b90600052602060002090601f01602090048101928262000409576000855562000455565b82601f106200042457805160ff191683800117855562000455565b8280016001018555821562000455579182015b828111156200045457825182559160200191906001019062000437565b5b50905062000464919062000468565b5090565b5b808211156200048357600081600090555060010162000469565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200051f82620004d4565b810181811067ffffffffffffffff82111715620005415762000540620004e5565b5b80604052505050565b600062000556620004b6565b905062000564828262000514565b919050565b600067ffffffffffffffff821115620005875762000586620004e5565b5b6200059282620004d4565b9050602081019050919050565b60005b83811015620005bf578082015181840152602081019050620005a2565b83811115620005cf576000848401525b50505050565b6000620005ec620005e68462000569565b6200054a565b9050828152602081018484840111156200060b576200060a620004cf565b5b620006188482856200059f565b509392505050565b600082601f830112620006385762000637620004ca565b5b81516200064a848260208601620005d5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006808262000653565b9050919050565b620006928162000673565b81146200069e57600080fd5b50565b600081519050620006b28162000687565b92915050565b60008060408385031215620006d257620006d1620004c0565b5b600083015167ffffffffffffffff811115620006f357620006f2620004c5565b5b620007018582860162000620565b92505060206200071485828601620006a1565b9150509250929050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600062000764826200071e565b915062000771836200071e565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007a957620007a862000728565b5b828201905092915050565b6000620007c1826200071e565b9150620007ce836200071e565b925082821015620007e457620007e362000728565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200083757607f821691505b602082108114156200084e576200084d620007ef565b5b50919050565b60805160a05160c051615d646200088b600039600081816121c4015261245f0152600061305b01526000610fbf0152615d646000f3fe6080604052600436106102ae5760003560e01c80636352211e11610175578063b1c9fe6e116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c514610a79578063eb0b10d314610ab6578063f91e0d4114610ae1578063ff9d2dcc14610afd576102ae565b8063d547741f146109fa578063d563929d14610a23578063e14ca35314610a4e576102ae565b8063b1c9fe6e146108ea578063b375a08514610915578063b88d4fde1461093e578063b917a43614610967578063c87b56dd14610992578063d4a6a2fd146109cf576102ae565b806395d89b411161012e57806395d89b41146107ec5780639f181b5e146108175780639f2ebc0814610842578063a217fddf1461086b578063a22cb46514610896578063ae6a80d5146108bf576102ae565b80636352211e146106b157806363820f23146106ee5780636544b9241461072d57806370a082311461074957806377fc393e1461078657806391d14854146107af576102ae565b80632e7e87681161021957806336568abe116101d257806336568abe146105b957806342842e0e146105e2578063460b289c1461060b57806349f8767d146106345780634e99b8001461065d57806355f804b314610688576102ae565b80632e7e8768146104d15780632f2ff15d146104e85780633123387b1461051157806331cc967a1461053a578063323a81dd14610565578063336a045614610590576102ae565b80631b2d16951161026b5780631b2d1695146103d557806323b872dd146103fe578063248a9ca31461042757806324cf5f101461046457806329c90d301461048f5780632a2a474e146104ba576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b3146103585780630e586a1a1461038157806315f91c18146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d5919061395d565b610b28565b6040516102e791906139a5565b60405180910390f35b3480156102fc57600080fd5b50610305610b3a565b6040516103129190613a59565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613ab1565b610bcc565b60405161034f9190613b1f565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613b66565b610c51565b005b34801561038d57600080fd5b506103a860048036038101906103a39190613cf9565b610d69565b005b3480156103b657600080fd5b506103bf610fbb565b6040516103cc9190613d5b565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190613ab1565b610fe3565b005b34801561040a57600080fd5b5061042560048036038101906104209190613d76565b611018565b005b34801561043357600080fd5b5061044e60048036038101906104499190613dc9565b611078565b60405161045b9190613e05565b60405180910390f35b34801561047057600080fd5b50610479611098565b6040516104869190613d5b565b60405180910390f35b34801561049b57600080fd5b506104a461109d565b6040516104b19190613d5b565b60405180910390f35b3480156104c657600080fd5b506104cf6110a3565b005b3480156104dd57600080fd5b506104e66110eb565b005b3480156104f457600080fd5b5061050f600480360381019061050a9190613e20565b611133565b005b34801561051d57600080fd5b5061053860048036038101906105339190613e85565b611154565b005b34801561054657600080fd5b5061054f6111ac565b60405161055c9190613d5b565b60405180910390f35b34801561057157600080fd5b5061057a6111b2565b6040516105879190613d5b565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b29190613ab1565b6111b7565b005b3480156105c557600080fd5b506105e060048036038101906105db9190613e20565b6112e5565b005b3480156105ee57600080fd5b5061060960048036038101906106049190613d76565b611368565b005b34801561061757600080fd5b50610632600480360381019061062d9190613ab1565b611388565b005b34801561064057600080fd5b5061065b60048036038101906106569190613f17565b6113bd565b005b34801561066957600080fd5b506106726114f3565b60405161067f9190613a59565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa9190614073565b611581565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190613ab1565b6115c6565b6040516106e59190613b1f565b60405180910390f35b3480156106fa57600080fd5b50610715600480360381019061071091906140bc565b611678565b604051610724939291906140e9565b60405180910390f35b61074760048036038101906107429190613cf9565b6116a2565b005b34801561075557600080fd5b50610770600480360381019061076b91906140bc565b611995565b60405161077d9190613d5b565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a891906142a6565b611a4d565b005b3480156107bb57600080fd5b506107d660048036038101906107d19190613e20565b611b1e565b6040516107e391906139a5565b60405180910390f35b3480156107f857600080fd5b50610801611b89565b60405161080e9190613a59565b60405180910390f35b34801561082357600080fd5b5061082c611c1b565b6040516108399190613d5b565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906140bc565b611c25565b005b34801561087757600080fd5b50610880611c94565b60405161088d9190613e05565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b8919061434a565b611c9b565b005b3480156108cb57600080fd5b506108d4611cb1565b6040516108e19190613d5b565b60405180910390f35b3480156108f657600080fd5b506108ff611cb7565b60405161090c9190614401565b60405180910390f35b34801561092157600080fd5b5061093c60048036038101906109379190613ab1565b611cca565b005b34801561094a57600080fd5b50610965600480360381019061096091906144bd565b611cff565b005b34801561097357600080fd5b5061097c611d61565b6040516109899190613e05565b60405180910390f35b34801561099e57600080fd5b506109b960048036038101906109b49190613ab1565b611d85565b6040516109c69190613a59565b60405180910390f35b3480156109db57600080fd5b506109e4611e36565b6040516109f191906139a5565b60405180910390f35b348015610a0657600080fd5b50610a216004803603810190610a1c9190613e20565b611e49565b005b348015610a2f57600080fd5b50610a38611e6a565b604051610a459190613d5b565b60405180910390f35b348015610a5a57600080fd5b50610a63611e70565b604051610a709190613d5b565b60405180910390f35b348015610a8557600080fd5b50610aa06004803603810190610a9b9190614540565b611e91565b604051610aad91906139a5565b60405180910390f35b348015610ac257600080fd5b50610acb611f25565b604051610ad89190613d5b565b60405180910390f35b610afb6004803603810190610af69190613ab1565b611f2b565b005b348015610b0957600080fd5b50610b126121c2565b604051610b1f9190613b1f565b60405180910390f35b6000610b33826121e6565b9050919050565b606060008054610b49906145af565b80601f0160208091040260200160405190810160405280929190818152602001828054610b75906145af565b8015610bc25780601f10610b9757610100808354040283529160200191610bc2565b820191906000526020600020905b815481529060010190602001808311610ba557829003601f168201915b5050505050905090565b6000610bd782612260565b610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d90614653565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5c826115c6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc4906146e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cec6122cc565b73ffffffffffffffffffffffffffffffffffffffff161480610d1b5750610d1a81610d156122cc565b611e91565b5b610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5190614777565b60405180910390fd5b610d6483836122d4565b505050565b8280610d73611e70565b1015610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90614809565b60405180910390fd5b60016002811115610dc857610dc761438a565b5b600b60019054906101000a900460ff166002811115610dea57610de961438a565b5b14610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190614875565b60405180910390fd5b600060018433604051602001610e42939291906148dd565b604051602081830303815290604052805190602001209050610e64818461238d565b610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90614960565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015486610ef291906149af565b1115610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90614a51565b60405180910390fd5b84601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254610f8591906149af565b9250508190555060005b85811015610fb357610fa0336124b5565b8080610fab90614a71565b915050610f8f565b505050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf61100d81612512565b81600d819055505050565b6110296110236122cc565b82612526565b611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90614b2c565b60405180910390fd5b611073838383612604565b505050565b600060066000838152602001908152602001600020600101549050919050565b60c881565b61037881565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6110cd81612512565b6000600b60006101000a81548160ff02191690831515021790555050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf61111581612512565b6001600b60006101000a81548160ff02191690831515021790555050565b61113c82611078565b61114581612512565b61114f838361286b565b505050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf61117e81612512565b81600b60016101000a81548160ff021916908360028111156111a3576111a261438a565b5b02179055505050565b600d5481565b602381565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6111e181612512565b81806111eb611e70565b101561122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390614809565b60405180910390fd5b6045600e548461123c91906149af565b111561127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490614bbe565b60405180910390fd5b60005b838110156112c6576112b3600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166124b5565b80806112be90614a71565b915050611280565b5082600e60008282546112d991906149af565b92505081905550505050565b6112ed6122cc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461135a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135190614c50565b60405180910390fd5b611364828261294c565b5050565b61138383838360405180602001604052806000815250611cff565b505050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6113b281612512565b81600c819055505050565b600b60009054906101000a900460ff1661140c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140390614cbc565b60405180910390fd5b6000808484896040516020016114259493929190614d4e565b604051602081830303815290604052805190602001209050611447818361238d565b611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614960565b60405180910390fd5b60005b868690508110156114e957600085858989858181106114ab576114aa614d8e565b5b905060200201358181106114c2576114c1614d8e565b5b9050602002013590506114d58982612a2e565b5080806114e190614a71565b915050611489565b5050505050505050565b600a8054611500906145af565b80601f016020809104026020016040519081016040528092919081815260200182805461152c906145af565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b505050505081565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6115ab81612512565b81600a90805190602001906115c192919061384e565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561166f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166690614e2f565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090508060000154908060010154908060020154905083565b823481600d546116b29190614e4f565b11156116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90614ef5565b60405180910390fd5b83806116fd611e70565b101561173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590614809565b60405180910390fd5b600160028111156117525761175161438a565b5b600b60019054906101000a900460ff1660028111156117745761177361438a565b5b146117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90614875565b60405180910390fd5b600b60009054906101000a900460ff16611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa90614cbc565b60405180910390fd5b60006002853360405160200161181b939291906148dd565b60405160208183030381529060405280519060200120905061183d818561238d565b61187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390614960565b60405180910390fd5b84601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154876118cb91906149af565b111561190c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190390614a51565b60405180910390fd5b85601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101600082825461195e91906149af565b9250508190555060005b8681101561198c57611979336124b5565b808061198490614a71565b915050611968565b50505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90614f87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf611a7781612512565b8151835114611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290615019565b60405180910390fd5b60005b8351811015611b1857611b05848281518110611add57611adc614d8e565b5b6020026020010151848381518110611af857611af7614d8e565b5b6020026020010151612a6e565b8080611b1090614a71565b915050611abe565b50505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611b98906145af565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc4906145af565b8015611c115780601f10611be657610100808354040283529160200191611c11565b820191906000526020600020905b815481529060010190602001808311611bf457829003601f168201915b5050505050905090565b6000600754905090565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf611c4f81612512565b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b81565b611cad611ca66122cc565b8383612b1f565b5050565b600f5481565b600b60019054906101000a900460ff1681565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf611cf481612512565b81600f819055505050565b611d10611d0a6122cc565b83612526565b611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690614b2c565b60405180910390fd5b611d5b84848484612c8c565b50505050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf81565b6060611d9082612260565b611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc690615085565b60405180910390fd5b6000600a8054611dde906145af565b905011611e0357604051806060016040528060288152602001615d0760289139611e2f565b600a611e0e83612ce8565b604051602001611e1f9291906151c1565b6040516020818303038152906040525b9050919050565b600b60009054906101000a900460ff1681565b611e5282611078565b611e5b81612512565b611e65838361294c565b505050565b600e5481565b6000611e7a611c1b565b611e82610fbb565b611e8c91906151f0565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b803481600c54611f3b9190614e4f565b1115611f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7390614ef5565b60405180910390fd5b8180611f86611e70565b1015611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614809565b60405180910390fd5b600280811115611fda57611fd961438a565b5b600b60019054906101000a900460ff166002811115611ffc57611ffb61438a565b5b1461203c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203390615270565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190615302565b60405180910390fd5b600f54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154846120fb91906149af565b111561213c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121339061536e565b60405180910390fd5b82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201600082825461218e91906149af565b9250508190555060005b838110156121bc576121a9336124b5565b80806121b490614a71565b915050612198565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612259575061225882612e49565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612347836115c6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600184846040015185600001518660200151604051600081526020016040526040516123bf949392919061539d565b6020604051602081039080840390855afa1580156123e1573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561245d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124549061542e565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b60006124bf612f2b565b9050602360c86124cf91906149af565b811180156124f75750602360c86103786124e991906149af565b6124f391906149af565b8111155b6125045761250361544e565b5b61250e828261308d565b5050565b6125238161251e6122cc565b6130ab565b50565b600061253182612260565b612570576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612567906154ef565b60405180910390fd5b600061257b836115c6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125bd57506125bc8185611e91565b5b806125fb57508373ffffffffffffffffffffffffffffffffffffffff166125e384610bcc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612624826115c6565b73ffffffffffffffffffffffffffffffffffffffff161461267a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267190615581565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e190615613565b60405180910390fd5b6126f5838383613148565b6127006000826122d4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275091906151f0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a791906149af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461286683838361314d565b505050565b6128758282611b1e565b6129485760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506128ed6122cc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6129568282611b1e565b15612a2a5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129cf6122cc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000811415612a4057612a3f61544e565b5b60c8811115612a5257612a5161544e565b5b612a5b81612260565b612a6a57612a69828261308d565b5b5050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612a9490615664565b60006040518083038185875af1925050503d8060008114612ad1576040519150601f19603f3d011682016040523d82523d6000602084013e612ad6565b606091505b5050905080612b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b11906156c5565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8590615731565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c7f91906139a5565b60405180910390a3505050565b612c97848484612604565b612ca384848484613152565b612ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd9906157c3565b60405180910390fd5b50505050565b60606000821415612d30576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e44565b600082905060005b60008214612d62578080612d4b90614a71565b915050600a82612d5b9190615812565b9150612d38565b60008167ffffffffffffffff811115612d7e57612d7d613bab565b5b6040519080825280601f01601f191660200182016040528015612db05781602001600182028036833780820191505090505b5090505b60008514612e3d57600182612dc991906151f0565b9150600a85612dd89190615843565b6030612de491906149af565b60f81b818381518110612dfa57612df9614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e369190615812565b9450612db4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f245750612f23826132e9565b5b9050919050565b600080612f36611c1b565b612f3e610fbb565b612f4891906151f0565b90506000813341444542604051602001612f66959493929190615918565b6040516020818303038152906040528051906020012060001c612f899190615843565b905060008060086000848152602001908152602001600020541415612fb057819050612fc7565b600860008381526020019081526020016000205490505b600060086000600186612fda91906151f0565b815260200190815260200160002054141561301857600183612ffc91906151f0565b6008600084815260200190815260200160002081905550613050565b6008600060018561302991906151f0565b81526020019081526020016000205460086000848152602001908152602001600020819055505b613058613353565b507f00000000000000000000000000000000000000000000000000000000000000008161308591906149af565b935050505090565b6130a78282604051806020016040528060008152506133ba565b5050565b6130b58282611b1e565b613144576130da8173ffffffffffffffffffffffffffffffffffffffff166014613415565b6130e88360001c6020613415565b6040516020016130f9929190615a0f565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313b9190613a59565b60405180910390fd5b5050565b505050565b505050565b60006131738473ffffffffffffffffffffffffffffffffffffffff16613651565b156132dc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261319c6122cc565b8786866040518563ffffffff1660e01b81526004016131be9493929190615a9e565b602060405180830381600087803b1580156131d857600080fd5b505af192505050801561320957506040513d601f19601f820116820180604052508101906132069190615aff565b60015b61328c573d8060008114613239576040519150601f19603f3d011682016040523d82523d6000602084013e61323e565b606091505b50600081511415613284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327b906157c3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132e1565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008061335e611e70565b1161339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590615b78565b60405180910390fd5b600760008154809291906133b190614a71565b91905055905090565b6133c48383613674565b6133d16000848484613152565b613410576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613407906157c3565b60405180910390fd5b505050565b6060600060028360026134289190614e4f565b61343291906149af565b67ffffffffffffffff81111561344b5761344a613bab565b5b6040519080825280601f01601f19166020018201604052801561347d5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134b5576134b4614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061351957613518614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135599190614e4f565b61356391906149af565b90505b6001811115613603577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106135a5576135a4614d8e565b5b1a60f81b8282815181106135bc576135bb614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806135fc90615b98565b9050613566565b5060008414613647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363e90615c0e565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136db90615c7a565b60405180910390fd5b6136ed81612260565b1561372d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372490615ce6565b60405180910390fd5b61373960008383613148565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461378991906149af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461384a6000838361314d565b5050565b82805461385a906145af565b90600052602060002090601f01602090048101928261387c57600085556138c3565b82601f1061389557805160ff19168380011785556138c3565b828001600101855582156138c3579182015b828111156138c25782518255916020019190600101906138a7565b5b5090506138d091906138d4565b5090565b5b808211156138ed5760008160009055506001016138d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61393a81613905565b811461394557600080fd5b50565b60008135905061395781613931565b92915050565b600060208284031215613973576139726138fb565b5b600061398184828501613948565b91505092915050565b60008115159050919050565b61399f8161398a565b82525050565b60006020820190506139ba6000830184613996565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139fa5780820151818401526020810190506139df565b83811115613a09576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a2b826139c0565b613a3581856139cb565b9350613a458185602086016139dc565b613a4e81613a0f565b840191505092915050565b60006020820190508181036000830152613a738184613a20565b905092915050565b6000819050919050565b613a8e81613a7b565b8114613a9957600080fd5b50565b600081359050613aab81613a85565b92915050565b600060208284031215613ac757613ac66138fb565b5b6000613ad584828501613a9c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b0982613ade565b9050919050565b613b1981613afe565b82525050565b6000602082019050613b346000830184613b10565b92915050565b613b4381613afe565b8114613b4e57600080fd5b50565b600081359050613b6081613b3a565b92915050565b60008060408385031215613b7d57613b7c6138fb565b5b6000613b8b85828601613b51565b9250506020613b9c85828601613a9c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613be382613a0f565b810181811067ffffffffffffffff82111715613c0257613c01613bab565b5b80604052505050565b6000613c156138f1565b9050613c218282613bda565b919050565b6000819050919050565b613c3981613c26565b8114613c4457600080fd5b50565b600081359050613c5681613c30565b92915050565b600060ff82169050919050565b613c7281613c5c565b8114613c7d57600080fd5b50565b600081359050613c8f81613c69565b92915050565b600060608284031215613cab57613caa613ba6565b5b613cb56060613c0b565b90506000613cc584828501613c47565b6000830152506020613cd984828501613c47565b6020830152506040613ced84828501613c80565b60408301525092915050565b600080600060a08486031215613d1257613d116138fb565b5b6000613d2086828701613a9c565b9350506020613d3186828701613a9c565b9250506040613d4286828701613c95565b9150509250925092565b613d5581613a7b565b82525050565b6000602082019050613d706000830184613d4c565b92915050565b600080600060608486031215613d8f57613d8e6138fb565b5b6000613d9d86828701613b51565b9350506020613dae86828701613b51565b9250506040613dbf86828701613a9c565b9150509250925092565b600060208284031215613ddf57613dde6138fb565b5b6000613ded84828501613c47565b91505092915050565b613dff81613c26565b82525050565b6000602082019050613e1a6000830184613df6565b92915050565b60008060408385031215613e3757613e366138fb565b5b6000613e4585828601613c47565b9250506020613e5685828601613b51565b9150509250929050565b60038110613e6d57600080fd5b50565b600081359050613e7f81613e60565b92915050565b600060208284031215613e9b57613e9a6138fb565b5b6000613ea984828501613e70565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613ed757613ed6613eb2565b5b8235905067ffffffffffffffff811115613ef457613ef3613eb7565b5b602083019150836020820283011115613f1057613f0f613ebc565b5b9250929050565b60008060008060008060c08789031215613f3457613f336138fb565b5b6000613f4289828a01613b51565b965050602087013567ffffffffffffffff811115613f6357613f62613900565b5b613f6f89828a01613ec1565b9550955050604087013567ffffffffffffffff811115613f9257613f91613900565b5b613f9e89828a01613ec1565b93509350506060613fb189828a01613c95565b9150509295509295509295565b600080fd5b600067ffffffffffffffff821115613fde57613fdd613bab565b5b613fe782613a0f565b9050602081019050919050565b82818337600083830152505050565b600061401661401184613fc3565b613c0b565b90508281526020810184848401111561403257614031613fbe565b5b61403d848285613ff4565b509392505050565b600082601f83011261405a57614059613eb2565b5b813561406a848260208601614003565b91505092915050565b600060208284031215614089576140886138fb565b5b600082013567ffffffffffffffff8111156140a7576140a6613900565b5b6140b384828501614045565b91505092915050565b6000602082840312156140d2576140d16138fb565b5b60006140e084828501613b51565b91505092915050565b60006060820190506140fe6000830186613d4c565b61410b6020830185613d4c565b6141186040830184613d4c565b949350505050565b600067ffffffffffffffff82111561413b5761413a613bab565b5b602082029050602081019050919050565b600061415f61415a84614120565b613c0b565b9050808382526020820190506020840283018581111561418257614181613ebc565b5b835b818110156141ab57806141978882613b51565b845260208401935050602081019050614184565b5050509392505050565b600082601f8301126141ca576141c9613eb2565b5b81356141da84826020860161414c565b91505092915050565b600067ffffffffffffffff8211156141fe576141fd613bab565b5b602082029050602081019050919050565b600061422261421d846141e3565b613c0b565b9050808382526020820190506020840283018581111561424557614244613ebc565b5b835b8181101561426e578061425a8882613a9c565b845260208401935050602081019050614247565b5050509392505050565b600082601f83011261428d5761428c613eb2565b5b813561429d84826020860161420f565b91505092915050565b600080604083850312156142bd576142bc6138fb565b5b600083013567ffffffffffffffff8111156142db576142da613900565b5b6142e7858286016141b5565b925050602083013567ffffffffffffffff81111561430857614307613900565b5b61431485828601614278565b9150509250929050565b6143278161398a565b811461433257600080fd5b50565b6000813590506143448161431e565b92915050565b60008060408385031215614361576143606138fb565b5b600061436f85828601613b51565b925050602061438085828601614335565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106143ca576143c961438a565b5b50565b60008190506143db826143b9565b919050565b60006143eb826143cd565b9050919050565b6143fb816143e0565b82525050565b600060208201905061441660008301846143f2565b92915050565b600067ffffffffffffffff82111561443757614436613bab565b5b61444082613a0f565b9050602081019050919050565b600061446061445b8461441c565b613c0b565b90508281526020810184848401111561447c5761447b613fbe565b5b614487848285613ff4565b509392505050565b600082601f8301126144a4576144a3613eb2565b5b81356144b484826020860161444d565b91505092915050565b600080600080608085870312156144d7576144d66138fb565b5b60006144e587828801613b51565b94505060206144f687828801613b51565b935050604061450787828801613a9c565b925050606085013567ffffffffffffffff81111561452857614527613900565b5b6145348782880161448f565b91505092959194509250565b60008060408385031215614557576145566138fb565b5b600061456585828601613b51565b925050602061457685828601613b51565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145c757607f821691505b602082108114156145db576145da614580565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061463d602c836139cb565b9150614648826145e1565b604082019050919050565b6000602082019050818103600083015261466c81614630565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146cf6021836139cb565b91506146da82614673565b604082019050919050565b600060208201905081810360008301526146fe816146c2565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006147616038836139cb565b915061476c82614705565b604082019050919050565b6000602082019050818103600083015261479081614754565b9050919050565b7f526571756573746564206e756d626572206f6620746f6b656e73206e6f74206160008201527f7661696c61626c65000000000000000000000000000000000000000000000000602082015250565b60006147f36028836139cb565b91506147fe82614797565b604082019050919050565b60006020820190508181036000830152614822816147e6565b9050919050565b7f5072652d73616c65206973206e6f742061637469766500000000000000000000600082015250565b600061485f6016836139cb565b915061486a82614829565b602082019050919050565b6000602082019050818103600083015261488e81614852565b9050919050565b600381106148a6576148a561438a565b5b50565b60008190506148b782614895565b919050565b60006148c7826148a9565b9050919050565b6148d7816148bc565b82525050565b60006060820190506148f260008301866148ce565b6148ff6020830185613d4c565b61490c6040830184613b10565b949350505050565b7f496e76616c696420766f75636865720000000000000000000000000000000000600082015250565b600061494a600f836139cb565b915061495582614914565b602082019050919050565b600060208201905081810360008301526149798161493d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149ba82613a7b565b91506149c583613a7b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149fa576149f9614980565b5b828201905092915050565b7f45786365656473206e756d626572206f66206561726e65642053707564730000600082015250565b6000614a3b601e836139cb565b9150614a4682614a05565b602082019050919050565b60006020820190508181036000830152614a6a81614a2e565b9050919050565b6000614a7c82613a7b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aaf57614aae614980565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614b166031836139cb565b9150614b2182614aba565b604082019050919050565b60006020820190508181036000830152614b4581614b09565b9050919050565b7f457863656564732074686520616c6c6f77656420737570706c79206f6620636f60008201527f6d6d756e69747920746f6b656e73000000000000000000000000000000000000602082015250565b6000614ba8602e836139cb565b9150614bb382614b4c565b604082019050919050565b60006020820190508181036000830152614bd781614b9b565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614c3a602f836139cb565b9150614c4582614bde565b604082019050919050565b60006020820190508181036000830152614c6981614c2d565b9050919050565b7f436c61696d206576656e74206973206e6f742061637469766500000000000000600082015250565b6000614ca66019836139cb565b9150614cb182614c70565b602082019050919050565b60006020820190508181036000830152614cd581614c99565b9050919050565b600082825260208201905092915050565b600080fd5b6000614cfe8385614cdc565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614d3157614d30614ced565b5b602083029250614d42838584613ff4565b82840190509392505050565b6000606082019050614d6360008301876148ce565b8181036020830152614d76818587614cf2565b9050614d856040830184613b10565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614e196029836139cb565b9150614e2482614dbd565b604082019050919050565b60006020820190508181036000830152614e4881614e0c565b9050919050565b6000614e5a82613a7b565b9150614e6583613a7b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e9e57614e9d614980565b5b828202905092915050565b7f596f752068617665206e6f742073656e7420656e6f7567682065746865720000600082015250565b6000614edf601e836139cb565b9150614eea82614ea9565b602082019050919050565b60006020820190508181036000830152614f0e81614ed2565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614f71602a836139cb565b9150614f7c82614f15565b604082019050919050565b60006020820190508181036000830152614fa081614f64565b9050919050565b7f50617965657320616e6420616d6f756e7473206c656e677468206d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b60006150036022836139cb565b915061500e82614fa7565b604082019050919050565b6000602082019050818103600083015261503281614ff6565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b600061506f601f836139cb565b915061507a82615039565b602082019050919050565b6000602082019050818103600083015261509e81615062565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546150d2816145af565b6150dc81866150a5565b945060018216600081146150f757600181146151085761513b565b60ff1983168652818601935061513b565b615111856150b0565b60005b8381101561513357815481890152600182019150602081019050615114565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061517a6001836150a5565b915061518582615144565b600182019050919050565b600061519b826139c0565b6151a581856150a5565b93506151b58185602086016139dc565b80840191505092915050565b60006151cd82856150c5565b91506151d88261516d565b91506151e48284615190565b91508190509392505050565b60006151fb82613a7b565b915061520683613a7b565b92508282101561521957615218614980565b5b828203905092915050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b600061525a6019836139cb565b915061526582615224565b602082019050919050565b600060208201905081810360008301526152898161524d565b9050919050565b7f536d61727420636f6e74726163747320617265206e6f7420616c6c6f7765642060008201527f746f206d696e7400000000000000000000000000000000000000000000000000602082015250565b60006152ec6027836139cb565b91506152f782615290565b604082019050919050565b6000602082019050818103600083015261531b816152df565b9050919050565b7f45786365656473206d6178696d756d20616c6c6f7761626c65206d696e747300600082015250565b6000615358601f836139cb565b915061536382615322565b602082019050919050565b600060208201905081810360008301526153878161534b565b9050919050565b61539781613c5c565b82525050565b60006080820190506153b26000830187613df6565b6153bf602083018661538e565b6153cc6040830185613df6565b6153d96060830184613df6565b95945050505050565b7f45434453413a20696e76616c696420766f756368657200000000000000000000600082015250565b60006154186016836139cb565b9150615423826153e2565b602082019050919050565b600060208201905081810360008301526154478161540b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006154d9602c836139cb565b91506154e48261547d565b604082019050919050565b60006020820190508181036000830152615508816154cc565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061556b6025836139cb565b91506155768261550f565b604082019050919050565b6000602082019050818103600083015261559a8161555e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006155fd6024836139cb565b9150615608826155a1565b604082019050919050565b6000602082019050818103600083015261562c816155f0565b9050919050565b600081905092915050565b50565b600061564e600083615633565b91506156598261563e565b600082019050919050565b600061566f82615641565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006156af6010836139cb565b91506156ba82615679565b602082019050919050565b600060208201905081810360008301526156de816156a2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061571b6019836139cb565b9150615726826156e5565b602082019050919050565b6000602082019050818103600083015261574a8161570e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006157ad6032836139cb565b91506157b882615751565b604082019050919050565b600060208201905081810360008301526157dc816157a0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061581d82613a7b565b915061582883613a7b565b925082615838576158376157e3565b5b828204905092915050565b600061584e82613a7b565b915061585983613a7b565b925082615869576158686157e3565b5b828206905092915050565b60008160601b9050919050565b600061588c82615874565b9050919050565b600061589e82615881565b9050919050565b6158b66158b182613afe565b615893565b82525050565b60006158c782613ade565b9050919050565b60006158d982615881565b9050919050565b6158f16158ec826158bc565b6158ce565b82525050565b6000819050919050565b61591261590d82613a7b565b6158f7565b82525050565b600061592482886158a5565b60148201915061593482876158e0565b6014820191506159448286615901565b6020820191506159548285615901565b6020820191506159648284615901565b6020820191508190509695505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006159ad6017836150a5565b91506159b882615977565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006159f96011836150a5565b9150615a04826159c3565b601182019050919050565b6000615a1a826159a0565b9150615a268285615190565b9150615a31826159ec565b9150615a3d8284615190565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615a7082615a49565b615a7a8185615a54565b9350615a8a8185602086016139dc565b615a9381613a0f565b840191505092915050565b6000608082019050615ab36000830187613b10565b615ac06020830186613b10565b615acd6040830185613d4c565b8181036060830152615adf8184615a65565b905095945050505050565b600081519050615af981613931565b92915050565b600060208284031215615b1557615b146138fb565b5b6000615b2384828501615aea565b91505092915050565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b6000615b626018836139cb565b9150615b6d82615b2c565b602082019050919050565b60006020820190508181036000830152615b9181615b55565b9050919050565b6000615ba382613a7b565b91506000821415615bb757615bb6614980565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615bf86020836139cb565b9150615c0382615bc2565b602082019050919050565b60006020820190508181036000830152615c2781615beb565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615c646020836139cb565b9150615c6f82615c2e565b602082019050919050565b60006020820190508181036000830152615c9381615c57565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615cd0601c836139cb565b9150615cdb82615c9a565b602082019050919050565b60006020820190508181036000830152615cff81615cc3565b905091905056fe68747470733a2f2f6170692e746865706172747973707564636c75622e696f2f6d65746164617461a264697066735822122029a7755db3ecebf97c245eceea0ee364e596709a0d68d0deb83ea6a6d8e2b17964736f6c634300080900330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c1d7dbd73af45f7bcd5bed3049dc9da4c75c79a0000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6170692e746865706172747973707564636c75622e696f2f6d65746164617461000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102ae5760003560e01c80636352211e11610175578063b1c9fe6e116100dc578063d547741f11610095578063e985e9c51161006f578063e985e9c514610a79578063eb0b10d314610ab6578063f91e0d4114610ae1578063ff9d2dcc14610afd576102ae565b8063d547741f146109fa578063d563929d14610a23578063e14ca35314610a4e576102ae565b8063b1c9fe6e146108ea578063b375a08514610915578063b88d4fde1461093e578063b917a43614610967578063c87b56dd14610992578063d4a6a2fd146109cf576102ae565b806395d89b411161012e57806395d89b41146107ec5780639f181b5e146108175780639f2ebc0814610842578063a217fddf1461086b578063a22cb46514610896578063ae6a80d5146108bf576102ae565b80636352211e146106b157806363820f23146106ee5780636544b9241461072d57806370a082311461074957806377fc393e1461078657806391d14854146107af576102ae565b80632e7e87681161021957806336568abe116101d257806336568abe146105b957806342842e0e146105e2578063460b289c1461060b57806349f8767d146106345780634e99b8001461065d57806355f804b314610688576102ae565b80632e7e8768146104d15780632f2ff15d146104e85780633123387b1461051157806331cc967a1461053a578063323a81dd14610565578063336a045614610590576102ae565b80631b2d16951161026b5780631b2d1695146103d557806323b872dd146103fe578063248a9ca31461042757806324cf5f101461046457806329c90d301461048f5780632a2a474e146104ba576102ae565b806301ffc9a7146102b357806306fdde03146102f0578063081812fc1461031b578063095ea7b3146103585780630e586a1a1461038157806315f91c18146103aa575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d5919061395d565b610b28565b6040516102e791906139a5565b60405180910390f35b3480156102fc57600080fd5b50610305610b3a565b6040516103129190613a59565b60405180910390f35b34801561032757600080fd5b50610342600480360381019061033d9190613ab1565b610bcc565b60405161034f9190613b1f565b60405180910390f35b34801561036457600080fd5b5061037f600480360381019061037a9190613b66565b610c51565b005b34801561038d57600080fd5b506103a860048036038101906103a39190613cf9565b610d69565b005b3480156103b657600080fd5b506103bf610fbb565b6040516103cc9190613d5b565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f79190613ab1565b610fe3565b005b34801561040a57600080fd5b5061042560048036038101906104209190613d76565b611018565b005b34801561043357600080fd5b5061044e60048036038101906104499190613dc9565b611078565b60405161045b9190613e05565b60405180910390f35b34801561047057600080fd5b50610479611098565b6040516104869190613d5b565b60405180910390f35b34801561049b57600080fd5b506104a461109d565b6040516104b19190613d5b565b60405180910390f35b3480156104c657600080fd5b506104cf6110a3565b005b3480156104dd57600080fd5b506104e66110eb565b005b3480156104f457600080fd5b5061050f600480360381019061050a9190613e20565b611133565b005b34801561051d57600080fd5b5061053860048036038101906105339190613e85565b611154565b005b34801561054657600080fd5b5061054f6111ac565b60405161055c9190613d5b565b60405180910390f35b34801561057157600080fd5b5061057a6111b2565b6040516105879190613d5b565b60405180910390f35b34801561059c57600080fd5b506105b760048036038101906105b29190613ab1565b6111b7565b005b3480156105c557600080fd5b506105e060048036038101906105db9190613e20565b6112e5565b005b3480156105ee57600080fd5b5061060960048036038101906106049190613d76565b611368565b005b34801561061757600080fd5b50610632600480360381019061062d9190613ab1565b611388565b005b34801561064057600080fd5b5061065b60048036038101906106569190613f17565b6113bd565b005b34801561066957600080fd5b506106726114f3565b60405161067f9190613a59565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa9190614073565b611581565b005b3480156106bd57600080fd5b506106d860048036038101906106d39190613ab1565b6115c6565b6040516106e59190613b1f565b60405180910390f35b3480156106fa57600080fd5b50610715600480360381019061071091906140bc565b611678565b604051610724939291906140e9565b60405180910390f35b61074760048036038101906107429190613cf9565b6116a2565b005b34801561075557600080fd5b50610770600480360381019061076b91906140bc565b611995565b60405161077d9190613d5b565b60405180910390f35b34801561079257600080fd5b506107ad60048036038101906107a891906142a6565b611a4d565b005b3480156107bb57600080fd5b506107d660048036038101906107d19190613e20565b611b1e565b6040516107e391906139a5565b60405180910390f35b3480156107f857600080fd5b50610801611b89565b60405161080e9190613a59565b60405180910390f35b34801561082357600080fd5b5061082c611c1b565b6040516108399190613d5b565b60405180910390f35b34801561084e57600080fd5b50610869600480360381019061086491906140bc565b611c25565b005b34801561087757600080fd5b50610880611c94565b60405161088d9190613e05565b60405180910390f35b3480156108a257600080fd5b506108bd60048036038101906108b8919061434a565b611c9b565b005b3480156108cb57600080fd5b506108d4611cb1565b6040516108e19190613d5b565b60405180910390f35b3480156108f657600080fd5b506108ff611cb7565b60405161090c9190614401565b60405180910390f35b34801561092157600080fd5b5061093c60048036038101906109379190613ab1565b611cca565b005b34801561094a57600080fd5b50610965600480360381019061096091906144bd565b611cff565b005b34801561097357600080fd5b5061097c611d61565b6040516109899190613e05565b60405180910390f35b34801561099e57600080fd5b506109b960048036038101906109b49190613ab1565b611d85565b6040516109c69190613a59565b60405180910390f35b3480156109db57600080fd5b506109e4611e36565b6040516109f191906139a5565b60405180910390f35b348015610a0657600080fd5b50610a216004803603810190610a1c9190613e20565b611e49565b005b348015610a2f57600080fd5b50610a38611e6a565b604051610a459190613d5b565b60405180910390f35b348015610a5a57600080fd5b50610a63611e70565b604051610a709190613d5b565b60405180910390f35b348015610a8557600080fd5b50610aa06004803603810190610a9b9190614540565b611e91565b604051610aad91906139a5565b60405180910390f35b348015610ac257600080fd5b50610acb611f25565b604051610ad89190613d5b565b60405180910390f35b610afb6004803603810190610af69190613ab1565b611f2b565b005b348015610b0957600080fd5b50610b126121c2565b604051610b1f9190613b1f565b60405180910390f35b6000610b33826121e6565b9050919050565b606060008054610b49906145af565b80601f0160208091040260200160405190810160405280929190818152602001828054610b75906145af565b8015610bc25780601f10610b9757610100808354040283529160200191610bc2565b820191906000526020600020905b815481529060010190602001808311610ba557829003601f168201915b5050505050905090565b6000610bd782612260565b610c16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0d90614653565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5c826115c6565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ccd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc4906146e5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cec6122cc565b73ffffffffffffffffffffffffffffffffffffffff161480610d1b5750610d1a81610d156122cc565b611e91565b5b610d5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5190614777565b60405180910390fd5b610d6483836122d4565b505050565b8280610d73611e70565b1015610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab90614809565b60405180910390fd5b60016002811115610dc857610dc761438a565b5b600b60019054906101000a900460ff166002811115610dea57610de961438a565b5b14610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190614875565b60405180910390fd5b600060018433604051602001610e42939291906148dd565b604051602081830303815290604052805190602001209050610e64818461238d565b610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90614960565b60405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015486610ef291906149af565b1115610f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2a90614a51565b60405180910390fd5b84601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000016000828254610f8591906149af565b9250508190555060005b85811015610fb357610fa0336124b5565b8080610fab90614a71565b915050610f8f565b505050505050565b60007f0000000000000000000000000000000000000000000000000000000000000378905090565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf61100d81612512565b81600d819055505050565b6110296110236122cc565b82612526565b611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f90614b2c565b60405180910390fd5b611073838383612604565b505050565b600060066000838152602001908152602001600020600101549050919050565b60c881565b61037881565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6110cd81612512565b6000600b60006101000a81548160ff02191690831515021790555050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf61111581612512565b6001600b60006101000a81548160ff02191690831515021790555050565b61113c82611078565b61114581612512565b61114f838361286b565b505050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf61117e81612512565b81600b60016101000a81548160ff021916908360028111156111a3576111a261438a565b5b02179055505050565b600d5481565b602381565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6111e181612512565b81806111eb611e70565b101561122c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122390614809565b60405180910390fd5b6045600e548461123c91906149af565b111561127d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127490614bbe565b60405180910390fd5b60005b838110156112c6576112b3600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166124b5565b80806112be90614a71565b915050611280565b5082600e60008282546112d991906149af565b92505081905550505050565b6112ed6122cc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461135a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135190614c50565b60405180910390fd5b611364828261294c565b5050565b61138383838360405180602001604052806000815250611cff565b505050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6113b281612512565b81600c819055505050565b600b60009054906101000a900460ff1661140c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140390614cbc565b60405180910390fd5b6000808484896040516020016114259493929190614d4e565b604051602081830303815290604052805190602001209050611447818361238d565b611486576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147d90614960565b60405180910390fd5b60005b868690508110156114e957600085858989858181106114ab576114aa614d8e565b5b905060200201358181106114c2576114c1614d8e565b5b9050602002013590506114d58982612a2e565b5080806114e190614a71565b915050611489565b5050505050505050565b600a8054611500906145af565b80601f016020809104026020016040519081016040528092919081815260200182805461152c906145af565b80156115795780601f1061154e57610100808354040283529160200191611579565b820191906000526020600020905b81548152906001019060200180831161155c57829003601f168201915b505050505081565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf6115ab81612512565b81600a90805190602001906115c192919061384e565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561166f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166690614e2f565b60405180910390fd5b80915050919050565b60106020528060005260406000206000915090508060000154908060010154908060020154905083565b823481600d546116b29190614e4f565b11156116f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ea90614ef5565b60405180910390fd5b83806116fd611e70565b101561173e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173590614809565b60405180910390fd5b600160028111156117525761175161438a565b5b600b60019054906101000a900460ff1660028111156117745761177361438a565b5b146117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab90614875565b60405180910390fd5b600b60009054906101000a900460ff16611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa90614cbc565b60405180910390fd5b60006002853360405160200161181b939291906148dd565b60405160208183030381529060405280519060200120905061183d818561238d565b61187c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187390614960565b60405180910390fd5b84601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060010154876118cb91906149af565b111561190c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190390614a51565b60405180910390fd5b85601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101600082825461195e91906149af565b9250508190555060005b8681101561198c57611979336124b5565b808061198490614a71565b915050611968565b50505050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a06576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119fd90614f87565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf611a7781612512565b8151835114611abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab290615019565b60405180910390fd5b60005b8351811015611b1857611b05848281518110611add57611adc614d8e565b5b6020026020010151848381518110611af857611af7614d8e565b5b6020026020010151612a6e565b8080611b1090614a71565b915050611abe565b50505050565b60006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b606060018054611b98906145af565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc4906145af565b8015611c115780601f10611be657610100808354040283529160200191611c11565b820191906000526020600020905b815481529060010190602001808311611bf457829003601f168201915b5050505050905090565b6000600754905090565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf611c4f81612512565b81600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b6000801b81565b611cad611ca66122cc565b8383612b1f565b5050565b600f5481565b600b60019054906101000a900460ff1681565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf611cf481612512565b81600f819055505050565b611d10611d0a6122cc565b83612526565b611d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4690614b2c565b60405180910390fd5b611d5b84848484612c8c565b50505050565b7f2a18abda4f53ddf85c6239c84f80617d73915d8df712af5718a807986792c5cf81565b6060611d9082612260565b611dcf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc690615085565b60405180910390fd5b6000600a8054611dde906145af565b905011611e0357604051806060016040528060288152602001615d0760289139611e2f565b600a611e0e83612ce8565b604051602001611e1f9291906151c1565b6040516020818303038152906040525b9050919050565b600b60009054906101000a900460ff1681565b611e5282611078565b611e5b81612512565b611e65838361294c565b505050565b600e5481565b6000611e7a611c1b565b611e82610fbb565b611e8c91906151f0565b905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600c5481565b803481600c54611f3b9190614e4f565b1115611f7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7390614ef5565b60405180910390fd5b8180611f86611e70565b1015611fc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbe90614809565b60405180910390fd5b600280811115611fda57611fd961438a565b5b600b60019054906101000a900460ff166002811115611ffc57611ffb61438a565b5b1461203c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203390615270565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190615302565b60405180910390fd5b600f54601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060020154846120fb91906149af565b111561213c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121339061536e565b60405180910390fd5b82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600201600082825461218e91906149af565b9250508190555060005b838110156121bc576121a9336124b5565b80806121b490614a71565b915050612198565b50505050565b7f000000000000000000000000c1d7dbd73af45f7bcd5bed3049dc9da4c75c79a081565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612259575061225882612e49565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612347836115c6565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600184846040015185600001518660200151604051600081526020016040526040516123bf949392919061539d565b6020604051602081039080840390855afa1580156123e1573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561245d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124549061542e565b60405180910390fd5b7f000000000000000000000000c1d7dbd73af45f7bcd5bed3049dc9da4c75c79a073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b60006124bf612f2b565b9050602360c86124cf91906149af565b811180156124f75750602360c86103786124e991906149af565b6124f391906149af565b8111155b6125045761250361544e565b5b61250e828261308d565b5050565b6125238161251e6122cc565b6130ab565b50565b600061253182612260565b612570576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612567906154ef565b60405180910390fd5b600061257b836115c6565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806125bd57506125bc8185611e91565b5b806125fb57508373ffffffffffffffffffffffffffffffffffffffff166125e384610bcc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612624826115c6565b73ffffffffffffffffffffffffffffffffffffffff161461267a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267190615581565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156126ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e190615613565b60405180910390fd5b6126f5838383613148565b6127006000826122d4565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461275091906151f0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127a791906149af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461286683838361314d565b505050565b6128758282611b1e565b6129485760016006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506128ed6122cc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6129568282611b1e565b15612a2a5760006006600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506129cf6122cc565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000811415612a4057612a3f61544e565b5b60c8811115612a5257612a5161544e565b5b612a5b81612260565b612a6a57612a69828261308d565b5b5050565b60008273ffffffffffffffffffffffffffffffffffffffff1682604051612a9490615664565b60006040518083038185875af1925050503d8060008114612ad1576040519150601f19603f3d011682016040523d82523d6000602084013e612ad6565b606091505b5050905080612b1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b11906156c5565b60405180910390fd5b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8590615731565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612c7f91906139a5565b60405180910390a3505050565b612c97848484612604565b612ca384848484613152565b612ce2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd9906157c3565b60405180910390fd5b50505050565b60606000821415612d30576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e44565b600082905060005b60008214612d62578080612d4b90614a71565b915050600a82612d5b9190615812565b9150612d38565b60008167ffffffffffffffff811115612d7e57612d7d613bab565b5b6040519080825280601f01601f191660200182016040528015612db05781602001600182028036833780820191505090505b5090505b60008514612e3d57600182612dc991906151f0565b9150600a85612dd89190615843565b6030612de491906149af565b60f81b818381518110612dfa57612df9614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e369190615812565b9450612db4565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612f1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612f245750612f23826132e9565b5b9050919050565b600080612f36611c1b565b612f3e610fbb565b612f4891906151f0565b90506000813341444542604051602001612f66959493929190615918565b6040516020818303038152906040528051906020012060001c612f899190615843565b905060008060086000848152602001908152602001600020541415612fb057819050612fc7565b600860008381526020019081526020016000205490505b600060086000600186612fda91906151f0565b815260200190815260200160002054141561301857600183612ffc91906151f0565b6008600084815260200190815260200160002081905550613050565b6008600060018561302991906151f0565b81526020019081526020016000205460086000848152602001908152602001600020819055505b613058613353565b507f00000000000000000000000000000000000000000000000000000000000000ec8161308591906149af565b935050505090565b6130a78282604051806020016040528060008152506133ba565b5050565b6130b58282611b1e565b613144576130da8173ffffffffffffffffffffffffffffffffffffffff166014613415565b6130e88360001c6020613415565b6040516020016130f9929190615a0f565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313b9190613a59565b60405180910390fd5b5050565b505050565b505050565b60006131738473ffffffffffffffffffffffffffffffffffffffff16613651565b156132dc578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261319c6122cc565b8786866040518563ffffffff1660e01b81526004016131be9493929190615a9e565b602060405180830381600087803b1580156131d857600080fd5b505af192505050801561320957506040513d601f19601f820116820180604052508101906132069190615aff565b60015b61328c573d8060008114613239576040519150601f19603f3d011682016040523d82523d6000602084013e61323e565b606091505b50600081511415613284576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161327b906157c3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506132e1565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008061335e611e70565b1161339e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339590615b78565b60405180910390fd5b600760008154809291906133b190614a71565b91905055905090565b6133c48383613674565b6133d16000848484613152565b613410576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613407906157c3565b60405180910390fd5b505050565b6060600060028360026134289190614e4f565b61343291906149af565b67ffffffffffffffff81111561344b5761344a613bab565b5b6040519080825280601f01601f19166020018201604052801561347d5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106134b5576134b4614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061351957613518614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026135599190614e4f565b61356391906149af565b90505b6001811115613603577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106135a5576135a4614d8e565b5b1a60f81b8282815181106135bc576135bb614d8e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c9450806135fc90615b98565b9050613566565b5060008414613647576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363e90615c0e565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136db90615c7a565b60405180910390fd5b6136ed81612260565b1561372d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161372490615ce6565b60405180910390fd5b61373960008383613148565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461378991906149af565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461384a6000838361314d565b5050565b82805461385a906145af565b90600052602060002090601f01602090048101928261387c57600085556138c3565b82601f1061389557805160ff19168380011785556138c3565b828001600101855582156138c3579182015b828111156138c25782518255916020019190600101906138a7565b5b5090506138d091906138d4565b5090565b5b808211156138ed5760008160009055506001016138d5565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61393a81613905565b811461394557600080fd5b50565b60008135905061395781613931565b92915050565b600060208284031215613973576139726138fb565b5b600061398184828501613948565b91505092915050565b60008115159050919050565b61399f8161398a565b82525050565b60006020820190506139ba6000830184613996565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139fa5780820151818401526020810190506139df565b83811115613a09576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a2b826139c0565b613a3581856139cb565b9350613a458185602086016139dc565b613a4e81613a0f565b840191505092915050565b60006020820190508181036000830152613a738184613a20565b905092915050565b6000819050919050565b613a8e81613a7b565b8114613a9957600080fd5b50565b600081359050613aab81613a85565b92915050565b600060208284031215613ac757613ac66138fb565b5b6000613ad584828501613a9c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613b0982613ade565b9050919050565b613b1981613afe565b82525050565b6000602082019050613b346000830184613b10565b92915050565b613b4381613afe565b8114613b4e57600080fd5b50565b600081359050613b6081613b3a565b92915050565b60008060408385031215613b7d57613b7c6138fb565b5b6000613b8b85828601613b51565b9250506020613b9c85828601613a9c565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613be382613a0f565b810181811067ffffffffffffffff82111715613c0257613c01613bab565b5b80604052505050565b6000613c156138f1565b9050613c218282613bda565b919050565b6000819050919050565b613c3981613c26565b8114613c4457600080fd5b50565b600081359050613c5681613c30565b92915050565b600060ff82169050919050565b613c7281613c5c565b8114613c7d57600080fd5b50565b600081359050613c8f81613c69565b92915050565b600060608284031215613cab57613caa613ba6565b5b613cb56060613c0b565b90506000613cc584828501613c47565b6000830152506020613cd984828501613c47565b6020830152506040613ced84828501613c80565b60408301525092915050565b600080600060a08486031215613d1257613d116138fb565b5b6000613d2086828701613a9c565b9350506020613d3186828701613a9c565b9250506040613d4286828701613c95565b9150509250925092565b613d5581613a7b565b82525050565b6000602082019050613d706000830184613d4c565b92915050565b600080600060608486031215613d8f57613d8e6138fb565b5b6000613d9d86828701613b51565b9350506020613dae86828701613b51565b9250506040613dbf86828701613a9c565b9150509250925092565b600060208284031215613ddf57613dde6138fb565b5b6000613ded84828501613c47565b91505092915050565b613dff81613c26565b82525050565b6000602082019050613e1a6000830184613df6565b92915050565b60008060408385031215613e3757613e366138fb565b5b6000613e4585828601613c47565b9250506020613e5685828601613b51565b9150509250929050565b60038110613e6d57600080fd5b50565b600081359050613e7f81613e60565b92915050565b600060208284031215613e9b57613e9a6138fb565b5b6000613ea984828501613e70565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613ed757613ed6613eb2565b5b8235905067ffffffffffffffff811115613ef457613ef3613eb7565b5b602083019150836020820283011115613f1057613f0f613ebc565b5b9250929050565b60008060008060008060c08789031215613f3457613f336138fb565b5b6000613f4289828a01613b51565b965050602087013567ffffffffffffffff811115613f6357613f62613900565b5b613f6f89828a01613ec1565b9550955050604087013567ffffffffffffffff811115613f9257613f91613900565b5b613f9e89828a01613ec1565b93509350506060613fb189828a01613c95565b9150509295509295509295565b600080fd5b600067ffffffffffffffff821115613fde57613fdd613bab565b5b613fe782613a0f565b9050602081019050919050565b82818337600083830152505050565b600061401661401184613fc3565b613c0b565b90508281526020810184848401111561403257614031613fbe565b5b61403d848285613ff4565b509392505050565b600082601f83011261405a57614059613eb2565b5b813561406a848260208601614003565b91505092915050565b600060208284031215614089576140886138fb565b5b600082013567ffffffffffffffff8111156140a7576140a6613900565b5b6140b384828501614045565b91505092915050565b6000602082840312156140d2576140d16138fb565b5b60006140e084828501613b51565b91505092915050565b60006060820190506140fe6000830186613d4c565b61410b6020830185613d4c565b6141186040830184613d4c565b949350505050565b600067ffffffffffffffff82111561413b5761413a613bab565b5b602082029050602081019050919050565b600061415f61415a84614120565b613c0b565b9050808382526020820190506020840283018581111561418257614181613ebc565b5b835b818110156141ab57806141978882613b51565b845260208401935050602081019050614184565b5050509392505050565b600082601f8301126141ca576141c9613eb2565b5b81356141da84826020860161414c565b91505092915050565b600067ffffffffffffffff8211156141fe576141fd613bab565b5b602082029050602081019050919050565b600061422261421d846141e3565b613c0b565b9050808382526020820190506020840283018581111561424557614244613ebc565b5b835b8181101561426e578061425a8882613a9c565b845260208401935050602081019050614247565b5050509392505050565b600082601f83011261428d5761428c613eb2565b5b813561429d84826020860161420f565b91505092915050565b600080604083850312156142bd576142bc6138fb565b5b600083013567ffffffffffffffff8111156142db576142da613900565b5b6142e7858286016141b5565b925050602083013567ffffffffffffffff81111561430857614307613900565b5b61431485828601614278565b9150509250929050565b6143278161398a565b811461433257600080fd5b50565b6000813590506143448161431e565b92915050565b60008060408385031215614361576143606138fb565b5b600061436f85828601613b51565b925050602061438085828601614335565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600381106143ca576143c961438a565b5b50565b60008190506143db826143b9565b919050565b60006143eb826143cd565b9050919050565b6143fb816143e0565b82525050565b600060208201905061441660008301846143f2565b92915050565b600067ffffffffffffffff82111561443757614436613bab565b5b61444082613a0f565b9050602081019050919050565b600061446061445b8461441c565b613c0b565b90508281526020810184848401111561447c5761447b613fbe565b5b614487848285613ff4565b509392505050565b600082601f8301126144a4576144a3613eb2565b5b81356144b484826020860161444d565b91505092915050565b600080600080608085870312156144d7576144d66138fb565b5b60006144e587828801613b51565b94505060206144f687828801613b51565b935050604061450787828801613a9c565b925050606085013567ffffffffffffffff81111561452857614527613900565b5b6145348782880161448f565b91505092959194509250565b60008060408385031215614557576145566138fb565b5b600061456585828601613b51565b925050602061457685828601613b51565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806145c757607f821691505b602082108114156145db576145da614580565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061463d602c836139cb565b9150614648826145e1565b604082019050919050565b6000602082019050818103600083015261466c81614630565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006146cf6021836139cb565b91506146da82614673565b604082019050919050565b600060208201905081810360008301526146fe816146c2565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006147616038836139cb565b915061476c82614705565b604082019050919050565b6000602082019050818103600083015261479081614754565b9050919050565b7f526571756573746564206e756d626572206f6620746f6b656e73206e6f74206160008201527f7661696c61626c65000000000000000000000000000000000000000000000000602082015250565b60006147f36028836139cb565b91506147fe82614797565b604082019050919050565b60006020820190508181036000830152614822816147e6565b9050919050565b7f5072652d73616c65206973206e6f742061637469766500000000000000000000600082015250565b600061485f6016836139cb565b915061486a82614829565b602082019050919050565b6000602082019050818103600083015261488e81614852565b9050919050565b600381106148a6576148a561438a565b5b50565b60008190506148b782614895565b919050565b60006148c7826148a9565b9050919050565b6148d7816148bc565b82525050565b60006060820190506148f260008301866148ce565b6148ff6020830185613d4c565b61490c6040830184613b10565b949350505050565b7f496e76616c696420766f75636865720000000000000000000000000000000000600082015250565b600061494a600f836139cb565b915061495582614914565b602082019050919050565b600060208201905081810360008301526149798161493d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149ba82613a7b565b91506149c583613a7b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156149fa576149f9614980565b5b828201905092915050565b7f45786365656473206e756d626572206f66206561726e65642053707564730000600082015250565b6000614a3b601e836139cb565b9150614a4682614a05565b602082019050919050565b60006020820190508181036000830152614a6a81614a2e565b9050919050565b6000614a7c82613a7b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614aaf57614aae614980565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614b166031836139cb565b9150614b2182614aba565b604082019050919050565b60006020820190508181036000830152614b4581614b09565b9050919050565b7f457863656564732074686520616c6c6f77656420737570706c79206f6620636f60008201527f6d6d756e69747920746f6b656e73000000000000000000000000000000000000602082015250565b6000614ba8602e836139cb565b9150614bb382614b4c565b604082019050919050565b60006020820190508181036000830152614bd781614b9b565b9050919050565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b6000614c3a602f836139cb565b9150614c4582614bde565b604082019050919050565b60006020820190508181036000830152614c6981614c2d565b9050919050565b7f436c61696d206576656e74206973206e6f742061637469766500000000000000600082015250565b6000614ca66019836139cb565b9150614cb182614c70565b602082019050919050565b60006020820190508181036000830152614cd581614c99565b9050919050565b600082825260208201905092915050565b600080fd5b6000614cfe8385614cdc565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831115614d3157614d30614ced565b5b602083029250614d42838584613ff4565b82840190509392505050565b6000606082019050614d6360008301876148ce565b8181036020830152614d76818587614cf2565b9050614d856040830184613b10565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614e196029836139cb565b9150614e2482614dbd565b604082019050919050565b60006020820190508181036000830152614e4881614e0c565b9050919050565b6000614e5a82613a7b565b9150614e6583613a7b565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e9e57614e9d614980565b5b828202905092915050565b7f596f752068617665206e6f742073656e7420656e6f7567682065746865720000600082015250565b6000614edf601e836139cb565b9150614eea82614ea9565b602082019050919050565b60006020820190508181036000830152614f0e81614ed2565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614f71602a836139cb565b9150614f7c82614f15565b604082019050919050565b60006020820190508181036000830152614fa081614f64565b9050919050565b7f50617965657320616e6420616d6f756e7473206c656e677468206d69736d617460008201527f6368000000000000000000000000000000000000000000000000000000000000602082015250565b60006150036022836139cb565b915061500e82614fa7565b604082019050919050565b6000602082019050818103600083015261503281614ff6565b9050919050565b7f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e00600082015250565b600061506f601f836139cb565b915061507a82615039565b602082019050919050565b6000602082019050818103600083015261509e81615062565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b600081546150d2816145af565b6150dc81866150a5565b945060018216600081146150f757600181146151085761513b565b60ff1983168652818601935061513b565b615111856150b0565b60005b8381101561513357815481890152600182019150602081019050615114565b838801955050505b50505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b600061517a6001836150a5565b915061518582615144565b600182019050919050565b600061519b826139c0565b6151a581856150a5565b93506151b58185602086016139dc565b80840191505092915050565b60006151cd82856150c5565b91506151d88261516d565b91506151e48284615190565b91508190509392505050565b60006151fb82613a7b565b915061520683613a7b565b92508282101561521957615218614980565b5b828203905092915050565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b600061525a6019836139cb565b915061526582615224565b602082019050919050565b600060208201905081810360008301526152898161524d565b9050919050565b7f536d61727420636f6e74726163747320617265206e6f7420616c6c6f7765642060008201527f746f206d696e7400000000000000000000000000000000000000000000000000602082015250565b60006152ec6027836139cb565b91506152f782615290565b604082019050919050565b6000602082019050818103600083015261531b816152df565b9050919050565b7f45786365656473206d6178696d756d20616c6c6f7761626c65206d696e747300600082015250565b6000615358601f836139cb565b915061536382615322565b602082019050919050565b600060208201905081810360008301526153878161534b565b9050919050565b61539781613c5c565b82525050565b60006080820190506153b26000830187613df6565b6153bf602083018661538e565b6153cc6040830185613df6565b6153d96060830184613df6565b95945050505050565b7f45434453413a20696e76616c696420766f756368657200000000000000000000600082015250565b60006154186016836139cb565b9150615423826153e2565b602082019050919050565b600060208201905081810360008301526154478161540b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006154d9602c836139cb565b91506154e48261547d565b604082019050919050565b60006020820190508181036000830152615508816154cc565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061556b6025836139cb565b91506155768261550f565b604082019050919050565b6000602082019050818103600083015261559a8161555e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006155fd6024836139cb565b9150615608826155a1565b604082019050919050565b6000602082019050818103600083015261562c816155f0565b9050919050565b600081905092915050565b50565b600061564e600083615633565b91506156598261563e565b600082019050919050565b600061566f82615641565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b60006156af6010836139cb565b91506156ba82615679565b602082019050919050565b600060208201905081810360008301526156de816156a2565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061571b6019836139cb565b9150615726826156e5565b602082019050919050565b6000602082019050818103600083015261574a8161570e565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006157ad6032836139cb565b91506157b882615751565b604082019050919050565b600060208201905081810360008301526157dc816157a0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061581d82613a7b565b915061582883613a7b565b925082615838576158376157e3565b5b828204905092915050565b600061584e82613a7b565b915061585983613a7b565b925082615869576158686157e3565b5b828206905092915050565b60008160601b9050919050565b600061588c82615874565b9050919050565b600061589e82615881565b9050919050565b6158b66158b182613afe565b615893565b82525050565b60006158c782613ade565b9050919050565b60006158d982615881565b9050919050565b6158f16158ec826158bc565b6158ce565b82525050565b6000819050919050565b61591261590d82613a7b565b6158f7565b82525050565b600061592482886158a5565b60148201915061593482876158e0565b6014820191506159448286615901565b6020820191506159548285615901565b6020820191506159648284615901565b6020820191508190509695505050505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b60006159ad6017836150a5565b91506159b882615977565b601782019050919050565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b60006159f96011836150a5565b9150615a04826159c3565b601182019050919050565b6000615a1a826159a0565b9150615a268285615190565b9150615a31826159ec565b9150615a3d8284615190565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000615a7082615a49565b615a7a8185615a54565b9350615a8a8185602086016139dc565b615a9381613a0f565b840191505092915050565b6000608082019050615ab36000830187613b10565b615ac06020830186613b10565b615acd6040830185613d4c565b8181036060830152615adf8184615a65565b905095945050505050565b600081519050615af981613931565b92915050565b600060208284031215615b1557615b146138fb565b5b6000615b2384828501615aea565b91505092915050565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b6000615b626018836139cb565b9150615b6d82615b2c565b602082019050919050565b60006020820190508181036000830152615b9181615b55565b9050919050565b6000615ba382613a7b565b91506000821415615bb757615bb6614980565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000615bf86020836139cb565b9150615c0382615bc2565b602082019050919050565b60006020820190508181036000830152615c2781615beb565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615c646020836139cb565b9150615c6f82615c2e565b602082019050919050565b60006020820190508181036000830152615c9381615c57565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615cd0601c836139cb565b9150615cdb82615c9a565b602082019050919050565b60006020820190508181036000830152615cff81615cc3565b905091905056fe68747470733a2f2f6170692e746865706172747973707564636c75622e696f2f6d65746164617461a264697066735822122029a7755db3ecebf97c245eceea0ee364e596709a0d68d0deb83ea6a6d8e2b17964736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000c1d7dbd73af45f7bcd5bed3049dc9da4c75c79a0000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6170692e746865706172747973707564636c75622e696f2f6d65746164617461000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _uri (string): https://api.thepartyspudclub.io/metadata
Arg [1] : _adminSigner (address): 0xc1d7dBd73AF45f7bCD5bED3049Dc9da4c75C79A0

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000c1d7dbd73af45f7bcd5bed3049dc9da4c75c79a0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [3] : 68747470733a2f2f6170692e746865706172747973707564636c75622e696f2f
Arg [4] : 6d65746164617461000000000000000000000000000000000000000000000000


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.