ETH Price: $2,967.35 (+3.57%)
Gas: 2 Gwei

Contract

0x3DbE510058eF2Ec52EeBb5be378F2E3717e0Ec78
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Approval For...167279532023-02-28 16:49:59493 days ago1677602999IN
0x3DbE5100...717e0Ec78
0 ETH0.0006814328.03458206
Set Revealed160496522022-11-25 21:22:11588 days ago1669411331IN
0x3DbE5100...717e0Ec78
0 ETH0.0002954510.27160606
Mint For Self160496442022-11-25 21:20:35588 days ago1669411235IN
0x3DbE5100...717e0Ec78
0 ETH0.0003034510.77158566
Mint For Self160496432022-11-25 21:20:23588 days ago1669411223IN
0x3DbE5100...717e0Ec78
0 ETH0.019925019.83923441
Mint For Self160496312022-11-25 21:17:59588 days ago1669411079IN
0x3DbE5100...717e0Ec78
0 ETH0.1027567911.01060975
Set Revealed160495692022-11-25 21:05:35588 days ago1669410335IN
0x3DbE5100...717e0Ec78
0 ETH0.0003051510.60444102
Set Approval For...157554222022-10-15 18:50:47629 days ago1665859847IN
0x3DbE5100...717e0Ec78
0 ETH0.0003481614.37344861
Safe Transfer Fr...155255802022-09-13 7:03:18661 days ago1663052598IN
0x3DbE5100...717e0Ec78
0 ETH0.000646267.10292008
Set Uri Prefix155008112022-09-09 4:42:52666 days ago1662698572IN
0x3DbE5100...717e0Ec78
0 ETH0.0025730622.48042206
Set Approval For...153516292022-08-16 9:39:50689 days ago1660642790IN
0x3DbE5100...717e0Ec78
0 ETH0.000341067.37925942
Set Approval For...152459052022-07-30 20:18:50706 days ago1659212330IN
0x3DbE5100...717e0Ec78
0 ETH0.0006528614.15124231
Set Approval For...152240912022-07-27 10:48:16709 days ago1658918896IN
0x3DbE5100...717e0Ec78
0 ETH0.000284476.1550076
Set Approval For...152214852022-07-27 1:03:15710 days ago1658883795IN
0x3DbE5100...717e0Ec78
0 ETH0.000231839.53793688
Set Approval For...151901172022-07-22 3:53:57715 days ago1658462037IN
0x3DbE5100...717e0Ec78
0 ETH0.0004669610.1216334
Transfer From151147382022-07-10 11:52:21726 days ago1657453941IN
0x3DbE5100...717e0Ec78
0 ETH0.000629712.7680712
Set Approval For...151021482022-07-08 13:22:29728 days ago1657286549IN
0x3DbE5100...717e0Ec78
0 ETH0.0017372537.58740751
Transfer From150917892022-07-06 22:51:49730 days ago1657147909IN
0x3DbE5100...717e0Ec78
0 ETH0.0023206626.97753306
Set Approval For...150287272022-06-26 11:13:45740 days ago1656242025IN
0x3DbE5100...717e0Ec78
0 ETH0.0009789421.18047674
Set Approval For...149689832022-06-15 18:37:47751 days ago1655318267IN
0x3DbE5100...717e0Ec78
0 ETH0.0037256580.7555619
Set Approval For...149665822022-06-15 8:35:44751 days ago1655282144IN
0x3DbE5100...717e0Ec78
0 ETH0.0034555174.90010292
Withdraw149604102022-06-14 6:47:41752 days ago1655189261IN
0x3DbE5100...717e0Ec78
0 ETH0.0011712238.45492176
Set Paused149523722022-06-12 21:29:32754 days ago1655069372IN
0x3DbE5100...717e0Ec78
0 ETH0.0007846627.27937751
Whitelist Mint149523192022-06-12 21:17:35754 days ago1655068655IN
0x3DbE5100...717e0Ec78
0.13 ETH0.0030126328.2629661
Whitelist Mint149505712022-06-12 14:09:29754 days ago1655042969IN
0x3DbE5100...717e0Ec78
0.065 ETH0.0036274534.6663424
Whitelist Mint149444742022-06-11 13:19:28755 days ago1654953568IN
0x3DbE5100...717e0Ec78
0.065 ETH0.0052323550
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
149604102022-06-14 6:47:41752 days ago1655189261
0x3DbE5100...717e0Ec78
9.88 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BadBearsClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU GPLv3 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-06-09
*/

// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0 <0.9.0;

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


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

