ETH Price: $3,159.99 (+2.01%)

Token

Ice Bears (ICEBEARS)
 

Overview

Max Total Supply

1,010 ICEBEARS

Holders

302

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
flan4678.eth
Balance
1 ICEBEARS
0xce3d3fbb42d4e960f9cb068c3a65242a269feea5
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:
IceBears

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-03-29
*/

// File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol

// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol

// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol

// OpenZeppelin Contracts v4.4.1 (utils/introspection/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: @openzeppelin/contracts/token/ERC721/IERC721.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/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);

    /**
     * @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: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/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: @openzeppelin/contracts/security/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: @openzeppelin/contracts/utils/Context.sol

// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

// File: contracts/ERC721A.sol

pragma solidity ^0.8.4;

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintedQueryForZeroAddress();
error BurnedQueryForZeroAddress();
error AuxQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerIndexOutOfBounds();
error OwnerQueryForNonexistentToken();
error TokenIndexOutOfBounds();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // 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) internal _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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * To change the starting tokenId, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to _startTokenId()
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert MintedQueryForZeroAddress();
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        if (owner == address(0)) revert BurnedQueryForZeroAddress();
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        if (owner == address(0)) revert AuxQueryForZeroAddress();
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr && curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        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);
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) {
            revert ApprovalCallerNotOwnerNorApproved();
        }

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _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 virtual override {
        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

    /**
     * @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 _startTokenId() <= tokenId && tokenId < _currentIndex &&
            !_ownerships[tokenId].burned;
    }

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (safe && to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex != end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex != end);
            }
            _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 ||
            isApprovedForAll(prevOwnership.addr, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = 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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

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

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

        _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[prevOwnership.addr].balance -= 1;
            _addressData[prevOwnership.addr].numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            _ownerships[tokenId].addr = prevOwnership.addr;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);
            _ownerships[tokenId].burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn 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)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId < _currentIndex) {
                    _ownerships[nextTokenId].addr = prevOwnership.addr;
                    _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(prevOwnership.addr, address(0), tokenId);
        _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @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);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        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 TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * 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`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    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.
     * And also called after one token has been burned.
     *
     * 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` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}
// File: @openzeppelin/contracts/access/Ownable.sol

// OpenZeppelin Contracts v4.4.1 (access/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() {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

// File: contracts/IceBears.sol

// Developer : @HipForCrypto

pragma solidity ^0.8.0;

contract IceBears is Ownable, ERC721A, ReentrancyGuard {
    uint256 public immutable amountForTeam;
    uint private constant MAX_SUPPLY = 8888;
    uint private constant MAX_BATCH = 10;
    bytes32 public firstSaleMerkleRoot;
    mapping(address => uint256) public firstSaleClaimed;
    mapping(address => bool) public firstSaleClaimedChecker;
    bytes32 public secondSaleMerkleRoot;
    mapping(address => uint256) public secondSaleClaimed;
    mapping(address => bool) public secondSaleClaimedChecker;

    struct SaleConfig {
        uint32 publicSaleStartTime;
        uint64 firstSalePrice;
        uint64 secondSalePrice;
        uint64 publicPrice;
        uint32 publicSaleKey;
    }

    SaleConfig public saleConfig;

    constructor(uint256 amountForTeam_) ERC721A("Ice Bears", "ICEBEARS") {
        amountForTeam = amountForTeam_;
        require(
            amountForTeam_ <= MAX_SUPPLY,
            "larger collection size needed"
        );
    }

    modifier callerIsUser() {
        require(tx.origin == msg.sender, "The caller is another contract");
        _;
    }

    function gift(address[] calldata receivers) external onlyOwner {
        require(totalSupply() + receivers.length <= MAX_SUPPLY, "MAX_MINT");
        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], 1);
        }
    }

    function reserveGiveaway(uint256 num, address walletAddress) public onlyOwner {
        require(totalSupply() + num <= MAX_SUPPLY, "Exceeds total supply");
        _safeMint(walletAddress, num);
    }

    function firstSaleMint(bytes32[] calldata _merkleProof, uint256 quantity) external payable callerIsUser {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, firstSaleMerkleRoot, leaf),
            "Invalid Merkle Proof.");
        uint256 price = uint256(saleConfig.firstSalePrice);
        require(price != 0, "sale has not begun yet");
        if (!firstSaleClaimedChecker[msg.sender]) {
            firstSaleClaimedChecker[msg.sender] = true;
            firstSaleClaimed[msg.sender] = 5;
        }
        require(firstSaleClaimed[msg.sender] > 0, "Address already minted num of tokens allowed");
        firstSaleClaimed[msg.sender] = firstSaleClaimed[msg.sender] - quantity;
        _safeMint(msg.sender, quantity);
        refundIfOver(price * quantity);
    }

    function secondSaleMint(bytes32[] calldata _merkleProof, uint256 quantity) external payable callerIsUser {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(_merkleProof, secondSaleMerkleRoot, leaf),
            "Invalid Merkle Proof.");
        uint256 price = uint256(saleConfig.secondSalePrice);
        require(price != 0, "sale has not begun yet");
        if (!secondSaleClaimedChecker[msg.sender]) {
            secondSaleClaimedChecker[msg.sender] = true;
            secondSaleClaimed[msg.sender] = 5;
        }
        require(secondSaleClaimed[msg.sender] > 0, "Address already minted num of tokens allowed");
        secondSaleClaimed[msg.sender] = secondSaleClaimed[msg.sender] - quantity;
        _safeMint(msg.sender, quantity);
        refundIfOver(price * quantity);
    }

    function publicSaleMint(uint256 quantity, uint256 callerPublicSaleKey) external payable callerIsUser {
        SaleConfig memory config = saleConfig;
        uint256 publicSaleKey = uint256(config.publicSaleKey);
        uint256 publicPrice = uint256(config.publicPrice);
        uint256 publicSaleStartTime = uint256(config.publicSaleStartTime);
        require(
            publicSaleKey == callerPublicSaleKey,
            "called with incorrect public sale key"
        );
        require(
            isPublicSaleOn(publicPrice, publicSaleKey, publicSaleStartTime),
            "public sale has not begun yet"
        );
        require(
            totalSupply() + quantity <= MAX_SUPPLY,
            "reached max supply"
        );
        _safeMint(msg.sender, quantity);
        refundIfOver(publicPrice * quantity);
    }

    function refundIfOver(uint256 price) private {
        require(msg.value >= price, "Need to send more ETH.");
        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    function isPublicSaleOn(
        uint256 publicPriceWei,
        uint256 publicSaleKey,
        uint256 publicSaleStartTime
    ) public view returns (bool) {
        return
            publicPriceWei != 0 &&
            publicSaleKey != 0 &&
            block.timestamp >= publicSaleStartTime;
    }

    function setupSaleInfo(
        uint64 firstSalePriceWei,
        uint64 secondSalePriceWei,
        uint64 publicPriceWei,
        uint32 publicSaleStartTime
    ) external onlyOwner {
        saleConfig = SaleConfig(
            publicSaleStartTime,
            firstSalePriceWei,
            secondSalePriceWei,
            publicPriceWei,
            saleConfig.publicSaleKey
        );
    }

    function setPublicSaleKey(uint32 key) external onlyOwner {
        saleConfig.publicSaleKey = key;
    }

    function setPublicPrice(uint64 price) external onlyOwner {
        saleConfig.publicPrice = price;
    }

    function setFirstSalePrice(uint64 price) external onlyOwner {
        saleConfig.firstSalePrice = price;
    }

    function setSecondSalePrice(uint64 price) external onlyOwner {
        saleConfig.secondSalePrice = price;
    }

    function setPublicSaleStartTime(uint32 time) external onlyOwner {
        saleConfig.publicSaleStartTime = time;
    }

    function setFirstSaleMerkleRoot(bytes32 merkle_root) external onlyOwner {
        firstSaleMerkleRoot = merkle_root;
    }

    function setSecondSaleMerkleRoot(bytes32 merkle_root) external onlyOwner {
        secondSaleMerkleRoot = merkle_root;
    }

    function teamMint(uint256 quantity, address walletAddress) external onlyOwner {
        require(
            totalSupply() + quantity <= amountForTeam,
            "too many already minted for team mint"
        );
        require(
            quantity % MAX_BATCH == 0,
            "can only mint a multiple of the MAX_BATCH"
        );
        uint256 numChunks = quantity / MAX_BATCH;
        for (uint256 i = 0; i < numChunks; i++) {
            _safeMint(walletAddress, MAX_BATCH);
        }
    }

    string private _baseTokenURI;

    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }

    function withdrawMoney() external nonReentrant {
        uint256 balance = address(this).balance;
        payable(0xE3Af2fb66c545b77BFD7Bfc10F5FaE3fEbdEeFC4).transfer(
            (balance * 20) / 100
        );
        payable(0xF4E56b5e53dd354162515F4E59867AE72e77D24E).transfer(
            (balance * 75) / 100
        );
        payable(0xDc55A92802DFEE22D5c2214cf5Ea9360042A31d4).transfer(
            (balance * 5) / 100
        );
    }

    function numberMinted(address owner) public view returns (uint256) {
        return _numberMinted(owner);
    }

    function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) {
        return ownershipOf(tokenId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"amountForTeam_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"amountForTeam","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstSaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"firstSaleClaimedChecker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"firstSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"firstSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicPriceWei","type":"uint256"},{"internalType":"uint256","name":"publicSaleKey","type":"uint256"},{"internalType":"uint256","name":"publicSaleStartTime","type":"uint256"}],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"callerPublicSaleKey","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"reserveGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"},{"internalType":"uint64","name":"firstSalePrice","type":"uint64"},{"internalType":"uint64","name":"secondSalePrice","type":"uint64"},{"internalType":"uint64","name":"publicPrice","type":"uint64"},{"internalType":"uint32","name":"publicSaleKey","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"secondSaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"secondSaleClaimedChecker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondSaleMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"secondSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkle_root","type":"bytes32"}],"name":"setFirstSaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setFirstSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"key","type":"uint32"}],"name":"setPublicSaleKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"time","type":"uint32"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkle_root","type":"bytes32"}],"name":"setSecondSaleMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setSecondSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"firstSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"secondSalePriceWei","type":"uint64"},{"internalType":"uint64","name":"publicPriceWei","type":"uint64"},{"internalType":"uint32","name":"publicSaleStartTime","type":"uint32"}],"name":"setupSaleInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b5060405162002eb538038062002eb5833981016040819052620000349162000226565b6040518060400160405280600981526020016849636520426561727360b81b81525060405180604001604052806008815260200167494345424541525360c01b815250620000916200008b6200012c60201b60201c565b62000130565b8151620000a690600390602085019062000180565b508051620000bc90600490602084019062000180565b5060006001908155600955505060808190526122b8811115620001255760405162461bcd60e51b815260206004820152601d60248201527f6c617267657220636f6c6c656374696f6e2073697a65206e6565646564000000604482015260640160405180910390fd5b506200027d565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200018e9062000240565b90600052602060002090601f016020900481019282620001b25760008555620001fd565b82601f10620001cd57805160ff1916838001178555620001fd565b82800160010185558215620001fd579182015b82811115620001fd578251825591602001919060010190620001e0565b506200020b9291506200020f565b5090565b5b808211156200020b576000815560010162000210565b6000602082840312156200023957600080fd5b5051919050565b600181811c908216806200025557607f821691505b602082108114156200027757634e487b7160e01b600052602260045260246000fd5b50919050565b608051612c15620002a06000396000818161073a01526116370152612c156000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063ac446002116100b6578063cb91d8b31161007a578063cb91d8b3146107f1578063d8929c8b14610804578063dc33e68114610824578063e0e3f5ef14610844578063e985e9c514610871578063f2fde38b146108ba57600080fd5b8063ac4460021461075c578063b88d4fde14610771578063bb3f683314610791578063bfa457bc146107b1578063c87b56dd146107d157600080fd5b806390aa0b0f1161010857806390aa0b0f146105f25780639231ab2a1461067d57806395d89b41146106d35780639da1a34d146106e8578063a22cb46514610708578063a69b1cd51461072857600080fd5b8063715018a61461055957806371d782d01461056e578063899e60031461059e5780638da5cb5b146105b457806390028083146105d257600080fd5b80633b438ad1116101dd57806359cd09bb116101a157806359cd09bb1461048c5780635fd84c28146104ac5780636352211e146104cc57806368010d6e146104ec57806370a082311461050c5780637138f80d1461052c57600080fd5b80633b438ad1146103e6578063422030ba1461041657806342842e0e1461043657806352c4cbaf1461045657806355f804b31461046c57600080fd5b8063101f02791161022f578063101f02791461033d578063163e1e611461035d57806318160ddd1461037d57806322c3f7af146103a057806323b872dd146103b35780632bf59ba5146103d357600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb5780630c29dbae1461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612770565b6108da565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b661092c565b60405161029891906129ae565b3480156102cf57600080fd5b506102e36102de366004612757565b6109be565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061031b6103163660046126a1565b610a02565b005b34801561032957600080fd5b5061031b6103383660046128a7565b610a90565b34801561034957600080fd5b5061031b6103583660046128a7565b610af0565b34801561036957600080fd5b5061031b6103783660046126cb565b610b47565b34801561038957600080fd5b50600254600154035b604051908152602001610298565b61031b6103ae36600461270c565b610c13565b3480156103bf57600080fd5b5061031b6103ce36600461254e565b610e01565b61031b6103e136600461270c565b610e0c565b3480156103f257600080fd5b5061028c610401366004612500565b600c6020526000908152604090205460ff1681565b34801561042257600080fd5b5061028c610431366004612860565b610fe2565b34801561044257600080fd5b5061031b61045136600461254e565b611006565b34801561046257600080fd5b50610392600a5481565b34801561047857600080fd5b5061031b6104873660046127aa565b611021565b34801561049857600080fd5b5061031b6104a73660046128c2565b611057565b3480156104b857600080fd5b5061031b6104c736600461288c565b61113b565b3480156104d857600080fd5b506102e36104e7366004612757565b611181565b3480156104f857600080fd5b5061031b61050736600461281b565b611193565b34801561051857600080fd5b50610392610527366004612500565b61122b565b34801561053857600080fd5b50610392610547366004612500565b600e6020526000908152604090205481565b34801561056557600080fd5b5061031b611279565b34801561057a57600080fd5b5061028c610589366004612500565b600f6020526000908152604090205460ff1681565b3480156105aa57600080fd5b50610392600d5481565b3480156105c057600080fd5b506000546001600160a01b03166102e3565b3480156105de57600080fd5b5061031b6105ed36600461288c565b6112af565b3480156105fe57600080fd5b506010546106429063ffffffff808216916001600160401b036401000000008204811692600160601b8304821692600160a01b810490921691600160e01b90041685565b6040805163ffffffff96871681526001600160401b03958616602082015293851690840152921660608201529116608082015260a001610298565b34801561068957600080fd5b5061069d610698366004612757565b6112fe565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610298565b3480156106df57600080fd5b506102b6611324565b3480156106f457600080fd5b5061031b610703366004612757565b611333565b34801561071457600080fd5b5061031b610723366004612665565b611362565b34801561073457600080fd5b506103927f000000000000000000000000000000000000000000000000000000000000000081565b34801561076857600080fd5b5061031b6113f8565b34801561077d57600080fd5b5061031b61078c36600461258a565b611561565b34801561079d57600080fd5b5061031b6107ac3660046128a7565b6115b2565b3480156107bd57600080fd5b5061031b6107cc36600461281b565b61160b565b3480156107dd57600080fd5b506102b66107ec366004612757565b61176b565b61031b6107ff36600461283e565b6117f0565b34801561081057600080fd5b5061031b61081f366004612757565b6119a2565b34801561083057600080fd5b5061039261083f366004612500565b6119d1565b34801561085057600080fd5b5061039261085f366004612500565b600b6020526000908152604090205481565b34801561087d57600080fd5b5061028c61088c36600461251b565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108c657600080fd5b5061031b6108d5366004612500565b6119dc565b60006001600160e01b031982166380ac58cd60e01b148061090b57506001600160e01b03198216635b5e139f60e01b145b8061092657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461093b90612b07565b80601f016020809104026020016040519081016040528092919081815260200182805461096790612b07565b80156109b45780601f10610989576101008083540402835291602001916109b4565b820191906000526020600020905b81548152906001019060200180831161099757829003601f168201915b5050505050905090565b60006109c982611a77565b6109e6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610a0d82611181565b9050806001600160a01b0316836001600160a01b03161415610a425760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a625750610a60813361088c565b155b15610a80576040516367d9dca160e11b815260040160405180910390fd5b610a8b838383611aa3565b505050565b6000546001600160a01b03163314610ac35760405162461bcd60e51b8152600401610aba90612a44565b60405180910390fd5b601080546001600160401b03909216600160a01b0267ffffffffffffffff60a01b19909216919091179055565b6000546001600160a01b03163314610b1a5760405162461bcd60e51b8152600401610aba90612a44565b601080546001600160401b03909216600160601b0267ffffffffffffffff60601b19909216919091179055565b6000546001600160a01b03163314610b715760405162461bcd60e51b8152600401610aba90612a44565b6122b881610b826002546001540390565b610b8c9190612a79565b1115610bc55760405162461bcd60e51b815260206004820152600860248201526713505617d352539560c21b6044820152606401610aba565b60005b81811015610a8b57610c01838383818110610be557610be5612b9d565b9050602002016020810190610bfa9190612500565b6001611aff565b80610c0b81612b42565b915050610bc8565b323314610c325760405162461bcd60e51b8152600401610aba90612a0d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610ca784848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611b19565b610ceb5760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610aba565b601054600160601b90046001600160401b031680610d445760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cc81b9bdd08189959dd5b881e595d60521b6044820152606401610aba565b336000908152600f602052604090205460ff16610d8457336000908152600f60209081526040808320805460ff19166001179055600e9091529020600590555b336000908152600e6020526040902054610db05760405162461bcd60e51b8152600401610aba906129c1565b336000908152600e6020526040902054610dcb908490612ac4565b336000818152600e6020526040902091909155610de89084611aff565b610dfa610df58483612aa5565b611b2f565b5050505050565b610a8b838383611bb6565b323314610e2b5760405162461bcd60e51b8152600401610aba90612a0d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610ea084848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611b19565b610ee45760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610aba565b60105464010000000090046001600160401b031680610f3e5760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cc81b9bdd08189959dd5b881e595d60521b6044820152606401610aba565b336000908152600c602052604090205460ff16610f7e57336000908152600c60209081526040808320805460ff19166001179055600b9091529020600590555b336000908152600b6020526040902054610faa5760405162461bcd60e51b8152600401610aba906129c1565b336000908152600b6020526040902054610fc5908490612ac4565b336000818152600b6020526040902091909155610de89084611aff565b60008315801590610ff257508215155b8015610ffe5750814210155b949350505050565b610a8b83838360405180602001604052806000815250611561565b6000546001600160a01b0316331461104b5760405162461bcd60e51b8152600401610aba90612a44565b610a8b601183836123d5565b6000546001600160a01b031633146110815760405162461bcd60e51b8152600401610aba90612a44565b6040805160a08101825263ffffffff9283168082526001600160401b0396871660208301819052958716928201839052939095166060860181905260108054600160e01b80820490951660809098018890526001600160601b031916909417640100000000909502949094176fffffffffffffffffffffffffffffffff60601b1916600160601b90910267ffffffffffffffff60a01b191617600160a01b909302929092176001600160e01b031692909102919091179055565b6000546001600160a01b031633146111655760405162461bcd60e51b8152600401610aba90612a44565b6010805463ffffffff191663ffffffff92909216919091179055565b600061118c82611dc7565b5192915050565b6000546001600160a01b031633146111bd5760405162461bcd60e51b8152600401610aba90612a44565b6122b8826111ce6002546001540390565b6111d89190612a79565b111561121d5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610aba565b6112278183611aff565b5050565b60006001600160a01b038216611254576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146112a35760405162461bcd60e51b8152600401610aba90612a44565b6112ad6000611ee1565b565b6000546001600160a01b031633146112d95760405162461bcd60e51b8152600401610aba90612a44565b6010805463ffffffff909216600160e01b026001600160e01b03909216919091179055565b604080516060810182526000808252602082018190529181019190915261092682611dc7565b60606004805461093b90612b07565b6000546001600160a01b0316331461135d5760405162461bcd60e51b8152600401610aba90612a44565b600d55565b6001600160a01b03821633141561138c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6002600954141561144b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aba565b60026009554773e3af2fb66c545b77bfd7bfc10f5fae3febdeefc46108fc6064611476846014612aa5565b6114809190612a91565b6040518115909202916000818181858888f193505050501580156114a8573d6000803e3d6000fd5b5073f4e56b5e53dd354162515f4e59867ae72e77d24e6108fc60646114ce84604b612aa5565b6114d89190612a91565b6040518115909202916000818181858888f19350505050158015611500573d6000803e3d6000fd5b5073dc55a92802dfee22d5c2214cf5ea9360042a31d46108fc6064611526846005612aa5565b6115309190612a91565b6040518115909202916000818181858888f19350505050158015611558573d6000803e3d6000fd5b50506001600955565b61156c848484611bb6565b6001600160a01b0383163b1515801561158e575061158c84848484611f31565b155b156115ac576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146115dc5760405162461bcd60e51b8152600401610aba90612a44565b601080546001600160401b03909216640100000000026bffffffffffffffff0000000019909216919091179055565b6000546001600160a01b031633146116355760405162461bcd60e51b8152600401610aba90612a44565b7f0000000000000000000000000000000000000000000000000000000000000000826116646002546001540390565b61166e9190612a79565b11156116ca5760405162461bcd60e51b815260206004820152602560248201527f746f6f206d616e7920616c7265616479206d696e74656420666f72207465616d604482015264081b5a5b9d60da1b6064820152608401610aba565b6116d5600a83612b5d565b156117345760405162461bcd60e51b815260206004820152602960248201527f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060448201526809a82b0be8482a886960bb1b6064820152608401610aba565b6000611741600a84612a91565b905060005b818110156115ac5761175983600a611aff565b8061176381612b42565b915050611746565b606061177682611a77565b61179357604051630a14c4b560e41b815260040160405180910390fd5b600061179d612028565b90508051600014156117be57604051806020016040528060008152506117e9565b806117c884612037565b6040516020016117d9929190612942565b6040516020818303038152906040525b9392505050565b32331461180f5760405162461bcd60e51b8152600401610aba90612a0d565b6040805160a08101825260105463ffffffff8082168084526001600160401b03640100000000840481166020860152600160601b8404811695850195909552600160a01b830490941660608401819052600160e01b909204166080830181905291928483146118ce5760405162461bcd60e51b815260206004820152602560248201527f63616c6c6564207769746820696e636f7272656374207075626c69632073616c60448201526465206b657960d81b6064820152608401610aba565b6118d9828483610fe2565b6119255760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610aba565b6122b8866119366002546001540390565b6119409190612a79565b11156119835760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610aba565b61198d3387611aff565b61199a610df58784612aa5565b505050505050565b6000546001600160a01b031633146119cc5760405162461bcd60e51b8152600401610aba90612a44565b600a55565b600061092682612134565b6000546001600160a01b03163314611a065760405162461bcd60e51b8152600401610aba90612a44565b6001600160a01b038116611a6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aba565b611a7481611ee1565b50565b600060015482108015610926575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611227828260405180602001604052806000815250612189565b600082611b268584612196565b14949350505050565b80341015611b785760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610aba565b80341115611a7457336108fc611b8e8334612ac4565b6040518115909202916000818181858888f19350505050158015611227573d6000803e3d6000fd5b6000611bc182611dc7565b80519091506000906001600160a01b0316336001600160a01b03161480611bef57508151611bef903361088c565b80611c0a575033611bff846109be565b6001600160a01b0316145b905080611c2a57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c5f5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611c8657604051633a954ecd60e21b815260040160405180910390fd5b611c966000848460000151611aa3565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611d8057600154811015611d8057825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610dfa565b604080516060810182526000808252602082018190529181019190915281600154811015611ec857600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ec65780516001600160a01b031615611e5d579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611ec1579392505050565b611e5d565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f66903390899088908890600401612971565b602060405180830381600087803b158015611f8057600080fd5b505af1925050508015611fb0575060408051601f3d908101601f19168201909252611fad9181019061278d565b60015b61200b573d808015611fde576040519150601f19603f3d011682016040523d82523d6000602084013e611fe3565b606091505b508051612003576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606011805461093b90612b07565b60608161205b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612085578061206f81612b42565b915061207e9050600a83612a91565b915061205f565b6000816001600160401b0381111561209f5761209f612bb3565b6040519080825280601f01601f1916602001820160405280156120c9576020820181803683370190505b5090505b8415610ffe576120de600183612ac4565b91506120eb600a86612b5d565b6120f6906030612a79565b60f81b81838151811061210b5761210b612b9d565b60200101906001600160f81b031916908160001a90535061212d600a86612a91565b94506120cd565b60006001600160a01b03821661215d576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160401b90046001600160401b031690565b610a8b838383600161220a565b600081815b84518110156122025760008582815181106121b8576121b8612b9d565b602002602001015190508083116121de57600083815260208290526040902092506121ef565b600081815260208490526040902092505b50806121fa81612b42565b91505061219b565b509392505050565b6001546001600160a01b03851661223357604051622e076360e81b815260040160405180910390fd5b836122515760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156122fd57506001600160a01b0387163b15155b15612386575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461234e6000888480600101955088611f31565b61236b576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561230357826001541461238157600080fd5b6123cc565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612387575b50600155610dfa565b8280546123e190612b07565b90600052602060002090601f0160209004810192826124035760008555612449565b82601f1061241c5782800160ff19823516178555612449565b82800160010185558215612449579182015b8281111561244957823582559160200191906001019061242e565b50612455929150612459565b5090565b5b80821115612455576000815560010161245a565b80356001600160a01b038116811461248557600080fd5b919050565b60008083601f84011261249c57600080fd5b5081356001600160401b038111156124b357600080fd5b6020830191508360208260051b85010111156124ce57600080fd5b9250929050565b803563ffffffff8116811461248557600080fd5b80356001600160401b038116811461248557600080fd5b60006020828403121561251257600080fd5b6117e98261246e565b6000806040838503121561252e57600080fd5b6125378361246e565b91506125456020840161246e565b90509250929050565b60008060006060848603121561256357600080fd5b61256c8461246e565b925061257a6020850161246e565b9150604084013590509250925092565b600080600080608085870312156125a057600080fd5b6125a98561246e565b93506125b76020860161246e565b92506040850135915060608501356001600160401b03808211156125da57600080fd5b818701915087601f8301126125ee57600080fd5b81358181111561260057612600612bb3565b604051601f8201601f19908116603f0116810190838211818310171561262857612628612bb3565b816040528281528a602084870101111561264157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561267857600080fd5b6126818361246e565b91506020830135801515811461269657600080fd5b809150509250929050565b600080604083850312156126b457600080fd5b6126bd8361246e565b946020939093013593505050565b600080602083850312156126de57600080fd5b82356001600160401b038111156126f457600080fd5b6127008582860161248a565b90969095509350505050565b60008060006040848603121561272157600080fd5b83356001600160401b0381111561273757600080fd5b6127438682870161248a565b909790965060209590950135949350505050565b60006020828403121561276957600080fd5b5035919050565b60006020828403121561278257600080fd5b81356117e981612bc9565b60006020828403121561279f57600080fd5b81516117e981612bc9565b600080602083850312156127bd57600080fd5b82356001600160401b03808211156127d457600080fd5b818501915085601f8301126127e857600080fd5b8135818111156127f757600080fd5b86602082850101111561280957600080fd5b60209290920196919550909350505050565b6000806040838503121561282e57600080fd5b823591506125456020840161246e565b6000806040838503121561285157600080fd5b50508035926020909101359150565b60008060006060848603121561287557600080fd5b505081359360208301359350604090920135919050565b60006020828403121561289e57600080fd5b6117e9826124d5565b6000602082840312156128b957600080fd5b6117e9826124e9565b600080600080608085870312156128d857600080fd5b6128e1856124e9565b93506128ef602086016124e9565b92506128fd604086016124e9565b915061290b606086016124d5565b905092959194509250565b6000815180845261292e816020860160208601612adb565b601f01601f19169290920160200192915050565b60008351612954818460208801612adb565b835190830190612968818360208801612adb565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129a490830184612916565b9695505050505050565b6020815260006117e96020830184612916565b6020808252602c908201527f4164647265737320616c7265616479206d696e746564206e756d206f6620746f60408201526b1ad95b9cc8185b1b1bddd95960a21b606082015260800190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612a8c57612a8c612b71565b500190565b600082612aa057612aa0612b87565b500490565b6000816000190483118215151615612abf57612abf612b71565b500290565b600082821015612ad657612ad6612b71565b500390565b60005b83811015612af6578181015183820152602001612ade565b838111156115ac5750506000910152565b600181811c90821680612b1b57607f821691505b60208210811415612b3c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b5657612b56612b71565b5060010190565b600082612b6c57612b6c612b87565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611a7457600080fdfea2646970667358221220953bde8717b9d251d13a1093901ec0169d5a9243cbd29c063a7c3818b1c0705e64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000001c

Deployed Bytecode

0x6080604052600436106102675760003560e01c8063715018a611610144578063ac446002116100b6578063cb91d8b31161007a578063cb91d8b3146107f1578063d8929c8b14610804578063dc33e68114610824578063e0e3f5ef14610844578063e985e9c514610871578063f2fde38b146108ba57600080fd5b8063ac4460021461075c578063b88d4fde14610771578063bb3f683314610791578063bfa457bc146107b1578063c87b56dd146107d157600080fd5b806390aa0b0f1161010857806390aa0b0f146105f25780639231ab2a1461067d57806395d89b41146106d35780639da1a34d146106e8578063a22cb46514610708578063a69b1cd51461072857600080fd5b8063715018a61461055957806371d782d01461056e578063899e60031461059e5780638da5cb5b146105b457806390028083146105d257600080fd5b80633b438ad1116101dd57806359cd09bb116101a157806359cd09bb1461048c5780635fd84c28146104ac5780636352211e146104cc57806368010d6e146104ec57806370a082311461050c5780637138f80d1461052c57600080fd5b80633b438ad1146103e6578063422030ba1461041657806342842e0e1461043657806352c4cbaf1461045657806355f804b31461046c57600080fd5b8063101f02791161022f578063101f02791461033d578063163e1e611461035d57806318160ddd1461037d57806322c3f7af146103a057806323b872dd146103b35780632bf59ba5146103d357600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb5780630c29dbae1461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612770565b6108da565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b661092c565b60405161029891906129ae565b3480156102cf57600080fd5b506102e36102de366004612757565b6109be565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061031b6103163660046126a1565b610a02565b005b34801561032957600080fd5b5061031b6103383660046128a7565b610a90565b34801561034957600080fd5b5061031b6103583660046128a7565b610af0565b34801561036957600080fd5b5061031b6103783660046126cb565b610b47565b34801561038957600080fd5b50600254600154035b604051908152602001610298565b61031b6103ae36600461270c565b610c13565b3480156103bf57600080fd5b5061031b6103ce36600461254e565b610e01565b61031b6103e136600461270c565b610e0c565b3480156103f257600080fd5b5061028c610401366004612500565b600c6020526000908152604090205460ff1681565b34801561042257600080fd5b5061028c610431366004612860565b610fe2565b34801561044257600080fd5b5061031b61045136600461254e565b611006565b34801561046257600080fd5b50610392600a5481565b34801561047857600080fd5b5061031b6104873660046127aa565b611021565b34801561049857600080fd5b5061031b6104a73660046128c2565b611057565b3480156104b857600080fd5b5061031b6104c736600461288c565b61113b565b3480156104d857600080fd5b506102e36104e7366004612757565b611181565b3480156104f857600080fd5b5061031b61050736600461281b565b611193565b34801561051857600080fd5b50610392610527366004612500565b61122b565b34801561053857600080fd5b50610392610547366004612500565b600e6020526000908152604090205481565b34801561056557600080fd5b5061031b611279565b34801561057a57600080fd5b5061028c610589366004612500565b600f6020526000908152604090205460ff1681565b3480156105aa57600080fd5b50610392600d5481565b3480156105c057600080fd5b506000546001600160a01b03166102e3565b3480156105de57600080fd5b5061031b6105ed36600461288c565b6112af565b3480156105fe57600080fd5b506010546106429063ffffffff808216916001600160401b036401000000008204811692600160601b8304821692600160a01b810490921691600160e01b90041685565b6040805163ffffffff96871681526001600160401b03958616602082015293851690840152921660608201529116608082015260a001610298565b34801561068957600080fd5b5061069d610698366004612757565b6112fe565b6040805182516001600160a01b031681526020808401516001600160401b03169082015291810151151590820152606001610298565b3480156106df57600080fd5b506102b6611324565b3480156106f457600080fd5b5061031b610703366004612757565b611333565b34801561071457600080fd5b5061031b610723366004612665565b611362565b34801561073457600080fd5b506103927f000000000000000000000000000000000000000000000000000000000000001c81565b34801561076857600080fd5b5061031b6113f8565b34801561077d57600080fd5b5061031b61078c36600461258a565b611561565b34801561079d57600080fd5b5061031b6107ac3660046128a7565b6115b2565b3480156107bd57600080fd5b5061031b6107cc36600461281b565b61160b565b3480156107dd57600080fd5b506102b66107ec366004612757565b61176b565b61031b6107ff36600461283e565b6117f0565b34801561081057600080fd5b5061031b61081f366004612757565b6119a2565b34801561083057600080fd5b5061039261083f366004612500565b6119d1565b34801561085057600080fd5b5061039261085f366004612500565b600b6020526000908152604090205481565b34801561087d57600080fd5b5061028c61088c36600461251b565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156108c657600080fd5b5061031b6108d5366004612500565b6119dc565b60006001600160e01b031982166380ac58cd60e01b148061090b57506001600160e01b03198216635b5e139f60e01b145b8061092657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461093b90612b07565b80601f016020809104026020016040519081016040528092919081815260200182805461096790612b07565b80156109b45780601f10610989576101008083540402835291602001916109b4565b820191906000526020600020905b81548152906001019060200180831161099757829003601f168201915b5050505050905090565b60006109c982611a77565b6109e6576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610a0d82611181565b9050806001600160a01b0316836001600160a01b03161415610a425760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610a625750610a60813361088c565b155b15610a80576040516367d9dca160e11b815260040160405180910390fd5b610a8b838383611aa3565b505050565b6000546001600160a01b03163314610ac35760405162461bcd60e51b8152600401610aba90612a44565b60405180910390fd5b601080546001600160401b03909216600160a01b0267ffffffffffffffff60a01b19909216919091179055565b6000546001600160a01b03163314610b1a5760405162461bcd60e51b8152600401610aba90612a44565b601080546001600160401b03909216600160601b0267ffffffffffffffff60601b19909216919091179055565b6000546001600160a01b03163314610b715760405162461bcd60e51b8152600401610aba90612a44565b6122b881610b826002546001540390565b610b8c9190612a79565b1115610bc55760405162461bcd60e51b815260206004820152600860248201526713505617d352539560c21b6044820152606401610aba565b60005b81811015610a8b57610c01838383818110610be557610be5612b9d565b9050602002016020810190610bfa9190612500565b6001611aff565b80610c0b81612b42565b915050610bc8565b323314610c325760405162461bcd60e51b8152600401610aba90612a0d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610ca784848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611b19565b610ceb5760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610aba565b601054600160601b90046001600160401b031680610d445760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cc81b9bdd08189959dd5b881e595d60521b6044820152606401610aba565b336000908152600f602052604090205460ff16610d8457336000908152600f60209081526040808320805460ff19166001179055600e9091529020600590555b336000908152600e6020526040902054610db05760405162461bcd60e51b8152600401610aba906129c1565b336000908152600e6020526040902054610dcb908490612ac4565b336000818152600e6020526040902091909155610de89084611aff565b610dfa610df58483612aa5565b611b2f565b5050505050565b610a8b838383611bb6565b323314610e2b5760405162461bcd60e51b8152600401610aba90612a0d565b6040516001600160601b03193360601b166020820152600090603401604051602081830303815290604052805190602001209050610ea084848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a549150849050611b19565b610ee45760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610aba565b60105464010000000090046001600160401b031680610f3e5760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cc81b9bdd08189959dd5b881e595d60521b6044820152606401610aba565b336000908152600c602052604090205460ff16610f7e57336000908152600c60209081526040808320805460ff19166001179055600b9091529020600590555b336000908152600b6020526040902054610faa5760405162461bcd60e51b8152600401610aba906129c1565b336000908152600b6020526040902054610fc5908490612ac4565b336000818152600b6020526040902091909155610de89084611aff565b60008315801590610ff257508215155b8015610ffe5750814210155b949350505050565b610a8b83838360405180602001604052806000815250611561565b6000546001600160a01b0316331461104b5760405162461bcd60e51b8152600401610aba90612a44565b610a8b601183836123d5565b6000546001600160a01b031633146110815760405162461bcd60e51b8152600401610aba90612a44565b6040805160a08101825263ffffffff9283168082526001600160401b0396871660208301819052958716928201839052939095166060860181905260108054600160e01b80820490951660809098018890526001600160601b031916909417640100000000909502949094176fffffffffffffffffffffffffffffffff60601b1916600160601b90910267ffffffffffffffff60a01b191617600160a01b909302929092176001600160e01b031692909102919091179055565b6000546001600160a01b031633146111655760405162461bcd60e51b8152600401610aba90612a44565b6010805463ffffffff191663ffffffff92909216919091179055565b600061118c82611dc7565b5192915050565b6000546001600160a01b031633146111bd5760405162461bcd60e51b8152600401610aba90612a44565b6122b8826111ce6002546001540390565b6111d89190612a79565b111561121d5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610aba565b6112278183611aff565b5050565b60006001600160a01b038216611254576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600660205260409020546001600160401b031690565b6000546001600160a01b031633146112a35760405162461bcd60e51b8152600401610aba90612a44565b6112ad6000611ee1565b565b6000546001600160a01b031633146112d95760405162461bcd60e51b8152600401610aba90612a44565b6010805463ffffffff909216600160e01b026001600160e01b03909216919091179055565b604080516060810182526000808252602082018190529181019190915261092682611dc7565b60606004805461093b90612b07565b6000546001600160a01b0316331461135d5760405162461bcd60e51b8152600401610aba90612a44565b600d55565b6001600160a01b03821633141561138c5760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6002600954141561144b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610aba565b60026009554773e3af2fb66c545b77bfd7bfc10f5fae3febdeefc46108fc6064611476846014612aa5565b6114809190612a91565b6040518115909202916000818181858888f193505050501580156114a8573d6000803e3d6000fd5b5073f4e56b5e53dd354162515f4e59867ae72e77d24e6108fc60646114ce84604b612aa5565b6114d89190612a91565b6040518115909202916000818181858888f19350505050158015611500573d6000803e3d6000fd5b5073dc55a92802dfee22d5c2214cf5ea9360042a31d46108fc6064611526846005612aa5565b6115309190612a91565b6040518115909202916000818181858888f19350505050158015611558573d6000803e3d6000fd5b50506001600955565b61156c848484611bb6565b6001600160a01b0383163b1515801561158e575061158c84848484611f31565b155b156115ac576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6000546001600160a01b031633146115dc5760405162461bcd60e51b8152600401610aba90612a44565b601080546001600160401b03909216640100000000026bffffffffffffffff0000000019909216919091179055565b6000546001600160a01b031633146116355760405162461bcd60e51b8152600401610aba90612a44565b7f000000000000000000000000000000000000000000000000000000000000001c826116646002546001540390565b61166e9190612a79565b11156116ca5760405162461bcd60e51b815260206004820152602560248201527f746f6f206d616e7920616c7265616479206d696e74656420666f72207465616d604482015264081b5a5b9d60da1b6064820152608401610aba565b6116d5600a83612b5d565b156117345760405162461bcd60e51b815260206004820152602960248201527f63616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060448201526809a82b0be8482a886960bb1b6064820152608401610aba565b6000611741600a84612a91565b905060005b818110156115ac5761175983600a611aff565b8061176381612b42565b915050611746565b606061177682611a77565b61179357604051630a14c4b560e41b815260040160405180910390fd5b600061179d612028565b90508051600014156117be57604051806020016040528060008152506117e9565b806117c884612037565b6040516020016117d9929190612942565b6040516020818303038152906040525b9392505050565b32331461180f5760405162461bcd60e51b8152600401610aba90612a0d565b6040805160a08101825260105463ffffffff8082168084526001600160401b03640100000000840481166020860152600160601b8404811695850195909552600160a01b830490941660608401819052600160e01b909204166080830181905291928483146118ce5760405162461bcd60e51b815260206004820152602560248201527f63616c6c6564207769746820696e636f7272656374207075626c69632073616c60448201526465206b657960d81b6064820152608401610aba565b6118d9828483610fe2565b6119255760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610aba565b6122b8866119366002546001540390565b6119409190612a79565b11156119835760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610aba565b61198d3387611aff565b61199a610df58784612aa5565b505050505050565b6000546001600160a01b031633146119cc5760405162461bcd60e51b8152600401610aba90612a44565b600a55565b600061092682612134565b6000546001600160a01b03163314611a065760405162461bcd60e51b8152600401610aba90612a44565b6001600160a01b038116611a6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610aba565b611a7481611ee1565b50565b600060015482108015610926575050600090815260056020526040902054600160e01b900460ff161590565b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611227828260405180602001604052806000815250612189565b600082611b268584612196565b14949350505050565b80341015611b785760405162461bcd60e51b81526020600482015260166024820152752732b2b2103a379039b2b7321036b7b9329022aa241760511b6044820152606401610aba565b80341115611a7457336108fc611b8e8334612ac4565b6040518115909202916000818181858888f19350505050158015611227573d6000803e3d6000fd5b6000611bc182611dc7565b80519091506000906001600160a01b0316336001600160a01b03161480611bef57508151611bef903361088c565b80611c0a575033611bff846109be565b6001600160a01b0316145b905080611c2a57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611c5f5760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611c8657604051633a954ecd60e21b815260040160405180910390fd5b611c966000848460000151611aa3565b6001600160a01b038581166000908152600660209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611d8057600154811015611d8057825160008281526005602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610dfa565b604080516060810182526000808252602082018190529181019190915281600154811015611ec857600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ec65780516001600160a01b031615611e5d579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611ec1579392505050565b611e5d565b505b604051636f96cda160e11b815260040160405180910390fd5b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611f66903390899088908890600401612971565b602060405180830381600087803b158015611f8057600080fd5b505af1925050508015611fb0575060408051601f3d908101601f19168201909252611fad9181019061278d565b60015b61200b573d808015611fde576040519150601f19603f3d011682016040523d82523d6000602084013e611fe3565b606091505b508051612003576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60606011805461093b90612b07565b60608161205b5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612085578061206f81612b42565b915061207e9050600a83612a91565b915061205f565b6000816001600160401b0381111561209f5761209f612bb3565b6040519080825280601f01601f1916602001820160405280156120c9576020820181803683370190505b5090505b8415610ffe576120de600183612ac4565b91506120eb600a86612b5d565b6120f6906030612a79565b60f81b81838151811061210b5761210b612b9d565b60200101906001600160f81b031916908160001a90535061212d600a86612a91565b94506120cd565b60006001600160a01b03821661215d576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260066020526040902054600160401b90046001600160401b031690565b610a8b838383600161220a565b600081815b84518110156122025760008582815181106121b8576121b8612b9d565b602002602001015190508083116121de57600083815260208290526040902092506121ef565b600081815260208490526040902092505b50806121fa81612b42565b91505061219b565b509392505050565b6001546001600160a01b03851661223357604051622e076360e81b815260040160405180910390fd5b836122515760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260066020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600590925290912080546001600160e01b031916909217600160a01b4290921691909102179055808085018380156122fd57506001600160a01b0387163b15155b15612386575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461234e6000888480600101955088611f31565b61236b576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561230357826001541461238157600080fd5b6123cc565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612387575b50600155610dfa565b8280546123e190612b07565b90600052602060002090601f0160209004810192826124035760008555612449565b82601f1061241c5782800160ff19823516178555612449565b82800160010185558215612449579182015b8281111561244957823582559160200191906001019061242e565b50612455929150612459565b5090565b5b80821115612455576000815560010161245a565b80356001600160a01b038116811461248557600080fd5b919050565b60008083601f84011261249c57600080fd5b5081356001600160401b038111156124b357600080fd5b6020830191508360208260051b85010111156124ce57600080fd5b9250929050565b803563ffffffff8116811461248557600080fd5b80356001600160401b038116811461248557600080fd5b60006020828403121561251257600080fd5b6117e98261246e565b6000806040838503121561252e57600080fd5b6125378361246e565b91506125456020840161246e565b90509250929050565b60008060006060848603121561256357600080fd5b61256c8461246e565b925061257a6020850161246e565b9150604084013590509250925092565b600080600080608085870312156125a057600080fd5b6125a98561246e565b93506125b76020860161246e565b92506040850135915060608501356001600160401b03808211156125da57600080fd5b818701915087601f8301126125ee57600080fd5b81358181111561260057612600612bb3565b604051601f8201601f19908116603f0116810190838211818310171561262857612628612bb3565b816040528281528a602084870101111561264157600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b6000806040838503121561267857600080fd5b6126818361246e565b91506020830135801515811461269657600080fd5b809150509250929050565b600080604083850312156126b457600080fd5b6126bd8361246e565b946020939093013593505050565b600080602083850312156126de57600080fd5b82356001600160401b038111156126f457600080fd5b6127008582860161248a565b90969095509350505050565b60008060006040848603121561272157600080fd5b83356001600160401b0381111561273757600080fd5b6127438682870161248a565b909790965060209590950135949350505050565b60006020828403121561276957600080fd5b5035919050565b60006020828403121561278257600080fd5b81356117e981612bc9565b60006020828403121561279f57600080fd5b81516117e981612bc9565b600080602083850312156127bd57600080fd5b82356001600160401b03808211156127d457600080fd5b818501915085601f8301126127e857600080fd5b8135818111156127f757600080fd5b86602082850101111561280957600080fd5b60209290920196919550909350505050565b6000806040838503121561282e57600080fd5b823591506125456020840161246e565b6000806040838503121561285157600080fd5b50508035926020909101359150565b60008060006060848603121561287557600080fd5b505081359360208301359350604090920135919050565b60006020828403121561289e57600080fd5b6117e9826124d5565b6000602082840312156128b957600080fd5b6117e9826124e9565b600080600080608085870312156128d857600080fd5b6128e1856124e9565b93506128ef602086016124e9565b92506128fd604086016124e9565b915061290b606086016124d5565b905092959194509250565b6000815180845261292e816020860160208601612adb565b601f01601f19169290920160200192915050565b60008351612954818460208801612adb565b835190830190612968818360208801612adb565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906129a490830184612916565b9695505050505050565b6020815260006117e96020830184612916565b6020808252602c908201527f4164647265737320616c7265616479206d696e746564206e756d206f6620746f60408201526b1ad95b9cc8185b1b1bddd95960a21b606082015260800190565b6020808252601e908201527f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612a8c57612a8c612b71565b500190565b600082612aa057612aa0612b87565b500490565b6000816000190483118215151615612abf57612abf612b71565b500290565b600082821015612ad657612ad6612b71565b500390565b60005b83811015612af6578181015183820152602001612ade565b838111156115ac5750506000910152565b600181811c90821680612b1b57607f821691505b60208210811415612b3c57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b5657612b56612b71565b5060010190565b600082612b6c57612b6c612b87565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611a7457600080fdfea2646970667358221220953bde8717b9d251d13a1093901ec0169d5a9243cbd29c063a7c3818b1c0705e64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000001c

-----Decoded View---------------
Arg [0] : amountForTeam_ (uint256): 28

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000001c


Deployed Bytecode Sourcemap

50899:7524:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30810:305;;;;;;;;;;-1:-1:-1;30810:305:0;;;;;:::i;:::-;;:::i;:::-;;;9328:14:1;;9321:22;9303:41;;9291:2;9276:18;30810:305:0;;;;;;;;34195:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;35698:204::-;;;;;;;;;;-1:-1:-1;35698:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8626:32:1;;;8608:51;;8596:2;8581:18;35698:204:0;8462:203:1;35261:371:0;;;;;;;;;;-1:-1:-1;35261:371:0;;;;;:::i;:::-;;:::i;:::-;;56155:106;;;;;;;;;;-1:-1:-1;56155:106:0;;;;;:::i;:::-;;:::i;56389:114::-;;;;;;;;;;-1:-1:-1;56389:114:0;;;;;:::i;:::-;;:::i;52028:259::-;;;;;;;;;;-1:-1:-1;52028:259:0;;;;;:::i;:::-;;:::i;30059:303::-;;;;;;;;;;-1:-1:-1;30313:12:0;;30297:13;;:28;30059:303;;;9501:25:1;;;9489:2;9474:18;30059:303:0;9355:177:1;53357:852:0;;;;;;:::i;:::-;;:::i;36563:170::-;;;;;;;;;;-1:-1:-1;36563:170:0;;;;;:::i;:::-;;:::i;52506:843::-;;;;;;:::i;:::-;;:::i;51194:55::-;;;;;;;;;;-1:-1:-1;51194:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;55307:309;;;;;;;;;;-1:-1:-1;55307:309:0;;;;;:::i;:::-;;:::i;36804:185::-;;;;;;;;;;-1:-1:-1;36804:185:0;;;;;:::i;:::-;;:::i;51095:34::-;;;;;;;;;;;;;;;;57587:106;;;;;;;;;;-1:-1:-1;57587:106:0;;;;;:::i;:::-;;:::i;55624:409::-;;;;;;;;;;-1:-1:-1;55624:409:0;;;;;:::i;:::-;;:::i;56511:120::-;;;;;;;;;;-1:-1:-1;56511:120:0;;;;;:::i;:::-;;:::i;34004:124::-;;;;;;;;;;-1:-1:-1;34004:124:0;;;;;:::i;:::-;;:::i;52295:203::-;;;;;;;;;;-1:-1:-1;52295:203:0;;;;;:::i;:::-;;:::i;31179:206::-;;;;;;;;;;-1:-1:-1;31179:206:0;;;;;:::i;:::-;;:::i;51298:52::-;;;;;;;;;;-1:-1:-1;51298:52:0;;;;;:::i;:::-;;;;;;;;;;;;;;49988:103;;;;;;;;;;;;;:::i;51357:56::-;;;;;;;;;;-1:-1:-1;51357:56:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;51256:35;;;;;;;;;;;;;;;;49337:87;;;;;;;;;;-1:-1:-1;49383:7:0;49410:6;-1:-1:-1;;;;;49410:6:0;49337:87;;56041:106;;;;;;;;;;-1:-1:-1;56041:106:0;;;;;:::i;:::-;;:::i;51618:28::-;;;;;;;;;;-1:-1:-1;51618:28:0;;;;;;;;;-1:-1:-1;;;;;51618:28:0;;;;;;-1:-1:-1;;;51618:28:0;;;;;-1:-1:-1;;;51618:28:0;;;;;;-1:-1:-1;;;51618:28:0;;;;;;;;;16210:10:1;16247:15;;;16229:34;;-1:-1:-1;;;;;16336:15:1;;;16331:2;16316:18;;16309:43;16388:15;;;16368:18;;;16361:43;16440:15;;16435:2;16420:18;;16413:43;16493:15;;16487:3;16472:19;;16465:44;16187:3;16172:19;51618:28:0;15951:564:1;58285:135:0;;;;;;;;;;-1:-1:-1;58285:135:0;;;;;:::i;:::-;;:::i;:::-;;;;15555:13:1;;-1:-1:-1;;;;;15551:39:1;15533:58;;15651:4;15639:17;;;15633:24;-1:-1:-1;;;;;15629:49:1;15607:20;;;15600:79;15737:17;;;15731:24;15724:32;15717:40;15695:20;;;15688:70;15521:2;15506:18;58285:135:0;15325:439:1;34364:104:0;;;;;;;;;;;;;:::i;56771:126::-;;;;;;;;;;-1:-1:-1;56771:126:0;;;;;:::i;:::-;;:::i;35974:287::-;;;;;;;;;;-1:-1:-1;35974:287:0;;;;;:::i;:::-;;:::i;50961:38::-;;;;;;;;;;;;;;;57701:455;;;;;;;;;;;;;:::i;37060:369::-;;;;;;;;;;-1:-1:-1;37060:369:0;;;;;:::i;:::-;;:::i;56269:112::-;;;;;;;;;;-1:-1:-1;56269:112:0;;;;;:::i;:::-;;:::i;56905:515::-;;;;;;;;;;-1:-1:-1;56905:515:0;;;;;:::i;:::-;;:::i;34539:318::-;;;;;;;;;;-1:-1:-1;34539:318:0;;;;;:::i;:::-;;:::i;54217:850::-;;;;;;:::i;:::-;;:::i;56639:124::-;;;;;;;;;;-1:-1:-1;56639:124:0;;;;;:::i;:::-;;:::i;58164:113::-;;;;;;;;;;-1:-1:-1;58164:113:0;;;;;:::i;:::-;;:::i;51136:51::-;;;;;;;;;;-1:-1:-1;51136:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;36332:164;;;;;;;;;;-1:-1:-1;36332:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;36453:25:0;;;36429:4;36453:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;36332:164;50246:201;;;;;;;;;;-1:-1:-1;50246:201:0;;;;;:::i;:::-;;:::i;30810:305::-;30912:4;-1:-1:-1;;;;;;30949:40:0;;-1:-1:-1;;;30949:40:0;;:105;;-1:-1:-1;;;;;;;31006:48:0;;-1:-1:-1;;;31006:48:0;30949:105;:158;;;-1:-1:-1;;;;;;;;;;15926:40:0;;;31071:36;30929:178;30810:305;-1:-1:-1;;30810:305:0:o;34195:100::-;34249:13;34282:5;34275:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34195:100;:::o;35698:204::-;35766:7;35791:16;35799:7;35791;:16::i;:::-;35786:64;;35816:34;;-1:-1:-1;;;35816:34:0;;;;;;;;;;;35786:64;-1:-1:-1;35870:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;35870:24:0;;35698:204::o;35261:371::-;35334:13;35350:24;35366:7;35350:15;:24::i;:::-;35334:40;;35395:5;-1:-1:-1;;;;;35389:11:0;:2;-1:-1:-1;;;;;35389:11:0;;35385:48;;;35409:24;;-1:-1:-1;;;35409:24:0;;;;;;;;;;;35385:48;26238:10;-1:-1:-1;;;;;35450:21:0;;;;;;:63;;-1:-1:-1;35476:37:0;35493:5;26238:10;36332:164;:::i;35476:37::-;35475:38;35450:63;35446:138;;;35537:35;;-1:-1:-1;;;35537:35:0;;;;;;;;;;;35446:138;35596:28;35605:2;35609:7;35618:5;35596:8;:28::i;:::-;35323:309;35261:371;;:::o;56155:106::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;;;;;;;;;56223:10:::1;:30:::0;;-1:-1:-1;;;;;56223:30:0;;::::1;-1:-1:-1::0;;;56223:30:0::1;-1:-1:-1::0;;;;56223:30:0;;::::1;::::0;;;::::1;::::0;;56155:106::o;56389:114::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56461:10:::1;:34:::0;;-1:-1:-1;;;;;56461:34:0;;::::1;-1:-1:-1::0;;;56461:34:0::1;-1:-1:-1::0;;;;56461:34:0;;::::1;::::0;;;::::1;::::0;;56389:114::o;52028:259::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;51041:4:::1;52126:9:::0;52110:13:::1;30313:12:::0;;30297:13;;:28;;30059:303;52110:13:::1;:32;;;;:::i;:::-;:46;;52102:67;;;::::0;-1:-1:-1;;;52102:67:0;;13761:2:1;52102:67:0::1;::::0;::::1;13743:21:1::0;13800:1;13780:18;;;13773:29;-1:-1:-1;;;13818:18:1;;;13811:38;13866:18;;52102:67:0::1;13559:331:1::0;52102:67:0::1;52185:9;52180:100;52200:20:::0;;::::1;52180:100;;;52242:26;52252:9;;52262:1;52252:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;52266:1;52242:9;:26::i;:::-;52222:3:::0;::::1;::::0;::::1;:::i;:::-;;;;52180:100;;53357:852:::0;51942:9;51955:10;51942:23;51934:66;;;;-1:-1:-1;;;51934:66:0;;;;;;;:::i;:::-;53498:28:::1;::::0;-1:-1:-1;;;;;;53515:10:0::1;7902:2:1::0;7898:15;7894:53;53498:28:0::1;::::0;::::1;7882:66:1::0;53473:12:0::1;::::0;7964::1;;53498:28:0::1;;;;;;;;;;;;53488:39;;;;;;53473:54;;53546:60;53565:12;;53546:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;53579:20:0::1;::::0;;-1:-1:-1;53601:4:0;;-1:-1:-1;53546:18:0::1;:60::i;:::-;53538:107;;;::::0;-1:-1:-1;;;53538:107:0;;11127:2:1;53538:107:0::1;::::0;::::1;11109:21:1::0;11166:2;11146:18;;;11139:30;-1:-1:-1;;;11185:18:1;;;11178:51;11246:18;;53538:107:0::1;10925:345:1::0;53538:107:0::1;53680:10;:26:::0;-1:-1:-1;;;53680:26:0;::::1;-1:-1:-1::0;;;;;53680:26:0::1;::::0;53718:45:::1;;;::::0;-1:-1:-1;;;53718:45:0;;9963:2:1;53718:45:0::1;::::0;::::1;9945:21:1::0;10002:2;9982:18;;;9975:30;-1:-1:-1;;;10021:18:1;;;10014:52;10083:18;;53718:45:0::1;9761:346:1::0;53718:45:0::1;53804:10;53779:36;::::0;;;:24:::1;:36;::::0;;;;;::::1;;53774:161;;53857:10;53832:36;::::0;;;:24:::1;:36;::::0;;;;;;;:43;;-1:-1:-1;;53832:43:0::1;53871:4;53832:43;::::0;;53890:17:::1;:29:::0;;;;;53922:1:::1;53890:33:::0;;53774:161:::1;53971:10;53985:1;53953:29:::0;;;:17:::1;:29;::::0;;;;;53945:90:::1;;;;-1:-1:-1::0;;;53945:90:0::1;;;;;;;:::i;:::-;54096:10;54078:29;::::0;;;:17:::1;:29;::::0;;;;;:40:::1;::::0;54110:8;;54078:40:::1;:::i;:::-;54064:10;54046:29;::::0;;;:17:::1;:29;::::0;;;;:72;;;;54129:31:::1;::::0;54151:8;54129:9:::1;:31::i;:::-;54171:30;54184:16;54192:8:::0;54184:5;:16:::1;:::i;:::-;54171:12;:30::i;:::-;53462:747;;53357:852:::0;;;:::o;36563:170::-;36697:28;36707:4;36713:2;36717:7;36697:9;:28::i;52506:843::-;51942:9;51955:10;51942:23;51934:66;;;;-1:-1:-1;;;51934:66:0;;;;;;;:::i;:::-;52646:28:::1;::::0;-1:-1:-1;;;;;;52663:10:0::1;7902:2:1::0;7898:15;7894:53;52646:28:0::1;::::0;::::1;7882:66:1::0;52621:12:0::1;::::0;7964::1;;52646:28:0::1;;;;;;;;;;;;52636:39;;;;;;52621:54;;52694:59;52713:12;;52694:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;52727:19:0::1;::::0;;-1:-1:-1;52748:4:0;;-1:-1:-1;52694:18:0::1;:59::i;:::-;52686:106;;;::::0;-1:-1:-1;;;52686:106:0;;11127:2:1;52686:106:0::1;::::0;::::1;11109:21:1::0;11166:2;11146:18;;;11139:30;-1:-1:-1;;;11185:18:1;;;11178:51;11246:18;;52686:106:0::1;10925:345:1::0;52686:106:0::1;52827:10;:25:::0;;;::::1;-1:-1:-1::0;;;;;52827:25:0::1;::::0;52864:45:::1;;;::::0;-1:-1:-1;;;52864:45:0;;9963:2:1;52864:45:0::1;::::0;::::1;9945:21:1::0;10002:2;9982:18;;;9975:30;-1:-1:-1;;;10021:18:1;;;10014:52;10083:18;;52864:45:0::1;9761:346:1::0;52864:45:0::1;52949:10;52925:35;::::0;;;:23:::1;:35;::::0;;;;;::::1;;52920:158;;53001:10;52977:35;::::0;;;:23:::1;:35;::::0;;;;;;;:42;;-1:-1:-1;;52977:42:0::1;53015:4;52977:42;::::0;;53034:16:::1;:28:::0;;;;;53065:1:::1;53034:32:::0;;52920:158:::1;53113:10;53127:1;53096:28:::0;;;:16:::1;:28;::::0;;;;;53088:89:::1;;;;-1:-1:-1::0;;;53088:89:0::1;;;;;;;:::i;:::-;53236:10;53219:28;::::0;;;:16:::1;:28;::::0;;;;;:39:::1;::::0;53250:8;;53219:39:::1;:::i;:::-;53205:10;53188:28;::::0;;;:16:::1;:28;::::0;;;;:70;;;;53269:31:::1;::::0;53291:8;53269:9:::1;:31::i;55307:309::-:0;55462:4;55499:19;;;;;:54;;-1:-1:-1;55535:18:0;;;55499:54;:109;;;;;55589:19;55570:15;:38;;55499:109;55479:129;55307:309;-1:-1:-1;;;;55307:309:0:o;36804:185::-;36942:39;36959:4;36965:2;36969:7;36942:39;;;;;;;;;;;;:16;:39::i;57587:106::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;57662:23:::1;:13;57678:7:::0;;57662:23:::1;:::i;55624:409::-:0;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;55837:188:::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;55837:188:0;;::::1;;::::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;55990:10:::1;:24:::0;;-1:-1:-1;;;55990:24:0;;::::1;::::0;;::::1;55837:188:::0;;;;;;;-1:-1:-1;;;;;;55824:201:0;;;;;;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;55824:201:0;-1:-1:-1;;;55824:201:0;;::::1;-1:-1:-1::0;;;;55824:201:0;;-1:-1:-1;;;55824:201:0;;::::1;::::0;;;::::1;-1:-1:-1::0;;;;;55824:201:0::1;::::0;;;::::1;::::0;;;::::1;::::0;;55624:409::o;56511:120::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56586:10:::1;:37:::0;;-1:-1:-1;;56586:37:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;56511:120::o;34004:124::-;34068:7;34095:20;34107:7;34095:11;:20::i;:::-;:25;;34004:124;-1:-1:-1;;34004:124:0:o;52295:203::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;51041:4:::1;52408:3;52392:13;30313:12:::0;;30297:13;;:28;;30059:303;52392:13:::1;:19;;;;:::i;:::-;:33;;52384:66;;;::::0;-1:-1:-1;;;52384:66:0;;11477:2:1;52384:66:0::1;::::0;::::1;11459:21:1::0;11516:2;11496:18;;;11489:30;-1:-1:-1;;;11535:18:1;;;11528:50;11595:18;;52384:66:0::1;11275:344:1::0;52384:66:0::1;52461:29;52471:13;52486:3;52461:9;:29::i;:::-;52295:203:::0;;:::o;31179:206::-;31243:7;-1:-1:-1;;;;;31267:19:0;;31263:60;;31295:28;;-1:-1:-1;;;31295:28:0;;;;;;;;;;;31263:60;-1:-1:-1;;;;;;31349:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;31349:27:0;;31179:206::o;49988:103::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;50053:30:::1;50080:1;50053:18;:30::i;:::-;49988:103::o:0;56041:106::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56109:10:::1;:30:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;56109:30:0::1;-1:-1:-1::0;;;;;56109:30:0;;::::1;::::0;;;::::1;::::0;;56041:106::o;58285:135::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;58392:20:0;58404:7;58392:11;:20::i;34364:104::-;34420:13;34453:7;34446:14;;;;;:::i;56771:126::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56855:20:::1;:34:::0;56771:126::o;35974:287::-;-1:-1:-1;;;;;36073:24:0;;26238:10;36073:24;36069:54;;;36106:17;;-1:-1:-1;;;36106:17:0;;;;;;;;;;;36069:54;26238:10;36136:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;36136:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;36136:53:0;;;;;;;;;;36205:48;;9303:41:1;;;36136:42:0;;26238:10;36205:48;;9276:18:1;36205:48:0;;;;;;;35974:287;;:::o;57701:455::-;24534:1;25132:7;;:19;;25124:63;;;;-1:-1:-1;;;25124:63:0;;15167:2:1;25124:63:0;;;15149:21:1;15206:2;15186:18;;;15179:30;15245:33;15225:18;;;15218:61;15296:18;;25124:63:0;14965:355:1;25124:63:0;24534:1;25265:7;:18;57777:21:::1;57817:42;57809:106;57901:3;57885:12;57777:21:::0;57895:2:::1;57885:12;:::i;:::-;57884:20;;;;:::i;:::-;57809:106;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;57934:42:0::1;57926:106;58018:3;58002:12;:7:::0;58012:2:::1;58002:12;:::i;:::-;58001:20;;;;:::i;:::-;57926:106;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;58051:42:0::1;58043:105;58134:3;58119:11;:7:::0;58129:1:::1;58119:11;:::i;:::-;58118:19;;;;:::i;:::-;58043:105;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;24490:1:0;25444:7;:22;57701:455::o;37060:369::-;37227:28;37237:4;37243:2;37247:7;37227:9;:28::i;:::-;-1:-1:-1;;;;;37270:13:0;;6035:19;:23;;37270:76;;;;;37290:56;37321:4;37327:2;37331:7;37340:5;37290:30;:56::i;:::-;37289:57;37270:76;37266:156;;;37370:40;;-1:-1:-1;;;37370:40:0;;;;;;;;;;;37266:156;37060:369;;;;:::o;56269:112::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56340:10:::1;:33:::0;;-1:-1:-1;;;;;56340:33:0;;::::1;::::0;::::1;-1:-1:-1::0;;56340:33:0;;::::1;::::0;;;::::1;::::0;;56269:112::o;56905:515::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;57044:13:::1;57032:8;57016:13;30313:12:::0;;30297:13;;:28;;30059:303;57016:13:::1;:24;;;;:::i;:::-;:41;;56994:128;;;::::0;-1:-1:-1;;;56994:128:0;;10721:2:1;56994:128:0::1;::::0;::::1;10703:21:1::0;10760:2;10740:18;;;10733:30;10799:34;10779:18;;;10772:62;-1:-1:-1;;;10850:18:1;;;10843:35;10895:19;;56994:128:0::1;10519:401:1::0;56994:128:0::1;57155:20;51086:2;57155:8:::0;:20:::1;:::i;:::-;:25:::0;57133:116:::1;;;::::0;-1:-1:-1;;;57133:116:0;;13004:2:1;57133:116:0::1;::::0;::::1;12986:21:1::0;13043:2;13023:18;;;13016:30;13082:34;13062:18;;;13055:62;-1:-1:-1;;;13133:18:1;;;13126:39;13182:19;;57133:116:0::1;12802:405:1::0;57133:116:0::1;57260:17;57280:20;51086:2;57280:8:::0;:20:::1;:::i;:::-;57260:40;;57316:9;57311:102;57335:9;57331:1;:13;57311:102;;;57366:35;57376:13;51086:2;57366:9;:35::i;:::-;57346:3:::0;::::1;::::0;::::1;:::i;:::-;;;;57311:102;;34539:318:::0;34612:13;34643:16;34651:7;34643;:16::i;:::-;34638:59;;34668:29;;-1:-1:-1;;;34668:29:0;;;;;;;;;;;34638:59;34710:21;34734:10;:8;:10::i;:::-;34710:34;;34768:7;34762:21;34787:1;34762:26;;:87;;;;;;;;;;;;;;;;;34815:7;34824:18;:7;:16;:18::i;:::-;34798:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;34762:87;34755:94;34539:318;-1:-1:-1;;;34539:318:0:o;54217:850::-;51942:9;51955:10;51942:23;51934:66;;;;-1:-1:-1;;;51934:66:0;;;;;;;:::i;:::-;54329:37:::1;::::0;;::::1;::::0;::::1;::::0;;54356:10:::1;54329:37:::0;::::1;::::0;;::::1;::::0;;;-1:-1:-1;;;;;54329:37:0;;::::1;::::0;::::1;;::::0;::::1;::::0;-1:-1:-1;;;54329:37:0;::::1;::::0;::::1;::::0;;;;;;;-1:-1:-1;;;54329:37:0;::::1;::::0;;::::1;::::0;;;;;;-1:-1:-1;;;54329:37:0;;::::1;;::::0;;;;;;;;54599:36;;::::1;54577:123;;;::::0;-1:-1:-1;;;54577:123:0;;11826:2:1;54577:123:0::1;::::0;::::1;11808:21:1::0;11865:2;11845:18;;;11838:30;11904:34;11884:18;;;11877:62;-1:-1:-1;;;11955:18:1;;;11948:35;12000:19;;54577:123:0::1;11624:401:1::0;54577:123:0::1;54733:63;54748:11;54761:13;54776:19;54733:14;:63::i;:::-;54711:142;;;::::0;-1:-1:-1;;;54711:142:0;;14458:2:1;54711:142:0::1;::::0;::::1;14440:21:1::0;14497:2;14477:18;;;14470:30;14536:31;14516:18;;;14509:59;14585:18;;54711:142:0::1;14256:353:1::0;54711:142:0::1;51041:4;54902:8;54886:13;30313:12:::0;;30297:13;;:28;;30059:303;54886:13:::1;:24;;;;:::i;:::-;:38;;54864:106;;;::::0;-1:-1:-1;;;54864:106:0;;13414:2:1;54864:106:0::1;::::0;::::1;13396:21:1::0;13453:2;13433:18;;;13426:30;-1:-1:-1;;;13472:18:1;;;13465:48;13530:18;;54864:106:0::1;13212:342:1::0;54864:106:0::1;54981:31;54991:10;55003:8;54981:9;:31::i;:::-;55023:36;55036:22;55050:8:::0;55036:11;:22:::1;:::i;55023:36::-;54318:749;;;;54217:850:::0;;:::o;56639:124::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;56722:19:::1;:33:::0;56639:124::o;58164:113::-;58222:7;58249:20;58263:5;58249:13;:20::i;50246:201::-;49383:7;49410:6;-1:-1:-1;;;;;49410:6:0;26238:10;49557:23;49549:68;;;;-1:-1:-1;;;49549:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;50335:22:0;::::1;50327:73;;;::::0;-1:-1:-1;;;50327:73:0;;10314:2:1;50327:73:0::1;::::0;::::1;10296:21:1::0;10353:2;10333:18;;;10326:30;10392:34;10372:18;;;10365:62;-1:-1:-1;;;10443:18:1;;;10436:36;10489:19;;50327:73:0::1;10112:402:1::0;50327:73:0::1;50411:28;50430:8;50411:18;:28::i;:::-;50246:201:::0;:::o;37684:187::-;37741:4;37805:13;;37795:7;:23;37765:98;;;;-1:-1:-1;;37836:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;37836:27:0;;;;37835:28;;37684:187::o;45295:196::-;45410:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;45410:29:0;-1:-1:-1;;;;;45410:29:0;;;;;;;;;45455:28;;45410:24;;45455:28;;;;;;;45295:196;;;:::o;37879:104::-;37948:27;37958:2;37962:8;37948:27;;;;;;;;;;;;:9;:27::i;921:190::-;1046:4;1099;1070:25;1083:5;1090:4;1070:12;:25::i;:::-;:33;;921:190;-1:-1:-1;;;;921:190:0:o;55075:224::-;55152:5;55139:9;:18;;55131:53;;;;-1:-1:-1;;;55131:53:0;;14816:2:1;55131:53:0;;;14798:21:1;14855:2;14835:18;;;14828:30;-1:-1:-1;;;14874:18:1;;;14867:52;14936:18;;55131:53:0;14614:346:1;55131:53:0;55211:5;55199:9;:17;55195:97;;;55241:10;55233:47;55262:17;55274:5;55262:9;:17;:::i;:::-;55233:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40797:2112;40912:35;40950:20;40962:7;40950:11;:20::i;:::-;41025:18;;40912:58;;-1:-1:-1;40983:22:0;;-1:-1:-1;;;;;41009:34:0;26238:10;-1:-1:-1;;;;;41009:34:0;;:101;;;-1:-1:-1;41077:18:0;;41060:50;;26238:10;36332:164;:::i;41060:50::-;41009:154;;;-1:-1:-1;26238:10:0;41127:20;41139:7;41127:11;:20::i;:::-;-1:-1:-1;;;;;41127:36:0;;41009:154;40983:181;;41182:17;41177:66;;41208:35;;-1:-1:-1;;;41208:35:0;;;;;;;;;;;41177:66;41280:4;-1:-1:-1;;;;;41258:26:0;:13;:18;;;-1:-1:-1;;;;;41258:26:0;;41254:67;;41293:28;;-1:-1:-1;;;41293:28:0;;;;;;;;;;;41254:67;-1:-1:-1;;;;;41336:16:0;;41332:52;;41361:23;;-1:-1:-1;;;41361:23:0;;;;;;;;;;;41332:52;41505:49;41522:1;41526:7;41535:13;:18;;;41505:8;:49::i;:::-;-1:-1:-1;;;;;41850:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;41850:31:0;;;-1:-1:-1;;;;;41850:31:0;;;-1:-1:-1;;41850:31:0;;;;;;;41896:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;41896:29:0;;;;;;;;;;;41942:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;41987:61:0;;;;-1:-1:-1;;;42032:15:0;41987:61;;;;;;;;;;;42322:11;;;42352:24;;;;;:29;42322:11;;42352:29;42348:445;;42577:13;;42563:11;:27;42559:219;;;42647:18;;;42615:24;;;:11;:24;;;;;;;;:50;;42730:28;;;;-1:-1:-1;;;;;42688:70:0;-1:-1:-1;;;42688:70:0;-1:-1:-1;;;;;;42688:70:0;;;-1:-1:-1;;;;;42615:50:0;;;42688:70;;;;;;;42559:219;41825:979;42840:7;42836:2;-1:-1:-1;;;;;42821:27:0;42830:4;-1:-1:-1;;;;;42821:27:0;;;;;;;;;;;42859:42;37060:369;32834:1108;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;32944:7:0;33027:13;;33020:4;:20;32989:886;;;33061:31;33095:17;;;:11;:17;;;;;;;;;33061:51;;;;;;;;;-1:-1:-1;;;;;33061:51:0;;;;-1:-1:-1;;;33061:51:0;;-1:-1:-1;;;;;33061:51:0;;;;;;;;-1:-1:-1;;;33061:51:0;;;;;;;;;;;;;;33131:729;;33181:14;;-1:-1:-1;;;;;33181:28:0;;33177:101;;33245:9;32834:1108;-1:-1:-1;;;32834:1108:0:o;33177:101::-;-1:-1:-1;;;33620:6:0;33665:17;;;;:11;:17;;;;;;;;;33653:29;;;;;;;;;-1:-1:-1;;;;;33653:29:0;;;;;-1:-1:-1;;;33653:29:0;;-1:-1:-1;;;;;33653:29:0;;;;;;;;-1:-1:-1;;;33653:29:0;;;;;;;;;;;;;33713:28;33709:109;;33781:9;32834:1108;-1:-1:-1;;;32834:1108:0:o;33709:109::-;33580:261;;;33042:833;32989:886;33903:31;;-1:-1:-1;;;33903:31:0;;;;;;;;;;;50607:191;50681:16;50700:6;;-1:-1:-1;;;;;50717:17:0;;;-1:-1:-1;;;;;;50717:17:0;;;;;;50750:40;;50700:6;;;;;;;50750:40;;50681:16;50750:40;50670:128;50607:191;:::o;45983:667::-;46167:72;;-1:-1:-1;;;46167:72:0;;46146:4;;-1:-1:-1;;;;;46167:36:0;;;;;:72;;26238:10;;46218:4;;46224:7;;46233:5;;46167:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46167:72:0;;;;;;;;-1:-1:-1;;46167:72:0;;;;;;;;;;;;:::i;:::-;;;46163:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46401:13:0;;46397:235;;46447:40;;-1:-1:-1;;;46447:40:0;;;;;;;;;;;46397:235;46590:6;46584:13;46575:6;46571:2;46567:15;46560:38;46163:480;-1:-1:-1;;;;;;46286:55:0;-1:-1:-1;;;46286:55:0;;-1:-1:-1;45983:667:0;;;;;;:::o;57465:114::-;57525:13;57558;57551:20;;;;;:::i;2750:723::-;2806:13;3027:10;3023:53;;-1:-1:-1;;3054:10:0;;;;;;;;;;;;-1:-1:-1;;;3054:10:0;;;;;2750:723::o;3023:53::-;3101:5;3086:12;3142:78;3149:9;;3142:78;;3175:8;;;;:::i;:::-;;-1:-1:-1;3198:10:0;;-1:-1:-1;3206:2:0;3198:10;;:::i;:::-;;;3142:78;;;3230:19;3262:6;-1:-1:-1;;;;;3252:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3252:17:0;;3230:39;;3280:154;3287:10;;3280:154;;3314:11;3324:1;3314:11;;:::i;:::-;;-1:-1:-1;3383:10:0;3391:2;3383:5;:10;:::i;:::-;3370:24;;:2;:24;:::i;:::-;3357:39;;3340:6;3347;3340:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;3340:56:0;;;;;;;;-1:-1:-1;3411:11:0;3420:2;3411:11;;:::i;:::-;;;3280:154;;31467:207;31528:7;-1:-1:-1;;;;;31552:19:0;;31548:59;;31580:27;;-1:-1:-1;;;31580:27:0;;;;;;;;;;;31548:59;-1:-1:-1;;;;;;31633:19:0;;;;;:12;:19;;;;;:32;-1:-1:-1;;;31633:32:0;;-1:-1:-1;;;;;31633:32:0;;31467:207::o;38346:163::-;38469:32;38475:2;38479:8;38489:5;38496:4;38469:5;:32::i;1473:675::-;1556:7;1599:4;1556:7;1614:497;1638:5;:12;1634:1;:16;1614:497;;;1672:20;1695:5;1701:1;1695:8;;;;;;;;:::i;:::-;;;;;;;1672:31;;1738:12;1722;:28;1718:382;;2224:13;2274:15;;;2310:4;2303:15;;;2357:4;2341:21;;1850:57;;1718:382;;;2224:13;2274:15;;;2310:4;2303:15;;;2357:4;2341:21;;2027:57;;1718:382;-1:-1:-1;1652:3:0;;;;:::i;:::-;;;;1614:497;;;-1:-1:-1;2128:12:0;1473:675;-1:-1:-1;;;1473:675:0:o;38768:1775::-;38930:13;;-1:-1:-1;;;;;38958:16:0;;38954:48;;38983:19;;-1:-1:-1;;;38983:19:0;;;;;;;;;;;38954:48;39017:13;39013:44;;39039:18;;-1:-1:-1;;;39039:18:0;;;;;;;;;;;39013:44;-1:-1:-1;;;;;39408:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;39467:49:0;;-1:-1:-1;;;;;39408:44:0;;;;;;;39467:49;;;-1:-1:-1;;;;;39408:44:0;;;;;;39467:49;;;;;;;;;;;;;;;;39533:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;39583:66:0;;;;-1:-1:-1;;;39633:15:0;39583:66;;;;;;;;;;39533:25;39730:23;;;39774:4;:23;;;;-1:-1:-1;;;;;;39782:13:0;;6035:19;:23;;39782:15;39770:641;;;39818:314;39849:38;;39874:12;;-1:-1:-1;;;;;39849:38:0;;;39866:1;;39849:38;;39866:1;;39849:38;39915:69;39954:1;39958:2;39962:14;;;;;;39978:5;39915:30;:69::i;:::-;39910:174;;40020:40;;-1:-1:-1;;;40020:40:0;;;;;;;;;;;39910:174;40127:3;40111:12;:19;;39818:314;;40213:12;40196:13;;:29;40192:43;;40227:8;;;40192:43;39770:641;;;40276:120;40307:40;;40332:14;;;;;-1:-1:-1;;;;;40307:40:0;;;40324:1;;40307:40;;40324:1;;40307:40;40391:3;40375:12;:19;;40276:120;;39770:641;-1:-1:-1;40425:13:0;:28;40475:60;37060:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:367::-;255:8;265:6;319:3;312:4;304:6;300:17;296:27;286:55;;337:1;334;327:12;286:55;-1:-1:-1;360:20:1;;-1:-1:-1;;;;;392:30:1;;389:50;;;435:1;432;425:12;389:50;472:4;464:6;460:17;448:29;;532:3;525:4;515:6;512:1;508:14;500:6;496:27;492:38;489:47;486:67;;;549:1;546;539:12;486:67;192:367;;;;;:::o;564:163::-;631:20;;691:10;680:22;;670:33;;660:61;;717:1;714;707:12;732:171;799:20;;-1:-1:-1;;;;;848:30:1;;838:41;;828:69;;893:1;890;883:12;908:186;967:6;1020:2;1008:9;999:7;995:23;991:32;988:52;;;1036:1;1033;1026:12;988:52;1059:29;1078:9;1059:29;:::i;1099:260::-;1167:6;1175;1228:2;1216:9;1207:7;1203:23;1199:32;1196:52;;;1244:1;1241;1234:12;1196:52;1267:29;1286:9;1267:29;:::i;:::-;1257:39;;1315:38;1349:2;1338:9;1334:18;1315:38;:::i;:::-;1305:48;;1099:260;;;;;:::o;1364:328::-;1441:6;1449;1457;1510:2;1498:9;1489:7;1485:23;1481:32;1478:52;;;1526:1;1523;1516:12;1478:52;1549:29;1568:9;1549:29;:::i;:::-;1539:39;;1597:38;1631:2;1620:9;1616:18;1597:38;:::i;:::-;1587:48;;1682:2;1671:9;1667:18;1654:32;1644:42;;1364:328;;;;;:::o;1697:1138::-;1792:6;1800;1808;1816;1869:3;1857:9;1848:7;1844:23;1840:33;1837:53;;;1886:1;1883;1876:12;1837:53;1909:29;1928:9;1909:29;:::i;:::-;1899:39;;1957:38;1991:2;1980:9;1976:18;1957:38;:::i;:::-;1947:48;;2042:2;2031:9;2027:18;2014:32;2004:42;;2097:2;2086:9;2082:18;2069:32;-1:-1:-1;;;;;2161:2:1;2153:6;2150:14;2147:34;;;2177:1;2174;2167:12;2147:34;2215:6;2204:9;2200:22;2190:32;;2260:7;2253:4;2249:2;2245:13;2241:27;2231:55;;2282:1;2279;2272:12;2231:55;2318:2;2305:16;2340:2;2336;2333:10;2330:36;;;2346:18;;:::i;:::-;2421:2;2415:9;2389:2;2475:13;;-1:-1:-1;;2471:22:1;;;2495:2;2467:31;2463:40;2451:53;;;2519:18;;;2539:22;;;2516:46;2513:72;;;2565:18;;:::i;:::-;2605:10;2601:2;2594:22;2640:2;2632:6;2625:18;2680:7;2675:2;2670;2666;2662:11;2658:20;2655:33;2652:53;;;2701:1;2698;2691:12;2652:53;2757:2;2752;2748;2744:11;2739:2;2731:6;2727:15;2714:46;2802:1;2797:2;2792;2784:6;2780:15;2776:24;2769:35;2823:6;2813:16;;;;;;;1697:1138;;;;;;;:::o;2840:347::-;2905:6;2913;2966:2;2954:9;2945:7;2941:23;2937:32;2934:52;;;2982:1;2979;2972:12;2934:52;3005:29;3024:9;3005:29;:::i;:::-;2995:39;;3084:2;3073:9;3069:18;3056:32;3131:5;3124:13;3117:21;3110:5;3107:32;3097:60;;3153:1;3150;3143:12;3097:60;3176:5;3166:15;;;2840:347;;;;;:::o;3192:254::-;3260:6;3268;3321:2;3309:9;3300:7;3296:23;3292:32;3289:52;;;3337:1;3334;3327:12;3289:52;3360:29;3379:9;3360:29;:::i;:::-;3350:39;3436:2;3421:18;;;;3408:32;;-1:-1:-1;;;3192:254:1:o;3451:437::-;3537:6;3545;3598:2;3586:9;3577:7;3573:23;3569:32;3566:52;;;3614:1;3611;3604:12;3566:52;3654:9;3641:23;-1:-1:-1;;;;;3679:6:1;3676:30;3673:50;;;3719:1;3716;3709:12;3673:50;3758:70;3820:7;3811:6;3800:9;3796:22;3758:70;:::i;:::-;3847:8;;3732:96;;-1:-1:-1;3451:437:1;-1:-1:-1;;;;3451:437:1:o;3893:505::-;3988:6;3996;4004;4057:2;4045:9;4036:7;4032:23;4028:32;4025:52;;;4073:1;4070;4063:12;4025:52;4113:9;4100:23;-1:-1:-1;;;;;4138:6:1;4135:30;4132:50;;;4178:1;4175;4168:12;4132:50;4217:70;4279:7;4270:6;4259:9;4255:22;4217:70;:::i;:::-;4306:8;;4191:96;;-1:-1:-1;4388:2:1;4373:18;;;;4360:32;;3893:505;-1:-1:-1;;;;3893:505:1:o;4403:180::-;4462:6;4515:2;4503:9;4494:7;4490:23;4486:32;4483:52;;;4531:1;4528;4521:12;4483:52;-1:-1:-1;4554:23:1;;4403:180;-1:-1:-1;4403:180:1:o;4588:245::-;4646:6;4699:2;4687:9;4678:7;4674:23;4670:32;4667:52;;;4715:1;4712;4705:12;4667:52;4754:9;4741:23;4773:30;4797:5;4773:30;:::i;4838:249::-;4907:6;4960:2;4948:9;4939:7;4935:23;4931:32;4928:52;;;4976:1;4973;4966:12;4928:52;5008:9;5002:16;5027:30;5051:5;5027:30;:::i;5092:592::-;5163:6;5171;5224:2;5212:9;5203:7;5199:23;5195:32;5192:52;;;5240:1;5237;5230:12;5192:52;5280:9;5267:23;-1:-1:-1;;;;;5350:2:1;5342:6;5339:14;5336:34;;;5366:1;5363;5356:12;5336:34;5404:6;5393:9;5389:22;5379:32;;5449:7;5442:4;5438:2;5434:13;5430:27;5420:55;;5471:1;5468;5461:12;5420:55;5511:2;5498:16;5537:2;5529:6;5526:14;5523:34;;;5553:1;5550;5543:12;5523:34;5598:7;5593:2;5584:6;5580:2;5576:15;5572:24;5569:37;5566:57;;;5619:1;5616;5609:12;5566:57;5650:2;5642:11;;;;;5672:6;;-1:-1:-1;5092:592:1;;-1:-1:-1;;;;5092:592:1:o;5874:254::-;5942:6;5950;6003:2;5991:9;5982:7;5978:23;5974:32;5971:52;;;6019:1;6016;6009:12;5971:52;6055:9;6042:23;6032:33;;6084:38;6118:2;6107:9;6103:18;6084:38;:::i;6133:248::-;6201:6;6209;6262:2;6250:9;6241:7;6237:23;6233:32;6230:52;;;6278:1;6275;6268:12;6230:52;-1:-1:-1;;6301:23:1;;;6371:2;6356:18;;;6343:32;;-1:-1:-1;6133:248:1:o;6386:316::-;6463:6;6471;6479;6532:2;6520:9;6511:7;6507:23;6503:32;6500:52;;;6548:1;6545;6538:12;6500:52;-1:-1:-1;;6571:23:1;;;6641:2;6626:18;;6613:32;;-1:-1:-1;6692:2:1;6677:18;;;6664:32;;6386:316;-1:-1:-1;6386:316:1:o;6707:184::-;6765:6;6818:2;6806:9;6797:7;6793:23;6789:32;6786:52;;;6834:1;6831;6824:12;6786:52;6857:28;6875:9;6857:28;:::i;6896:184::-;6954:6;7007:2;6995:9;6986:7;6982:23;6978:32;6975:52;;;7023:1;7020;7013:12;6975:52;7046:28;7064:9;7046:28;:::i;7085:401::-;7167:6;7175;7183;7191;7244:3;7232:9;7223:7;7219:23;7215:33;7212:53;;;7261:1;7258;7251:12;7212:53;7284:28;7302:9;7284:28;:::i;:::-;7274:38;;7331:37;7364:2;7353:9;7349:18;7331:37;:::i;:::-;7321:47;;7387:37;7420:2;7409:9;7405:18;7387:37;:::i;:::-;7377:47;;7443:37;7476:2;7465:9;7461:18;7443:37;:::i;:::-;7433:47;;7085:401;;;;;;;:::o;7491:257::-;7532:3;7570:5;7564:12;7597:6;7592:3;7585:19;7613:63;7669:6;7662:4;7657:3;7653:14;7646:4;7639:5;7635:16;7613:63;:::i;:::-;7730:2;7709:15;-1:-1:-1;;7705:29:1;7696:39;;;;7737:4;7692:50;;7491:257;-1:-1:-1;;7491:257:1:o;7987:470::-;8166:3;8204:6;8198:13;8220:53;8266:6;8261:3;8254:4;8246:6;8242:17;8220:53;:::i;:::-;8336:13;;8295:16;;;;8358:57;8336:13;8295:16;8392:4;8380:17;;8358:57;:::i;:::-;8431:20;;7987:470;-1:-1:-1;;;;7987:470:1:o;8670:488::-;-1:-1:-1;;;;;8939:15:1;;;8921:34;;8991:15;;8986:2;8971:18;;8964:43;9038:2;9023:18;;9016:34;;;9086:3;9081:2;9066:18;;9059:31;;;8864:4;;9107:45;;9132:19;;9124:6;9107:45;:::i;:::-;9099:53;8670:488;-1:-1:-1;;;;;;8670:488:1:o;9537:219::-;9686:2;9675:9;9668:21;9649:4;9706:44;9746:2;9735:9;9731:18;9723:6;9706:44;:::i;12030:408::-;12232:2;12214:21;;;12271:2;12251:18;;;12244:30;12310:34;12305:2;12290:18;;12283:62;-1:-1:-1;;;12376:2:1;12361:18;;12354:42;12428:3;12413:19;;12030:408::o;12443:354::-;12645:2;12627:21;;;12684:2;12664:18;;;12657:30;12723:32;12718:2;12703:18;;12696:60;12788:2;12773:18;;12443:354::o;13895:356::-;14097:2;14079:21;;;14116:18;;;14109:30;14175:34;14170:2;14155:18;;14148:62;14242:2;14227:18;;13895:356::o;16520:128::-;16560:3;16591:1;16587:6;16584:1;16581:13;16578:39;;;16597:18;;:::i;:::-;-1:-1:-1;16633:9:1;;16520:128::o;16653:120::-;16693:1;16719;16709:35;;16724:18;;:::i;:::-;-1:-1:-1;16758:9:1;;16653:120::o;16778:168::-;16818:7;16884:1;16880;16876:6;16872:14;16869:1;16866:21;16861:1;16854:9;16847:17;16843:45;16840:71;;;16891:18;;:::i;:::-;-1:-1:-1;16931:9:1;;16778:168::o;16951:125::-;16991:4;17019:1;17016;17013:8;17010:34;;;17024:18;;:::i;:::-;-1:-1:-1;17061:9:1;;16951:125::o;17081:258::-;17153:1;17163:113;17177:6;17174:1;17171:13;17163:113;;;17253:11;;;17247:18;17234:11;;;17227:39;17199:2;17192:10;17163:113;;;17294:6;17291:1;17288:13;17285:48;;;-1:-1:-1;;17329:1:1;17311:16;;17304:27;17081:258::o;17344:380::-;17423:1;17419:12;;;;17466;;;17487:61;;17541:4;17533:6;17529:17;17519:27;;17487:61;17594:2;17586:6;17583:14;17563:18;17560:38;17557:161;;;17640:10;17635:3;17631:20;17628:1;17621:31;17675:4;17672:1;17665:15;17703:4;17700:1;17693:15;17557:161;;17344:380;;;:::o;17729:135::-;17768:3;-1:-1:-1;;17789:17:1;;17786:43;;;17809:18;;:::i;:::-;-1:-1:-1;17856:1:1;17845:13;;17729:135::o;17869:112::-;17901:1;17927;17917:35;;17932:18;;:::i;:::-;-1:-1:-1;17966:9:1;;17869:112::o;17986:127::-;18047:10;18042:3;18038:20;18035:1;18028:31;18078:4;18075:1;18068:15;18102:4;18099:1;18092:15;18118:127;18179:10;18174:3;18170:20;18167:1;18160:31;18210:4;18207:1;18200:15;18234:4;18231:1;18224:15;18250:127;18311:10;18306:3;18302:20;18299:1;18292:31;18342:4;18339:1;18332:15;18366:4;18363:1;18356:15;18382:127;18443:10;18438:3;18434:20;18431:1;18424:31;18474:4;18471:1;18464:15;18498:4;18495:1;18488:15;18514:131;-1:-1:-1;;;;;;18588:32:1;;18578:43;;18568:71;;18635:1;18632;18625:12

Swarm Source

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