ETH Price: $2,455.13 (-1.31%)

Token

DEGEN (DEGEN)
 

Overview

Max Total Supply

1,517,008.4 DEGEN

Holders

551

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
3,937 DEGEN

Value
$0.00
0x5b972c36a36f28b526d2c40e0937434d84ca7e91
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:
DegenToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-16
*/

// File: contracts/base/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: contracts/base/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: contracts/base/Address.sol

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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: contracts/base/IERC721Receiver.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;


/**
 * @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: contracts/base/IERC721.sol

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;


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

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

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

pragma solidity ^0.8.0;


/**
 * @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: contracts/base/IERC20.sol

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;



interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}
// File: contracts/base/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: contracts/base/ERC721A.sol


// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;









/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
Context,
ERC165,
IERC721,
IERC721Metadata,
IERC721Enumerable
{
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 private currentIndex = 0;

    uint256 internal immutable maxBatchSize;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) private _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

    // 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
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 maxBatchSize_
    ) {
        require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
        _name = name_;
        _symbol = symbol_;
        maxBatchSize = maxBatchSize_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
    function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
    {
        require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx = 0;
        address currOwnershipAddr = address(0);
        for (uint256 i = 0; i < numMintedSoFar; i++) {
            TokenOwnership memory ownership = _ownerships[i];
            if (ownership.addr != address(0)) {
                currOwnershipAddr = ownership.addr;
            }
            if (currOwnershipAddr == owner) {
                if (tokenIdsIdx == index) {
                    return i;
                }
                tokenIdsIdx++;
            }
        }
        revert("ERC721A: unable to get token of owner by index");
    }

    /**
     * @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 ||
        interfaceId == type(IERC721Enumerable).interfaceId ||
        super.supportsInterface(interfaceId);
    }

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

    function _numberMinted(address owner) internal view returns (uint256) {
        require(
            owner != address(0),
            "ERC721A: number minted query for the zero address"
        );
        return uint256(_addressData[owner].numberMinted);
    }

    function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
    {
        require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

        uint256 lowestTokenToCheck;
        if (tokenId >= maxBatchSize) {
            lowestTokenToCheck = tokenId - maxBatchSize + 1;
        }

        for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
            TokenOwnership memory ownership = _ownerships[curr];
            if (ownership.addr != address(0)) {
                return ownership;
            }
        }

        revert("ERC721A: unable to determine the owner of token");
    }

    /**
     * @dev See {IERC721-ownerOf}.
   */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return ownershipOf(tokenId).addr;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
   */
    function setApprovalForAll(address operator, bool approved) public override {
        require(operator != _msgSender(), "ERC721A: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
   */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public override {
        _transfer(from, to, tokenId);
        require(
            _checkOnERC721Received(from, to, tokenId, _data),
            "ERC721A: 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`),
   */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return tokenId < currentIndex;
    }

    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, "");
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), "ERC721A: mint to the zero address");
        // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
        require(!_exists(startTokenId), "ERC721A: token already minted");
        require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        AddressData memory addressData = _addressData[to];
        _addressData[to] = AddressData(
            addressData.balance + uint128(quantity),
            addressData.numberMinted + uint128(quantity)
        );
        _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

        uint256 updatedIndex = startTokenId;

        for (uint256 i = 0; i < quantity; i++) {
            emit Transfer(address(0), to, updatedIndex);
            require(
                _checkOnERC721Received(address(0), to, updatedIndex, _data),
                "ERC721A: transfer to non ERC721Receiver implementer"
            );
            updatedIndex++;
        }

        currentIndex = updatedIndex;
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
   *
   * 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
    ) private {
        TokenOwnership memory prevOwnership = ownershipOf(tokenId);

        bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
        getApproved(tokenId) == _msgSender() ||
        isApprovedForAll(prevOwnership.addr, _msgSender()));

        require(
            isApprovedOrOwner,
            "ERC721A: transfer caller is not owner nor approved"
        );

        require(
            prevOwnership.addr == from,
            "ERC721A: transfer from incorrect owner"
        );
        require(to != address(0), "ERC721A: transfer to the zero address");

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        _addressData[from].balance -= 1;
        _addressData[to].balance += 1;
        _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

        // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
        // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
        uint256 nextTokenId = tokenId + 1;
        if (_ownerships[nextTokenId].addr == address(0)) {
            if (_exists(nextTokenId)) {
                _ownerships[nextTokenId] = TokenOwnership(
                    prevOwnership.addr,
                    prevOwnership.startTimestamp
                );
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

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

    uint256 public nextOwnerToExplicitlySet = 0;

    /**
     * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
    function _setOwnersExplicit(uint256 quantity) internal {
        uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
        require(quantity > 0, "quantity must be nonzero");
        uint256 endIndex = oldNextOwnerToSet + quantity - 1;
        if (endIndex > currentIndex - 1) {
            endIndex = currentIndex - 1;
        }
        // We know if the last one in the group exists, all in the group exist, due to serial ordering.
        require(_exists(endIndex), "not enough minted yet for this cleanup");
        for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
            if (_ownerships[i].addr == address(0)) {
                TokenOwnership memory ownership = ownershipOf(i);
                _ownerships[i] = TokenOwnership(
                    ownership.addr,
                    ownership.startTimestamp
                );
            }
        }
        nextOwnerToExplicitlySet = endIndex + 1;
    }

    /**
     * @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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721A: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * 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`.
   */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// File: contracts/base/Ownable.sol

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
// File: contracts/base/ERC20.sol

pragma solidity ^0.8.0;





contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) 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, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}
// File: contracts/Punkx.sol

//SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.0;






//@title A ERC20-token minting and ERC721 staking contract used for Punkx NFT series
//@author Ace, Alfa, Anyx, 0xytocin
//@notice This contract is used for staking Punkx NFT's and mint Degenz tokens according to the tokenomics mentioned in the whitepaper
//@dev All functions are currently working and having the exact value they should have. TESTS ARE YET TO BE DONE.