/**
 * @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/cryptography/MerkleProof.sol


// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

/**
 * @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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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


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

/**
 * @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/Context.sol


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

/**
 * @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: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)


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

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

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

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

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

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

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

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

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


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

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol


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

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

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


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


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


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


/**
 * @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: https://github.com/chiru-labs/ERC721A/blob/v3.0.0/contracts/ERC721A.sol


// Creator: Chiru Labs

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 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: BadBearsClub.sol

contract BadBearsClub is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;

  string private uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  
  uint256 public presale1Cost = 0.065 ether;
  uint256 public presale2Cost = 0.08 ether;
  uint256 public publicCost = 0.1 ether;
  uint256 public maxSupply = 6224;
  uint256 public presale1Supply = 888;
  uint256 public presale2Supply = 1776;
  uint256 public maxPublicMintAmountPerTx = 5;
  uint256 public maxPresaleMintAmountPerTx = 5;
  uint256 public maxPresaleWalletLimit = 5;
  uint256 public maxPublicSaleWalletLimit = 5;

  bool public paused = true;
  bool public presale1Active = false;
  bool public presale2Active = false;
  bool public saleActive = false;
  bool public revealed = false;
  bytes32 private merkleRoot;

  constructor() ERC721A("Bad Bears Club", "BBC") {
      setHiddenMetadataUri("https://ipfs.io/ipfs/QmRCYc6KupVaAWveoH5GRpnv2ZtT8p8gSYgLs5QUkjnPJJ/hidden.json");
  }

  function _startTokenId() internal override view virtual returns (uint256) {
        return 1;
  }

  function cost() public view returns(uint256) {
      if(presale1Active) return presale1Cost;
      if(presale2Active) return presale2Cost;

      return publicCost;
  }

  function maxWalletLimit() public view returns(uint256) {
      if(presale1Active || presale2Active) return maxPresaleWalletLimit;

      return maxPublicSaleWalletLimit;
  }

  function maxMintAmountPerTx() public view returns(uint256) {
      if(presale1Active || presale2Active) return maxPresaleMintAmountPerTx;

      return maxPublicMintAmountPerTx;
  }

  function presaleSupply() public view returns(uint256) {
      if(presale1Active) return presale1Supply;

      return presale2Supply + presale1Supply;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(!paused, "The contract is paused!");
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx(), "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

  modifier selfMintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0, "Invalid mint amount!");
    require(totalSupply() + _mintAmount <= maxSupply, "Max supply exceeded!");
    _;
  }

  function mint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) {
    require(saleActive, "Sale is not Active" );
    require(msg.value >= cost() * _mintAmount, "Insufficient funds!");
    require(balanceOf(msg.sender) + _mintAmount <= maxWalletLimit(), "Max mint amount per wallet reached");
    _safeMint(msg.sender, _mintAmount);
  }
  
  function mintForAddress(uint256 _mintAmount, address _receiver) public mintCompliance(_mintAmount) onlyOwner {
    _safeMint(_receiver, _mintAmount);
  }

  function mintForSelf(uint256 _mintAmount) public selfMintCompliance(_mintAmount) onlyOwner {
    _safeMint(msg.sender, _mintAmount);
  }

  function whitelistMint(uint256 _mintAmount, bytes32 leaf, bytes32[] memory proof) external payable mintCompliance(_mintAmount) {
    require(presale1Active || presale2Active, "Sale is not Active");
    require(merkleRoot != '', "Merkle Root not set");
    // Verify that (msg.sender, amount) correspond to Merkle leaf
    require(keccak256(abi.encodePacked(msg.sender)) == leaf, "Sender and amount don't match Merkle leaf");

     // Verify that (leaf, proof) matches the Merkle root
    require(verify(merkleRoot, leaf, proof), "Not a valid leaf in the Merkle tree");
    require(totalSupply() + _mintAmount <= presaleSupply(), "Presale max limit reached");
    require(msg.value >= cost() * _mintAmount, "Insufficient funds!");
    require(balanceOf(msg.sender) + _mintAmount <= maxWalletLimit(), "Max mint amount per wallet reached");
    _safeMint(msg.sender, _mintAmount);
  }

  function verify(bytes32 _merkleRoot, bytes32 leaf, bytes32[] memory proof) public pure returns (bool) {
        return MerkleProof.verify(proof, _merkleRoot, leaf);
    }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);

      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    if (revealed == false) {
      return hiddenMetadataUri;
    }

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

  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

  function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

  function setPublicCost(uint256 _cost) public onlyOwner {
    publicCost = _cost;
  }
  function setPresale1Cost(uint256 _cost) public onlyOwner {
    presale1Cost = _cost;
  }

  function setPresale2Cost(uint256 _cost) public onlyOwner {
    presale2Cost = _cost;
  }

  function setPublicSale(bool _sale) public onlyOwner {
    saleActive = _sale;
  }

  function setPreSale1(bool _sale) public onlyOwner {
    presale1Active = _sale;
  }

  function setPreSale2(bool _sale) public onlyOwner {
    presale2Active = _sale;
  }

  function setPreSale1Supply(uint256 _sale) public onlyOwner {
    presale1Supply = _sale;
  }

  function setPreSale2Supply(uint256 _sale) public onlyOwner {
    presale2Supply = _sale;
  }

  function setPresaleMaxWalletLimit(uint256 _maxWalletLimit) public onlyOwner {
      maxPresaleWalletLimit = _maxWalletLimit;
  }

  function setPublicSaleMaxWalletLimit(uint256 _maxWalletLimit) public onlyOwner {
      maxPublicSaleWalletLimit = _maxWalletLimit;
  }

  function setPublicMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxPublicMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setPresaleMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner {
    maxPresaleMintAmountPerTx = _maxMintAmountPerTx;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

  function withdraw() public onlyOwner {
    require(address(this).balance > 0, "Balance is 0");
    payable(owner()).transfer(address(this).balance);
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","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":[{"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":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicSaleWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mintForSelf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale1Active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale1Cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale1Supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale2Active","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale2Cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale2Supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setPreSale1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sale","type":"uint256"}],"name":"setPreSale1Supply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setPreSale2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sale","type":"uint256"}],"name":"setPreSale2Supply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPresale1Cost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPresale2Cost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setPresaleMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletLimit","type":"uint256"}],"name":"setPresaleMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setPublicMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sale","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletLimit","type":"uint256"}],"name":"setPublicSaleMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":"_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":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040819052600060808190526200001b91600a9162000229565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200004a91600b9162000229565b5066e6ed27d6668000600d5567011c37937e080000600e5567016345785d8a0000600f556118506010556103786011556106f060125560056013819055601481905560158190556016556017805464ffffffffff19166001179055348015620000b257600080fd5b50604080518082018252600e81526d2130b2102132b0b9399021b63ab160911b60208083019182528351808501909452600384526242424360e81b908401528151919291620001049160029162000229565b5080516200011a90600390602084019062000229565b50506001600055506200012d336200015f565b6001600981905550620001596040518060800160405280604f8152602001620031ec604f9139620001b1565b6200030c565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620002105760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200022590600c90602084019062000229565b5050565b8280546200023790620002cf565b90600052602060002090601f0160209004810192826200025b5760008555620002a6565b82601f106200027657805160ff1916838001178555620002a6565b82800160010185558215620002a6579182015b82811115620002a657825182559160200191906001019062000289565b50620002b4929150620002b8565b5090565b5b80821115620002b45760008155600101620002b9565b600181811c90821680620002e457607f821691505b602082108114156200030657634e487b7160e01b600052602260045260246000fd5b50919050565b612ed0806200031c6000396000f3fe6080604052600436106103b75760003560e01c806370a08231116101f2578063ab13065a1161010d578063dc082d43116100a0578063efbd73f41161006f578063efbd73f414610aa9578063f2fde38b14610ac9578063fc1d152714610ae9578063fc3b3d9e14610b0957600080fd5b8063dc082d4314610a0a578063e0a8085314610a20578063e985e9c514610a40578063ed0cda0114610a8957600080fd5b8063c87b56dd116100dc578063c87b56dd146109a1578063cd03be40146109c1578063cebbaf55146109e1578063d5abeb01146109f457600080fd5b8063ab13065a1461092c578063b3a196e91461094c578063b88d4fde14610961578063c49b3d541461098157600080fd5b80638f02565611610185578063a0712d6811610154578063a0712d68146108ce578063a22cb465146108e1578063a34df58914610901578063a45ba8e71461091757600080fd5b80638f0256561461086457806394354fd01461088457806395d89b4114610899578063979ad531146108ae57600080fd5b80637ec4a659116101c15780637ec4a659146107f0578063811d2437146108105780638693da20146108305780638da5cb5b1461084657600080fd5b806370a082311461077b578063715018a61461079b5780637604cb73146107b05780637cb64759146107d057600080fd5b80633ccfd60b116102e25780635aca1bb61161027557806365c26ffc1161024457806365c26ffc1461070f57806366a88d961461072f57806368428a1b14610744578063694caff71461076557600080fd5b80635aca1bb6146106955780635c975abb146106b55780635ef7cd97146106cf5780636352211e146106ef57600080fd5b80634fdd43cb116102b15780634fdd43cb1461062857806351830227146106485780635503a0e81461066a578063562a0a0c1461067f57600080fd5b80633ccfd60b146105a657806342842e0e146105bb578063438b6300146105db57806349d3a2c51461060857600080fd5b806316ba10e01161035a57806327296e921161032957806327296e921461053b5780632aad1f74146105515780633423e5481461056757806337419a811461058757600080fd5b806316ba10e0146104c657806316c38b3c146104e657806318160ddd1461050657806323b872dd1461051b57600080fd5b806306fdde031161039657806306fdde0314610435578063081812fc14610457578063095ea7b31461048f57806313faede6146104b157600080fd5b80626bfe0c146103bc57806301ffc9a7146103e55780630256edeb14610415575b600080fd5b3480156103c857600080fd5b506103d260115481565b6040519081526020015b60405180910390f35b3480156103f157600080fd5b506104056104003660046129d1565b610b1f565b60405190151581526020016103dc565b34801561042157600080fd5b506017546104059062010000900460ff1681565b34801561044157600080fd5b5061044a610b71565b6040516103dc9190612be7565b34801561046357600080fd5b50610477610472366004612969565b610c03565b6040516001600160a01b0390911681526020016103dc565b34801561049b57600080fd5b506104af6104aa366004612924565b610c47565b005b3480156104bd57600080fd5b506103d2610cd5565b3480156104d257600080fd5b506104af6104e1366004612a0b565b610d0e565b3480156104f257600080fd5b506104af61050136600461294e565b610d58565b34801561051257600080fd5b506103d2610d95565b34801561052757600080fd5b506104af610536366004612843565b610da3565b34801561054757600080fd5b506103d2600d5481565b34801561055d57600080fd5b506103d260135481565b34801561057357600080fd5b50610405610582366004612982565b610dae565b34801561059357600080fd5b5060175461040590610100900460ff1681565b3480156105b257600080fd5b506104af610dc3565b3480156105c757600080fd5b506104af6105d6366004612843565b610e68565b3480156105e757600080fd5b506105fb6105f63660046127f5565b610e83565b6040516103dc9190612ba3565b34801561061457600080fd5b506104af610623366004612969565b610f63565b34801561063457600080fd5b506104af610643366004612a0b565b610f92565b34801561065457600080fd5b5060175461040590640100000000900460ff1681565b34801561067657600080fd5b5061044a610fcf565b34801561068b57600080fd5b506103d260165481565b3480156106a157600080fd5b506104af6106b036600461294e565b61105d565b3480156106c157600080fd5b506017546104059060ff1681565b3480156106db57600080fd5b506104af6106ea366004612969565b6110a5565b3480156106fb57600080fd5b5061047761070a366004612969565b6110d4565b34801561071b57600080fd5b506104af61072a366004612969565b6110e6565b34801561073b57600080fd5b506103d2611115565b34801561075057600080fd5b50601754610405906301000000900460ff1681565b34801561077157600080fd5b506103d260125481565b34801561078757600080fd5b506103d26107963660046127f5565b611149565b3480156107a757600080fd5b506104af611197565b3480156107bc57600080fd5b506104af6107cb366004612969565b6111cd565b3480156107dc57600080fd5b506104af6107eb366004612969565b6111fc565b3480156107fc57600080fd5b506104af61080b366004612a0b565b61122b565b34801561081c57600080fd5b506104af61082b366004612969565b611268565b34801561083c57600080fd5b506103d2600f5481565b34801561085257600080fd5b506008546001600160a01b0316610477565b34801561087057600080fd5b506104af61087f366004612969565b611297565b34801561089057600080fd5b506103d26112c6565b3480156108a557600080fd5b5061044a6112fa565b3480156108ba57600080fd5b506104af6108c9366004612969565b611309565b6104af6108dc366004612969565b611338565b3480156108ed57600080fd5b506104af6108fc3660046128fa565b6114ae565b34801561090d57600080fd5b506103d260145481565b34801561092357600080fd5b5061044a611544565b34801561093857600080fd5b506104af610947366004612969565b611551565b34801561095857600080fd5b506103d2611580565b34801561096d57600080fd5b506104af61097c36600461287f565b6115af565b34801561098d57600080fd5b506104af61099c366004612969565b611600565b3480156109ad57600080fd5b5061044a6109bc366004612969565b61167f565b3480156109cd57600080fd5b506104af6109dc366004612969565b6117f1565b6104af6109ef366004612982565b611820565b348015610a0057600080fd5b506103d260105481565b348015610a1657600080fd5b506103d2600e5481565b348015610a2c57600080fd5b506104af610a3b36600461294e565b611b4f565b348015610a4c57600080fd5b50610405610a5b366004612810565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a9557600080fd5b506104af610aa436600461294e565b611b99565b348015610ab557600080fd5b506104af610ac4366004612a53565b611bdf565b348015610ad557600080fd5b506104af610ae43660046127f5565b611c9f565b348015610af557600080fd5b506104af610b0436600461294e565b611d37565b348015610b1557600080fd5b506103d260155481565b60006001600160e01b031982166380ac58cd60e01b1480610b5057506001600160e01b03198216635b5e139f60e01b145b80610b6b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b8090612dc2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bac90612dc2565b8015610bf95780601f10610bce57610100808354040283529160200191610bf9565b820191906000526020600020905b815481529060010190602001808311610bdc57829003601f168201915b5050505050905090565b6000610c0e82611d7b565b610c2b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c52826110d4565b9050806001600160a01b0316836001600160a01b03161415610c875760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ca75750610ca58133610a5b565b155b15610cc5576040516367d9dca160e11b815260040160405180910390fd5b610cd0838383611db4565b505050565b601754600090610100900460ff1615610cef5750600d5490565b60175462010000900460ff1615610d075750600e5490565b50600f5490565b6008546001600160a01b03163314610d415760405162461bcd60e51b8152600401610d3890612c28565b60405180910390fd5b8051610d5490600b906020840190612654565b5050565b6008546001600160a01b03163314610d825760405162461bcd60e51b8152600401610d3890612c28565b6017805460ff1916911515919091179055565b600154600054036000190190565b610cd0838383611e10565b6000610dbb828585612024565b949350505050565b6008546001600160a01b03163314610ded5760405162461bcd60e51b8152600401610d3890612c28565b60004711610e2c5760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610d38565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610e65573d6000803e3d6000fd5b50565b610cd0838383604051806020016040528060008152506115af565b60606000610e9083611149565b90506000816001600160401b03811115610eac57610eac612e6e565b604051908082528060200260200182016040528015610ed5578160200160208202803683370190505b509050600160005b8381108015610eee57506010548211155b15610f59576000610efe836110d4565b9050866001600160a01b0316816001600160a01b03161415610f465782848381518110610f2d57610f2d612e58565b602090810291909101015281610f4281612dfd565b9250505b82610f5081612dfd565b93505050610edd565b5090949350505050565b6008546001600160a01b03163314610f8d5760405162461bcd60e51b8152600401610d3890612c28565b601355565b6008546001600160a01b03163314610fbc5760405162461bcd60e51b8152600401610d3890612c28565b8051610d5490600c906020840190612654565b600b8054610fdc90612dc2565b80601f016020809104026020016040519081016040528092919081815260200182805461100890612dc2565b80156110555780601f1061102a57610100808354040283529160200191611055565b820191906000526020600020905b81548152906001019060200180831161103857829003601f168201915b505050505081565b6008546001600160a01b031633146110875760405162461bcd60e51b8152600401610d3890612c28565b6017805491151563010000000263ff00000019909216919091179055565b6008546001600160a01b031633146110cf5760405162461bcd60e51b8152600401610d3890612c28565b601555565b60006110df8261203a565b5192915050565b6008546001600160a01b031633146111105760405162461bcd60e51b8152600401610d3890612c28565b601255565b601754600090610100900460ff1680611136575060175462010000900460ff165b15611142575060155490565b5060165490565b60006001600160a01b038216611172576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146111c15760405162461bcd60e51b8152600401610d3890612c28565b6111cb6000612161565b565b6008546001600160a01b031633146111f75760405162461bcd60e51b8152600401610d3890612c28565b601155565b6008546001600160a01b031633146112265760405162461bcd60e51b8152600401610d3890612c28565b601855565b6008546001600160a01b031633146112555760405162461bcd60e51b8152600401610d3890612c28565b8051610d5490600a906020840190612654565b6008546001600160a01b031633146112925760405162461bcd60e51b8152600401610d3890612c28565b600f55565b6008546001600160a01b031633146112c15760405162461bcd60e51b8152600401610d3890612c28565b601455565b601754600090610100900460ff16806112e7575060175462010000900460ff165b156112f3575060145490565b5060135490565b606060038054610b8090612dc2565b6008546001600160a01b031633146113335760405162461bcd60e51b8152600401610d3890612c28565b600e55565b601754819060ff161561135d5760405162461bcd60e51b8152600401610d3890612c5d565b60008111801561137457506113706112c6565b8111155b6113905760405162461bcd60e51b8152600401610d3890612bfa565b6010548161139c610d95565b6113a69190612d34565b11156113c45760405162461bcd60e51b8152600401610d3890612c94565b6017546301000000900460ff166114125760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610d38565b8161141b610cd5565b6114259190612d60565b34101561146a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d38565b611472611115565b8261147c33611149565b6114869190612d34565b11156114a45760405162461bcd60e51b8152600401610d3890612cc2565b610d5433836121b3565b6001600160a01b0382163314156114d85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c8054610fdc90612dc2565b6008546001600160a01b0316331461157b5760405162461bcd60e51b8152600401610d3890612c28565b601655565b601754600090610100900460ff161561159a575060115490565b6011546012546115aa9190612d34565b905090565b6115ba848484611e10565b6001600160a01b0383163b151580156115dc57506115da848484846121cd565b155b156115fa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b80600081116116215760405162461bcd60e51b8152600401610d3890612bfa565b6010548161162d610d95565b6116379190612d34565b11156116555760405162461bcd60e51b8152600401610d3890612c94565b6008546001600160a01b031633146114a45760405162461bcd60e51b8152600401610d3890612c28565b606061168a82611d7b565b6116ee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d38565b601754640100000000900460ff1661179257600c805461170d90612dc2565b80601f016020809104026020016040519081016040528092919081815260200182805461173990612dc2565b80156117865780601f1061175b57610100808354040283529160200191611786565b820191906000526020600020905b81548152906001019060200180831161176957829003601f168201915b50505050509050919050565b600061179c6122c4565b905060008151116117bc57604051806020016040528060008152506117ea565b806117c6846122d3565b600b6040516020016117da93929190612aa2565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461181b5760405162461bcd60e51b8152600401610d3890612c28565b600d55565b601754839060ff16156118455760405162461bcd60e51b8152600401610d3890612c5d565b60008111801561185c57506118586112c6565b8111155b6118785760405162461bcd60e51b8152600401610d3890612bfa565b60105481611884610d95565b61188e9190612d34565b11156118ac5760405162461bcd60e51b8152600401610d3890612c94565b601754610100900460ff16806118ca575060175462010000900460ff165b61190b5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610d38565b6018546119505760405162461bcd60e51b815260206004820152601360248201527213595c9adb1948149bdbdd081b9bdd081cd95d606a1b6044820152606401610d38565b6040516bffffffffffffffffffffffff193360601b166020820152839060340160405160208183030381529060405280519060200120146119e55760405162461bcd60e51b815260206004820152602960248201527f53656e64657220616e6420616d6f756e7420646f6e2774206d61746368204d656044820152683935b632903632b0b360b91b6064820152608401610d38565b6119f26018548484610dae565b611a4a5760405162461bcd60e51b815260206004820152602360248201527f4e6f7420612076616c6964206c65616620696e20746865204d65726b6c65207460448201526272656560e81b6064820152608401610d38565b611a52611580565b84611a5b610d95565b611a659190612d34565b1115611ab35760405162461bcd60e51b815260206004820152601960248201527f50726573616c65206d6178206c696d69742072656163686564000000000000006044820152606401610d38565b83611abc610cd5565b611ac69190612d60565b341015611b0b5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d38565b611b13611115565b84611b1d33611149565b611b279190612d34565b1115611b455760405162461bcd60e51b8152600401610d3890612cc2565b6115fa33856121b3565b6008546001600160a01b03163314611b795760405162461bcd60e51b8152600401610d3890612c28565b601780549115156401000000000264ff0000000019909216919091179055565b6008546001600160a01b03163314611bc35760405162461bcd60e51b8152600401610d3890612c28565b60178054911515620100000262ff000019909216919091179055565b601754829060ff1615611c045760405162461bcd60e51b8152600401610d3890612c5d565b600081118015611c1b5750611c176112c6565b8111155b611c375760405162461bcd60e51b8152600401610d3890612bfa565b60105481611c43610d95565b611c4d9190612d34565b1115611c6b5760405162461bcd60e51b8152600401610d3890612c94565b6008546001600160a01b03163314611c955760405162461bcd60e51b8152600401610d3890612c28565b610cd082846121b3565b6008546001600160a01b03163314611cc95760405162461bcd60e51b8152600401610d3890612c28565b6001600160a01b038116611d2e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d38565b610e6581612161565b6008546001600160a01b03163314611d615760405162461bcd60e51b8152600401610d3890612c28565b601780549115156101000261ff0019909216919091179055565b600081600111158015611d8f575060005482105b8015610b6b575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611e1b8261203a565b80519091506000906001600160a01b0316336001600160a01b03161480611e4957508151611e499033610a5b565b80611e64575033611e5984610c03565b6001600160a01b0316145b905080611e8457604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611eb95760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611ee057604051633a954ecd60e21b815260040160405180910390fd5b611ef06000848460000151611db4565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611fda57600054811015611fda57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008261203185846123d0565b14949350505050565b6040805160608101825260008082526020820181905291810191909152818060011115801561206a575060005481105b1561214857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906121465780516001600160a01b0316156120dd579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612141579392505050565b6120dd565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d5482826040518060200160405280600081525061247c565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612202903390899088908890600401612b66565b602060405180830381600087803b15801561221c57600080fd5b505af192505050801561224c575060408051601f3d908101601f19168201909252612249918101906129ee565b60015b6122a7573d80801561227a576040519150601f19603f3d011682016040523d82523d6000602084013e61227f565b606091505b50805161229f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a8054610b8090612dc2565b6060816122f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612321578061230b81612dfd565b915061231a9050600a83612d4c565b91506122fb565b6000816001600160401b0381111561233b5761233b612e6e565b6040519080825280601f01601f191660200182016040528015612365576020820181803683370190505b5090505b8415610dbb5761237a600183612d7f565b9150612387600a86612e18565b612392906030612d34565b60f81b8183815181106123a7576123a7612e58565b60200101906001600160f81b031916908160001a9053506123c9600a86612d4c565b9450612369565b600081815b84518110156124745760008582815181106123f2576123f2612e58565b60200260200101519050808311612434576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612461565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061246c81612dfd565b9150506123d5565b509392505050565b610cd083838360016000546001600160a01b0385166124ad57604051622e076360e81b815260040160405180910390fd5b836124cb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561257c57506001600160a01b0387163b15155b15612605575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46125cd60008884806001019550886121cd565b6125ea576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561258257826000541461260057600080fd5b61264b565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612606575b5060005561201d565b82805461266090612dc2565b90600052602060002090601f01602090048101928261268257600085556126c8565b82601f1061269b57805160ff19168380011785556126c8565b828001600101855582156126c8579182015b828111156126c85782518255916020019190600101906126ad565b506126d49291506126d8565b5090565b5b808211156126d457600081556001016126d9565b60006001600160401b0383111561270657612706612e6e565b612719601f8401601f1916602001612d04565b905082815283838301111561272d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461275b57600080fd5b919050565b600082601f83011261277157600080fd5b813560206001600160401b0382111561278c5761278c612e6e565b8160051b61279b828201612d04565b8381528281019086840183880185018910156127b657600080fd5b600093505b858410156127d95780358352600193909301929184019184016127bb565b50979650505050505050565b8035801515811461275b57600080fd5b60006020828403121561280757600080fd5b6117ea82612744565b6000806040838503121561282357600080fd5b61282c83612744565b915061283a60208401612744565b90509250929050565b60008060006060848603121561285857600080fd5b61286184612744565b925061286f60208501612744565b9150604084013590509250925092565b6000806000806080858703121561289557600080fd5b61289e85612744565b93506128ac60208601612744565b92506040850135915060608501356001600160401b038111156128ce57600080fd5b8501601f810187136128df57600080fd5b6128ee878235602084016126ed565b91505092959194509250565b6000806040838503121561290d57600080fd5b61291683612744565b915061283a602084016127e5565b6000806040838503121561293757600080fd5b61294083612744565b946020939093013593505050565b60006020828403121561296057600080fd5b6117ea826127e5565b60006020828403121561297b57600080fd5b5035919050565b60008060006060848603121561299757600080fd5b833592506020840135915060408401356001600160401b038111156129bb57600080fd5b6129c786828701612760565b9150509250925092565b6000602082840312156129e357600080fd5b81356117ea81612e84565b600060208284031215612a0057600080fd5b81516117ea81612e84565b600060208284031215612a1d57600080fd5b81356001600160401b03811115612a3357600080fd5b8201601f81018413612a4457600080fd5b610dbb848235602084016126ed565b60008060408385031215612a6657600080fd5b8235915061283a60208401612744565b60008151808452612a8e816020860160208601612d96565b601f01601f19169290920160200192915050565b600084516020612ab58285838a01612d96565b855191840191612ac88184848a01612d96565b8554920191600090600181811c9080831680612ae557607f831692505b858310811415612b0357634e487b7160e01b85526022600452602485fd5b808015612b175760018114612b2857612b55565b60ff19851688528388019550612b55565b60008b81526020902060005b85811015612b4d5781548a820152908401908801612b34565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b9990830184612a76565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612bdb57835183529284019291840191600101612bbf565b50909695505050505050565b6020815260006117ea6020830184612a76565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b60208082526022908201527f4d6178206d696e7420616d6f756e74207065722077616c6c6574207265616368604082015261195960f21b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715612d2c57612d2c612e6e565b604052919050565b60008219821115612d4757612d47612e2c565b500190565b600082612d5b57612d5b612e42565b500490565b6000816000190483118215151615612d7a57612d7a612e2c565b500290565b600082821015612d9157612d91612e2c565b500390565b60005b83811015612db1578181015183820152602001612d99565b838111156115fa5750506000910152565b600181811c90821680612dd657607f821691505b60208210811415612df757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e1157612e11612e2c565b5060010190565b600082612e2757612e27612e42565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6557600080fdfea26469706673582212204b634e521862027a6e14668a0ba05658f19adb02262a6c8abb0c4a0bc71c05b364736f6c6343000807003368747470733a2f2f697066732e696f2f697066732f516d52435963364b75705661415776656f48354752706e76325a7454387038675359674c733551556b6a6e504a4a2f68696464656e2e6a736f6e

Deployed Bytecode

0x6080604052600436106103b75760003560e01c806370a08231116101f2578063ab13065a1161010d578063dc082d43116100a0578063efbd73f41161006f578063efbd73f414610aa9578063f2fde38b14610ac9578063fc1d152714610ae9578063fc3b3d9e14610b0957600080fd5b8063dc082d4314610a0a578063e0a8085314610a20578063e985e9c514610a40578063ed0cda0114610a8957600080fd5b8063c87b56dd116100dc578063c87b56dd146109a1578063cd03be40146109c1578063cebbaf55146109e1578063d5abeb01146109f457600080fd5b8063ab13065a1461092c578063b3a196e91461094c578063b88d4fde14610961578063c49b3d541461098157600080fd5b80638f02565611610185578063a0712d6811610154578063a0712d68146108ce578063a22cb465146108e1578063a34df58914610901578063a45ba8e71461091757600080fd5b80638f0256561461086457806394354fd01461088457806395d89b4114610899578063979ad531146108ae57600080fd5b80637ec4a659116101c15780637ec4a659146107f0578063811d2437146108105780638693da20146108305780638da5cb5b1461084657600080fd5b806370a082311461077b578063715018a61461079b5780637604cb73146107b05780637cb64759146107d057600080fd5b80633ccfd60b116102e25780635aca1bb61161027557806365c26ffc1161024457806365c26ffc1461070f57806366a88d961461072f57806368428a1b14610744578063694caff71461076557600080fd5b80635aca1bb6146106955780635c975abb146106b55780635ef7cd97146106cf5780636352211e146106ef57600080fd5b80634fdd43cb116102b15780634fdd43cb1461062857806351830227146106485780635503a0e81461066a578063562a0a0c1461067f57600080fd5b80633ccfd60b146105a657806342842e0e146105bb578063438b6300146105db57806349d3a2c51461060857600080fd5b806316ba10e01161035a57806327296e921161032957806327296e921461053b5780632aad1f74146105515780633423e5481461056757806337419a811461058757600080fd5b806316ba10e0146104c657806316c38b3c146104e657806318160ddd1461050657806323b872dd1461051b57600080fd5b806306fdde031161039657806306fdde0314610435578063081812fc14610457578063095ea7b31461048f57806313faede6146104b157600080fd5b80626bfe0c146103bc57806301ffc9a7146103e55780630256edeb14610415575b600080fd5b3480156103c857600080fd5b506103d260115481565b6040519081526020015b60405180910390f35b3480156103f157600080fd5b506104056104003660046129d1565b610b1f565b60405190151581526020016103dc565b34801561042157600080fd5b506017546104059062010000900460ff1681565b34801561044157600080fd5b5061044a610b71565b6040516103dc9190612be7565b34801561046357600080fd5b50610477610472366004612969565b610c03565b6040516001600160a01b0390911681526020016103dc565b34801561049b57600080fd5b506104af6104aa366004612924565b610c47565b005b3480156104bd57600080fd5b506103d2610cd5565b3480156104d257600080fd5b506104af6104e1366004612a0b565b610d0e565b3480156104f257600080fd5b506104af61050136600461294e565b610d58565b34801561051257600080fd5b506103d2610d95565b34801561052757600080fd5b506104af610536366004612843565b610da3565b34801561054757600080fd5b506103d2600d5481565b34801561055d57600080fd5b506103d260135481565b34801561057357600080fd5b50610405610582366004612982565b610dae565b34801561059357600080fd5b5060175461040590610100900460ff1681565b3480156105b257600080fd5b506104af610dc3565b3480156105c757600080fd5b506104af6105d6366004612843565b610e68565b3480156105e757600080fd5b506105fb6105f63660046127f5565b610e83565b6040516103dc9190612ba3565b34801561061457600080fd5b506104af610623366004612969565b610f63565b34801561063457600080fd5b506104af610643366004612a0b565b610f92565b34801561065457600080fd5b5060175461040590640100000000900460ff1681565b34801561067657600080fd5b5061044a610fcf565b34801561068b57600080fd5b506103d260165481565b3480156106a157600080fd5b506104af6106b036600461294e565b61105d565b3480156106c157600080fd5b506017546104059060ff1681565b3480156106db57600080fd5b506104af6106ea366004612969565b6110a5565b3480156106fb57600080fd5b5061047761070a366004612969565b6110d4565b34801561071b57600080fd5b506104af61072a366004612969565b6110e6565b34801561073b57600080fd5b506103d2611115565b34801561075057600080fd5b50601754610405906301000000900460ff1681565b34801561077157600080fd5b506103d260125481565b34801561078757600080fd5b506103d26107963660046127f5565b611149565b3480156107a757600080fd5b506104af611197565b3480156107bc57600080fd5b506104af6107cb366004612969565b6111cd565b3480156107dc57600080fd5b506104af6107eb366004612969565b6111fc565b3480156107fc57600080fd5b506104af61080b366004612a0b565b61122b565b34801561081c57600080fd5b506104af61082b366004612969565b611268565b34801561083c57600080fd5b506103d2600f5481565b34801561085257600080fd5b506008546001600160a01b0316610477565b34801561087057600080fd5b506104af61087f366004612969565b611297565b34801561089057600080fd5b506103d26112c6565b3480156108a557600080fd5b5061044a6112fa565b3480156108ba57600080fd5b506104af6108c9366004612969565b611309565b6104af6108dc366004612969565b611338565b3480156108ed57600080fd5b506104af6108fc3660046128fa565b6114ae565b34801561090d57600080fd5b506103d260145481565b34801561092357600080fd5b5061044a611544565b34801561093857600080fd5b506104af610947366004612969565b611551565b34801561095857600080fd5b506103d2611580565b34801561096d57600080fd5b506104af61097c36600461287f565b6115af565b34801561098d57600080fd5b506104af61099c366004612969565b611600565b3480156109ad57600080fd5b5061044a6109bc366004612969565b61167f565b3480156109cd57600080fd5b506104af6109dc366004612969565b6117f1565b6104af6109ef366004612982565b611820565b348015610a0057600080fd5b506103d260105481565b348015610a1657600080fd5b506103d2600e5481565b348015610a2c57600080fd5b506104af610a3b36600461294e565b611b4f565b348015610a4c57600080fd5b50610405610a5b366004612810565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b348015610a9557600080fd5b506104af610aa436600461294e565b611b99565b348015610ab557600080fd5b506104af610ac4366004612a53565b611bdf565b348015610ad557600080fd5b506104af610ae43660046127f5565b611c9f565b348015610af557600080fd5b506104af610b0436600461294e565b611d37565b348015610b1557600080fd5b506103d260155481565b60006001600160e01b031982166380ac58cd60e01b1480610b5057506001600160e01b03198216635b5e139f60e01b145b80610b6b57506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b8090612dc2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bac90612dc2565b8015610bf95780601f10610bce57610100808354040283529160200191610bf9565b820191906000526020600020905b815481529060010190602001808311610bdc57829003601f168201915b5050505050905090565b6000610c0e82611d7b565b610c2b576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610c52826110d4565b9050806001600160a01b0316836001600160a01b03161415610c875760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610ca75750610ca58133610a5b565b155b15610cc5576040516367d9dca160e11b815260040160405180910390fd5b610cd0838383611db4565b505050565b601754600090610100900460ff1615610cef5750600d5490565b60175462010000900460ff1615610d075750600e5490565b50600f5490565b6008546001600160a01b03163314610d415760405162461bcd60e51b8152600401610d3890612c28565b60405180910390fd5b8051610d5490600b906020840190612654565b5050565b6008546001600160a01b03163314610d825760405162461bcd60e51b8152600401610d3890612c28565b6017805460ff1916911515919091179055565b600154600054036000190190565b610cd0838383611e10565b6000610dbb828585612024565b949350505050565b6008546001600160a01b03163314610ded5760405162461bcd60e51b8152600401610d3890612c28565b60004711610e2c5760405162461bcd60e51b815260206004820152600c60248201526b042616c616e636520697320360a41b6044820152606401610d38565b6008546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610e65573d6000803e3d6000fd5b50565b610cd0838383604051806020016040528060008152506115af565b60606000610e9083611149565b90506000816001600160401b03811115610eac57610eac612e6e565b604051908082528060200260200182016040528015610ed5578160200160208202803683370190505b509050600160005b8381108015610eee57506010548211155b15610f59576000610efe836110d4565b9050866001600160a01b0316816001600160a01b03161415610f465782848381518110610f2d57610f2d612e58565b602090810291909101015281610f4281612dfd565b9250505b82610f5081612dfd565b93505050610edd565b5090949350505050565b6008546001600160a01b03163314610f8d5760405162461bcd60e51b8152600401610d3890612c28565b601355565b6008546001600160a01b03163314610fbc5760405162461bcd60e51b8152600401610d3890612c28565b8051610d5490600c906020840190612654565b600b8054610fdc90612dc2565b80601f016020809104026020016040519081016040528092919081815260200182805461100890612dc2565b80156110555780601f1061102a57610100808354040283529160200191611055565b820191906000526020600020905b81548152906001019060200180831161103857829003601f168201915b505050505081565b6008546001600160a01b031633146110875760405162461bcd60e51b8152600401610d3890612c28565b6017805491151563010000000263ff00000019909216919091179055565b6008546001600160a01b031633146110cf5760405162461bcd60e51b8152600401610d3890612c28565b601555565b60006110df8261203a565b5192915050565b6008546001600160a01b031633146111105760405162461bcd60e51b8152600401610d3890612c28565b601255565b601754600090610100900460ff1680611136575060175462010000900460ff165b15611142575060155490565b5060165490565b60006001600160a01b038216611172576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b031633146111c15760405162461bcd60e51b8152600401610d3890612c28565b6111cb6000612161565b565b6008546001600160a01b031633146111f75760405162461bcd60e51b8152600401610d3890612c28565b601155565b6008546001600160a01b031633146112265760405162461bcd60e51b8152600401610d3890612c28565b601855565b6008546001600160a01b031633146112555760405162461bcd60e51b8152600401610d3890612c28565b8051610d5490600a906020840190612654565b6008546001600160a01b031633146112925760405162461bcd60e51b8152600401610d3890612c28565b600f55565b6008546001600160a01b031633146112c15760405162461bcd60e51b8152600401610d3890612c28565b601455565b601754600090610100900460ff16806112e7575060175462010000900460ff165b156112f3575060145490565b5060135490565b606060038054610b8090612dc2565b6008546001600160a01b031633146113335760405162461bcd60e51b8152600401610d3890612c28565b600e55565b601754819060ff161561135d5760405162461bcd60e51b8152600401610d3890612c5d565b60008111801561137457506113706112c6565b8111155b6113905760405162461bcd60e51b8152600401610d3890612bfa565b6010548161139c610d95565b6113a69190612d34565b11156113c45760405162461bcd60e51b8152600401610d3890612c94565b6017546301000000900460ff166114125760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610d38565b8161141b610cd5565b6114259190612d60565b34101561146a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d38565b611472611115565b8261147c33611149565b6114869190612d34565b11156114a45760405162461bcd60e51b8152600401610d3890612cc2565b610d5433836121b3565b6001600160a01b0382163314156114d85760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600c8054610fdc90612dc2565b6008546001600160a01b0316331461157b5760405162461bcd60e51b8152600401610d3890612c28565b601655565b601754600090610100900460ff161561159a575060115490565b6011546012546115aa9190612d34565b905090565b6115ba848484611e10565b6001600160a01b0383163b151580156115dc57506115da848484846121cd565b155b156115fa576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b80600081116116215760405162461bcd60e51b8152600401610d3890612bfa565b6010548161162d610d95565b6116379190612d34565b11156116555760405162461bcd60e51b8152600401610d3890612c94565b6008546001600160a01b031633146114a45760405162461bcd60e51b8152600401610d3890612c28565b606061168a82611d7b565b6116ee5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610d38565b601754640100000000900460ff1661179257600c805461170d90612dc2565b80601f016020809104026020016040519081016040528092919081815260200182805461173990612dc2565b80156117865780601f1061175b57610100808354040283529160200191611786565b820191906000526020600020905b81548152906001019060200180831161176957829003601f168201915b50505050509050919050565b600061179c6122c4565b905060008151116117bc57604051806020016040528060008152506117ea565b806117c6846122d3565b600b6040516020016117da93929190612aa2565b6040516020818303038152906040525b9392505050565b6008546001600160a01b0316331461181b5760405162461bcd60e51b8152600401610d3890612c28565b600d55565b601754839060ff16156118455760405162461bcd60e51b8152600401610d3890612c5d565b60008111801561185c57506118586112c6565b8111155b6118785760405162461bcd60e51b8152600401610d3890612bfa565b60105481611884610d95565b61188e9190612d34565b11156118ac5760405162461bcd60e51b8152600401610d3890612c94565b601754610100900460ff16806118ca575060175462010000900460ff165b61190b5760405162461bcd60e51b815260206004820152601260248201527153616c65206973206e6f742041637469766560701b6044820152606401610d38565b6018546119505760405162461bcd60e51b815260206004820152601360248201527213595c9adb1948149bdbdd081b9bdd081cd95d606a1b6044820152606401610d38565b6040516bffffffffffffffffffffffff193360601b166020820152839060340160405160208183030381529060405280519060200120146119e55760405162461bcd60e51b815260206004820152602960248201527f53656e64657220616e6420616d6f756e7420646f6e2774206d61746368204d656044820152683935b632903632b0b360b91b6064820152608401610d38565b6119f26018548484610dae565b611a4a5760405162461bcd60e51b815260206004820152602360248201527f4e6f7420612076616c6964206c65616620696e20746865204d65726b6c65207460448201526272656560e81b6064820152608401610d38565b611a52611580565b84611a5b610d95565b611a659190612d34565b1115611ab35760405162461bcd60e51b815260206004820152601960248201527f50726573616c65206d6178206c696d69742072656163686564000000000000006044820152606401610d38565b83611abc610cd5565b611ac69190612d60565b341015611b0b5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610d38565b611b13611115565b84611b1d33611149565b611b279190612d34565b1115611b455760405162461bcd60e51b8152600401610d3890612cc2565b6115fa33856121b3565b6008546001600160a01b03163314611b795760405162461bcd60e51b8152600401610d3890612c28565b601780549115156401000000000264ff0000000019909216919091179055565b6008546001600160a01b03163314611bc35760405162461bcd60e51b8152600401610d3890612c28565b60178054911515620100000262ff000019909216919091179055565b601754829060ff1615611c045760405162461bcd60e51b8152600401610d3890612c5d565b600081118015611c1b5750611c176112c6565b8111155b611c375760405162461bcd60e51b8152600401610d3890612bfa565b60105481611c43610d95565b611c4d9190612d34565b1115611c6b5760405162461bcd60e51b8152600401610d3890612c94565b6008546001600160a01b03163314611c955760405162461bcd60e51b8152600401610d3890612c28565b610cd082846121b3565b6008546001600160a01b03163314611cc95760405162461bcd60e51b8152600401610d3890612c28565b6001600160a01b038116611d2e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d38565b610e6581612161565b6008546001600160a01b03163314611d615760405162461bcd60e51b8152600401610d3890612c28565b601780549115156101000261ff0019909216919091179055565b600081600111158015611d8f575060005482105b8015610b6b575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611e1b8261203a565b80519091506000906001600160a01b0316336001600160a01b03161480611e4957508151611e499033610a5b565b80611e64575033611e5984610c03565b6001600160a01b0316145b905080611e8457604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b031614611eb95760405162a1148160e81b815260040160405180910390fd5b6001600160a01b038416611ee057604051633a954ecd60e21b815260040160405180910390fd5b611ef06000848460000151611db4565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b429092169190910217909255908601808352912054909116611fda57600054811015611fda57825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60008261203185846123d0565b14949350505050565b6040805160608101825260008082526020820181905291810191909152818060011115801561206a575060005481105b1561214857600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161515918101829052906121465780516001600160a01b0316156120dd579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215612141579392505050565b6120dd565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610d5482826040518060200160405280600081525061247c565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612202903390899088908890600401612b66565b602060405180830381600087803b15801561221c57600080fd5b505af192505050801561224c575060408051601f3d908101601f19168201909252612249918101906129ee565b60015b6122a7573d80801561227a576040519150601f19603f3d011682016040523d82523d6000602084013e61227f565b606091505b50805161229f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600a8054610b8090612dc2565b6060816122f75750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612321578061230b81612dfd565b915061231a9050600a83612d4c565b91506122fb565b6000816001600160401b0381111561233b5761233b612e6e565b6040519080825280601f01601f191660200182016040528015612365576020820181803683370190505b5090505b8415610dbb5761237a600183612d7f565b9150612387600a86612e18565b612392906030612d34565b60f81b8183815181106123a7576123a7612e58565b60200101906001600160f81b031916908160001a9053506123c9600a86612d4c565b9450612369565b600081815b84518110156124745760008582815181106123f2576123f2612e58565b60200260200101519050808311612434576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612461565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061246c81612dfd565b9150506123d5565b509392505050565b610cd083838360016000546001600160a01b0385166124ad57604051622e076360e81b815260040160405180910390fd5b836124cb5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561257c57506001600160a01b0387163b15155b15612605575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46125cd60008884806001019550886121cd565b6125ea576040516368d2bf6b60e11b815260040160405180910390fd5b8082141561258257826000541461260057600080fd5b61264b565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415612606575b5060005561201d565b82805461266090612dc2565b90600052602060002090601f01602090048101928261268257600085556126c8565b82601f1061269b57805160ff19168380011785556126c8565b828001600101855582156126c8579182015b828111156126c85782518255916020019190600101906126ad565b506126d49291506126d8565b5090565b5b808211156126d457600081556001016126d9565b60006001600160401b0383111561270657612706612e6e565b612719601f8401601f1916602001612d04565b905082815283838301111561272d57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461275b57600080fd5b919050565b600082601f83011261277157600080fd5b813560206001600160401b0382111561278c5761278c612e6e565b8160051b61279b828201612d04565b8381528281019086840183880185018910156127b657600080fd5b600093505b858410156127d95780358352600193909301929184019184016127bb565b50979650505050505050565b8035801515811461275b57600080fd5b60006020828403121561280757600080fd5b6117ea82612744565b6000806040838503121561282357600080fd5b61282c83612744565b915061283a60208401612744565b90509250929050565b60008060006060848603121561285857600080fd5b61286184612744565b925061286f60208501612744565b9150604084013590509250925092565b6000806000806080858703121561289557600080fd5b61289e85612744565b93506128ac60208601612744565b92506040850135915060608501356001600160401b038111156128ce57600080fd5b8501601f810187136128df57600080fd5b6128ee878235602084016126ed565b91505092959194509250565b6000806040838503121561290d57600080fd5b61291683612744565b915061283a602084016127e5565b6000806040838503121561293757600080fd5b61294083612744565b946020939093013593505050565b60006020828403121561296057600080fd5b6117ea826127e5565b60006020828403121561297b57600080fd5b5035919050565b60008060006060848603121561299757600080fd5b833592506020840135915060408401356001600160401b038111156129bb57600080fd5b6129c786828701612760565b9150509250925092565b6000602082840312156129e357600080fd5b81356117ea81612e84565b600060208284031215612a0057600080fd5b81516117ea81612e84565b600060208284031215612a1d57600080fd5b81356001600160401b03811115612a3357600080fd5b8201601f81018413612a4457600080fd5b610dbb848235602084016126ed565b60008060408385031215612a6657600080fd5b8235915061283a60208401612744565b60008151808452612a8e816020860160208601612d96565b601f01601f19169290920160200192915050565b600084516020612ab58285838a01612d96565b855191840191612ac88184848a01612d96565b8554920191600090600181811c9080831680612ae557607f831692505b858310811415612b0357634e487b7160e01b85526022600452602485fd5b808015612b175760018114612b2857612b55565b60ff19851688528388019550612b55565b60008b81526020902060005b85811015612b4d5781548a820152908401908801612b34565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612b9990830184612a76565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612bdb57835183529284019291840191600101612bbf565b50909695505050505050565b6020815260006117ea6020830184612a76565b602080825260149082015273496e76616c6964206d696e7420616d6f756e742160601b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526017908201527f54686520636f6e74726163742069732070617573656421000000000000000000604082015260600190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b60208082526022908201527f4d6178206d696e7420616d6f756e74207065722077616c6c6574207265616368604082015261195960f21b606082015260800190565b604051601f8201601f191681016001600160401b0381118282101715612d2c57612d2c612e6e565b604052919050565b60008219821115612d4757612d47612e2c565b500190565b600082612d5b57612d5b612e42565b500490565b6000816000190483118215151615612d7a57612d7a612e2c565b500290565b600082821015612d9157612d91612e2c565b500390565b60005b83811015612db1578181015183820152602001612d99565b838111156115fa5750506000910152565b600181811c90821680612dd657607f821691505b60208210811415612df757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612e1157612e11612e2c565b5060010190565b600082612e2757612e27612e42565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6557600080fdfea26469706673582212204b634e521862027a6e14668a0ba05658f19adb02262a6c8abb0c4a0bc71c05b364736f6c63430008070033

Deployed Bytecode Sourcemap

50084:7458:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50461:35;;;;;;;;;;;;;;;;;;;15594:25:1;;;15582:2;15567:18;50461:35:0;;;;;;;;32592:305;;;;;;;;;;-1:-1:-1;32592:305:0;;;;;:::i;:::-;;:::i;:::-;;;10008:14:1;;10001:22;9983:41;;9971:2;9956:18;32592:305:0;9843:187:1;50803:34:0;;;;;;;;;;-1:-1:-1;50803:34:0;;;;;;;;;;;35977:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;37480:204::-;;;;;;;;;;-1:-1:-1;37480:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8669:32:1;;;8651:51;;8639:2;8624:18;37480:204:0;8505:203:1;37043:371:0;;;;;;;;;;-1:-1:-1;37043:371:0;;;;;:::i;:::-;;:::i;:::-;;51219:173;;;;;;;;;;;;;:::i;57085:100::-;;;;;;;;;;-1:-1:-1;57085:100:0;;;;;:::i;:::-;;:::i;57191:77::-;;;;;;;;;;-1:-1:-1;57191:77:0;;;;;:::i;:::-;;:::i;31841:303::-;;;;;;;;;;;;;:::i;38337:170::-;;;;;;;;;;-1:-1:-1;38337:170:0;;;;;:::i;:::-;;:::i;50292:41::-;;;;;;;;;;;;;;;;50542:43;;;;;;;;;;;;;;;;53996:172;;;;;;;;;;-1:-1:-1;53996:172:0;;;;;:::i;:::-;;:::i;50764:34::-;;;;;;;;;;-1:-1:-1;50764:34:0;;;;;;;;;;;57274:155;;;;;;;;;;;;;:::i;38578:185::-;;;;;;;;;;-1:-1:-1;38578:185:0;;;;;:::i;:::-;;:::i;54174:635::-;;;;;;;;;;-1:-1:-1;54174:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;56543:142::-;;;;;;;;;;-1:-1:-1;56543:142:0;;;;;:::i;:::-;;:::i;56841:132::-;;;;;;;;;;-1:-1:-1;56841:132:0;;;;;:::i;:::-;;:::i;50877:28::-;;;;;;;;;;-1:-1:-1;50877:28:0;;;;;;;;;;;50214:33;;;;;;;;;;;;;:::i;50684:43::-;;;;;;;;;;;;;;;;55794:83;;;;;;;;;;-1:-1:-1;55794:83:0;;;;;:::i;:::-;;:::i;50734:25::-;;;;;;;;;;-1:-1:-1;50734:25:0;;;;;;;;56265:130;;;;;;;;;;-1:-1:-1;56265:130:0;;;;;:::i;:::-;;:::i;35786:124::-;;;;;;;;;;-1:-1:-1;35786:124:0;;;;;:::i;:::-;;:::i;56165:94::-;;;;;;;;;;-1:-1:-1;56165:94:0;;;;;:::i;:::-;;:::i;51398:177::-;;;;;;;;;;;;;:::i;50842:30::-;;;;;;;;;;-1:-1:-1;50842:30:0;;;;;;;;;;;50501:36;;;;;;;;;;;;;;;;32961:206;;;;;;;;;;-1:-1:-1;32961:206:0;;;;;:::i;:::-;;:::i;9592:103::-;;;;;;;;;;;;;:::i;56065:94::-;;;;;;;;;;-1:-1:-1;56065:94:0;;;;;:::i;:::-;;:::i;55402:104::-;;;;;;;;;;-1:-1:-1;55402:104:0;;;;;:::i;:::-;;:::i;56979:100::-;;;;;;;;;;-1:-1:-1;56979:100:0;;;;;:::i;:::-;;:::i;55512:86::-;;;;;;;;;;-1:-1:-1;55512:86:0;;;;;:::i;:::-;;:::i;50383:37::-;;;;;;;;;;;;;;;;8941:87;;;;;;;;;;-1:-1:-1;9014:6:0;;-1:-1:-1;;;;;9014:6:0;8941:87;;56691:144;;;;;;;;;;-1:-1:-1;56691:144:0;;;;;:::i;:::-;;:::i;51581:185::-;;;;;;;;;;;;;:::i;36146:104::-;;;;;;;;;;;;;:::i;55698:90::-;;;;;;;;;;-1:-1:-1;55698:90:0;;;;;:::i;:::-;;:::i;52429:355::-;;;;;;:::i;:::-;;:::i;37756:279::-;;;;;;;;;;-1:-1:-1;37756:279:0;;;;;:::i;:::-;;:::i;50590:44::-;;;;;;;;;;;;;;;;50252:31;;;;;;;;;;;;;:::i;56401:136::-;;;;;;;;;;-1:-1:-1;56401:136:0;;;;;:::i;:::-;;:::i;51772:158::-;;;;;;;;;;;;;:::i;38834:369::-;;;;;;;;;;-1:-1:-1;38834:369:0;;;;;:::i;:::-;;:::i;52953:138::-;;;;;;;;;;-1:-1:-1;52953:138:0;;;;;:::i;:::-;;:::i;54815:494::-;;;;;;;;;;-1:-1:-1;54815:494:0;;;;;:::i;:::-;;:::i;55602:90::-;;;;;;;;;;-1:-1:-1;55602:90:0;;;;;:::i;:::-;;:::i;53097:893::-;;;;;;:::i;:::-;;:::i;50425:31::-;;;;;;;;;;;;;;;;50338:40;;;;;;;;;;;;;;;;55315:81;;;;;;;;;;-1:-1:-1;55315:81:0;;;;;:::i;:::-;;:::i;38106:164::-;;;;;;;;;;-1:-1:-1;38106:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;38227:25:0;;;38203:4;38227:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;38106:164;55974:85;;;;;;;;;;-1:-1:-1;55974:85:0;;;;;:::i;:::-;;:::i;52792:155::-;;;;;;;;;;-1:-1:-1;52792:155:0;;;;;:::i;:::-;;:::i;9850:201::-;;;;;;;;;;-1:-1:-1;9850:201:0;;;;;:::i;:::-;;:::i;55883:85::-;;;;;;;;;;-1:-1:-1;55883:85:0;;;;;:::i;:::-;;:::i;50639:40::-;;;;;;;;;;;;;;;;32592:305;32694:4;-1:-1:-1;;;;;;32731:40:0;;-1:-1:-1;;;32731:40:0;;:105;;-1:-1:-1;;;;;;;32788:48:0;;-1:-1:-1;;;32788:48:0;32731:105;:158;;;-1:-1:-1;;;;;;;;;;21374:40:0;;;32853:36;32711:178;32592:305;-1:-1:-1;;32592:305:0:o;35977:100::-;36031:13;36064:5;36057:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35977:100;:::o;37480:204::-;37548:7;37573:16;37581:7;37573;:16::i;:::-;37568:64;;37598:34;;-1:-1:-1;;;37598:34:0;;;;;;;;;;;37568:64;-1:-1:-1;37652:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;37652:24:0;;37480:204::o;37043:371::-;37116:13;37132:24;37148:7;37132:15;:24::i;:::-;37116:40;;37177:5;-1:-1:-1;;;;;37171:11:0;:2;-1:-1:-1;;;;;37171:11:0;;37167:48;;;37191:24;;-1:-1:-1;;;37191:24:0;;;;;;;;;;;37167:48;7772:10;-1:-1:-1;;;;;37232:21:0;;;;;;:63;;-1:-1:-1;37258:37:0;37275:5;7772:10;38106:164;:::i;37258:37::-;37257:38;37232:63;37228:138;;;37319:35;;-1:-1:-1;;;37319:35:0;;;;;;;;;;;37228:138;37378:28;37387:2;37391:7;37400:5;37378:8;:28::i;:::-;37105:309;37043:371;;:::o;51219:173::-;51276:14;;51255:7;;51276:14;;;;;51273:38;;;-1:-1:-1;51299:12:0;;;51219:173::o;51273:38::-;51323:14;;;;;;;51320:38;;;-1:-1:-1;51346:12:0;;;51219:173::o;51320:38::-;-1:-1:-1;51376:10:0;;;51219:173::o;57085:100::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;;;;;;;;;57157:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;57085:100:::0;:::o;57191:77::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;57247:6:::1;:15:::0;;-1:-1:-1;;57247:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;57191:77::o;31841:303::-;51206:1;32095:12;31885:7;32079:13;:28;-1:-1:-1;;32079:46:0;;31841:303::o;38337:170::-;38471:28;38481:4;38487:2;38491:7;38471:9;:28::i;53996:172::-;54092:4;54116:44;54135:5;54142:11;54155:4;54116:18;:44::i;:::-;54109:51;53996:172;-1:-1:-1;;;;53996:172:0:o;57274:155::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;57350:1:::1;57326:21;:25;57318:50;;;::::0;-1:-1:-1;;;57318:50:0;;11974:2:1;57318:50:0::1;::::0;::::1;11956:21:1::0;12013:2;11993:18;;;11986:30;-1:-1:-1;;;12032:18:1;;;12025:42;12084:18;;57318:50:0::1;11772:336:1::0;57318:50:0::1;9014:6:::0;;57375:48:::1;::::0;-1:-1:-1;;;;;9014:6:0;;;;57401:21:::1;57375:48:::0;::::1;;;::::0;::::1;::::0;;;57401:21;9014:6;57375:48;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;57274:155::o:0;38578:185::-;38716:39;38733:4;38739:2;38743:7;38716:39;;;;;;;;;;;;:16;:39::i;54174:635::-;54249:16;54277:23;54303:17;54313:6;54303:9;:17::i;:::-;54277:43;;54327:30;54374:15;-1:-1:-1;;;;;54360:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54360:30:0;-1:-1:-1;54327:63:0;-1:-1:-1;54422:1:0;54397:22;54466:309;54491:15;54473;:33;:64;;;;;54528:9;;54510:14;:27;;54473:64;54466:309;;;54548:25;54576:23;54584:14;54576:7;:23::i;:::-;54548:51;;54635:6;-1:-1:-1;;;;;54614:27:0;:17;-1:-1:-1;;;;;54614:27:0;;54610:131;;;54687:14;54654:13;54668:15;54654:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;54714:17;;;;:::i;:::-;;;;54610:131;54751:16;;;;:::i;:::-;;;;54539:236;54466:309;;;-1:-1:-1;54790:13:0;;54174:635;-1:-1:-1;;;;54174:635:0:o;56543:142::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56633:24:::1;:46:::0;56543:142::o;56841:132::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56929:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;50214:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55794:83::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55853:10:::1;:18:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;55853:18:0;;::::1;::::0;;;::::1;::::0;;55794:83::o;56265:130::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56350:21:::1;:39:::0;56265:130::o;35786:124::-;35850:7;35877:20;35889:7;35877:11;:20::i;:::-;:25;;35786:124;-1:-1:-1;;35786:124:0:o;56165:94::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56231:14:::1;:22:::0;56165:94::o;51398:177::-;51465:14;;51444:7;;51465:14;;;;;;:32;;-1:-1:-1;51483:14:0;;;;;;;51465:32;51462:65;;;-1:-1:-1;51506:21:0;;;51398:177::o;51462:65::-;-1:-1:-1;51545:24:0;;;51398:177::o;32961:206::-;33025:7;-1:-1:-1;;;;;33049:19:0;;33045:60;;33077:28;;-1:-1:-1;;;33077:28:0;;;;;;;;;;;33045:60;-1:-1:-1;;;;;;33131:19:0;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;33131:27:0;;32961:206::o;9592:103::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;9657:30:::1;9684:1;9657:18;:30::i;:::-;9592:103::o:0;56065:94::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56131:14:::1;:22:::0;56065:94::o;55402:104::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55474:10:::1;:24:::0;55402:104::o;56979:100::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;57051:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;55512:86::-:0;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55574:10:::1;:18:::0;55512:86::o;56691:144::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56782:25:::1;:47:::0;56691:144::o;51581:185::-;51652:14;;51631:7;;51652:14;;;;;;:32;;-1:-1:-1;51670:14:0;;;;;;;51652:32;51649:69;;;-1:-1:-1;51693:25:0;;;51581:185::o;51649:69::-;-1:-1:-1;51736:24:0;;;51581:185::o;36146:104::-;36202:13;36235:7;36228:14;;;;;:::i;55698:90::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55762:12:::1;:20:::0;55698:90::o;52429:355::-;51997:6;;52494:11;;51997:6;;51996:7;51988:43;;;;-1:-1:-1;;;51988:43:0;;;;;;;:::i;:::-;52060:1;52046:11;:15;:54;;;;;52080:20;:18;:20::i;:::-;52065:11;:35;;52046:54;52038:87;;;;-1:-1:-1;;;52038:87:0;;;;;;;:::i;:::-;52171:9;;52156:11;52140:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;52132:73;;;;-1:-1:-1;;;52132:73:0;;;;;;;:::i;:::-;52522:10:::1;::::0;;;::::1;;;52514:42;;;::::0;-1:-1:-1;;;52514:42:0;;11217:2:1;52514:42:0::1;::::0;::::1;11199:21:1::0;11256:2;11236:18;;;11229:30;-1:-1:-1;;;11275:18:1;;;11268:48;11333:18;;52514:42:0::1;11015:342:1::0;52514:42:0::1;52593:11;52584:6;:4;:6::i;:::-;:20;;;;:::i;:::-;52571:9;:33;;52563:65;;;::::0;-1:-1:-1;;;52563:65:0;;14898:2:1;52563:65:0::1;::::0;::::1;14880:21:1::0;14937:2;14917:18;;;14910:30;-1:-1:-1;;;14956:18:1;;;14949:49;15015:18;;52563:65:0::1;14696:343:1::0;52563:65:0::1;52682:16;:14;:16::i;:::-;52667:11;52643:21;52653:10;52643:9;:21::i;:::-;:35;;;;:::i;:::-;:55;;52635:102;;;;-1:-1:-1::0;;;52635:102:0::1;;;;;;;:::i;:::-;52744:34;52754:10;52766:11;52744:9;:34::i;37756:279::-:0;-1:-1:-1;;;;;37847:24:0;;7772:10;37847:24;37843:54;;;37880:17;;-1:-1:-1;;;37880:17:0;;;;;;;;;;;37843:54;7772:10;37910:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;37910:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;37910:53:0;;;;;;;;;;37979:48;;9983:41:1;;;37910:42:0;;7772:10;37979:48;;9956:18:1;37979:48:0;;;;;;;37756:279;;:::o;50252:31::-;;;;;;;:::i;56401:136::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56489:24:::1;:42:::0;56401:136::o;51772:158::-;51838:14;;51817:7;;51838:14;;;;;51835:40;;;-1:-1:-1;51861:14:0;;;51772:158::o;51835:40::-;51910:14;;51893;;:31;;;;:::i;:::-;51886:38;;51772:158;:::o;38834:369::-;39001:28;39011:4;39017:2;39021:7;39001:9;:28::i;:::-;-1:-1:-1;;;;;39044:13:0;;11525:20;11573:8;;39044:76;;;;;39064:56;39095:4;39101:2;39105:7;39114:5;39064:30;:56::i;:::-;39063:57;39044:76;39040:156;;;39144:40;;-1:-1:-1;;;39144:40:0;;;;;;;;;;;39040:156;38834:369;;;;:::o;52953:138::-;53021:11;52303:1;52289:11;:15;52281:48;;;;-1:-1:-1;;;52281:48:0;;;;;;;:::i;:::-;52375:9;;52360:11;52344:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;52336:73;;;;-1:-1:-1;;;52336:73:0;;;;;;;:::i;:::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23:::1;9153:68;;;;-1:-1:-1::0;;;9153:68:0::1;;;;;;;:::i;54815:494::-:0;54914:13;54955:17;54963:8;54955:7;:17::i;:::-;54939:98;;;;-1:-1:-1;;;54939:98:0;;13730:2:1;54939:98:0;;;13712:21:1;13769:2;13749:18;;;13742:30;13808:34;13788:18;;;13781:62;-1:-1:-1;;;13859:18:1;;;13852:45;13914:19;;54939:98:0;13528:411:1;54939:98:0;55050:8;;;;;;;55046:64;;55085:17;55078:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54815:494;;;:::o;55046:64::-;55118:28;55149:10;:8;:10::i;:::-;55118:41;;55204:1;55179:14;55173:28;:32;:130;;;;;;;;;;;;;;;;;55241:14;55257:19;:8;:17;:19::i;:::-;55278:9;55224:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55173:130;55166:137;54815:494;-1:-1:-1;;;54815:494:0:o;55602:90::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55666:12:::1;:20:::0;55602:90::o;53097:893::-;51997:6;;53211:11;;51997:6;;51996:7;51988:43;;;;-1:-1:-1;;;51988:43:0;;;;;;;:::i;:::-;52060:1;52046:11;:15;:54;;;;;52080:20;:18;:20::i;:::-;52065:11;:35;;52046:54;52038:87;;;;-1:-1:-1;;;52038:87:0;;;;;;;:::i;:::-;52171:9;;52156:11;52140:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;52132:73;;;;-1:-1:-1;;;52132:73:0;;;;;;;:::i;:::-;53239:14:::1;::::0;::::1;::::0;::::1;;;::::0;:32:::1;;-1:-1:-1::0;53257:14:0::1;::::0;;;::::1;;;53239:32;53231:63;;;::::0;-1:-1:-1;;;53231:63:0;;11217:2:1;53231:63:0::1;::::0;::::1;11199:21:1::0;11256:2;11236:18;;;11229:30;-1:-1:-1;;;11275:18:1;;;11268:48;11333:18;;53231:63:0::1;11015:342:1::0;53231:63:0::1;53309:10;::::0;53301:48:::1;;;::::0;-1:-1:-1;;;53301:48:0;;12315:2:1;53301:48:0::1;::::0;::::1;12297:21:1::0;12354:2;12334:18;;;12327:30;-1:-1:-1;;;12373:18:1;;;12366:49;12432:18;;53301:48:0::1;12113:343:1::0;53301:48:0::1;53441:28;::::0;-1:-1:-1;;53458:10:0::1;6636:2:1::0;6632:15;6628:53;53441:28:0::1;::::0;::::1;6616:66:1::0;53474:4:0;;6698:12:1;;53441:28:0::1;;;;;;;;;;;;53431:39;;;;;;:47;53423:101;;;::::0;-1:-1:-1;;;53423:101:0;;11564:2:1;53423:101:0::1;::::0;::::1;11546:21:1::0;11603:2;11583:18;;;11576:30;11642:34;11622:18;;;11615:62;-1:-1:-1;;;11693:18:1;;;11686:39;11742:19;;53423:101:0::1;11362:405:1::0;53423:101:0::1;53600:31;53607:10;;53619:4;53625:5;53600:6;:31::i;:::-;53592:79;;;::::0;-1:-1:-1;;;53592:79:0;;15246:2:1;53592:79:0::1;::::0;::::1;15228:21:1::0;15285:2;15265:18;;;15258:30;15324:34;15304:18;;;15297:62;-1:-1:-1;;;15375:18:1;;;15368:33;15418:19;;53592:79:0::1;15044:399:1::0;53592:79:0::1;53717:15;:13;:15::i;:::-;53702:11;53686:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:46;;53678:84;;;::::0;-1:-1:-1;;;53678:84:0;;12663:2:1;53678:84:0::1;::::0;::::1;12645:21:1::0;12702:2;12682:18;;;12675:30;12741:27;12721:18;;;12714:55;12786:18;;53678:84:0::1;12461:349:1::0;53678:84:0::1;53799:11;53790:6;:4;:6::i;:::-;:20;;;;:::i;:::-;53777:9;:33;;53769:65;;;::::0;-1:-1:-1;;;53769:65:0;;14898:2:1;53769:65:0::1;::::0;::::1;14880:21:1::0;14937:2;14917:18;;;14910:30;-1:-1:-1;;;14956:18:1;;;14949:49;15015:18;;53769:65:0::1;14696:343:1::0;53769:65:0::1;53888:16;:14;:16::i;:::-;53873:11;53849:21;53859:10;53849:9;:21::i;:::-;:35;;;;:::i;:::-;:55;;53841:102;;;;-1:-1:-1::0;;;53841:102:0::1;;;;;;;:::i;:::-;53950:34;53960:10;53972:11;53950:9;:34::i;55315:81::-:0;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55373:8:::1;:17:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;55373:17:0;;::::1;::::0;;;::::1;::::0;;55315:81::o;55974:85::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;56031:14:::1;:22:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;56031:22:0;;::::1;::::0;;;::::1;::::0;;55974:85::o;52792:155::-;51997:6;;52878:11;;51997:6;;51996:7;51988:43;;;;-1:-1:-1;;;51988:43:0;;;;;;;:::i;:::-;52060:1;52046:11;:15;:54;;;;;52080:20;:18;:20::i;:::-;52065:11;:35;;52046:54;52038:87;;;;-1:-1:-1;;;52038:87:0;;;;;;;:::i;:::-;52171:9;;52156:11;52140:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;52132:73;;;;-1:-1:-1;;;52132:73:0;;;;;;;:::i;:::-;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23:::1;9153:68;;;;-1:-1:-1::0;;;9153:68:0::1;;;;;;;:::i;:::-;52908:33:::2;52918:9;52929:11;52908:9;:33::i;9850:201::-:0;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9939:22:0;::::1;9931:73;;;::::0;-1:-1:-1;;;9931:73:0;;10461:2:1;9931:73:0::1;::::0;::::1;10443:21:1::0;10500:2;10480:18;;;10473:30;10539:34;10519:18;;;10512:62;-1:-1:-1;;;10590:18:1;;;10583:36;10636:19;;9931:73:0::1;10259:402:1::0;9931:73:0::1;10015:28;10034:8;10015:18;:28::i;55883:85::-:0;9014:6;;-1:-1:-1;;;;;9014:6:0;7772:10;9161:23;9153:68;;;;-1:-1:-1;;;9153:68:0;;;;;;;:::i;:::-;55940:14:::1;:22:::0;;;::::1;;;;-1:-1:-1::0;;55940:22:0;;::::1;::::0;;;::::1;::::0;;55883:85::o;39458:187::-;39515:4;39558:7;51206:1;39539:26;;:53;;;;;39579:13;;39569:7;:23;39539:53;:98;;;;-1:-1:-1;;39610:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;39610:27:0;;;;39609:28;;39458:187::o;47069:196::-;47184:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;47184:29:0;-1:-1:-1;;;;;47184:29:0;;;;;;;;;47229:28;;47184:24;;47229:28;;;;;;;47069:196;;;:::o;42571:2112::-;42686:35;42724:20;42736:7;42724:11;:20::i;:::-;42799:18;;42686:58;;-1:-1:-1;42757:22:0;;-1:-1:-1;;;;;42783:34:0;7772:10;-1:-1:-1;;;;;42783:34:0;;:101;;;-1:-1:-1;42851:18:0;;42834:50;;7772:10;38106:164;:::i;42834:50::-;42783:154;;;-1:-1:-1;7772:10:0;42901:20;42913:7;42901:11;:20::i;:::-;-1:-1:-1;;;;;42901:36:0;;42783:154;42757:181;;42956:17;42951:66;;42982:35;;-1:-1:-1;;;42982:35:0;;;;;;;;;;;42951:66;43054:4;-1:-1:-1;;;;;43032:26:0;:13;:18;;;-1:-1:-1;;;;;43032:26:0;;43028:67;;43067:28;;-1:-1:-1;;;43067:28:0;;;;;;;;;;;43028:67;-1:-1:-1;;;;;43110:16:0;;43106:52;;43135:23;;-1:-1:-1;;;43135:23:0;;;;;;;;;;;43106:52;43279:49;43296:1;43300:7;43309:13;:18;;;43279:8;:49::i;:::-;-1:-1:-1;;;;;43624:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;43624:31:0;;;-1:-1:-1;;;;;43624:31:0;;;-1:-1:-1;;43624:31:0;;;;;;;43670:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;43670:29:0;;;;;;;;;;;43716:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;43761:61:0;;;;-1:-1:-1;;;43806:15:0;43761:61;;;;;;;;;;;44096:11;;;44126:24;;;;;:29;44096:11;;44126:29;44122:445;;44351:13;;44337:11;:27;44333:219;;;44421:18;;;44389:24;;;:11;:24;;;;;;;;:50;;44504:28;;;;-1:-1:-1;;;;;44462:70:0;-1:-1:-1;;;44462:70:0;-1:-1:-1;;;;;;44462:70:0;;;-1:-1:-1;;;;;44389:50:0;;;44462:70;;;;;;;44333:219;43599:979;44614:7;44610:2;-1:-1:-1;;;;;44595:27:0;44604:4;-1:-1:-1;;;;;44595:27:0;;;;;;;;;;;44633:42;42675:2008;;42571:2112;;;:::o;3683:190::-;3808:4;3861;3832:25;3845:5;3852:4;3832:12;:25::i;:::-;:33;;3683:190;-1:-1:-1;;;;3683:190:0:o;34616:1108::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;34726:7:0;;51206:1;34775:23;;:47;;;;;34809:13;;34802:4;:20;34775:47;34771:886;;;34843:31;34877:17;;;:11;:17;;;;;;;;;34843:51;;;;;;;;;-1:-1:-1;;;;;34843:51:0;;;;-1:-1:-1;;;34843:51:0;;-1:-1:-1;;;;;34843:51:0;;;;;;;;-1:-1:-1;;;34843:51:0;;;;;;;;;;;;;;34913:729;;34963:14;;-1:-1:-1;;;;;34963:28:0;;34959:101;;35027:9;34616:1108;-1:-1:-1;;;34616:1108:0:o;34959:101::-;-1:-1:-1;;;35402:6:0;35447:17;;;;:11;:17;;;;;;;;;35435:29;;;;;;;;;-1:-1:-1;;;;;35435:29:0;;;;;-1:-1:-1;;;35435:29:0;;-1:-1:-1;;;;;35435:29:0;;;;;;;;-1:-1:-1;;;35435:29:0;;;;;;;;;;;;;35495:28;35491:109;;35563:9;34616:1108;-1:-1:-1;;;34616:1108:0:o;35491:109::-;35362:261;;;34824:833;34771:886;35685:31;;-1:-1:-1;;;35685:31:0;;;;;;;;;;;10211:191;10304:6;;;-1:-1:-1;;;;;10321:17:0;;;-1:-1:-1;;;;;;10321:17:0;;;;;;;10354:40;;10304:6;;;10321:17;10304:6;;10354:40;;10285:16;;10354:40;10274:128;10211:191;:::o;39653:104::-;39722:27;39732:2;39736:8;39722:27;;;;;;;;;;;;:9;:27::i;47757:667::-;47941:72;;-1:-1:-1;;;47941:72:0;;47920:4;;-1:-1:-1;;;;;47941:36:0;;;;;:72;;7772:10;;47992:4;;47998:7;;48007:5;;47941:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47941:72:0;;;;;;;;-1:-1:-1;;47941:72:0;;;;;;;;;;;;:::i;:::-;;;47937:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48175:13:0;;48171:235;;48221:40;;-1:-1:-1;;;48221:40:0;;;;;;;;;;;48171:235;48364:6;48358:13;48349:6;48345:2;48341:15;48334:38;47937:480;-1:-1:-1;;;;;;48060:55:0;-1:-1:-1;;;48060:55:0;;-1:-1:-1;47757:667:0;;;;;;:::o;57435:104::-;57495:13;57524:9;57517:16;;;;;:::i;5281:723::-;5337:13;5558:10;5554:53;;-1:-1:-1;;5585:10:0;;;;;;;;;;;;-1:-1:-1;;;5585:10:0;;;;;5281:723::o;5554:53::-;5632:5;5617:12;5673:78;5680:9;;5673:78;;5706:8;;;;:::i;:::-;;-1:-1:-1;5729:10:0;;-1:-1:-1;5737:2:0;5729:10;;:::i;:::-;;;5673:78;;;5761:19;5793:6;-1:-1:-1;;;;;5783:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5783:17:0;;5761:39;;5811:154;5818:10;;5811:154;;5845:11;5855:1;5845:11;;:::i;:::-;;-1:-1:-1;5914:10:0;5922:2;5914:5;:10;:::i;:::-;5901:24;;:2;:24;:::i;:::-;5888:39;;5871:6;5878;5871:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;5871:56:0;;;;;;;;-1:-1:-1;5942:11:0;5951:2;5942:11;;:::i;:::-;;;5811:154;;4235:701;4318:7;4361:4;4318:7;4376:523;4400:5;:12;4396:1;:16;4376:523;;;4434:20;4457:5;4463:1;4457:8;;;;;;;;:::i;:::-;;;;;;;4434:31;;4500:12;4484;:28;4480:408;;4637:44;;;;;;6878:19:1;;;6913:12;;;6906:28;;;6950:12;;4637:44:0;;;;;;;;;;;;4627:55;;;;;;4612:70;;4480:408;;;4827:44;;;;;;6878:19:1;;;6913:12;;;6906:28;;;6950:12;;4827:44:0;;;;;;;;;;;;4817:55;;;;;;4802:70;;4480:408;-1:-1:-1;4414:3:0;;;;:::i;:::-;;;;4376:523;;;-1:-1:-1;4916:12:0;4235:701;-1:-1:-1;;;4235:701:0:o;40120:163::-;40243:32;40249:2;40253:8;40263:5;40270:4;40681:20;40704:13;-1:-1:-1;;;;;40732:16:0;;40728:48;;40757:19;;-1:-1:-1;;;40757:19:0;;;;;;;;;;;40728:48;40791:13;40787:44;;40813:18;;-1:-1:-1;;;40813:18:0;;;;;;;;;;;40787:44;-1:-1:-1;;;;;41182:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;41241:49:0;;-1:-1:-1;;;;;41182:44:0;;;;;;;41241:49;;;;-1:-1:-1;;41182:44:0;;;;;;41241:49;;;;;;;;;;;;;;;;41307:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;41357:66:0;;;;-1:-1:-1;;;41407:15:0;41357:66;;;;;;;;;;41307:25;41504:23;;;41548:4;:23;;;;-1:-1:-1;;;;;;41556:13:0;;11525:20;11573:8;;41556:15;41544:641;;;41592:314;41623:38;;41648:12;;-1:-1:-1;;;;;41623:38:0;;;41640:1;;41623:38;;41640:1;;41623:38;41689:69;41728:1;41732:2;41736:14;;;;;;41752:5;41689:30;:69::i;:::-;41684:174;;41794:40;;-1:-1:-1;;;41794:40:0;;;;;;;;;;;41684:174;41901:3;41885:12;:19;;41592:314;;41987:12;41970:13;;:29;41966:43;;42001:8;;;41966:43;41544:641;;;42050:120;42081:40;;42106:14;;;;;-1:-1:-1;;;;;42081:40:0;;;42098:1;;42081:40;;42098:1;;42081:40;42165:3;42149:12;:19;;42050:120;;41544:641;-1:-1:-1;42199:13:0;:28;42249:60;38834:369;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;-1:-1:-1;;;;;104:6:1;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:723::-;657:5;710:3;703:4;695:6;691:17;687:27;677:55;;728:1;725;718:12;677:55;764:6;751:20;790:4;-1:-1:-1;;;;;809:2:1;806:26;803:52;;;835:18;;:::i;:::-;881:2;878:1;874:10;904:28;928:2;924;920:11;904:28;:::i;:::-;966:15;;;997:12;;;;1029:15;;;1063;;;1059:24;;1056:33;-1:-1:-1;1053:53:1;;;1102:1;1099;1092:12;1053:53;1124:1;1115:10;;1134:163;1148:2;1145:1;1142:9;1134:163;;;1205:17;;1193:30;;1166:1;1159:9;;;;;1243:12;;;;1275;;1134:163;;;-1:-1:-1;1315:5:1;603:723;-1:-1:-1;;;;;;;603:723:1:o;1331:160::-;1396:20;;1452:13;;1445:21;1435:32;;1425:60;;1481:1;1478;1471:12;1496:186;1555:6;1608:2;1596:9;1587:7;1583:23;1579:32;1576:52;;;1624:1;1621;1614:12;1576:52;1647:29;1666:9;1647:29;:::i;1687:260::-;1755:6;1763;1816:2;1804:9;1795:7;1791:23;1787:32;1784:52;;;1832:1;1829;1822:12;1784:52;1855:29;1874:9;1855:29;:::i;:::-;1845:39;;1903:38;1937:2;1926:9;1922:18;1903:38;:::i;:::-;1893:48;;1687:260;;;;;:::o;1952:328::-;2029:6;2037;2045;2098:2;2086:9;2077:7;2073:23;2069:32;2066:52;;;2114:1;2111;2104:12;2066:52;2137:29;2156:9;2137:29;:::i;:::-;2127:39;;2185:38;2219:2;2208:9;2204:18;2185:38;:::i;:::-;2175:48;;2270:2;2259:9;2255:18;2242:32;2232:42;;1952:328;;;;;:::o;2285:666::-;2380:6;2388;2396;2404;2457:3;2445:9;2436:7;2432:23;2428:33;2425:53;;;2474:1;2471;2464:12;2425:53;2497:29;2516:9;2497:29;:::i;:::-;2487:39;;2545:38;2579:2;2568:9;2564:18;2545:38;:::i;:::-;2535:48;;2630:2;2619:9;2615:18;2602:32;2592:42;;2685:2;2674:9;2670:18;2657:32;-1:-1:-1;;;;;2704:6:1;2701:30;2698:50;;;2744:1;2741;2734:12;2698:50;2767:22;;2820:4;2812:13;;2808:27;-1:-1:-1;2798:55:1;;2849:1;2846;2839:12;2798:55;2872:73;2937:7;2932:2;2919:16;2914:2;2910;2906:11;2872:73;:::i;:::-;2862:83;;;2285:666;;;;;;;:::o;2956:254::-;3021:6;3029;3082:2;3070:9;3061:7;3057:23;3053:32;3050:52;;;3098:1;3095;3088:12;3050:52;3121:29;3140:9;3121:29;:::i;:::-;3111:39;;3169:35;3200:2;3189:9;3185:18;3169:35;:::i;3215:254::-;3283:6;3291;3344:2;3332:9;3323:7;3319:23;3315:32;3312:52;;;3360:1;3357;3350:12;3312:52;3383:29;3402:9;3383:29;:::i;:::-;3373:39;3459:2;3444:18;;;;3431:32;;-1:-1:-1;;;3215:254:1:o;3474:180::-;3530:6;3583:2;3571:9;3562:7;3558:23;3554:32;3551:52;;;3599:1;3596;3589:12;3551:52;3622:26;3638:9;3622:26;:::i;3659:180::-;3718:6;3771:2;3759:9;3750:7;3746:23;3742:32;3739:52;;;3787:1;3784;3777:12;3739:52;-1:-1:-1;3810:23:1;;3659:180;-1:-1:-1;3659:180:1:o;3844:484::-;3946:6;3954;3962;4015:2;4003:9;3994:7;3990:23;3986:32;3983:52;;;4031:1;4028;4021:12;3983:52;4067:9;4054:23;4044:33;;4124:2;4113:9;4109:18;4096:32;4086:42;;4179:2;4168:9;4164:18;4151:32;-1:-1:-1;;;;;4198:6:1;4195:30;4192:50;;;4238:1;4235;4228:12;4192:50;4261:61;4314:7;4305:6;4294:9;4290:22;4261:61;:::i;:::-;4251:71;;;3844:484;;;;;:::o;4333:245::-;4391:6;4444:2;4432:9;4423:7;4419:23;4415:32;4412:52;;;4460:1;4457;4450:12;4412:52;4499:9;4486:23;4518:30;4542:5;4518:30;:::i;4583:249::-;4652:6;4705:2;4693:9;4684:7;4680:23;4676:32;4673:52;;;4721:1;4718;4711:12;4673:52;4753:9;4747:16;4772:30;4796:5;4772:30;:::i;4837:450::-;4906:6;4959:2;4947:9;4938:7;4934:23;4930:32;4927:52;;;4975:1;4972;4965:12;4927:52;5015:9;5002:23;-1:-1:-1;;;;;5040:6:1;5037:30;5034:50;;;5080:1;5077;5070:12;5034:50;5103:22;;5156:4;5148:13;;5144:27;-1:-1:-1;5134:55:1;;5185:1;5182;5175:12;5134:55;5208:73;5273:7;5268:2;5255:16;5250:2;5246;5242:11;5208:73;:::i;5477:254::-;5545:6;5553;5606:2;5594:9;5585:7;5581:23;5577:32;5574:52;;;5622:1;5619;5612:12;5574:52;5658:9;5645:23;5635:33;;5687:38;5721:2;5710:9;5706:18;5687:38;:::i;6225:257::-;6266:3;6304:5;6298:12;6331:6;6326:3;6319:19;6347:63;6403:6;6396:4;6391:3;6387:14;6380:4;6373:5;6369:16;6347:63;:::i;:::-;6464:2;6443:15;-1:-1:-1;;6439:29:1;6430:39;;;;6471:4;6426:50;;6225:257;-1:-1:-1;;6225:257:1:o;6973:1527::-;7197:3;7235:6;7229:13;7261:4;7274:51;7318:6;7313:3;7308:2;7300:6;7296:15;7274:51;:::i;:::-;7388:13;;7347:16;;;;7410:55;7388:13;7347:16;7432:15;;;7410:55;:::i;:::-;7554:13;;7487:20;;;7527:1;;7614;7636:18;;;;7689;;;;7716:93;;7794:4;7784:8;7780:19;7768:31;;7716:93;7857:2;7847:8;7844:16;7824:18;7821:40;7818:167;;;-1:-1:-1;;;7884:33:1;;7940:4;7937:1;7930:15;7970:4;7891:3;7958:17;7818:167;8001:18;8028:110;;;;8152:1;8147:328;;;;7994:481;;8028:110;-1:-1:-1;;8063:24:1;;8049:39;;8108:20;;;;-1:-1:-1;8028:110:1;;8147:328;15983:1;15976:14;;;16020:4;16007:18;;8242:1;8256:169;8270:8;8267:1;8264:15;8256:169;;;8352:14;;8337:13;;;8330:37;8395:16;;;;8287:10;;8256:169;;;8260:3;;8456:8;8449:5;8445:20;8438:27;;7994:481;-1:-1:-1;8491:3:1;;6973:1527;-1:-1:-1;;;;;;;;;;;6973:1527:1:o;8713:488::-;-1:-1:-1;;;;;8982:15:1;;;8964:34;;9034:15;;9029:2;9014:18;;9007:43;9081:2;9066:18;;9059:34;;;9129:3;9124:2;9109:18;;9102:31;;;8907:4;;9150:45;;9175:19;;9167:6;9150:45;:::i;:::-;9142:53;8713:488;-1:-1:-1;;;;;;8713:488:1:o;9206:632::-;9377:2;9429:21;;;9499:13;;9402:18;;;9521:22;;;9348:4;;9377:2;9600:15;;;;9574:2;9559:18;;;9348:4;9643:169;9657:6;9654:1;9651:13;9643:169;;;9718:13;;9706:26;;9787:15;;;;9752:12;;;;9679:1;9672:9;9643:169;;;-1:-1:-1;9829:3:1;;9206:632;-1:-1:-1;;;;;;9206:632:1:o;10035:219::-;10184:2;10173:9;10166:21;10147:4;10204:44;10244:2;10233:9;10229:18;10221:6;10204:44;:::i;10666:344::-;10868:2;10850:21;;;10907:2;10887:18;;;10880:30;-1:-1:-1;;;10941:2:1;10926:18;;10919:50;11001:2;10986:18;;10666:344::o;12815:356::-;13017:2;12999:21;;;13036:18;;;13029:30;13095:34;13090:2;13075:18;;13068:62;13162:2;13147:18;;12815:356::o;13176:347::-;13378:2;13360:21;;;13417:2;13397:18;;;13390:30;13456:25;13451:2;13436:18;;13429:53;13514:2;13499:18;;13176:347::o;13944:344::-;14146:2;14128:21;;;14185:2;14165:18;;;14158:30;-1:-1:-1;;;14219:2:1;14204:18;;14197:50;14279:2;14264:18;;13944:344::o;14293:398::-;14495:2;14477:21;;;14534:2;14514:18;;;14507:30;14573:34;14568:2;14553:18;;14546:62;-1:-1:-1;;;14639:2:1;14624:18;;14617:32;14681:3;14666:19;;14293:398::o;15630:275::-;15701:2;15695:9;15766:2;15747:13;;-1:-1:-1;;15743:27:1;15731:40;;-1:-1:-1;;;;;15786:34:1;;15822:22;;;15783:62;15780:88;;;15848:18;;:::i;:::-;15884:2;15877:22;15630:275;;-1:-1:-1;15630:275:1:o;16036:128::-;16076:3;16107:1;16103:6;16100:1;16097:13;16094:39;;;16113:18;;:::i;:::-;-1:-1:-1;16149:9:1;;16036:128::o;16169:120::-;16209:1;16235;16225:35;;16240:18;;:::i;:::-;-1:-1:-1;16274:9:1;;16169:120::o;16294:168::-;16334:7;16400:1;16396;16392:6;16388:14;16385:1;16382:21;16377:1;16370:9;16363:17;16359:45;16356:71;;;16407:18;;:::i;:::-;-1:-1:-1;16447:9:1;;16294:168::o;16467:125::-;16507:4;16535:1;16532;16529:8;16526:34;;;16540:18;;:::i;:::-;-1:-1:-1;16577:9:1;;16467:125::o;16597:258::-;16669:1;16679:113;16693:6;16690:1;16687:13;16679:113;;;16769:11;;;16763:18;16750:11;;;16743:39;16715:2;16708:10;16679:113;;;16810:6;16807:1;16804:13;16801:48;;;-1:-1:-1;;16845:1:1;16827:16;;16820:27;16597:258::o;16860:380::-;16939:1;16935:12;;;;16982;;;17003:61;;17057:4;17049:6;17045:17;17035:27;;17003:61;17110:2;17102:6;17099:14;17079:18;17076:38;17073:161;;;17156:10;17151:3;17147:20;17144:1;17137:31;17191:4;17188:1;17181:15;17219:4;17216:1;17209:15;17073:161;;16860:380;;;:::o;17245:135::-;17284:3;-1:-1:-1;;17305:17:1;;17302:43;;;17325:18;;:::i;:::-;-1:-1:-1;17372:1:1;17361:13;;17245:135::o;17385:112::-;17417:1;17443;17433:35;;17448:18;;:::i;:::-;-1:-1:-1;17482:9:1;;17385:112::o;17502:127::-;17563:10;17558:3;17554:20;17551:1;17544:31;17594:4;17591:1;17584:15;17618:4;17615:1;17608:15;17634:127;17695:10;17690:3;17686:20;17683:1;17676:31;17726:4;17723:1;17716:15;17750:4;17747:1;17740:15;17766:127;17827:10;17822:3;17818:20;17815:1;17808:31;17858:4;17855:1;17848:15;17882:4;17879:1;17872:15;17898:127;17959:10;17954:3;17950:20;17947:1;17940:31;17990:4;17987:1;17980:15;18014:4;18011:1;18004:15;18030:131;-1:-1:-1;;;;;;18104:32:1;;18094:43;;18084:71;;18151:1;18148;18141:12

Swarm Source

ipfs://4b634e521862027a6e14668a0ba05658f19adb02262a6c8abb0c4a0bc71c05b3

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.