contract DegenToken is ERC20, Ownable, ReentrancyGuard{

    //@Interfaces
    IERC721 Punkx;

    //@Times
    uint public punkXStart;
    uint public lockoutTime = 10 days;

    //@Rewards
    mapping(uint=>bool) public mintRewardClaimed;
    uint[] public rewards = [13,12,11,10];
    uint[] public multiplier = [0,0,1,2,3,4,5];
    mapping(uint=>uint) externallyClaimed;
    mapping(address=>bool) isApproved;

    //@Staking
    mapping(uint=>stake) public stakedTokens;
    mapping(address=>uint[]) public userStaked;

    //@Emergency
    bool public isPaused;

    //@notice This is the struct containing the individual information regarding the tokens
    struct stake{
        address tokenOwner;
        uint lockTime;
        uint lastClaim;
        uint stakeTime;
        uint lockedPieces;
        uint arrayPosition;
    }

    //@notice This takes in PUNKX NFT's contract address and also sets the start-time to block.timestamp
    constructor(address punkxAddress) ERC20("DEGEN","DEGEN"){
        Punkx = IERC721(punkxAddress);
        punkXStart = block.timestamp;
    }

    //@notice SETTERS
    function deleteRewards () external onlyOwner {
        rewards.pop();
    }

    function deleteMultiplier () external onlyOwner {
        multiplier.pop();
    }

    function addMultiplier (uint value) external onlyOwner {
        multiplier.push(value);
    }

    function addRewards (uint value) external onlyOwner {
        rewards.push(value);
    }

    function ownerMint (uint _amount) external onlyOwner {
        _mint(msg.sender, _amount * 1 ether);
    }

  //@getter
    function getStakedUserTokens(address _query) public view returns (uint[] memory){
        return userStaked[_query];
    }

    //@modifiers
    modifier isNotPaused(){
        require(!isPaused,"Execution is paused");
        _;
    }

    //@notice This function is used to stake tokens
    //@param uint token-ids are taken in a array format
    function stakeTokens (uint[] memory tokenIds,bool lock) external isNotPaused{
        for (uint i=0;i<tokenIds.length;i++) {
            require(Punkx.ownerOf(tokenIds[i]) == msg.sender,"Not Owner"); //Can't stake unowned tokens
            stakedTokens[tokenIds[i]] = stake(msg.sender,0,block.timestamp,block.timestamp,0,userStaked[msg.sender].length);
            userStaked[msg.sender].push(tokenIds[i]);
            Punkx.safeTransferFrom(msg.sender,address(this),tokenIds[i]);
        }
        if(lock){
            require (tokenIds.length > 1,'Min Lock Amount Is 2');
            lockInternal(tokenIds);
        }
    }

    //@notice This function is used to lock in the staked function.
    //@param uint token-ids are taken in an array format. Here the minimum number of tokens passed should be 2.
    function lockTokens(uint[] memory tokenIds) public isNotPaused{
        require (tokenIds.length > 1,'Min Lock Amount Is 2');
        claimRewards(tokenIds);
        lockInternal(tokenIds);
    }

    function lockInternal(uint[] memory tokenIds) internal {
        for(uint i=0;i<tokenIds.length;i++){
            stake storage currentToken = stakedTokens[tokenIds[i]];
            require(currentToken.tokenOwner == msg.sender,"Only owner can lock"); //Needs to be owner to lock
            require(block.timestamp - currentToken.lockTime > lockoutTime,"Already locked"); //Need to not be locked to lock
            currentToken.lockTime = currentToken.lastClaim;
            tokenIds.length > 6 ? currentToken.lockedPieces = 6 : currentToken.lockedPieces = tokenIds.length ;
        }
    }

    //@notice This function is used to unstake the staked tokens. PS: tokens which are locked cannot be unstaked within lockoutTime of locking period
    //@param uint token-ids are taken in an array format.
    function unstakeTokens(uint[] memory tokenIds) external isNotPaused{
        claimRewards(tokenIds);
        for (uint i; i< tokenIds.length; i++) {
            require(Punkx.ownerOf(tokenIds[i]) == address(this),"Token not staked"); //Needs to not be staked
            stake storage currentToken = stakedTokens[tokenIds[i]];
            require(currentToken.tokenOwner == msg.sender,"Only owner can unstake"); //Needs to be sender's token
            require(block.timestamp - currentToken.lockTime > lockoutTime,"Not unlocked"); //Needs to be unlocked
            userStaked[msg.sender][currentToken.arrayPosition] = userStaked[msg.sender][userStaked[msg.sender].length-1];
            stakedTokens[userStaked[msg.sender][currentToken.arrayPosition]].arrayPosition = currentToken.arrayPosition;
            userStaked[msg.sender].pop();
            delete stakedTokens[tokenIds[i]];
            Punkx.safeTransferFrom(address(this), msg.sender, tokenIds[i]);
        }
    }

    //@notice This function is used to reward those first 2222 tokens which were minted before the staking contract was launched
    //@param uint token-ids are taken in an array format
    function rewardFromMint(uint[] memory tokenIds) external isNotPaused{
        require(block.timestamp - punkXStart > 7 days, "It's not birthday yet");
        uint totalAmount;
        for(uint i=0;i<tokenIds.length;i++){
            require(tokenIds[i] < 2222,"Reward only till 2222");
            require (Punkx.ownerOf(tokenIds[i])==msg.sender || stakedTokens[tokenIds[i]].tokenOwner == _msgSender());
            require(!mintRewardClaimed[tokenIds[i]],"Already Claimed");
            mintRewardClaimed[tokenIds[i]] == true;
            totalAmount += 32*rewards[0];
        }
        _mint(msg.sender,totalAmount*1 ether);
    }

    //@notice This function is used to reward those tokens who are staked over 1 day.
    //@param uint token-ids are taken in an array format
    function claimRewards(uint[] memory tokenIds) public nonReentrant isNotPaused{
        uint totalAmount; 
        for(uint i=0;i<tokenIds.length;i++){
            stake storage currentToken = stakedTokens[tokenIds[i]];
            require(currentToken.tokenOwner == msg.sender,"Only owner can claim"); //Needs to be sender's token
            totalAmount += getReward(tokenIds[i]);
            delete externallyClaimed[tokenIds[i]];
            currentToken.lastClaim += ((block.timestamp - currentToken.lastClaim)/ 1 days) * 1 days;
        }
        _mint(msg.sender,totalAmount);
    }

    //@notice This function is to be used by external contract to claim unclaimed rewards
    //@param  from user from which amount needs to be deducted
    //@param amount which is to be deducted
    function claimExternally(address from,uint amount,uint[] memory tokenIds) external isNotPaused {
        require(isApproved[msg.sender],"Not approved caller");
        uint totalAmount;
        for(uint i=0;i<tokenIds.length;i++) {
            stake storage currentToken = stakedTokens[tokenIds[i]];
            require(currentToken.tokenOwner == from,"Only owner can lock"); //Needs to be owner to lock
            uint reward = getReward(tokenIds[i]);
            if(amount > reward + totalAmount) {
                externallyClaimed[tokenIds[i]] = reward;
                totalAmount += reward;
            }
            else {
                externallyClaimed[tokenIds[i]] = amount - totalAmount;
                totalAmount = amount;
                break;
            }
        }
        require(totalAmount == amount,"Not enough DEGEN");
        _mint(msg.sender,amount);
    }

    //@notice This function is to be used to fetch the unclaimed amount value calculation
    //@param  uint token-id is taken
    function getReward(uint tokenId) public view returns(uint){
            require(Punkx.ownerOf(tokenId) == address(this),"Token not staked"); //Needs to not be staked
            stake storage currentToken = stakedTokens[tokenId];
            uint reward;
            if(block.timestamp - currentToken.lockTime <= lockoutTime) {
                //tokenId still in lock period
                uint timeInDays = (block.timestamp - currentToken.lastClaim)/1 days;
                uint combo = currentToken.lockedPieces;
                reward = 1 ether*timeInDays*rewards[tokenId/2222]*(10+multiplier[combo])/10 - externallyClaimed[tokenId]; //Assuming tokenId starts from 1
            }
            else {
                uint unlockTime = currentToken.lockTime + lockoutTime;
                if(block.timestamp > unlockTime && currentToken.lastClaim < unlockTime){
                    //last claim before lock end but current time after
                    uint timeLocked = (currentToken.lockTime + lockoutTime - currentToken.lastClaim)/1 days;
                    uint timeUnlocked = (block.timestamp - (currentToken.lockTime + lockoutTime))/1 days;
                    uint combo = currentToken.lockedPieces;
                    reward = 1 ether*timeLocked*rewards[tokenId/2222]*(10+multiplier[combo])/10;
                    reward += 1 ether*timeUnlocked*rewards[tokenId/2222];
                    reward -= externallyClaimed[tokenId];
                }
                else{
                    //last claim time after lock period
                    uint timeInDays = (block.timestamp - currentToken.lastClaim)/1 days;
                    reward = 1 ether*timeInDays*rewards[tokenId/2222] - externallyClaimed[tokenId];
                }
            }
        return reward;
    }

    function mintExternally(uint _amount) external isNotPaused{
        require(isApproved[msg.sender], "Not approved yet");
        _mint(_msgSender(), _amount);
    }

    function burnExternally(address _from, uint _amount) external isNotPaused{
        require(isApproved[msg.sender], "Not approved yet");
        _burn(_from, _amount);
    }

    function approveAddress(address toBeApproved,bool approveIt) external onlyOwner{
        isApproved[toBeApproved] = approveIt;
    }

    function pauseExecution(bool pause) external onlyOwner{
        isPaused = pause;
    }
    
    function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) public pure returns (bytes4) {
        return 0x150b7a02;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"punkxAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"addMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toBeApproved","type":"address"},{"internalType":"bool","name":"approveIt","type":"bool"}],"name":"approveAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnExternally","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimExternally","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claimRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteMultiplier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deleteRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_query","type":"address"}],"name":"getStakedUserTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"lockTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lockoutTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintExternally","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintRewardClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"multiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"pauseExecution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"punkXStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"rewardFromMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"bool","name":"lock","type":"bool"}],"name":"stakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakedTokens","outputs":[{"internalType":"address","name":"tokenOwner","type":"address"},{"internalType":"uint256","name":"lockTime","type":"uint256"},{"internalType":"uint256","name":"lastClaim","type":"uint256"},{"internalType":"uint256","name":"stakeTime","type":"uint256"},{"internalType":"uint256","name":"lockedPieces","type":"uint256"},{"internalType":"uint256","name":"arrayPosition","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unstakeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"userStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

620d2f00600955610100604052600d6080908152600c60a052600b60c0819052600a60e05262000031916004620001a4565b506040805160e081018252600080825260208201526001918101919091526002606082015260036080820152600460a0820152600560c08201526200007b90600c906007620001a4565b503480156200008957600080fd5b5060405162002eea38038062002eea833981016040819052620000ac916200028d565b6040805180820182526005808252642222a3a2a760d91b602080840182815285518087019096529285528401528151919291620000ec91600391620001f9565b50805162000102906004906020840190620001f9565b5050506200011f620001196200014e60201b60201c565b62000152565b6001600655600780546001600160a01b0319166001600160a01b039290921691909117905542600855620002fc565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620001e7579160200282015b82811115620001e7578251829060ff16905591602001919060010190620001c5565b50620001f592915062000276565b5090565b8280546200020790620002bf565b90600052602060002090601f0160209004810192826200022b5760008555620001e7565b82601f106200024657805160ff1916838001178555620001e7565b82800160010185558215620001e7579182015b82811115620001e757825182559160200191906001019062000259565b5b80821115620001f5576000815560010162000277565b600060208284031215620002a057600080fd5b81516001600160a01b0381168114620002b857600080fd5b9392505050565b600181811c90821680620002d457607f821691505b60208210811415620002f657634e487b7160e01b600052602260045260246000fd5b50919050565b612bde806200030c6000396000f3fe608060405234801561001057600080fd5b50600436106102485760003560e01c8063715018a61161013b578063a9059cbb116100b8578063c782311c1161007c578063c782311c14610589578063dd62ed3e1461059c578063f19e75d4146105d5578063f2fde38b146105e8578063f301af42146105fb57600080fd5b8063a9059cbb146104bf578063b187bd26146104d2578063b9ba926e146104df578063beceed39146104f2578063c07885551461050557600080fd5b806395d89b41116100ff57806395d89b411461045b57806396b21f31146104635780639915b58314610476578063a39b215314610499578063a457c2d7146104ac57600080fd5b8063715018a61461041e57806374001d3014610426578063785f25431461042f5780637985ee8f146104385780638da5cb5b1461044057600080fd5b806323b872dd116101c95780635554c3021161018d5780635554c3021461039c5780635a6213c1146103bc5780635eac6239146103cf57806368e563fc146103e257806370a08231146103f557600080fd5b806323b872dd1461034c578063313ce5671461035f578063386040ce1461036e57806339509351146103815780633e7544811461039457600080fd5b80630e95b3fe116102105780630e95b3fe146102d35780630f26e338146102e6578063150b7a02146102f957806318160ddd146103315780631c4b774b1461033957600080fd5b806305e30f511461024d57806306fdde0314610273578063084b731a14610288578063095ea7b31461029d5780630b1eebb5146102c0575b600080fd5b61026061025b366004612961565b61060e565b6040519081526020015b60405180910390f35b61027b61062f565b60405161026a91906129be565b61029b6102963660046128c4565b6106c1565b005b6102b06102ab36600461283f565b61074a565b604051901515815260200161026a565b61029b6102ce366004612961565b610760565b61029b6102e13660046128c4565b6107bf565b61029b6102f4366004612961565b610aa7565b61031861030736600461276b565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161026a565b600254610260565b610260610347366004612961565b610b26565b6102b061035a36600461272a565b610f18565b6040516012815260200161026a565b61029b61037c36600461280a565b610fc2565b6102b061038f36600461283f565b611017565b61029b611053565b6103af6103aa3660046126b7565b6110a6565b60405161026a919061297a565b61029b6103ca36600461286b565b611112565b61029b6103dd3660046128c4565b611345565b61029b6103f0366004612901565b61150f565b6102606104033660046126b7565b6001600160a01b031660009081526020819052604090205490565b61029b61182b565b61026060095481565b61026060085481565b61029b611861565b6005546040516001600160a01b03909116815260200161026a565b61027b61189c565b61029b610471366004612946565b6118ab565b6102b0610484366004612961565b600a6020526000908152604090205460ff1681565b6102606104a736600461283f565b6118e8565b6102b06104ba36600461283f565b611919565b6102b06104cd36600461283f565b6119b2565b6011546102b09060ff1681565b61029b6104ed36600461283f565b6119bf565b61029b610500366004612961565b611a3e565b610552610513366004612961565b600f602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b039094169492939192909186565b604080516001600160a01b0390971687526020870195909552938501929092526060840152608083015260a082015260c00161026a565b61029b6105973660046128c4565b611a9d565b6102606105aa3660046126f1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61029b6105e3366004612961565b611e8f565b61029b6105f63660046126b7565b611ecf565b610260610609366004612961565b611f67565b600c818154811061061e57600080fd5b600091825260209091200154905081565b60606003805461063e90612ae5565b80601f016020809104026020016040519081016040528092919081815260200182805461066a90612ae5565b80156106b75780601f1061068c576101008083540402835291602001916106b7565b820191906000526020600020905b81548152906001019060200180831161069a57829003601f168201915b5050505050905090565b60115460ff16156106ed5760405162461bcd60e51b81526004016106e490612a48565b60405180910390fd5b60018151116107355760405162461bcd60e51b815260206004820152601460248201527326b4b7102637b1b59020b6b7bab73a1024b9901960611b60448201526064016106e4565b61073e81611345565b61074781611f77565b50565b6000610757338484612097565b50600192915050565b6005546001600160a01b0316331461078a5760405162461bcd60e51b81526004016106e490612a13565b600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70155565b60115460ff16156107e25760405162461bcd60e51b81526004016106e490612a48565b62093a80600854426107f49190612ace565b116108395760405162461bcd60e51b8152602060048201526015602482015274125d09dcc81b9bdd08189a5c9d1a19185e481e595d605a1b60448201526064016106e4565b6000805b8251811015610a87576108ae83828151811061085b5761085b612b67565b6020026020010151106108a85760405162461bcd60e51b81526020600482015260156024820152742932bbb0b9321037b7363c903a34b636101919191960591b60448201526064016106e4565b600754835133916001600160a01b031690636352211e908690859081106108d1576108d1612b67565b60200260200101516040518263ffffffff1660e01b81526004016108f791815260200190565b60206040518083038186803b15801561090f57600080fd5b505afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094791906126d4565b6001600160a01b0316148061099d5750336001600160a01b0316600f600085848151811061097757610977612b67565b6020908102919091018101518252810191909152604001600020546001600160a01b0316145b6109a657600080fd5b600a60008483815181106109bc576109bc612b67565b60209081029190910181015182528101919091526040016000205460ff1615610a195760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4810db185a5b5959608a1b60448201526064016106e4565b600a6000848381518110610a2f57610a2f612b67565b60209081029190910181015182520152600b8054600090610a5257610a52612b67565b90600052602060002001546020610a699190612aaf565b610a739083612a75565b915080610a7f81612b20565b91505061083d565b50610aa333610a9e83670de0b6b3a7640000612aaf565b6121bc565b5050565b60115460ff1615610aca5760405162461bcd60e51b81526004016106e490612a48565b336000908152600e602052604090205460ff16610b1c5760405162461bcd60e51b815260206004820152601060248201526f139bdd08185c1c1c9bdd9959081e595d60821b60448201526064016106e4565b61074733826121bc565b6007546040516331a9108f60e11b81526004810183905260009130916001600160a01b0390911690636352211e9060240160206040518083038186803b158015610b6f57600080fd5b505afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba791906126d4565b6001600160a01b031614610bf05760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881b9bdd081cdd185ad95960821b60448201526064016106e4565b6000828152600f602052604081206009546001820154919291610c139042612ace565b11610cf157600062015180836002015442610c2e9190612ace565b610c389190612a8d565b9050600083600401549050600d600087815260200190815260200160002054600a600c8381548110610c6c57610c6c612b67565b9060005260206000200154600a610c839190612a75565b600b610c916108ae8b612a8d565b81548110610ca157610ca1612b67565b906000526020600020015485670de0b6b3a7640000610cc09190612aaf565b610cca9190612aaf565b610cd49190612aaf565b610cde9190612a8d565b610ce89190612ace565b92505050610f11565b60006009548360010154610d059190612a75565b90508042118015610d195750808360020154105b15610e885760006201518084600201546009548660010154610d3b9190612a75565b610d459190612ace565b610d4f9190612a8d565b90506000620151806009548660010154610d699190612a75565b610d739042612ace565b610d7d9190612a8d565b9050600085600401549050600a600c8281548110610d9d57610d9d612b67565b9060005260206000200154600a610db49190612a75565b600b610dc26108ae8c612a8d565b81548110610dd257610dd2612b67565b906000526020600020015485670de0b6b3a7640000610df19190612aaf565b610dfb9190612aaf565b610e059190612aaf565b610e0f9190612a8d565b9450600b610e1f6108ae8a612a8d565b81548110610e2f57610e2f612b67565b906000526020600020015482670de0b6b3a7640000610e4e9190612aaf565b610e589190612aaf565b610e629086612a75565b6000898152600d6020526040902054909550610e7e9086612ace565b9450505050610f0f565b600062015180846002015442610e9e9190612ace565b610ea89190612a8d565b6000878152600d6020526040902054909150600b610ec86108ae89612a8d565b81548110610ed857610ed8612b67565b906000526020600020015482670de0b6b3a7640000610ef79190612aaf565b610f019190612aaf565b610f0b9190612ace565b9250505b505b9392505050565b6000610f2584848461229b565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610faa5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016106e4565b610fb78533858403612097565b506001949350505050565b6005546001600160a01b03163314610fec5760405162461bcd60e51b81526004016106e490612a13565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161075791859061104e908690612a75565b612097565b6005546001600160a01b0316331461107d5760405162461bcd60e51b81526004016106e490612a13565b600c80548061108e5761108e612b51565b60019003818190600052602060002001600090559055565b6001600160a01b03811660009081526010602090815260409182902080548351818402810184019094528084526060939283018282801561110657602002820191906000526020600020905b8154815260200190600101908083116110f2575b50505050509050919050565b60115460ff16156111355760405162461bcd60e51b81526004016106e490612a48565b336000908152600e602052604090205460ff1661118a5760405162461bcd60e51b81526020600482015260136024820152722737ba1030b8383937bb32b21031b0b63632b960691b60448201526064016106e4565b6000805b82518110156112f2576000600f60008584815181106111af576111af612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b0387811691161461121e5760405162461bcd60e51b81526020600482015260136024820152724f6e6c79206f776e65722063616e206c6f636b60681b60448201526064016106e4565b600061124285848151811061123557611235612b67565b6020026020010151610b26565b905061124e8482612a75565b8611156112995780600d600087868151811061126c5761126c612b67565b602002602001015181526020019081526020016000208190555080846112929190612a75565b93506112dd565b6112a38487612ace565b600d60008786815181106112b9576112b9612b67565b602002602001015181526020019081526020016000208190555085935050506112f2565b505080806112ea90612b20565b91505061118e565b508281146113355760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b4102222a3a2a760811b60448201526064016106e4565b61133f33846121bc565b50505050565b600260065414156113985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e4565b600260065560115460ff16156113c05760405162461bcd60e51b81526004016106e490612a48565b6000805b82518110156114fb576000600f60008584815181106113e5576113e5612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b031633146114525760405162461bcd60e51b81526020600482015260146024820152734f6e6c79206f776e65722063616e20636c61696d60601b60448201526064016106e4565b61146784838151811061123557611235612b67565b6114719084612a75565b9250600d600085848151811061148957611489612b67565b6020026020010151815260200190815260200160002060009055620151808160020154426114b79190612ace565b6114c19190612a8d565b6114ce9062015180612aaf565b8160020160008282546114e19190612a75565b909155508291506114f3905081612b20565b9150506113c4565b5061150633826121bc565b50506001600655565b60115460ff16156115325760405162461bcd60e51b81526004016106e490612a48565b60005b82518110156117d357600754835133916001600160a01b031690636352211e9086908590811061156757611567612b67565b60200260200101516040518263ffffffff1660e01b815260040161158d91815260200190565b60206040518083038186803b1580156115a557600080fd5b505afa1580156115b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115dd91906126d4565b6001600160a01b03161461161f5760405162461bcd60e51b81526020600482015260096024820152682737ba1027bbb732b960b91b60448201526064016106e4565b6040805160c08101825233808252600060208084018290524284860181905260608501526080840182905291815260109091529182205460a082015284519091600f9186908590811061167457611674612b67565b60209081029190910181015182528181019290925260409081016000908120845181546001600160a01b0319166001600160a01b03909116178155848401516001820155848301516002820155606085015160038201556080850151600482015560a09094015160059094019390935533835260109091529020835184908390811061170257611702612b67565b6020908102919091018101518254600181018455600093845291909220015560075483516001600160a01b03909116906342842e0e903390309087908690811061174e5761174e612b67565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156117a857600080fd5b505af11580156117bc573d6000803e3d6000fd5b5050505080806117cb90612b20565b915050611535565b508015610aa35760018251116118225760405162461bcd60e51b815260206004820152601460248201527326b4b7102637b1b59020b6b7bab73a1024b9901960611b60448201526064016106e4565b610aa382611f77565b6005546001600160a01b031633146118555760405162461bcd60e51b81526004016106e490612a13565b61185f6000612469565b565b6005546001600160a01b0316331461188b5760405162461bcd60e51b81526004016106e490612a13565b600b80548061108e5761108e612b51565b60606004805461063e90612ae5565b6005546001600160a01b031633146118d55760405162461bcd60e51b81526004016106e490612a13565b6011805460ff1916911515919091179055565b6010602052816000526040600020818154811061190457600080fd5b90600052602060002001600091509150505481565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561199b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106e4565b6119a83385858403612097565b5060019392505050565b600061075733848461229b565b60115460ff16156119e25760405162461bcd60e51b81526004016106e490612a48565b336000908152600e602052604090205460ff16611a345760405162461bcd60e51b815260206004820152601060248201526f139bdd08185c1c1c9bdd9959081e595d60821b60448201526064016106e4565b610aa382826124bb565b6005546001600160a01b03163314611a685760405162461bcd60e51b81526004016106e490612a13565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b60115460ff1615611ac05760405162461bcd60e51b81526004016106e490612a48565b611ac981611345565b60005b8151811015610aa357600754825130916001600160a01b031690636352211e90859085908110611afe57611afe612b67565b60200260200101516040518263ffffffff1660e01b8152600401611b2491815260200190565b60206040518083038186803b158015611b3c57600080fd5b505afa158015611b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7491906126d4565b6001600160a01b031614611bbd5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881b9bdd081cdd185ad95960821b60448201526064016106e4565b6000600f6000848481518110611bd557611bd5612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b03163314611c445760405162461bcd60e51b81526020600482015260166024820152754f6e6c79206f776e65722063616e20756e7374616b6560501b60448201526064016106e4565b6009546001820154611c569042612ace565b11611c925760405162461bcd60e51b815260206004820152600c60248201526b139bdd081d5b9b1bd8dad95960a21b60448201526064016106e4565b3360009081526010602052604090208054611caf90600190612ace565b81548110611cbf57611cbf612b67565b600091825260208083209091015433835260109091526040909120600583015481548110611cef57611cef612b67565b600091825260208083209091019290925560058301543382526010909252604081208054600f92919084908110611d2857611d28612b67565b6000918252602080832090910154835282810193909352604091820181206005019390935533835260109091529020805480611d6657611d66612b51565b60019003818190600052602060002001600090559055600f6000848481518110611d9257611d92612b67565b6020908102919091018101518252810191909152604001600090812080546001600160a01b0319168155600181018290556002810182905560038101829055600481018290556005015560075483516001600160a01b03909116906342842e0e9030903390879087908110611e0957611e09612b67565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015611e6357600080fd5b505af1158015611e77573d6000803e3d6000fd5b50505050508080611e8790612b20565b915050611acc565b6005546001600160a01b03163314611eb95760405162461bcd60e51b81526004016106e490612a13565b61074733610a9e83670de0b6b3a7640000612aaf565b6005546001600160a01b03163314611ef95760405162461bcd60e51b81526004016106e490612a13565b6001600160a01b038116611f5e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e4565b61074781612469565b600b818154811061061e57600080fd5b60005b8151811015610aa3576000600f6000848481518110611f9b57611f9b612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b031633146120075760405162461bcd60e51b81526020600482015260136024820152724f6e6c79206f776e65722063616e206c6f636b60681b60448201526064016106e4565b60095460018201546120199042612ace565b116120575760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b1bd8dad95960921b60448201526064016106e4565b60028101546001820155825160061061207857825181600401819055612082565b6006816004018190555b5050808061208f90612b20565b915050611f7a565b6001600160a01b0383166120f95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106e4565b6001600160a01b03821661215a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106e4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0382166122125760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106e4565b80600260008282546122249190612a75565b90915550506001600160a01b03821660009081526020819052604081208054839290612251908490612a75565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166122ff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106e4565b6001600160a01b0382166123615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106e4565b6001600160a01b038316600090815260208190526040902054818110156123d95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106e4565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612410908490612a75565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161245c91815260200190565b60405180910390a361133f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661251b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106e4565b6001600160a01b0382166000908152602081905260409020548181101561258f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106e4565b6001600160a01b03831660009081526020819052604081208383039055600280548492906125be908490612ace565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016121af565b600082601f83011261261257600080fd5b8135602067ffffffffffffffff8083111561262f5761262f612b7d565b8260051b604051601f19603f8301168101818110848211171561265457612654612b7d565b6040528481528381019250868401828801850189101561267357600080fd5b600092505b85831015612696578035845292840192600192909201918401612678565b50979650505050505050565b803580151581146126b257600080fd5b919050565b6000602082840312156126c957600080fd5b8135610f1181612b93565b6000602082840312156126e657600080fd5b8151610f1181612b93565b6000806040838503121561270457600080fd5b823561270f81612b93565b9150602083013561271f81612b93565b809150509250929050565b60008060006060848603121561273f57600080fd5b833561274a81612b93565b9250602084013561275a81612b93565b929592945050506040919091013590565b60008060008060006080868803121561278357600080fd5b853561278e81612b93565b9450602086013561279e81612b93565b935060408601359250606086013567ffffffffffffffff808211156127c257600080fd5b818801915088601f8301126127d657600080fd5b8135818111156127e557600080fd5b8960208285010111156127f757600080fd5b9699959850939650602001949392505050565b6000806040838503121561281d57600080fd5b823561282881612b93565b9150612836602084016126a2565b90509250929050565b6000806040838503121561285257600080fd5b823561285d81612b93565b946020939093013593505050565b60008060006060848603121561288057600080fd5b833561288b81612b93565b925060208401359150604084013567ffffffffffffffff8111156128ae57600080fd5b6128ba86828701612601565b9150509250925092565b6000602082840312156128d657600080fd5b813567ffffffffffffffff8111156128ed57600080fd5b6128f984828501612601565b949350505050565b6000806040838503121561291457600080fd5b823567ffffffffffffffff81111561292b57600080fd5b61293785828601612601565b925050612836602084016126a2565b60006020828403121561295857600080fd5b610f11826126a2565b60006020828403121561297357600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b818110156129b257835183529284019291840191600101612996565b50909695505050505050565b600060208083528351808285015260005b818110156129eb578581018301518582016040015282016129cf565b818111156129fd576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260139082015272115e1958dd5d1a5bdb881a5cc81c185d5cd959606a1b604082015260600190565b60008219821115612a8857612a88612b3b565b500190565b600082612aaa57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612ac957612ac9612b3b565b500290565b600082821015612ae057612ae0612b3b565b500390565b600181811c90821680612af957607f821691505b60208210811415612b1a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b3457612b34612b3b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461074757600080fdfea26469706673582212207d11aeac9b59299b43c3c7f9b3ccc4c1d74ba2b5553ddfd36df7022723551db364736f6c6343000807003300000000000000000000000082d9a362621784f34dc281b44b5cc82ce8c3f07f

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102485760003560e01c8063715018a61161013b578063a9059cbb116100b8578063c782311c1161007c578063c782311c14610589578063dd62ed3e1461059c578063f19e75d4146105d5578063f2fde38b146105e8578063f301af42146105fb57600080fd5b8063a9059cbb146104bf578063b187bd26146104d2578063b9ba926e146104df578063beceed39146104f2578063c07885551461050557600080fd5b806395d89b41116100ff57806395d89b411461045b57806396b21f31146104635780639915b58314610476578063a39b215314610499578063a457c2d7146104ac57600080fd5b8063715018a61461041e57806374001d3014610426578063785f25431461042f5780637985ee8f146104385780638da5cb5b1461044057600080fd5b806323b872dd116101c95780635554c3021161018d5780635554c3021461039c5780635a6213c1146103bc5780635eac6239146103cf57806368e563fc146103e257806370a08231146103f557600080fd5b806323b872dd1461034c578063313ce5671461035f578063386040ce1461036e57806339509351146103815780633e7544811461039457600080fd5b80630e95b3fe116102105780630e95b3fe146102d35780630f26e338146102e6578063150b7a02146102f957806318160ddd146103315780631c4b774b1461033957600080fd5b806305e30f511461024d57806306fdde0314610273578063084b731a14610288578063095ea7b31461029d5780630b1eebb5146102c0575b600080fd5b61026061025b366004612961565b61060e565b6040519081526020015b60405180910390f35b61027b61062f565b60405161026a91906129be565b61029b6102963660046128c4565b6106c1565b005b6102b06102ab36600461283f565b61074a565b604051901515815260200161026a565b61029b6102ce366004612961565b610760565b61029b6102e13660046128c4565b6107bf565b61029b6102f4366004612961565b610aa7565b61031861030736600461276b565b630a85bd0160e11b95945050505050565b6040516001600160e01b0319909116815260200161026a565b600254610260565b610260610347366004612961565b610b26565b6102b061035a36600461272a565b610f18565b6040516012815260200161026a565b61029b61037c36600461280a565b610fc2565b6102b061038f36600461283f565b611017565b61029b611053565b6103af6103aa3660046126b7565b6110a6565b60405161026a919061297a565b61029b6103ca36600461286b565b611112565b61029b6103dd3660046128c4565b611345565b61029b6103f0366004612901565b61150f565b6102606104033660046126b7565b6001600160a01b031660009081526020819052604090205490565b61029b61182b565b61026060095481565b61026060085481565b61029b611861565b6005546040516001600160a01b03909116815260200161026a565b61027b61189c565b61029b610471366004612946565b6118ab565b6102b0610484366004612961565b600a6020526000908152604090205460ff1681565b6102606104a736600461283f565b6118e8565b6102b06104ba36600461283f565b611919565b6102b06104cd36600461283f565b6119b2565b6011546102b09060ff1681565b61029b6104ed36600461283f565b6119bf565b61029b610500366004612961565b611a3e565b610552610513366004612961565b600f602052600090815260409020805460018201546002830154600384015460048501546005909501546001600160a01b039094169492939192909186565b604080516001600160a01b0390971687526020870195909552938501929092526060840152608083015260a082015260c00161026a565b61029b6105973660046128c4565b611a9d565b6102606105aa3660046126f1565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61029b6105e3366004612961565b611e8f565b61029b6105f63660046126b7565b611ecf565b610260610609366004612961565b611f67565b600c818154811061061e57600080fd5b600091825260209091200154905081565b60606003805461063e90612ae5565b80601f016020809104026020016040519081016040528092919081815260200182805461066a90612ae5565b80156106b75780601f1061068c576101008083540402835291602001916106b7565b820191906000526020600020905b81548152906001019060200180831161069a57829003601f168201915b5050505050905090565b60115460ff16156106ed5760405162461bcd60e51b81526004016106e490612a48565b60405180910390fd5b60018151116107355760405162461bcd60e51b815260206004820152601460248201527326b4b7102637b1b59020b6b7bab73a1024b9901960611b60448201526064016106e4565b61073e81611345565b61074781611f77565b50565b6000610757338484612097565b50600192915050565b6005546001600160a01b0316331461078a5760405162461bcd60e51b81526004016106e490612a13565b600c80546001810182556000919091527fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70155565b60115460ff16156107e25760405162461bcd60e51b81526004016106e490612a48565b62093a80600854426107f49190612ace565b116108395760405162461bcd60e51b8152602060048201526015602482015274125d09dcc81b9bdd08189a5c9d1a19185e481e595d605a1b60448201526064016106e4565b6000805b8251811015610a87576108ae83828151811061085b5761085b612b67565b6020026020010151106108a85760405162461bcd60e51b81526020600482015260156024820152742932bbb0b9321037b7363c903a34b636101919191960591b60448201526064016106e4565b600754835133916001600160a01b031690636352211e908690859081106108d1576108d1612b67565b60200260200101516040518263ffffffff1660e01b81526004016108f791815260200190565b60206040518083038186803b15801561090f57600080fd5b505afa158015610923573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094791906126d4565b6001600160a01b0316148061099d5750336001600160a01b0316600f600085848151811061097757610977612b67565b6020908102919091018101518252810191909152604001600020546001600160a01b0316145b6109a657600080fd5b600a60008483815181106109bc576109bc612b67565b60209081029190910181015182528101919091526040016000205460ff1615610a195760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4810db185a5b5959608a1b60448201526064016106e4565b600a6000848381518110610a2f57610a2f612b67565b60209081029190910181015182520152600b8054600090610a5257610a52612b67565b90600052602060002001546020610a699190612aaf565b610a739083612a75565b915080610a7f81612b20565b91505061083d565b50610aa333610a9e83670de0b6b3a7640000612aaf565b6121bc565b5050565b60115460ff1615610aca5760405162461bcd60e51b81526004016106e490612a48565b336000908152600e602052604090205460ff16610b1c5760405162461bcd60e51b815260206004820152601060248201526f139bdd08185c1c1c9bdd9959081e595d60821b60448201526064016106e4565b61074733826121bc565b6007546040516331a9108f60e11b81526004810183905260009130916001600160a01b0390911690636352211e9060240160206040518083038186803b158015610b6f57600080fd5b505afa158015610b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba791906126d4565b6001600160a01b031614610bf05760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881b9bdd081cdd185ad95960821b60448201526064016106e4565b6000828152600f602052604081206009546001820154919291610c139042612ace565b11610cf157600062015180836002015442610c2e9190612ace565b610c389190612a8d565b9050600083600401549050600d600087815260200190815260200160002054600a600c8381548110610c6c57610c6c612b67565b9060005260206000200154600a610c839190612a75565b600b610c916108ae8b612a8d565b81548110610ca157610ca1612b67565b906000526020600020015485670de0b6b3a7640000610cc09190612aaf565b610cca9190612aaf565b610cd49190612aaf565b610cde9190612a8d565b610ce89190612ace565b92505050610f11565b60006009548360010154610d059190612a75565b90508042118015610d195750808360020154105b15610e885760006201518084600201546009548660010154610d3b9190612a75565b610d459190612ace565b610d4f9190612a8d565b90506000620151806009548660010154610d699190612a75565b610d739042612ace565b610d7d9190612a8d565b9050600085600401549050600a600c8281548110610d9d57610d9d612b67565b9060005260206000200154600a610db49190612a75565b600b610dc26108ae8c612a8d565b81548110610dd257610dd2612b67565b906000526020600020015485670de0b6b3a7640000610df19190612aaf565b610dfb9190612aaf565b610e059190612aaf565b610e0f9190612a8d565b9450600b610e1f6108ae8a612a8d565b81548110610e2f57610e2f612b67565b906000526020600020015482670de0b6b3a7640000610e4e9190612aaf565b610e589190612aaf565b610e629086612a75565b6000898152600d6020526040902054909550610e7e9086612ace565b9450505050610f0f565b600062015180846002015442610e9e9190612ace565b610ea89190612a8d565b6000878152600d6020526040902054909150600b610ec86108ae89612a8d565b81548110610ed857610ed8612b67565b906000526020600020015482670de0b6b3a7640000610ef79190612aaf565b610f019190612aaf565b610f0b9190612ace565b9250505b505b9392505050565b6000610f2584848461229b565b6001600160a01b038416600090815260016020908152604080832033845290915290205482811015610faa5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016106e4565b610fb78533858403612097565b506001949350505050565b6005546001600160a01b03163314610fec5760405162461bcd60e51b81526004016106e490612a13565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161075791859061104e908690612a75565b612097565b6005546001600160a01b0316331461107d5760405162461bcd60e51b81526004016106e490612a13565b600c80548061108e5761108e612b51565b60019003818190600052602060002001600090559055565b6001600160a01b03811660009081526010602090815260409182902080548351818402810184019094528084526060939283018282801561110657602002820191906000526020600020905b8154815260200190600101908083116110f2575b50505050509050919050565b60115460ff16156111355760405162461bcd60e51b81526004016106e490612a48565b336000908152600e602052604090205460ff1661118a5760405162461bcd60e51b81526020600482015260136024820152722737ba1030b8383937bb32b21031b0b63632b960691b60448201526064016106e4565b6000805b82518110156112f2576000600f60008584815181106111af576111af612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b0387811691161461121e5760405162461bcd60e51b81526020600482015260136024820152724f6e6c79206f776e65722063616e206c6f636b60681b60448201526064016106e4565b600061124285848151811061123557611235612b67565b6020026020010151610b26565b905061124e8482612a75565b8611156112995780600d600087868151811061126c5761126c612b67565b602002602001015181526020019081526020016000208190555080846112929190612a75565b93506112dd565b6112a38487612ace565b600d60008786815181106112b9576112b9612b67565b602002602001015181526020019081526020016000208190555085935050506112f2565b505080806112ea90612b20565b91505061118e565b508281146113355760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b4102222a3a2a760811b60448201526064016106e4565b61133f33846121bc565b50505050565b600260065414156113985760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016106e4565b600260065560115460ff16156113c05760405162461bcd60e51b81526004016106e490612a48565b6000805b82518110156114fb576000600f60008584815181106113e5576113e5612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b031633146114525760405162461bcd60e51b81526020600482015260146024820152734f6e6c79206f776e65722063616e20636c61696d60601b60448201526064016106e4565b61146784838151811061123557611235612b67565b6114719084612a75565b9250600d600085848151811061148957611489612b67565b6020026020010151815260200190815260200160002060009055620151808160020154426114b79190612ace565b6114c19190612a8d565b6114ce9062015180612aaf565b8160020160008282546114e19190612a75565b909155508291506114f3905081612b20565b9150506113c4565b5061150633826121bc565b50506001600655565b60115460ff16156115325760405162461bcd60e51b81526004016106e490612a48565b60005b82518110156117d357600754835133916001600160a01b031690636352211e9086908590811061156757611567612b67565b60200260200101516040518263ffffffff1660e01b815260040161158d91815260200190565b60206040518083038186803b1580156115a557600080fd5b505afa1580156115b9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115dd91906126d4565b6001600160a01b03161461161f5760405162461bcd60e51b81526020600482015260096024820152682737ba1027bbb732b960b91b60448201526064016106e4565b6040805160c08101825233808252600060208084018290524284860181905260608501526080840182905291815260109091529182205460a082015284519091600f9186908590811061167457611674612b67565b60209081029190910181015182528181019290925260409081016000908120845181546001600160a01b0319166001600160a01b03909116178155848401516001820155848301516002820155606085015160038201556080850151600482015560a09094015160059094019390935533835260109091529020835184908390811061170257611702612b67565b6020908102919091018101518254600181018455600093845291909220015560075483516001600160a01b03909116906342842e0e903390309087908690811061174e5761174e612b67565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b1580156117a857600080fd5b505af11580156117bc573d6000803e3d6000fd5b5050505080806117cb90612b20565b915050611535565b508015610aa35760018251116118225760405162461bcd60e51b815260206004820152601460248201527326b4b7102637b1b59020b6b7bab73a1024b9901960611b60448201526064016106e4565b610aa382611f77565b6005546001600160a01b031633146118555760405162461bcd60e51b81526004016106e490612a13565b61185f6000612469565b565b6005546001600160a01b0316331461188b5760405162461bcd60e51b81526004016106e490612a13565b600b80548061108e5761108e612b51565b60606004805461063e90612ae5565b6005546001600160a01b031633146118d55760405162461bcd60e51b81526004016106e490612a13565b6011805460ff1916911515919091179055565b6010602052816000526040600020818154811061190457600080fd5b90600052602060002001600091509150505481565b3360009081526001602090815260408083206001600160a01b03861684529091528120548281101561199b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106e4565b6119a83385858403612097565b5060019392505050565b600061075733848461229b565b60115460ff16156119e25760405162461bcd60e51b81526004016106e490612a48565b336000908152600e602052604090205460ff16611a345760405162461bcd60e51b815260206004820152601060248201526f139bdd08185c1c1c9bdd9959081e595d60821b60448201526064016106e4565b610aa382826124bb565b6005546001600160a01b03163314611a685760405162461bcd60e51b81526004016106e490612a13565b600b80546001810182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b60115460ff1615611ac05760405162461bcd60e51b81526004016106e490612a48565b611ac981611345565b60005b8151811015610aa357600754825130916001600160a01b031690636352211e90859085908110611afe57611afe612b67565b60200260200101516040518263ffffffff1660e01b8152600401611b2491815260200190565b60206040518083038186803b158015611b3c57600080fd5b505afa158015611b50573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b7491906126d4565b6001600160a01b031614611bbd5760405162461bcd60e51b815260206004820152601060248201526f151bdad95b881b9bdd081cdd185ad95960821b60448201526064016106e4565b6000600f6000848481518110611bd557611bd5612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b03163314611c445760405162461bcd60e51b81526020600482015260166024820152754f6e6c79206f776e65722063616e20756e7374616b6560501b60448201526064016106e4565b6009546001820154611c569042612ace565b11611c925760405162461bcd60e51b815260206004820152600c60248201526b139bdd081d5b9b1bd8dad95960a21b60448201526064016106e4565b3360009081526010602052604090208054611caf90600190612ace565b81548110611cbf57611cbf612b67565b600091825260208083209091015433835260109091526040909120600583015481548110611cef57611cef612b67565b600091825260208083209091019290925560058301543382526010909252604081208054600f92919084908110611d2857611d28612b67565b6000918252602080832090910154835282810193909352604091820181206005019390935533835260109091529020805480611d6657611d66612b51565b60019003818190600052602060002001600090559055600f6000848481518110611d9257611d92612b67565b6020908102919091018101518252810191909152604001600090812080546001600160a01b0319168155600181018290556002810182905560038101829055600481018290556005015560075483516001600160a01b03909116906342842e0e9030903390879087908110611e0957611e09612b67565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820152606401600060405180830381600087803b158015611e6357600080fd5b505af1158015611e77573d6000803e3d6000fd5b50505050508080611e8790612b20565b915050611acc565b6005546001600160a01b03163314611eb95760405162461bcd60e51b81526004016106e490612a13565b61074733610a9e83670de0b6b3a7640000612aaf565b6005546001600160a01b03163314611ef95760405162461bcd60e51b81526004016106e490612a13565b6001600160a01b038116611f5e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106e4565b61074781612469565b600b818154811061061e57600080fd5b60005b8151811015610aa3576000600f6000848481518110611f9b57611f9b612b67565b602090810291909101810151825281019190915260400160002080549091506001600160a01b031633146120075760405162461bcd60e51b81526020600482015260136024820152724f6e6c79206f776e65722063616e206c6f636b60681b60448201526064016106e4565b60095460018201546120199042612ace565b116120575760405162461bcd60e51b815260206004820152600e60248201526d105b1c9958591e481b1bd8dad95960921b60448201526064016106e4565b60028101546001820155825160061061207857825181600401819055612082565b6006816004018190555b5050808061208f90612b20565b915050611f7a565b6001600160a01b0383166120f95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106e4565b6001600160a01b03821661215a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106e4565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0382166122125760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106e4565b80600260008282546122249190612a75565b90915550506001600160a01b03821660009081526020819052604081208054839290612251908490612a75565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6001600160a01b0383166122ff5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106e4565b6001600160a01b0382166123615760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106e4565b6001600160a01b038316600090815260208190526040902054818110156123d95760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106e4565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612410908490612a75565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161245c91815260200190565b60405180910390a361133f565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821661251b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016106e4565b6001600160a01b0382166000908152602081905260409020548181101561258f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016106e4565b6001600160a01b03831660009081526020819052604081208383039055600280548492906125be908490612ace565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016121af565b600082601f83011261261257600080fd5b8135602067ffffffffffffffff8083111561262f5761262f612b7d565b8260051b604051601f19603f8301168101818110848211171561265457612654612b7d565b6040528481528381019250868401828801850189101561267357600080fd5b600092505b85831015612696578035845292840192600192909201918401612678565b50979650505050505050565b803580151581146126b257600080fd5b919050565b6000602082840312156126c957600080fd5b8135610f1181612b93565b6000602082840312156126e657600080fd5b8151610f1181612b93565b6000806040838503121561270457600080fd5b823561270f81612b93565b9150602083013561271f81612b93565b809150509250929050565b60008060006060848603121561273f57600080fd5b833561274a81612b93565b9250602084013561275a81612b93565b929592945050506040919091013590565b60008060008060006080868803121561278357600080fd5b853561278e81612b93565b9450602086013561279e81612b93565b935060408601359250606086013567ffffffffffffffff808211156127c257600080fd5b818801915088601f8301126127d657600080fd5b8135818111156127e557600080fd5b8960208285010111156127f757600080fd5b9699959850939650602001949392505050565b6000806040838503121561281d57600080fd5b823561282881612b93565b9150612836602084016126a2565b90509250929050565b6000806040838503121561285257600080fd5b823561285d81612b93565b946020939093013593505050565b60008060006060848603121561288057600080fd5b833561288b81612b93565b925060208401359150604084013567ffffffffffffffff8111156128ae57600080fd5b6128ba86828701612601565b9150509250925092565b6000602082840312156128d657600080fd5b813567ffffffffffffffff8111156128ed57600080fd5b6128f984828501612601565b949350505050565b6000806040838503121561291457600080fd5b823567ffffffffffffffff81111561292b57600080fd5b61293785828601612601565b925050612836602084016126a2565b60006020828403121561295857600080fd5b610f11826126a2565b60006020828403121561297357600080fd5b5035919050565b6020808252825182820181905260009190848201906040850190845b818110156129b257835183529284019291840191600101612996565b50909695505050505050565b600060208083528351808285015260005b818110156129eb578581018301518582016040015282016129cf565b818111156129fd576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b602080825260139082015272115e1958dd5d1a5bdb881a5cc81c185d5cd959606a1b604082015260600190565b60008219821115612a8857612a88612b3b565b500190565b600082612aaa57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615612ac957612ac9612b3b565b500290565b600082821015612ae057612ae0612b3b565b500390565b600181811c90821680612af957607f821691505b60208210811415612b1a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b3457612b34612b3b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461074757600080fdfea26469706673582212207d11aeac9b59299b43c3c7f9b3ccc4c1d74ba2b5553ddfd36df7022723551db364736f6c63430008070033

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

00000000000000000000000082d9a362621784f34dc281b44b5cc82ce8c3f07f

-----Decoded View---------------
Arg [0] : punkxAddress (address): 0x82d9A362621784f34dc281B44B5cC82Ce8c3F07F

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000082d9a362621784f34dc281b44b5cc82ce8c3f07f


Deployed Bytecode Sourcemap

57444:10296:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57744:42;;;;;;:::i;:::-;;:::i;:::-;;;19004:25:1;;;18992:2;18977:18;57744:42:0;;;;;;;;46997:100;;;:::i;:::-;;;;;;;:::i;60297:199::-;;;;;;:::i;:::-;;:::i;:::-;;49164:169;;;;;;:::i;:::-;;:::i;:::-;;;7696:14:1;;7689:22;7671:41;;7659:2;7644:18;49164:169:0;7531:187:1;58777:96:0;;;;;;:::i;:::-;;:::i;62508:644::-;;;;;;:::i;:::-;;:::i;66973:167::-;;;;;;:::i;:::-;;:::i;67574:163::-;;;;;;:::i;:::-;-1:-1:-1;;;67574:163:0;;;;;;;;;;;-1:-1:-1;;;;;;7885:33:1;;;7867:52;;7855:2;7840:18;67574:163:0;7723:202:1;48117:108:0;48205:12;;48117:108;;65152:1813;;;;;;:::i;:::-;;:::i;49815:492::-;;;;;;:::i;:::-;;:::i;47959:93::-;;;48042:2;19182:36:1;;19170:2;19155:18;47959:93:0;19040:184:1;67331:134:0;;;;;;:::i;:::-;;:::i;50716:215::-;;;;;;:::i;:::-;;:::i;58686:83::-;;;:::i;59108:124::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;64111:904::-;;;;;;:::i;:::-;;:::i;63305:598::-;;;;;;:::i;:::-;;:::i;59469:638::-;;;;;;:::i;:::-;;:::i;48288:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;48389:18:0;48362:7;48389:18;;;;;;;;;;;;48288:127;45481:94;;;:::i;57591:33::-;;;;;;57562:22;;;;;;58601:77;;;:::i;44830:87::-;44903:6;;44830:87;;-1:-1:-1;;;;;44903:6:0;;;5886:51:1;;5874:2;5859:18;44830:87:0;5740:203:1;47216:104:0;;;:::i;67473:89::-;;;;;;:::i;:::-;;:::i;57649:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;57942:42;;;;;;:::i;:::-;;:::i;51434:413::-;;;;;;:::i;:::-;;:::i;48628:175::-;;;;;;:::i;:::-;;:::i;58011:20::-;;;;;;;;;67148:175;;;;;;:::i;:::-;;:::i;58881:90::-;;;;;;:::i;:::-;;:::i;57895:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;57895:40:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6633:32:1;;;6615:51;;6697:2;6682:18;;6675:34;;;;6725:18;;;6718:34;;;;6783:2;6768:18;;6761:34;6826:3;6811:19;;6804:35;6653:3;6855:19;;6848:35;6602:3;6587:19;57895:40:0;6328:561:1;61322:990:0;;;;;;:::i;:::-;;:::i;48866:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;48982:18:0;;;48955:7;48982:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;48866:151;58979:108;;;;;;:::i;:::-;;:::i;45730:229::-;;;;;;:::i;:::-;;:::i;57700:37::-;;;;;;:::i;:::-;;:::i;57744:42::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57744:42:0;:::o;46997:100::-;47051:13;47084:5;47077:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46997:100;:::o;60297:199::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;;;;;;;;;60397:1:::1;60379:8;:15;:19;60370:52;;;::::0;-1:-1:-1;;;60370:52:0;;14300:2:1;60370:52:0::1;::::0;::::1;14282:21:1::0;14339:2;14319:18;;;14312:30;-1:-1:-1;;;14358:18:1;;;14351:50;14418:18;;60370:52:0::1;14098:344:1::0;60370:52:0::1;60433:22;60446:8;60433:12;:22::i;:::-;60466;60479:8;60466:12;:22::i;:::-;60297:199:::0;:::o;49164:169::-;49247:4;49264:39;26768:10;49287:7;49296:6;49264:8;:39::i;:::-;-1:-1:-1;49321:4:0;49164:169;;;;:::o;58777:96::-;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;58843:10:::1;:22:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;58843:22:0;;;;;::::1;::::0;58777:96::o;62508:644::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;62626:6:::1;62613:10;;62595:15;:28;;;;:::i;:::-;:37;62587:71;;;::::0;-1:-1:-1;;;62587:71:0;;11796:2:1;62587:71:0::1;::::0;::::1;11778:21:1::0;11835:2;11815:18;;;11808:30;-1:-1:-1;;;11854:18:1;;;11847:51;11915:18;;62587:71:0::1;11594:345:1::0;62587:71:0::1;62669:16;::::0;62696:401:::1;62711:8;:15;62709:1;:17;62696:401;;;62768:4;62754:8;62763:1;62754:11;;;;;;;;:::i;:::-;;;;;;;:18;62746:51;;;::::0;-1:-1:-1;;;62746:51:0;;11446:2:1;62746:51:0::1;::::0;::::1;11428:21:1::0;11485:2;11465:18;;;11458:30;-1:-1:-1;;;11504:18:1;;;11497:51;11565:18;;62746:51:0::1;11244:345:1::0;62746:51:0::1;62821:5;::::0;62835:11;;62849:10:::1;::::0;-1:-1:-1;;;;;62821:5:0::1;::::0;:13:::1;::::0;62835:8;;62844:1;;62835:11;::::1;;;;;:::i;:::-;;;;;;;62821:26;;;;;;;;;;;;;19004:25:1::0;;18992:2;18977:18;;18858:177;62821:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;62821:38:0::1;;:94;;;-1:-1:-1::0;26768:10:0;-1:-1:-1;;;;;62863:52:0::1;:12;:25;62876:8;62885:1;62876:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;62863:25;;;::::1;::::0;;;;;;-1:-1:-1;62863:25:0;:36;-1:-1:-1;;;;;62863:36:0::1;:52;62821:94;62812:104;;;::::0;::::1;;62940:17;:30;62958:8;62967:1;62958:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;62940:30;;;::::1;::::0;;;;;;-1:-1:-1;62940:30:0;;::::1;;62939:31;62931:58;;;::::0;-1:-1:-1;;;62931:58:0;;15862:2:1;62931:58:0::1;::::0;::::1;15844:21:1::0;15901:2;15881:18;;;15874:30;-1:-1:-1;;;15920:18:1;;;15913:45;15975:18;;62931:58:0::1;15660:339:1::0;62931:58:0::1;63004:17;:30;63022:8;63031:1;63022:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;63004:30;;::::1;::::0;63075:7:::1;:10:::0;;-1:-1:-1;;63075:10:0::1;;;;:::i;:::-;;;;;;;;;63072:2;:13;;;;:::i;:::-;63057:28;::::0;;::::1;:::i;:::-;::::0;-1:-1:-1;62727:3:0;::::1;::::0;::::1;:::i;:::-;;;;62696:401;;;-1:-1:-1::0;63107:37:0::1;63113:10;63124:19;:11:::0;63136:7:::1;63124:19;:::i;:::-;63107:5;:37::i;:::-;62576:576;62508:644:::0;:::o;66973:167::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;67061:10:::1;67050:22;::::0;;;:10:::1;:22;::::0;;;;;::::1;;67042:51;;;::::0;-1:-1:-1;;;67042:51:0;;17604:2:1;67042:51:0::1;::::0;::::1;17586:21:1::0;17643:2;17623:18;;;17616:30;-1:-1:-1;;;17662:18:1;;;17655:46;17718:18;;67042:51:0::1;17402:340:1::0;67042:51:0::1;67104:28;26768:10:::0;67124:7:::1;67104:5;:28::i;65152:1813::-:0;65233:5;;:22;;-1:-1:-1;;;65233:22:0;;;;;19004:25:1;;;65205:4:0;;65267;;-1:-1:-1;;;;;65233:5:0;;;;:13;;18977:18:1;;65233:22:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;65233:39:0;;65225:67;;;;-1:-1:-1;;;65225:67:0;;18715:2:1;65225:67:0;;;18697:21:1;18754:2;18734:18;;;18727:30;-1:-1:-1;;;18773:18:1;;;18766:46;18829:18;;65225:67:0;18513:340:1;65225:67:0;65332:26;65361:21;;;:12;:21;;;;;65469:11;;65444:21;;;;65361;;65332:26;65426:39;;:15;:39;:::i;:::-;:54;65423:1511;;65549:15;65610:6;65586:12;:22;;;65568:15;:40;;;;:::i;:::-;65567:49;;;;:::i;:::-;65549:67;;65635:10;65648:12;:25;;;65635:38;;65770:17;:26;65788:7;65770:26;;;;;;;;;;;;65765:2;65746:10;65757:5;65746:17;;;;;;;;:::i;:::-;;;;;;;;;65743:2;:20;;;;:::i;:::-;65720:7;65728:12;65736:4;65728:7;:12;:::i;:::-;65720:21;;;;;;;;:::i;:::-;;;;;;;;;65709:10;65701:7;:18;;;;:::i;:::-;:40;;;;:::i;:::-;:63;;;;:::i;:::-;:66;;;;:::i;:::-;:95;;;;:::i;:::-;65692:104;;65482:363;;65423:1511;;;65883:15;65925:11;;65901:12;:21;;;:35;;;;:::i;:::-;65883:53;;65976:10;65958:15;:28;:67;;;;;66015:10;65990:12;:22;;;:35;65958:67;65955:964;;;66122:15;66203:6;66179:12;:22;;;66165:11;;66141:12;:21;;;:35;;;;:::i;:::-;:60;;;;:::i;:::-;66140:69;;;;:::i;:::-;66122:87;;66232:17;66310:6;66296:11;;66272:12;:21;;;:35;;;;:::i;:::-;66253:55;;:15;:55;:::i;:::-;66252:64;;;;:::i;:::-;66232:84;;66339:10;66352:12;:25;;;66339:38;;66473:2;66454:10;66465:5;66454:17;;;;;;;;:::i;:::-;;;;;;;;;66451:2;:20;;;;:::i;:::-;66428:7;66436:12;66444:4;66436:7;:12;:::i;:::-;66428:21;;;;;;;;:::i;:::-;;;;;;;;;66417:10;66409:7;:18;;;;:::i;:::-;:40;;;;:::i;:::-;:63;;;;:::i;:::-;:66;;;;:::i;:::-;66400:75;-1:-1:-1;66529:7:0;66537:12;66545:4;66537:7;:12;:::i;:::-;66529:21;;;;;;;;:::i;:::-;;;;;;;;;66516:12;66508:7;:20;;;;:::i;:::-;:42;;;;:::i;:::-;66498:52;;;;:::i;:::-;66583:26;;;;:17;:26;;;;;;66498:52;;-1:-1:-1;66573:36:0;;66498:52;66573:36;:::i;:::-;;;66026:603;;;65955:964;;;66731:15;66792:6;66768:12;:22;;;66750:15;:40;;;;:::i;:::-;66749:49;;;;:::i;:::-;66873:26;;;;:17;:26;;;;;;66731:67;;-1:-1:-1;66849:7:0;66857:12;66865:4;66891:7;66857:12;:::i;:::-;66849:21;;;;;;;;:::i;:::-;;;;;;;;;66838:10;66830:7;:18;;;;:::i;:::-;:40;;;;:::i;:::-;:69;;;;:::i;:::-;66821:78;;66651:268;65955:964;65864:1070;65423:1511;66951:6;65152:1813;-1:-1:-1;;;65152:1813:0:o;49815:492::-;49955:4;49972:36;49982:6;49990:9;50001:6;49972:9;:36::i;:::-;-1:-1:-1;;;;;50048:19:0;;50021:24;50048:19;;;:11;:19;;;;;;;;26768:10;50048:33;;;;;;;;50100:26;;;;50092:79;;;;-1:-1:-1;;;50092:79:0;;13185:2:1;50092:79:0;;;13167:21:1;13224:2;13204:18;;;13197:30;13263:34;13243:18;;;13236:62;-1:-1:-1;;;13314:18:1;;;13307:38;13362:19;;50092:79:0;12983:404:1;50092:79:0;50207:57;50216:6;26768:10;50257:6;50238:16;:25;50207:8;:57::i;:::-;-1:-1:-1;50295:4:0;;49815:492;-1:-1:-1;;;;49815:492:0:o;67331:134::-;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;67421:24:0;;;::::1;;::::0;;;:10:::1;:24;::::0;;;;:36;;-1:-1:-1;;67421:36:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67331:134::o;50716:215::-;26768:10;50804:4;50853:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;50853:34:0;;;;;;;;;;50804:4;;50821:80;;50844:7;;50853:47;;50890:10;;50853:47;:::i;:::-;50821:8;:80::i;58686:83::-;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;58745:10:::1;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;58686:83::o:0;59108:124::-;-1:-1:-1;;;;;59206:18:0;;;;;;:10;:18;;;;;;;;;59199:25;;;;;;;;;;;;;;;;;59174:13;;59199:25;;;59206:18;59199:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59108:124;;;:::o;64111:904::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;64236:10:::1;64225:22;::::0;;;:10:::1;:22;::::0;;;;;::::1;;64217:53;;;::::0;-1:-1:-1;;;64217:53:0;;12837:2:1;64217:53:0::1;::::0;::::1;12819:21:1::0;12876:2;12856:18;;;12849:30;-1:-1:-1;;;12895:18:1;;;12888:49;12954:18;;64217:53:0::1;12635:343:1::0;64217:53:0::1;64281:16;::::0;64308:605:::1;64323:8;:15;64321:1;:17;64308:605;;;64359:26;64388:12;:25;64401:8;64410:1;64401:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;64388:25;;;::::1;::::0;;;;;;-1:-1:-1;64388:25:0;64436:23;;64388:25;;-1:-1:-1;;;;;;64436:31:0;;::::1;:23:::0;::::1;:31;64428:62;;;::::0;-1:-1:-1;;;64428:62:0;;12146:2:1;64428:62:0::1;::::0;::::1;12128:21:1::0;12185:2;12165:18;;;12158:30;-1:-1:-1;;;12204:18:1;;;12197:49;12263:18;;64428:62:0::1;11944:343:1::0;64428:62:0::1;64533:11;64547:22;64557:8;64566:1;64557:11;;;;;;;;:::i;:::-;;;;;;;64547:9;:22::i;:::-;64533:36:::0;-1:-1:-1;64596:20:0::1;64605:11:::0;64533:36;64596:20:::1;:::i;:::-;64587:6;:29;64584:318;;;64670:6;64637:17;:30;64655:8;64664:1;64655:11;;;;;;;;:::i;:::-;;;;;;;64637:30;;;;;;;;;;;:39;;;;64710:6;64695:21;;;;;:::i;:::-;;;64584:318;;;64803:20;64812:11:::0;64803:6;:20:::1;:::i;:::-;64770:17;:30;64788:8;64797:1;64788:11;;;;;;;;:::i;:::-;;;;;;;64770:30;;;;;;;;;;;:53;;;;64856:6;64842:20;;64881:5;;;;64584:318;64344:569;;64339:3;;;;;:::i;:::-;;;;64308:605;;;;64946:6;64931:11;:21;64923:49;;;::::0;-1:-1:-1;;;64923:49:0;;13955:2:1;64923:49:0::1;::::0;::::1;13937:21:1::0;13994:2;13974:18;;;13967:30;-1:-1:-1;;;14013:18:1;;;14006:46;14069:18;;64923:49:0::1;13753:340:1::0;64923:49:0::1;64983:24;64989:10;65000:6;64983:5;:24::i;:::-;64206:809;64111:904:::0;;;:::o;63305:598::-;1794:1;2392:7;;:19;;2384:63;;;;-1:-1:-1;;;2384:63:0;;17244:2:1;2384:63:0;;;17226:21:1;17283:2;17263:18;;;17256:30;17322:33;17302:18;;;17295:61;17373:18;;2384:63:0;17042:355:1;2384:63:0;1794:1;2525:7;:18;59300:8:::1;::::0;::::1;;59299:9;59291:40;;;;-1:-1:-1::0;;;59291:40:0::1;;;;;;;:::i;:::-;63393:16:::2;::::0;63421:435:::2;63436:8;:15;63434:1;:17;63421:435;;;63471:26;63500:12;:25;63513:8;63522:1;63513:11;;;;;;;;:::i;:::-;;::::0;;::::2;::::0;;;;;;;63500:25;;;::::2;::::0;;;;;;-1:-1:-1;63500:25:0;63548:23;;63500:25;;-1:-1:-1;;;;;;63548:23:0::2;63575:10;63548:37;63540:69;;;::::0;-1:-1:-1;;;63540:69:0;;16547:2:1;63540:69:0::2;::::0;::::2;16529:21:1::0;16586:2;16566:18;;;16559:30;-1:-1:-1;;;16605:18:1;;;16598:50;16665:18;;63540:69:0::2;16345:344:1::0;63540:69:0::2;63668:22;63678:8;63687:1;63678:11;;;;;;;;:::i;63668:22::-;63653:37;::::0;;::::2;:::i;:::-;;;63712:17;:30;63730:8;63739:1;63730:11;;;;;;;;:::i;:::-;;;;;;;63712:30;;;;;;;;;;;63705:37;;;63828:6;63803:12;:22;;;63785:15;:40;;;;:::i;:::-;63784:50;;;;:::i;:::-;63783:61;::::0;63838:6:::2;63783:61;:::i;:::-;63757:12;:22;;;:87;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;63452:3:0;;-1:-1:-1;63452:3:0::2;::::0;-1:-1:-1;63452:3:0;::::2;:::i;:::-;;;;63421:435;;;;63866:29;63872:10;63883:11;63866:5;:29::i;:::-;-1:-1:-1::0;;1750:1:0;2704:7;:22;63305:598::o;59469:638::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;59561:6:::1;59556:410;59572:8;:15;59570:1;:17;59556:410;;;59616:5;::::0;59630:11;;59646:10:::1;::::0;-1:-1:-1;;;;;59616:5:0::1;::::0;:13:::1;::::0;59630:8;;59639:1;;59630:11;::::1;;;;;:::i;:::-;;;;;;;59616:26;;;;;;;;;;;;;19004:25:1::0;;18992:2;18977:18;;18858:177;59616:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;59616:40:0::1;;59608:61;;;::::0;-1:-1:-1;;;59608:61:0;;11109:2:1;59608:61:0::1;::::0;::::1;11091:21:1::0;11148:1;11128:18;;;11121:29;-1:-1:-1;;;11166:18:1;;;11159:39;11215:18;;59608:61:0::1;10907:332:1::0;59608:61:0::1;59741:83;::::0;;::::1;::::0;::::1;::::0;;59747:10:::1;59741:83:::0;;;-1:-1:-1;59741:83:0::1;::::0;;::::1;::::0;;;59760:15:::1;59741:83:::0;;;;;;;;;;;;;;;;59794:22;;;:10:::1;:22:::0;;;;;;:29;59741:83;;;;59726:11;;59741:83;;59713:12:::1;::::0;59726:8;;59735:1;;59726:11;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;59713:25;;;;::::1;::::0;;;;;;;;-1:-1:-1;59713:25:0;;;:111;;;;-1:-1:-1;;;;;;59713:111:0::1;-1:-1:-1::0;;;;;59713:111:0;;::::1;;::::0;;;;::::1;::::0;-1:-1:-1;59713:111:0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;59850:10:::1;59839:22:::0;;:10:::1;:22:::0;;;;;59867:11;;;;59876:1;;59867:11;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;59839:40;;::::1;::::0;::::1;::::0;;-1:-1:-1;59839:40:0;;;;;;;::::1;::::0;59894:5:::1;::::0;59942:11;;-1:-1:-1;;;;;59894:5:0;;::::1;::::0;:22:::1;::::0;59917:10:::1;::::0;59936:4:::1;::::0;59942:8;;59951:1;;59942:11;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;59894:60:::1;::::0;-1:-1:-1;;;;;;59894:60:0::1;::::0;;;;;;-1:-1:-1;;;;;6206:15:1;;;59894:60:0::1;::::0;::::1;6188:34:1::0;6258:15;;;;6238:18;;;6231:43;6290:18;;;6283:34;6123:18;;59894:60:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;59588:3;;;;;:::i;:::-;;;;59556:410;;;;59979:4;59976:124;;;60026:1;60008:8;:15;:19;59999:52;;;::::0;-1:-1:-1;;;59999:52:0;;14300:2:1;59999:52:0::1;::::0;::::1;14282:21:1::0;14339:2;14319:18;;;14312:30;-1:-1:-1;;;14358:18:1;;;14351:50;14418:18;;59999:52:0::1;14098:344:1::0;59999:52:0::1;60066:22;60079:8;60066:12;:22::i;45481:94::-:0;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;45546:21:::1;45564:1;45546:9;:21::i;:::-;45481:94::o:0;58601:77::-;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;58657:7:::1;:13;;;;;;;:::i;47216:104::-:0;47272:13;47305:7;47298:14;;;;;:::i;67473:89::-;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;67538:8:::1;:16:::0;;-1:-1:-1;;67538:16:0::1;::::0;::::1;;::::0;;;::::1;::::0;;67473:89::o;57942:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51434:413::-;26768:10;51527:4;51571:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;51571:34:0;;;;;;;;;;51624:35;;;;51616:85;;;;-1:-1:-1;;;51616:85:0;;17949:2:1;51616:85:0;;;17931:21:1;17988:2;17968:18;;;17961:30;18027:34;18007:18;;;18000:62;-1:-1:-1;;;18078:18:1;;;18071:35;18123:19;;51616:85:0;17747:401:1;51616:85:0;51737:67;26768:10;51760:7;51788:15;51769:16;:34;51737:8;:67::i;:::-;-1:-1:-1;51835:4:0;;51434:413;-1:-1:-1;;;51434:413:0:o;48628:175::-;48714:4;48731:42;26768:10;48755:9;48766:6;48731:9;:42::i;67148:175::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;67251:10:::1;67240:22;::::0;;;:10:::1;:22;::::0;;;;;::::1;;67232:51;;;::::0;-1:-1:-1;;;67232:51:0;;17604:2:1;67232:51:0::1;::::0;::::1;17586:21:1::0;17643:2;17623:18;;;17616:30;-1:-1:-1;;;17662:18:1;;;17655:46;17718:18;;67232:51:0::1;17402:340:1::0;67232:51:0::1;67294:21;67300:5;67307:7;67294:5;:21::i;58881:90::-:0;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;58944:7:::1;:19:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;58944:19:0;;;;;::::1;::::0;58881:90::o;61322:990::-;59300:8;;;;59299:9;59291:40;;;;-1:-1:-1;;;59291:40:0;;;;;;;:::i;:::-;61400:22:::1;61413:8;61400:12;:22::i;:::-;61438:6;61433:872;61449:8;:15;61446:1;:18;61433:872;;;61494:5;::::0;61508:11;;61532:4:::1;::::0;-1:-1:-1;;;;;61494:5:0::1;::::0;:13:::1;::::0;61508:8;;61517:1;;61508:11;::::1;;;;;:::i;:::-;;;;;;;61494:26;;;;;;;;;;;;;19004:25:1::0;;18992:2;18977:18;;18858:177;61494:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;61494:43:0::1;;61486:71;;;::::0;-1:-1:-1;;;61486:71:0;;18715:2:1;61486:71:0::1;::::0;::::1;18697:21:1::0;18754:2;18734:18;;;18727:30;-1:-1:-1;;;18773:18:1;;;18766:46;18829:18;;61486:71:0::1;18513:340:1::0;61486:71:0::1;61597:26;61626:12;:25;61639:8;61648:1;61639:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;61626:25;;;::::1;::::0;;;;;;-1:-1:-1;61626:25:0;61674:23;;61626:25;;-1:-1:-1;;;;;;61674:23:0::1;61701:10;61674:37;61666:71;;;::::0;-1:-1:-1;;;61666:71:0;;9541:2:1;61666:71:0::1;::::0;::::1;9523:21:1::0;9580:2;9560:18;;;9553:30;-1:-1:-1;;;9599:18:1;;;9592:52;9661:18;;61666:71:0::1;9339:346:1::0;61666:71:0::1;61831:11;::::0;61807:21:::1;::::0;::::1;::::0;61789:39:::1;::::0;:15:::1;:39;:::i;:::-;:53;61781:77;;;::::0;-1:-1:-1;;;61781:77:0;;16206:2:1;61781:77:0::1;::::0;::::1;16188:21:1::0;16245:2;16225:18;;;16218:30;-1:-1:-1;;;16264:18:1;;;16257:42;16316:18;;61781:77:0::1;16004:336:1::0;61781:77:0::1;61960:10;61949:22;::::0;;;:10:::1;:22;::::0;;;;61972:29;;:31:::1;::::0;62002:1:::1;::::0;61972:31:::1;:::i;:::-;61949:55;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;61907:10:::1;61896:22:::0;;:10:::1;:22:::0;;;;;;;61919:26:::1;::::0;::::1;::::0;61896:50;;;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;:108:::0;;;;62100:26:::1;::::0;::::1;::::0;62043:10:::1;62032:22:::0;;:10:::1;:22:::0;;;;;;:50;;62019:12:::1;::::0;61896:50;62032:22;62100:26;;62032:50;::::1;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;62019:64;;;;::::1;::::0;;;;;;;;;;:78:::1;;:107:::0;;;;62152:10:::1;62141:22:::0;;:10:::1;:22:::0;;;;;:28;;;::::1;;;;:::i;:::-;;;;;;;;;;;;;;;;;;62191:12;:25;62204:8;62213:1;62204:11;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;62191:25;;;::::1;::::0;;;;;;-1:-1:-1;62191:25:0;;;62184:32;;-1:-1:-1;;;;;;62184:32:0::1;::::0;;-1:-1:-1;62184:32:0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;::::1;;::::0;62231:5:::1;::::0;62281:11;;-1:-1:-1;;;;;62231:5:0;;::::1;::::0;:22:::1;::::0;62262:4:::1;::::0;62269:10:::1;::::0;62281:11;;62290:1;;62281:11;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;62231:62:::1;::::0;-1:-1:-1;;;;;;62231:62:0::1;::::0;;;;;;-1:-1:-1;;;;;6206:15:1;;;62231:62:0::1;::::0;::::1;6188:34:1::0;6258:15;;;;6238:18;;;6231:43;6290:18;;;6283:34;6123:18;;62231:62:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;61471:834;61466:3;;;;;:::i;:::-;;;;61433:872;;58979:108:::0;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;59043:36:::1;59049:10;59061:17;:7:::0;59071::::1;59061:17;:::i;45730:229::-:0;44903:6;;-1:-1:-1;;;;;44903:6:0;26768:10;45050:23;45042:68;;;;-1:-1:-1;;;45042:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;45833:22:0;::::1;45811:110;;;::::0;-1:-1:-1;;;45811:110:0;;9892:2:1;45811:110:0::1;::::0;::::1;9874:21:1::0;9931:2;9911:18;;;9904:30;9970:34;9950:18;;;9943:62;-1:-1:-1;;;10021:18:1;;;10014:36;10067:19;;45811:110:0::1;9690:402:1::0;45811:110:0::1;45932:19;45942:8;45932:9;:19::i;57700:37::-:0;;;;;;;;;;;;60504:600;60574:6;60570:527;60585:8;:15;60583:1;:17;60570:527;;;60620:26;60649:12;:25;60662:8;60671:1;60662:11;;;;;;;;:::i;:::-;;;;;;;;;;;;60649:25;;;;;;;;;;-1:-1:-1;60649:25:0;60697:23;;60649:25;;-1:-1:-1;;;;;;60697:23:0;60724:10;60697:37;60689:68;;;;-1:-1:-1;;;60689:68:0;;12146:2:1;60689:68:0;;;12128:21:1;12185:2;12165:18;;;12158:30;-1:-1:-1;;;12204:18:1;;;12197:49;12263:18;;60689:68:0;11944:343:1;60689:68:0;60850:11;;60826:21;;;;60808:39;;:15;:39;:::i;:::-;:53;60800:79;;;;-1:-1:-1;;;60800:79:0;;12494:2:1;60800:79:0;;;12476:21:1;12533:2;12513:18;;;12506:30;-1:-1:-1;;;12552:18:1;;;12545:44;12606:18;;60800:79:0;12292:338:1;60800:79:0;60950:22;;;;60926:21;;;:46;60987:15;;61005:1;-1:-1:-1;60987:97:0;;61069:8;:15;61041:12;:25;;:43;;;60987:97;;;61037:1;61009:12;:25;;:29;;;60987:97;;60605:492;60601:3;;;;;:::i;:::-;;;;60570:527;;55118:380;-1:-1:-1;;;;;55254:19:0;;55246:68;;;;-1:-1:-1;;;55246:68:0;;15457:2:1;55246:68:0;;;15439:21:1;15496:2;15476:18;;;15469:30;15535:34;15515:18;;;15508:62;-1:-1:-1;;;15586:18:1;;;15579:34;15630:19;;55246:68:0;15255:400:1;55246:68:0;-1:-1:-1;;;;;55333:21:0;;55325:68;;;;-1:-1:-1;;;55325:68:0;;10299:2:1;55325:68:0;;;10281:21:1;10338:2;10318:18;;;10311:30;10377:34;10357:18;;;10350:62;-1:-1:-1;;;10428:18:1;;;10421:32;10470:19;;55325:68:0;10097:398:1;55325:68:0;-1:-1:-1;;;;;55406:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;55458:32;;19004:25:1;;;55458:32:0;;18977:18:1;55458:32:0;;;;;;;;55118:380;;;:::o;53357:399::-;-1:-1:-1;;;;;53441:21:0;;53433:65;;;;-1:-1:-1;;;53433:65:0;;18355:2:1;53433:65:0;;;18337:21:1;18394:2;18374:18;;;18367:30;18433:33;18413:18;;;18406:61;18484:18;;53433:65:0;18153:355:1;53433:65:0;53589:6;53573:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;53606:18:0;;:9;:18;;;;;;;;;;:28;;53628:6;;53606:9;:28;;53628:6;;53606:28;:::i;:::-;;;;-1:-1:-1;;53650:37:0;;19004:25:1;;;-1:-1:-1;;;;;53650:37:0;;;53667:1;;53650:37;;18992:2:1;18977:18;53650:37:0;;;;;;;62576:576:::1;62508:644:::0;:::o;52337:733::-;-1:-1:-1;;;;;52477:20:0;;52469:70;;;;-1:-1:-1;;;52469:70:0;;15051:2:1;52469:70:0;;;15033:21:1;15090:2;15070:18;;;15063:30;15129:34;15109:18;;;15102:62;-1:-1:-1;;;15180:18:1;;;15173:35;15225:19;;52469:70:0;14849:401:1;52469:70:0;-1:-1:-1;;;;;52558:23:0;;52550:71;;;;-1:-1:-1;;;52550:71:0;;8734:2:1;52550:71:0;;;8716:21:1;8773:2;8753:18;;;8746:30;8812:34;8792:18;;;8785:62;-1:-1:-1;;;8863:18:1;;;8856:33;8906:19;;52550:71:0;8532:399:1;52550:71:0;-1:-1:-1;;;;;52718:17:0;;52694:21;52718:17;;;;;;;;;;;52754:23;;;;52746:74;;;;-1:-1:-1;;;52746:74:0;;10702:2:1;52746:74:0;;;10684:21:1;10741:2;10721:18;;;10714:30;10780:34;10760:18;;;10753:62;-1:-1:-1;;;10831:18:1;;;10824:36;10877:19;;52746:74:0;10500:402:1;52746:74:0;-1:-1:-1;;;;;52856:17:0;;;:9;:17;;;;;;;;;;;52876:22;;;52856:42;;52920:20;;;;;;;;:30;;52892:6;;52856:9;52920:30;;52892:6;;52920:30;:::i;:::-;;;;;;;;52985:9;-1:-1:-1;;;;;52968:35:0;52977:6;-1:-1:-1;;;;;52968:35:0;;52996:6;52968:35;;;;19004:25:1;;18992:2;18977:18;;18858:177;52968:35:0;;;;;;;;53016:46;54089:591;45967:173;46042:6;;;-1:-1:-1;;;;;46059:17:0;;;-1:-1:-1;;;;;;46059:17:0;;;;;;;46092:40;;46042:6;;;46059:17;46042:6;;46092:40;;46023:16;;46092:40;46012:128;45967:173;:::o;54089:591::-;-1:-1:-1;;;;;54173:21:0;;54165:67;;;;-1:-1:-1;;;54165:67:0;;14649:2:1;54165:67:0;;;14631:21:1;14688:2;14668:18;;;14661:30;14727:34;14707:18;;;14700:62;-1:-1:-1;;;14778:18:1;;;14771:31;14819:19;;54165:67:0;14447:397:1;54165:67:0;-1:-1:-1;;;;;54332:18:0;;54307:22;54332:18;;;;;;;;;;;54369:24;;;;54361:71;;;;-1:-1:-1;;;54361:71:0;;9138:2:1;54361:71:0;;;9120:21:1;9177:2;9157:18;;;9150:30;9216:34;9196:18;;;9189:62;-1:-1:-1;;;9267:18:1;;;9260:32;9309:19;;54361:71:0;8936:398:1;54361:71:0;-1:-1:-1;;;;;54468:18:0;;:9;:18;;;;;;;;;;54489:23;;;54468:44;;54534:12;:22;;54506:6;;54468:9;54534:22;;54506:6;;54534:22;:::i;:::-;;;;-1:-1:-1;;54574:37:0;;19004:25:1;;;54600:1:0;;-1:-1:-1;;;;;54574:37:0;;;;;18992:2:1;18977:18;54574:37:0;18858:177:1;14:913;68:5;121:3;114:4;106:6;102:17;98:27;88:55;;139:1;136;129:12;88:55;175:6;162:20;201:4;224:18;261:2;257;254:10;251:36;;;267:18;;:::i;:::-;313:2;310:1;306:10;345:2;339:9;408:2;404:7;399:2;395;391:11;387:25;379:6;375:38;463:6;451:10;448:22;443:2;431:10;428:18;425:46;422:72;;;474:18;;:::i;:::-;510:2;503:22;560:18;;;594:15;;;;-1:-1:-1;629:15:1;;;663;;;659:24;;656:33;-1:-1:-1;653:53:1;;;702:1;699;692:12;653:53;724:1;715:10;;734:163;748:2;745:1;742:9;734:163;;;805:17;;793:30;;843:12;;;;766:1;759:9;;;;;875:12;;734:163;;;-1:-1:-1;915:6:1;14:913;-1:-1:-1;;;;;;;14:913:1:o;932:160::-;997:20;;1053:13;;1046:21;1036:32;;1026:60;;1082:1;1079;1072:12;1026:60;932:160;;;:::o;1097:247::-;1156:6;1209:2;1197:9;1188:7;1184:23;1180:32;1177:52;;;1225:1;1222;1215:12;1177:52;1264:9;1251:23;1283:31;1308:5;1283:31;:::i;1349:251::-;1419:6;1472:2;1460:9;1451:7;1447:23;1443:32;1440:52;;;1488:1;1485;1478:12;1440:52;1520:9;1514:16;1539:31;1564:5;1539:31;:::i;1605:388::-;1673:6;1681;1734:2;1722:9;1713:7;1709:23;1705:32;1702:52;;;1750:1;1747;1740:12;1702:52;1789:9;1776:23;1808:31;1833:5;1808:31;:::i;:::-;1858:5;-1:-1:-1;1915:2:1;1900:18;;1887:32;1928:33;1887:32;1928:33;:::i;:::-;1980:7;1970:17;;;1605:388;;;;;:::o;1998:456::-;2075:6;2083;2091;2144:2;2132:9;2123:7;2119:23;2115:32;2112:52;;;2160:1;2157;2150:12;2112:52;2199:9;2186:23;2218:31;2243:5;2218:31;:::i;:::-;2268:5;-1:-1:-1;2325:2:1;2310:18;;2297:32;2338:33;2297:32;2338:33;:::i;:::-;1998:456;;2390:7;;-1:-1:-1;;;2444:2:1;2429:18;;;;2416:32;;1998:456::o;2459:936::-;2556:6;2564;2572;2580;2588;2641:3;2629:9;2620:7;2616:23;2612:33;2609:53;;;2658:1;2655;2648:12;2609:53;2697:9;2684:23;2716:31;2741:5;2716:31;:::i;:::-;2766:5;-1:-1:-1;2823:2:1;2808:18;;2795:32;2836:33;2795:32;2836:33;:::i;:::-;2888:7;-1:-1:-1;2942:2:1;2927:18;;2914:32;;-1:-1:-1;2997:2:1;2982:18;;2969:32;3020:18;3050:14;;;3047:34;;;3077:1;3074;3067:12;3047:34;3115:6;3104:9;3100:22;3090:32;;3160:7;3153:4;3149:2;3145:13;3141:27;3131:55;;3182:1;3179;3172:12;3131:55;3222:2;3209:16;3248:2;3240:6;3237:14;3234:34;;;3264:1;3261;3254:12;3234:34;3309:7;3304:2;3295:6;3291:2;3287:15;3283:24;3280:37;3277:57;;;3330:1;3327;3320:12;3277:57;2459:936;;;;-1:-1:-1;2459:936:1;;-1:-1:-1;3361:2:1;3353:11;;3383:6;2459:936;-1:-1:-1;;;2459:936:1:o;3400:315::-;3465:6;3473;3526:2;3514:9;3505:7;3501:23;3497:32;3494:52;;;3542:1;3539;3532:12;3494:52;3581:9;3568:23;3600:31;3625:5;3600:31;:::i;:::-;3650:5;-1:-1:-1;3674:35:1;3705:2;3690:18;;3674:35;:::i;:::-;3664:45;;3400:315;;;;;:::o;3720:::-;3788:6;3796;3849:2;3837:9;3828:7;3824:23;3820:32;3817:52;;;3865:1;3862;3855:12;3817:52;3904:9;3891:23;3923:31;3948:5;3923:31;:::i;:::-;3973:5;4025:2;4010:18;;;;3997:32;;-1:-1:-1;;;3720:315:1:o;4040:551::-;4142:6;4150;4158;4211:2;4199:9;4190:7;4186:23;4182:32;4179:52;;;4227:1;4224;4217:12;4179:52;4266:9;4253:23;4285:31;4310:5;4285:31;:::i;:::-;4335:5;-1:-1:-1;4387:2:1;4372:18;;4359:32;;-1:-1:-1;4442:2:1;4427:18;;4414:32;4469:18;4458:30;;4455:50;;;4501:1;4498;4491:12;4455:50;4524:61;4577:7;4568:6;4557:9;4553:22;4524:61;:::i;:::-;4514:71;;;4040:551;;;;;:::o;4596:348::-;4680:6;4733:2;4721:9;4712:7;4708:23;4704:32;4701:52;;;4749:1;4746;4739:12;4701:52;4789:9;4776:23;4822:18;4814:6;4811:30;4808:50;;;4854:1;4851;4844:12;4808:50;4877:61;4930:7;4921:6;4910:9;4906:22;4877:61;:::i;:::-;4867:71;4596:348;-1:-1:-1;;;;4596:348:1:o;4949:416::-;5039:6;5047;5100:2;5088:9;5079:7;5075:23;5071:32;5068:52;;;5116:1;5113;5106:12;5068:52;5156:9;5143:23;5189:18;5181:6;5178:30;5175:50;;;5221:1;5218;5211:12;5175:50;5244:61;5297:7;5288:6;5277:9;5273:22;5244:61;:::i;:::-;5234:71;;;5324:35;5355:2;5344:9;5340:18;5324:35;:::i;5370:180::-;5426:6;5479:2;5467:9;5458:7;5454:23;5450:32;5447:52;;;5495:1;5492;5485:12;5447:52;5518:26;5534:9;5518:26;:::i;5555:180::-;5614:6;5667:2;5655:9;5646:7;5642:23;5638:32;5635:52;;;5683:1;5680;5673:12;5635:52;-1:-1:-1;5706:23:1;;5555:180;-1:-1:-1;5555:180:1:o;6894:632::-;7065:2;7117:21;;;7187:13;;7090:18;;;7209:22;;;7036:4;;7065:2;7288:15;;;;7262:2;7247:18;;;7036:4;7331:169;7345:6;7342:1;7339:13;7331:169;;;7406:13;;7394:26;;7475:15;;;;7440:12;;;;7367:1;7360:9;7331:169;;;-1:-1:-1;7517:3:1;;6894:632;-1:-1:-1;;;;;;6894:632:1:o;7930:597::-;8042:4;8071:2;8100;8089:9;8082:21;8132:6;8126:13;8175:6;8170:2;8159:9;8155:18;8148:34;8200:1;8210:140;8224:6;8221:1;8218:13;8210:140;;;8319:14;;;8315:23;;8309:30;8285:17;;;8304:2;8281:26;8274:66;8239:10;;8210:140;;;8368:6;8365:1;8362:13;8359:91;;;8438:1;8433:2;8424:6;8413:9;8409:22;8405:31;8398:42;8359:91;-1:-1:-1;8511:2:1;8490:15;-1:-1:-1;;8486:29:1;8471:45;;;;8518:2;8467:54;;7930:597;-1:-1:-1;;;7930:597:1:o;13392:356::-;13594:2;13576:21;;;13613:18;;;13606:30;13672:34;13667:2;13652:18;;13645:62;13739:2;13724:18;;13392:356::o;16694:343::-;16896:2;16878:21;;;16935:2;16915:18;;;16908:30;-1:-1:-1;;;16969:2:1;16954:18;;16947:49;17028:2;17013:18;;16694:343::o;19229:128::-;19269:3;19300:1;19296:6;19293:1;19290:13;19287:39;;;19306:18;;:::i;:::-;-1:-1:-1;19342:9:1;;19229:128::o;19362:217::-;19402:1;19428;19418:132;;19472:10;19467:3;19463:20;19460:1;19453:31;19507:4;19504:1;19497:15;19535:4;19532:1;19525:15;19418:132;-1:-1:-1;19564:9:1;;19362:217::o;19584:168::-;19624:7;19690:1;19686;19682:6;19678:14;19675:1;19672:21;19667:1;19660:9;19653:17;19649:45;19646:71;;;19697:18;;:::i;:::-;-1:-1:-1;19737:9:1;;19584:168::o;19757:125::-;19797:4;19825:1;19822;19819:8;19816:34;;;19830:18;;:::i;:::-;-1:-1:-1;19867:9:1;;19757:125::o;19887:380::-;19966:1;19962:12;;;;20009;;;20030:61;;20084:4;20076:6;20072:17;20062:27;;20030:61;20137:2;20129:6;20126:14;20106:18;20103:38;20100:161;;;20183:10;20178:3;20174:20;20171:1;20164:31;20218:4;20215:1;20208:15;20246:4;20243:1;20236:15;20100:161;;19887:380;;;:::o;20272:135::-;20311:3;-1:-1:-1;;20332:17:1;;20329:43;;;20352:18;;:::i;:::-;-1:-1:-1;20399:1:1;20388:13;;20272:135::o;20412:127::-;20473:10;20468:3;20464:20;20461:1;20454:31;20504:4;20501:1;20494:15;20528:4;20525:1;20518:15;20544:127;20605:10;20600:3;20596:20;20593:1;20586:31;20636:4;20633:1;20626:15;20660:4;20657:1;20650:15;20676:127;20737:10;20732:3;20728:20;20725:1;20718:31;20768:4;20765:1;20758:15;20792:4;20789:1;20782:15;20808:127;20869:10;20864:3;20860:20;20857:1;20850:31;20900:4;20897:1;20890:15;20924:4;20921:1;20914:15;20940:131;-1:-1:-1;;;;;21015:31:1;;21005:42;;20995:70;;21061:1;21058;21051:12

Swarm Source

ipfs://7d11aeac9b59299b43c3c7f9b3ccc4c1d74ba2b5553ddfd36df7022723551db3
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.