ETH Price: $3,355.77 (+0.13%)

Contract

0x52dAa968dc4c5F49A0e97C960FBBF79ba6BCD992
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...210047202024-10-20 5:32:4734 days ago1729402367IN
0x52dAa968...ba6BCD992
0 ETH0.000318196.89166703
Set Approval For...202474012024-07-06 12:15:47139 days ago1720268147IN
0x52dAa968...ba6BCD992
0 ETH0.000118182.55965599
Set Approval For...198179882024-05-07 11:48:11200 days ago1715082491IN
0x52dAa968...ba6BCD992
0 ETH0.000284796.16829047
Set Approval For...197641002024-04-29 22:59:35207 days ago1714431575IN
0x52dAa968...ba6BCD992
0 ETH0.00028816.24002011
Set Approval For...197564392024-04-28 21:16:59208 days ago1714339019IN
0x52dAa968...ba6BCD992
0 ETH0.00026855.81541596
Set Approval For...194993262024-03-23 19:17:47244 days ago1711221467IN
0x52dAa968...ba6BCD992
0 ETH0.000858818.60056335
Set Approval For...192957612024-02-24 6:49:47273 days ago1708757387IN
0x52dAa968...ba6BCD992
0 ETH0.0006032224.78034593
Set Approval For...191595262024-02-05 3:53:11292 days ago1707105191IN
0x52dAa968...ba6BCD992
0 ETH0.000522311.29194752
Set Approval For...188483722023-12-23 11:59:35336 days ago1703332775IN
0x52dAa968...ba6BCD992
0 ETH0.0007748431.9403333
Set Approval For...188371882023-12-21 22:21:47337 days ago1703197307IN
0x52dAa968...ba6BCD992
0 ETH0.001540833.37179411
Set Approval For...188104602023-12-18 4:20:35341 days ago1702873235IN
0x52dAa968...ba6BCD992
0 ETH0.0010541443.30383223
Set Approval For...187309842023-12-07 0:56:47352 days ago1701910607IN
0x52dAa968...ba6BCD992
0 ETH0.0019308541.81966997
Transfer From184954542023-11-04 1:38:35385 days ago1699061915IN
0x52dAa968...ba6BCD992
0 ETH0.0009441516.36652823
Set Approval For...184607442023-10-30 4:58:23390 days ago1698641903IN
0x52dAa968...ba6BCD992
0 ETH0.000438629.50003679
Transfer From184226352023-10-24 20:55:47395 days ago1698180947IN
0x52dAa968...ba6BCD992
0 ETH0.0011284419.56525655
Set Approval For...183319782023-10-12 4:34:11408 days ago1697085251IN
0x52dAa968...ba6BCD992
0 ETH0.00025835.5945679
Transfer From180337942023-08-31 9:54:59450 days ago1693475699IN
0x52dAa968...ba6BCD992
0 ETH0.0008607814.92449106
Set Approval For...178776082023-08-09 13:20:47471 days ago1691587247IN
0x52dAa968...ba6BCD992
0 ETH0.0012380626.814802
Set Approval For...176720762023-07-11 18:12:35500 days ago1689099155IN
0x52dAa968...ba6BCD992
0 ETH0.0012228726.4856922
Set Approval For...176049622023-07-02 7:52:11510 days ago1688284331IN
0x52dAa968...ba6BCD992
0 ETH0.0005645712.22797209
Set Approval For...172893502023-05-18 22:17:47554 days ago1684448267IN
0x52dAa968...ba6BCD992
0 ETH0.0017587138.0912503
Set Approval For...171329322023-04-26 21:00:59576 days ago1682542859IN
0x52dAa968...ba6BCD992
0 ETH0.0022071347.80359575
Set Approval For...170089612023-04-09 6:24:23594 days ago1681021463IN
0x52dAa968...ba6BCD992
0 ETH0.0004843119.89549257
Set Approval For...168628322023-03-19 16:05:11614 days ago1679241911IN
0x52dAa968...ba6BCD992
0 ETH0.0010964523.74762095
Set Approval For...168549832023-03-18 13:37:23615 days ago1679146643IN
0x52dAa968...ba6BCD992
0 ETH0.0007784616.86047076
View all transactions

Latest 22 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
144618202022-03-26 12:25:37972 days ago1648297537
0x52dAa968...ba6BCD992
3.04 ETH
144618112022-03-26 12:23:39972 days ago1648297419
0x52dAa968...ba6BCD992
10 ETH
144617832022-03-26 12:17:52972 days ago1648297072
0x52dAa968...ba6BCD992
10 ETH
144617642022-03-26 12:14:25972 days ago1648296865
0x52dAa968...ba6BCD992
1 ETH
142608862022-02-23 7:02:281004 days ago1645599748
0x52dAa968...ba6BCD992
0.5 ETH
142594692022-02-23 1:47:141004 days ago1645580834
0x52dAa968...ba6BCD992
0.5 ETH
142592342022-02-23 0:53:131004 days ago1645577593
0x52dAa968...ba6BCD992
11.5 ETH
142592302022-02-23 0:52:091004 days ago1645577529
0x52dAa968...ba6BCD992
11.5 ETH
142591122022-02-23 0:26:151004 days ago1645575975
0x52dAa968...ba6BCD992
12.3 ETH
142590932022-02-23 0:23:241004 days ago1645575804
0x52dAa968...ba6BCD992
25.5 ETH
142590732022-02-23 0:18:431004 days ago1645575523
0x52dAa968...ba6BCD992
1 ETH
142590022022-02-23 0:04:171004 days ago1645574657
0x52dAa968...ba6BCD992
1 ETH
142580612022-02-22 20:42:091004 days ago1645562529
0x52dAa968...ba6BCD992
23 ETH
142576772022-02-22 19:13:481004 days ago1645557228
0x52dAa968...ba6BCD992
7 ETH
142527912022-02-22 1:03:411005 days ago1645491821
0x52dAa968...ba6BCD992
8 ETH
142515272022-02-21 20:14:431005 days ago1645474483
0x52dAa968...ba6BCD992
2 ETH
142513382022-02-21 19:35:211005 days ago1645472121
0x52dAa968...ba6BCD992
2 ETH
142456612022-02-20 22:29:391006 days ago1645396179
0x52dAa968...ba6BCD992
2 ETH
142402502022-02-20 2:29:321007 days ago1645324172
0x52dAa968...ba6BCD992
10 ETH
142400002022-02-20 1:34:421007 days ago1645320882
0x52dAa968...ba6BCD992
5.4 ETH
142271272022-02-18 1:25:351009 days ago1645147535
0x52dAa968...ba6BCD992
1 ETH
142270852022-02-18 1:17:461009 days ago1645147066
0x52dAa968...ba6BCD992
1 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SuperApesClub

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// @title:  SUPER APES CLUB
// @desc:   10,000 SUPER APES LIVING ON THE ETHEREUM BLOCKCHAIN
// @url:    https://superapesclub.com
// @twitter: https://twitter.com/superapesclub
// @instagram:   https://www.instagram.com/superapesclub


pragma solidity >=0.8.0;

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

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

/**
 * @dev Contract module that helps prevent reentrant caolls 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/Counters.sol

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/access/Ownable.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol

// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

// File: HCW.sol

//SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

contract SuperApesClub is ERC721, Ownable, ReentrancyGuard {
    using Counters for Counters.Counter;
    Counters.Counter public totalSupply;

    mapping(address => bool) whitelist;
    mapping(address => bool) presaleWhitelist;

    string private baseURI; 
    string private unrevealedTokenURI; 
    uint256 public maxTokens = 10000;
    uint256 public maxPresaleTokens = 6000; 
    uint256 public maxTokensPerWallet = 4; 
    uint256 public maxMintPerTxPresale = 4; 
    uint256 public maxMintPerTx = 4; 
    uint256 public tokensReserved = 90;
    uint256 public presalePrice = 0.07 ether;
    uint256 public price = 0.07 ether;

    bool public revealed = false;
    bool public paused = true;
    bool public presaleActive = true;
    bool public publicSaleActive = false;

    string public SAC_PROVENANCE;

    address a1 = 0xC2FFb0534d3173Cb787e6e2B352621205cA8f0B0;
    address a2 = 0x7059b23395781590DC869ee72c599C2B0C91ad49;

    event TokenMinted(uint256 tokenId);

    constructor() ERC721("SuperApesClub", "SAC") {}

    modifier whitelistFunction(address[] memory _addresses, bool _presale) {
        if (_presale) {
            require(!publicSaleActive, "Presale already ended!");
        }
        require(
            _addresses.length >= 1,
            "You need to send at least one address!"
        );
        _;
    }

    function setMaxPresaleTokens(uint256 _maxPresaleTokens)
        external
        onlyOwner
    {
        maxPresaleTokens = _maxPresaleTokens;
    }


    /*
    * set Max Tokens limit Per Wallet
    */
    function setMaxTokensPerWallet(uint256 _maxTokensPerWallet)
        external
        onlyOwner
    {
        maxTokensPerWallet = _maxTokensPerWallet;
    }


    /*
    * set Max Mint Per Tx pre sale
    */
    function setMaxMintPerTxPresale(uint256 _maxMintPerTxPresale)
        external
        onlyOwner
    {
        maxMintPerTxPresale = _maxMintPerTxPresale;
    }


    /*
    * set Max Mint Per Tx public sale
    */
    function setMaxMintPerTx(uint256 _maxMintPerTx) external onlyOwner {
        maxMintPerTx = _maxMintPerTx;
    }


    /*
    * setUnrevealedTokenURI
    */
    function setUnrevealedTokenURI(string memory _unrevealedTokenURI)
        external
        onlyOwner
    {
        unrevealedTokenURI = _unrevealedTokenURI;
    }

    /*
     * Pause sale if active, make active if paused
     */
    function toggleMinting() public onlyOwner {
        paused = !paused;
    }


    /*
    * Reveals token once all tokens are minted
    */    
    function reveal() external onlyOwner {
        revealed = true;
    }


    /*
    * Set Base URI 
    */
    function setBaseURI(string memory _URI) external onlyOwner {
        baseURI = _URI;
    }

    /*
     * Set provenance immediately upon deployment of the contract, prior to starting the pre-sale
     */
    function setProvenance(string memory _provenance) public onlyOwner {
        SAC_PROVENANCE = _provenance;
    }

    /*
     *end presale
     */
    function endPresale() public onlyOwner {
        require(presaleActive, "Presale is not active!");
        presaleActive = false;
    }

    /*
     *startPublicSale
     */
    function startPublicSale() public onlyOwner {
        require(
            !presaleActive,
            "Presale is still active! End it first with calling endPresale() function."
        );
        require(!publicSaleActive, "Public sale is already active!");
        publicSaleActive = true;
    }

    /*
     *addToWhitelist
     */

    function addToWhitelist(address[] memory _addresses, bool _presale)
        public
        onlyOwner
        whitelistFunction(_addresses, _presale)
    {
        if (_presale) {
            require(presaleActive, "Presale is not active anymore!");
        }
        for (uint256 i = 0; i < _addresses.length; i++) {
            if (_presale) {
                presaleWhitelist[_addresses[i]] = true;
            } else {
                whitelist[_addresses[i]] = true;
            }
        }
    }

    /*
     *removeFromwhitelist
     */

    function removeFromwhitelist(address[] memory _addresses, bool _presale)
        public
        onlyOwner
        whitelistFunction(_addresses, _presale)
    {
        for (uint256 i = 0; i < _addresses.length; i++) {
            if (_presale) {
                presaleWhitelist[_addresses[i]] = false;
            } else {
                whitelist[_addresses[i]] = false;
            }
        }
    }

    /*
     *_baseURI
     */

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

    /*
     *tokenURI
     */

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

        if (revealed) {
            return
                string(
                    abi.encodePacked(
                        _baseURI(),
                        Strings.toString(tokenId),
                        ".json"
                    )
                );
        } else {
            return unrevealedTokenURI;
        }
    }

    /*
     *checkAddressForPresale
     */
    function checkAddressForPresale(address _address)
        public
        view
        returns (bool)
    {
        if (presaleWhitelist[_address]) {
            return true;
        } else {
            return false;
        }
    }

    /*
     *checkAddressForPublicSale
     */
    function checkAddressForPublicSale(address _address)
        public
        view
        returns (bool)
    {
        if (whitelist[_address]) {
            return true;
        } else {
            return false;
        }
    }

    /*
     * claims reserved
     */

    function claimReserved(uint256 _amount) public onlyOwner {
        require(
            _amount <= tokensReserved,
            "Can't claim more than reserved tokens left."
        );

        for (uint256 i = 0; i < _amount; i++) {
            totalSupply.increment();
            uint256 newItemId = totalSupply.current();
            _safeMint(msg.sender, newItemId);
            emit TokenMinted(newItemId);
        }

        tokensReserved = tokensReserved - _amount;
    }

    /**
     * Mints Super Apes
     */
    function mintSuperApe(uint256 _amount) public payable {
        require(!paused, "Minting is paused!");

        require(
            presaleActive || publicSaleActive,
            "Public sale has not started yet!"
        );

        if (presaleActive) {
            if (owner() != msg.sender) {
                require(
                    presaleWhitelist[msg.sender],
                    "You are not whitelisted to participate on presale!"
                );
                require(
                    _amount > 0 && _amount <= maxMintPerTxPresale,
                    string(
                        abi.encodePacked(
                            "You can't buy more than ",
                            Strings.toString(maxMintPerTxPresale),
                            " tokens per transaction"
                        )
                    )
                );
            }

            require(
                maxPresaleTokens >= _amount + totalSupply.current(),
                "Not enough presale tokens left!"
            );
            require(
                msg.value >= presalePrice * _amount,
                string(
                    abi.encodePacked(
                        "Not enough ETH! At least ",
                        Strings.toString(presalePrice * _amount),
                        " wei has to be sent!"
                    )
                )
            );
        } else {
            if (owner() != msg.sender) {
                require(
                    whitelist[msg.sender],
                    "You are not whitelisted to participate on public sale!"
                );
                require(
                    _amount > 0 && _amount <= maxMintPerTx,
                    string(
                        abi.encodePacked(
                            "You can't buy more than ",
                            Strings.toString(maxMintPerTx),
                            " tokens per transaction."
                        )
                    )
                );
            }

            require(
                maxTokens >= _amount + totalSupply.current(),
                "Not enough tokens left!"
            );
            require(
                msg.value >= price * _amount,
                string(
                    abi.encodePacked(
                        "Not enough ETH! At least ",
                        Strings.toString(price * _amount),
                        " wei has to be sent!"
                    )
                )
            );
        }

        if (owner() != msg.sender) {
            require(
                maxTokens >= _amount + totalSupply.current() + tokensReserved,
                "Not enough tokens left!"
            );
            
            require(
                maxTokensPerWallet >= balanceOf(msg.sender) + _amount,
                "Max token count per wallet exceeded!"
            );
        }
        for (uint256 i = 0; i < _amount; i++) {
            totalSupply.increment();
            uint256 newItemId = totalSupply.current();
            _safeMint(msg.sender, newItemId);
            emit TokenMinted(newItemId);
        }
    }

    /*
     *withdrawAll
     */

    function withdrawAll() public onlyOwner nonReentrant {
        (bool success, ) = payable(owner()).call{value: address(this).balance}(
            ""
        );
        require(success, "");
    }

    /*
     *withdraw
     */
    function withdraw(uint256 _weiAmount, address _to)
        public
        onlyOwner
        nonReentrant
    {
        require(_to == a1 || _to == a2, "This address is not in allowed list");

        require(
            address(this).balance >= _weiAmount,
            "Not enough ETH to withdraw!"
        );

        (bool success, ) = payable(_to).call{value: _weiAmount}("");
        require(success, "");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TokenMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"SAC_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"bool","name":"_presale","type":"bool"}],"name":"addToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"checkAddressForPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"checkAddressForPublicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claimReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxMintPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintPerTxPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokensPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintSuperApe","outputs":[],"stateMutability":"payable","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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"bool","name":"_presale","type":"bool"}],"name":"removeFromwhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerTx","type":"uint256"}],"name":"setMaxMintPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintPerTxPresale","type":"uint256"}],"name":"setMaxMintPerTxPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPresaleTokens","type":"uint256"}],"name":"setMaxPresaleTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTokensPerWallet","type":"uint256"}],"name":"setMaxTokensPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_unrevealedTokenURI","type":"string"}],"name":"setUnrevealedTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","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":[],"name":"toggleMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"_value","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":[{"internalType":"uint256","name":"_weiAmount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052612710600d55611770600e556004600f8190556010819055601155605a60125566f8b0a10e47000060138190556014556015805463ffffffff191662010100179055601780546001600160a01b031990811673c2ffb0534d3173cb787e6e2b352621205ca8f0b01790915560188054909116737059b23395781590dc869ee72c599c2b0c91ad491790553480156200009b57600080fd5b50604080518082018252600d81526c29bab832b920b832b9a1b63ab160991b60208083019182528351808501909452600384526253414360e81b908401528151919291620000ec9160009162000180565b5080516200010290600190602084019062000180565b5050506200011f620001196200012a60201b60201c565b6200012e565b600160075562000263565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200018e9062000226565b90600052602060002090601f016020900481019282620001b25760008555620001fd565b82601f10620001cd57805160ff1916838001178555620001fd565b82800160010185558215620001fd579182015b82811115620001fd578251825591602001919060010190620001e0565b506200020b9291506200020f565b5090565b5b808211156200020b576000815560010162000210565b600181811c908216806200023b57607f821691505b602082108114156200025d57634e487b7160e01b600052602260045260246000fd5b50919050565b61313c80620002736000396000f3fe6080604052600436106102ac5760003560e01c80636352211e11610175578063a035b1fe116100dc578063bc8893b411610095578063e83157421161006f578063e8315742146107d4578063e985e9c5146107ea578063f2fde38b14610833578063ffe630b51461085357600080fd5b8063bc8893b41461077d578063c87b56dd1461079e578063de7fcb1d146107be57600080fd5b8063a035b1fe146106dd578063a22cb465146106f3578063a43be57b14610713578063a475b5dd14610728578063aac5d69f1461073d578063b88d4fde1461075d57600080fd5b8063853828b61161012e578063853828b61461064c5780638581c4ec146106615780638c8acaa9146106745780638da5cb5b1461069457806393e6a071146106b257806395d89b41146106c857600080fd5b80636352211e146105a257806370a08231146105c2578063715018a6146105e257806372537189146105f75780637d55094d14610617578063820de0c51461062c57600080fd5b80632b45079e116102195780634a427725116101d25780634a427725146104e9578063518302271461050957806353135ca01461052357806355f804b3146105435780635c975abb14610563578063616cdb1e1461058257600080fd5b80632b45079e14610448578063408ae5851461046857806342842e0e14610488578063433adb05146104a857806345912352146104be578063469132ce146104d357600080fd5b8063095ea7b31161026b578063095ea7b3146103a65780630c1c972a146103c657806318160ddd146103db57806323b872dd146103f25780632417f31d1461041257806326f8f7e61461042857600080fd5b80620e7fa8146102b1578062f714ce146102da57806301ffc9a7146102fc57806306fdde031461032c578063076102fc1461034e578063081812fc1461036e575b600080fd5b3480156102bd57600080fd5b506102c760135481565b6040519081526020015b60405180910390f35b3480156102e657600080fd5b506102fa6102f5366004612c42565b610873565b005b34801561030857600080fd5b5061031c610317366004612ba6565b610a56565b60405190151581526020016102d1565b34801561033857600080fd5b50610341610aa8565b6040516102d19190612e3e565b34801561035a57600080fd5b506102fa610369366004612ae0565b610b3a565b34801561037a57600080fd5b5061038e610389366004612c29565b610cc0565b6040516001600160a01b0390911681526020016102d1565b3480156103b257600080fd5b506102fa6103c1366004612ab6565b610d55565b3480156103d257600080fd5b506102fa610e6b565b3480156103e757600080fd5b506008546102c79081565b3480156103fe57600080fd5b506102fa61040d3660046129d4565b610f95565b34801561041e57600080fd5b506102c7600e5481565b34801561043457600080fd5b506102fa610443366004612c29565b610fc6565b34801561045457600080fd5b5061031c61046336600461297f565b6110e1565b34801561047457600080fd5b506102fa610483366004612ae0565b611117565b34801561049457600080fd5b506102fa6104a33660046129d4565b6112f4565b3480156104b457600080fd5b506102c760125481565b3480156104ca57600080fd5b5061034161130f565b3480156104df57600080fd5b506102c7600f5481565b3480156104f557600080fd5b506102fa610504366004612c29565b61139d565b34801561051557600080fd5b5060155461031c9060ff1681565b34801561052f57600080fd5b5060155461031c9062010000900460ff1681565b34801561054f57600080fd5b506102fa61055e366004612be0565b6113cc565b34801561056f57600080fd5b5060155461031c90610100900460ff1681565b34801561058e57600080fd5b506102fa61059d366004612c29565b61140d565b3480156105ae57600080fd5b5061038e6105bd366004612c29565b61143c565b3480156105ce57600080fd5b506102c76105dd36600461297f565b6114b3565b3480156105ee57600080fd5b506102fa61153a565b34801561060357600080fd5b506102fa610612366004612c29565b611570565b34801561062357600080fd5b506102fa61159f565b34801561063857600080fd5b506102fa610647366004612be0565b6115e6565b34801561065857600080fd5b506102fa611623565b6102fa61066f366004612c29565b61173b565b34801561068057600080fd5b5061031c61068f36600461297f565b611ce5565b3480156106a057600080fd5b506006546001600160a01b031661038e565b3480156106be57600080fd5b506102c760105481565b3480156106d457600080fd5b50610341611d0e565b3480156106e957600080fd5b506102c760145481565b3480156106ff57600080fd5b506102fa61070e366004612a8c565b611d1d565b34801561071f57600080fd5b506102fa611d28565b34801561073457600080fd5b506102fa611db1565b34801561074957600080fd5b506102fa610758366004612c29565b611dea565b34801561076957600080fd5b506102fa610778366004612a10565b611e19565b34801561078957600080fd5b5060155461031c906301000000900460ff1681565b3480156107aa57600080fd5b506103416107b9366004612c29565b611e51565b3480156107ca57600080fd5b506102c760115481565b3480156107e057600080fd5b506102c7600d5481565b3480156107f657600080fd5b5061031c6108053660046129a1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561083f57600080fd5b506102fa61084e36600461297f565b611f8d565b34801561085f57600080fd5b506102fa61086e366004612be0565b612028565b6006546001600160a01b031633146108a65760405162461bcd60e51b815260040161089d90612ee9565b60405180910390fd5b600260075414156108f95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b60026007556017546001600160a01b038281169116148061092757506018546001600160a01b038281169116145b61097f5760405162461bcd60e51b815260206004820152602360248201527f546869732061646472657373206973206e6f7420696e20616c6c6f776564206c6044820152621a5cdd60ea1b606482015260840161089d565b814710156109cf5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682045544820746f207769746864726177210000000000604482015260640161089d565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114610a1c576040519150601f19603f3d011682016040523d82523d6000602084013e610a21565b606091505b5050905080610a4c5760405162461bcd60e51b8152602060048201526000602482015260440161089d565b5050600160075550565b60006001600160e01b031982166380ac58cd60e01b1480610a8757506001600160e01b03198216635b5e139f60e01b145b80610aa257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610ab79061302e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae39061302e565b8015610b305780601f10610b0557610100808354040283529160200191610b30565b820191906000526020600020905b815481529060010190602001808311610b1357829003601f168201915b5050505050905090565b6006546001600160a01b03163314610b645760405162461bcd60e51b815260040161089d90612ee9565b81818015610bbf576015546301000000900460ff1615610bbf5760405162461bcd60e51b815260206004820152601660248201527550726573616c6520616c726561647920656e6465642160501b604482015260640161089d565b600182511015610be15760405162461bcd60e51b815260040161089d90612ea3565b60005b8451811015610cb9578315610c4f576000600a6000878481518110610c0b57610c0b6130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610ca7565b600060096000878481518110610c6757610c676130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610cb181613069565b915050610be4565b5050505050565b6000818152600260205260408120546001600160a01b0316610d395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089d565b506000908152600460205260409020546001600160a01b031690565b6000610d608261143c565b9050806001600160a01b0316836001600160a01b03161415610dce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161089d565b336001600160a01b0382161480610dea5750610dea8133610805565b610e5c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161089d565b610e668383612065565b505050565b6006546001600160a01b03163314610e955760405162461bcd60e51b815260040161089d90612ee9565b60155462010000900460ff1615610f265760405162461bcd60e51b815260206004820152604960248201527f50726573616c65206973207374696c6c206163746976652120456e642069742060448201527f666972737420776974682063616c6c696e6720656e6450726573616c65282920606482015268333ab731ba34b7b71760b91b608482015260a40161089d565b6015546301000000900460ff1615610f805760405162461bcd60e51b815260206004820152601e60248201527f5075626c69632073616c6520697320616c726561647920616374697665210000604482015260640161089d565b6015805463ff00000019166301000000179055565b610f9f33826120d3565b610fbb5760405162461bcd60e51b815260040161089d90612f1e565b610e668383836121ca565b6006546001600160a01b03163314610ff05760405162461bcd60e51b815260040161089d90612ee9565b6012548111156110565760405162461bcd60e51b815260206004820152602b60248201527f43616e277420636c61696d206d6f7265207468616e207265736572766564207460448201526a37b5b2b739903632b33a1760a91b606482015260840161089d565b60005b818110156110cc5761106f600880546001019055565b600061107a60085490565b9050611086338261236a565b6040518181527ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e9060200160405180910390a150806110c481613069565b915050611059565b50806012546110db9190612feb565b60125550565b6001600160a01b03811660009081526009602052604081205460ff161561110a57506001919050565b506000919050565b919050565b6006546001600160a01b031633146111415760405162461bcd60e51b815260040161089d90612ee9565b8181801561119c576015546301000000900460ff161561119c5760405162461bcd60e51b815260206004820152601660248201527550726573616c6520616c726561647920656e6465642160501b604482015260640161089d565b6001825110156111be5760405162461bcd60e51b815260040161089d90612ea3565b821561121c5760155462010000900460ff1661121c5760405162461bcd60e51b815260206004820152601e60248201527f50726573616c65206973206e6f742061637469766520616e796d6f7265210000604482015260640161089d565b60005b8451811015610cb957831561128a576001600a6000878481518110611246576112466130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506112e2565b6001600960008784815181106112a2576112a26130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806112ec81613069565b91505061121f565b610e6683838360405180602001604052806000815250611e19565b6016805461131c9061302e565b80601f01602080910402602001604051908101604052809291908181526020018280546113489061302e565b80156113955780601f1061136a57610100808354040283529160200191611395565b820191906000526020600020905b81548152906001019060200180831161137857829003601f168201915b505050505081565b6006546001600160a01b031633146113c75760405162461bcd60e51b815260040161089d90612ee9565b601055565b6006546001600160a01b031633146113f65760405162461bcd60e51b815260040161089d90612ee9565b805161140990600b906020840190612867565b5050565b6006546001600160a01b031633146114375760405162461bcd60e51b815260040161089d90612ee9565b601155565b6000818152600260205260408120546001600160a01b031680610aa25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161089d565b60006001600160a01b03821661151e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161089d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146115645760405162461bcd60e51b815260040161089d90612ee9565b61156e6000612384565b565b6006546001600160a01b0316331461159a5760405162461bcd60e51b815260040161089d90612ee9565b600e55565b6006546001600160a01b031633146115c95760405162461bcd60e51b815260040161089d90612ee9565b6015805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b031633146116105760405162461bcd60e51b815260040161089d90612ee9565b805161140990600c906020840190612867565b6006546001600160a01b0316331461164d5760405162461bcd60e51b815260040161089d90612ee9565b600260075414156116a05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b600260075560006116b96006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611703576040519150601f19603f3d011682016040523d82523d6000602084013e611708565b606091505b50509050806117335760405162461bcd60e51b8152602060048201526000602482015260440161089d565b506001600755565b601554610100900460ff16156117885760405162461bcd60e51b81526020600482015260126024820152714d696e74696e67206973207061757365642160701b604482015260640161089d565b60155462010000900460ff16806117a857506015546301000000900460ff165b6117f45760405162461bcd60e51b815260206004820181905260248201527f5075626c69632073616c6520686173206e6f7420737461727465642079657421604482015260640161089d565b60155462010000900460ff16156119c457336118186006546001600160a01b031690565b6001600160a01b0316146118fc57336000908152600a602052604090205460ff166118a05760405162461bcd60e51b815260206004820152603260248201527f596f7520617265206e6f742077686974656c697374656420746f207061727469604482015271636970617465206f6e2070726573616c652160701b606482015260840161089d565b6000811180156118b257506010548111155b6118bd6010546123d6565b6040516020016118cd9190612d9a565b604051602081830303815290604052906118fa5760405162461bcd60e51b815260040161089d9190612e3e565b505b6008546119099082612fa0565b600e54101561195a5760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f7567682070726573616c6520746f6b656e73206c6566742100604482015260640161089d565b806013546119689190612fcc565b3410156119818260135461197c9190612fcc565b6123d6565b6040516020016119919190612cd0565b604051602081830303815290604052906119be5760405162461bcd60e51b815260040161089d9190612e3e565b50611b78565b336119d76006546001600160a01b031690565b6001600160a01b031614611abf573360009081526009602052604090205460ff16611a635760405162461bcd60e51b815260206004820152603660248201527f596f7520617265206e6f742077686974656c697374656420746f207061727469604482015275636970617465206f6e207075626c69632073616c652160501b606482015260840161089d565b600081118015611a7557506011548111155b611a806011546123d6565b604051602001611a909190612d33565b60405160208183030381529060405290611abd5760405162461bcd60e51b815260040161089d9190612e3e565b505b600854611acc9082612fa0565b600d541015611b175760405162461bcd60e51b81526020600482015260176024820152764e6f7420656e6f75676820746f6b656e73206c6566742160481b604482015260640161089d565b80601454611b259190612fcc565b341015611b398260145461197c9190612fcc565b604051602001611b499190612cd0565b60405160208183030381529060405290611b765760405162461bcd60e51b815260040161089d9190612e3e565b505b33611b8b6006546001600160a01b031690565b6001600160a01b031614611c6f57601254600854611ba99083612fa0565b611bb39190612fa0565b600d541015611bfe5760405162461bcd60e51b81526020600482015260176024820152764e6f7420656e6f75676820746f6b656e73206c6566742160481b604482015260640161089d565b80611c08336114b3565b611c129190612fa0565b600f541015611c6f5760405162461bcd60e51b8152602060048201526024808201527f4d617820746f6b656e20636f756e74207065722077616c6c65742065786365656044820152636465642160e01b606482015260840161089d565b60005b8181101561140957611c88600880546001019055565b6000611c9360085490565b9050611c9f338261236a565b6040518181527ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e9060200160405180910390a15080611cdd81613069565b915050611c72565b6001600160a01b0381166000908152600a602052604081205460ff161561110a57506001919050565b606060018054610ab79061302e565b6114093383836124d4565b6006546001600160a01b03163314611d525760405162461bcd60e51b815260040161089d90612ee9565b60155462010000900460ff16611da35760405162461bcd60e51b815260206004820152601660248201527550726573616c65206973206e6f74206163746976652160501b604482015260640161089d565b6015805462ff000019169055565b6006546001600160a01b03163314611ddb5760405162461bcd60e51b815260040161089d90612ee9565b6015805460ff19166001179055565b6006546001600160a01b03163314611e145760405162461bcd60e51b815260040161089d90612ee9565b600f55565b611e2333836120d3565b611e3f5760405162461bcd60e51b815260040161089d90612f1e565b611e4b848484846125a3565b50505050565b6000818152600260205260409020546060906001600160a01b0316611eb85760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161089d565b60155460ff1615611efb57611ecb6125d6565b611ed4836123d6565b604051602001611ee5929190612c91565b6040516020818303038152906040529050919050565b600c8054611f089061302e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f349061302e565b8015611f815780601f10611f5657610100808354040283529160200191611f81565b820191906000526020600020905b815481529060010190602001808311611f6457829003601f168201915b50505050509050919050565b6006546001600160a01b03163314611fb75760405162461bcd60e51b815260040161089d90612ee9565b6001600160a01b03811661201c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b61202581612384565b50565b6006546001600160a01b031633146120525760405162461bcd60e51b815260040161089d90612ee9565b8051611409906016906020840190612867565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061209a8261143c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661214c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089d565b60006121578361143c565b9050806001600160a01b0316846001600160a01b031614806121925750836001600160a01b031661218784610cc0565b6001600160a01b0316145b806121c257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121dd8261143c565b6001600160a01b0316146122455760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161089d565b6001600160a01b0382166122a75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6122b2600082612065565b6001600160a01b03831660009081526003602052604081208054600192906122db908490612feb565b90915550506001600160a01b0382166000908152600360205260408120805460019290612309908490612fa0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6114098282604051806020016040528060008152506125e5565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060816123fa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612424578061240e81613069565b915061241d9050600a83612fb8565b91506123fe565b60008167ffffffffffffffff81111561243f5761243f6130da565b6040519080825280601f01601f191660200182016040528015612469576020820181803683370190505b5090505b84156121c25761247e600183612feb565b915061248b600a86613084565b612496906030612fa0565b60f81b8183815181106124ab576124ab6130c4565b60200101906001600160f81b031916908160001a9053506124cd600a86612fb8565b945061246d565b816001600160a01b0316836001600160a01b031614156125365760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161089d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6125ae8484846121ca565b6125ba84848484612618565b611e4b5760405162461bcd60e51b815260040161089d90612e51565b6060600b8054610ab79061302e565b6125ef8383612725565b6125fc6000848484612618565b610e665760405162461bcd60e51b815260040161089d90612e51565b60006001600160a01b0384163b1561271a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061265c903390899088908890600401612e01565b602060405180830381600087803b15801561267657600080fd5b505af19250505080156126a6575060408051601f3d908101601f191682019092526126a391810190612bc3565b60015b612700573d8080156126d4576040519150601f19603f3d011682016040523d82523d6000602084013e6126d9565b606091505b5080516126f85760405162461bcd60e51b815260040161089d90612e51565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121c2565b506001949350505050565b6001600160a01b03821661277b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161089d565b6000818152600260205260409020546001600160a01b0316156127e05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161089d565b6001600160a01b0382166000908152600360205260408120805460019290612809908490612fa0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546128739061302e565b90600052602060002090601f01602090048101928261289557600085556128db565b82601f106128ae57805160ff19168380011785556128db565b828001600101855582156128db579182015b828111156128db5782518255916020019190600101906128c0565b506128e79291506128eb565b5090565b5b808211156128e757600081556001016128ec565b600067ffffffffffffffff83111561291a5761291a6130da565b61292d601f8401601f1916602001612f6f565b905082815283838301111561294157600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461111257600080fd5b8035801515811461111257600080fd5b60006020828403121561299157600080fd5b61299a82612958565b9392505050565b600080604083850312156129b457600080fd5b6129bd83612958565b91506129cb60208401612958565b90509250929050565b6000806000606084860312156129e957600080fd5b6129f284612958565b9250612a0060208501612958565b9150604084013590509250925092565b60008060008060808587031215612a2657600080fd5b612a2f85612958565b9350612a3d60208601612958565b925060408501359150606085013567ffffffffffffffff811115612a6057600080fd5b8501601f81018713612a7157600080fd5b612a8087823560208401612900565b91505092959194509250565b60008060408385031215612a9f57600080fd5b612aa883612958565b91506129cb6020840161296f565b60008060408385031215612ac957600080fd5b612ad283612958565b946020939093013593505050565b60008060408385031215612af357600080fd5b823567ffffffffffffffff80821115612b0b57600080fd5b818501915085601f830112612b1f57600080fd5b8135602082821115612b3357612b336130da565b8160051b9250612b44818401612f6f565b8281528181019085830185870184018b1015612b5f57600080fd5b600096505b84871015612b8957612b7581612958565b835260019690960195918301918301612b64565b509650612b99905087820161296f565b9450505050509250929050565b600060208284031215612bb857600080fd5b813561299a816130f0565b600060208284031215612bd557600080fd5b815161299a816130f0565b600060208284031215612bf257600080fd5b813567ffffffffffffffff811115612c0957600080fd5b8201601f81018413612c1a57600080fd5b6121c284823560208401612900565b600060208284031215612c3b57600080fd5b5035919050565b60008060408385031215612c5557600080fd5b823591506129cb60208401612958565b60008151808452612c7d816020860160208601613002565b601f01601f19169290920160200192915050565b60008351612ca3818460208801613002565b835190830190612cb7818360208801613002565b64173539b7b760d91b9101908152600501949350505050565b7f4e6f7420656e6f7567682045544821204174206c656173742000000000000000815260008251612d08816019850160208701613002565b73207765692068617320746f2062652073656e742160601b6019939091019283015250602d01919050565b7702cb7ba9031b0b713ba10313abc9036b7b932903a3430b7160451b815260008251612d66816018850160208701613002565b7f20746f6b656e7320706572207472616e73616374696f6e2e00000000000000006018939091019283015250603001919050565b7702cb7ba9031b0b713ba10313abc9036b7b932903a3430b7160451b815260008251612dcd816018850160208701613002565b7f20746f6b656e7320706572207472616e73616374696f6e0000000000000000006018939091019283015250602f01919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e3490830184612c65565b9695505050505050565b60208152600061299a6020830184612c65565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f596f75206e65656420746f2073656e64206174206c65617374206f6e6520616460408201526564726573732160d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f9857612f986130da565b604052919050565b60008219821115612fb357612fb3613098565b500190565b600082612fc757612fc76130ae565b500490565b6000816000190483118215151615612fe657612fe6613098565b500290565b600082821015612ffd57612ffd613098565b500390565b60005b8381101561301d578181015183820152602001613005565b83811115611e4b5750506000910152565b600181811c9082168061304257607f821691505b6020821081141561306357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561307d5761307d613098565b5060010190565b600082613093576130936130ae565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461202557600080fdfea26469706673582212205e52efe795c213bec85c865db8450366604be0170be14674dd541133fbdf219164736f6c63430008070033

Deployed Bytecode

0x6080604052600436106102ac5760003560e01c80636352211e11610175578063a035b1fe116100dc578063bc8893b411610095578063e83157421161006f578063e8315742146107d4578063e985e9c5146107ea578063f2fde38b14610833578063ffe630b51461085357600080fd5b8063bc8893b41461077d578063c87b56dd1461079e578063de7fcb1d146107be57600080fd5b8063a035b1fe146106dd578063a22cb465146106f3578063a43be57b14610713578063a475b5dd14610728578063aac5d69f1461073d578063b88d4fde1461075d57600080fd5b8063853828b61161012e578063853828b61461064c5780638581c4ec146106615780638c8acaa9146106745780638da5cb5b1461069457806393e6a071146106b257806395d89b41146106c857600080fd5b80636352211e146105a257806370a08231146105c2578063715018a6146105e257806372537189146105f75780637d55094d14610617578063820de0c51461062c57600080fd5b80632b45079e116102195780634a427725116101d25780634a427725146104e9578063518302271461050957806353135ca01461052357806355f804b3146105435780635c975abb14610563578063616cdb1e1461058257600080fd5b80632b45079e14610448578063408ae5851461046857806342842e0e14610488578063433adb05146104a857806345912352146104be578063469132ce146104d357600080fd5b8063095ea7b31161026b578063095ea7b3146103a65780630c1c972a146103c657806318160ddd146103db57806323b872dd146103f25780632417f31d1461041257806326f8f7e61461042857600080fd5b80620e7fa8146102b1578062f714ce146102da57806301ffc9a7146102fc57806306fdde031461032c578063076102fc1461034e578063081812fc1461036e575b600080fd5b3480156102bd57600080fd5b506102c760135481565b6040519081526020015b60405180910390f35b3480156102e657600080fd5b506102fa6102f5366004612c42565b610873565b005b34801561030857600080fd5b5061031c610317366004612ba6565b610a56565b60405190151581526020016102d1565b34801561033857600080fd5b50610341610aa8565b6040516102d19190612e3e565b34801561035a57600080fd5b506102fa610369366004612ae0565b610b3a565b34801561037a57600080fd5b5061038e610389366004612c29565b610cc0565b6040516001600160a01b0390911681526020016102d1565b3480156103b257600080fd5b506102fa6103c1366004612ab6565b610d55565b3480156103d257600080fd5b506102fa610e6b565b3480156103e757600080fd5b506008546102c79081565b3480156103fe57600080fd5b506102fa61040d3660046129d4565b610f95565b34801561041e57600080fd5b506102c7600e5481565b34801561043457600080fd5b506102fa610443366004612c29565b610fc6565b34801561045457600080fd5b5061031c61046336600461297f565b6110e1565b34801561047457600080fd5b506102fa610483366004612ae0565b611117565b34801561049457600080fd5b506102fa6104a33660046129d4565b6112f4565b3480156104b457600080fd5b506102c760125481565b3480156104ca57600080fd5b5061034161130f565b3480156104df57600080fd5b506102c7600f5481565b3480156104f557600080fd5b506102fa610504366004612c29565b61139d565b34801561051557600080fd5b5060155461031c9060ff1681565b34801561052f57600080fd5b5060155461031c9062010000900460ff1681565b34801561054f57600080fd5b506102fa61055e366004612be0565b6113cc565b34801561056f57600080fd5b5060155461031c90610100900460ff1681565b34801561058e57600080fd5b506102fa61059d366004612c29565b61140d565b3480156105ae57600080fd5b5061038e6105bd366004612c29565b61143c565b3480156105ce57600080fd5b506102c76105dd36600461297f565b6114b3565b3480156105ee57600080fd5b506102fa61153a565b34801561060357600080fd5b506102fa610612366004612c29565b611570565b34801561062357600080fd5b506102fa61159f565b34801561063857600080fd5b506102fa610647366004612be0565b6115e6565b34801561065857600080fd5b506102fa611623565b6102fa61066f366004612c29565b61173b565b34801561068057600080fd5b5061031c61068f36600461297f565b611ce5565b3480156106a057600080fd5b506006546001600160a01b031661038e565b3480156106be57600080fd5b506102c760105481565b3480156106d457600080fd5b50610341611d0e565b3480156106e957600080fd5b506102c760145481565b3480156106ff57600080fd5b506102fa61070e366004612a8c565b611d1d565b34801561071f57600080fd5b506102fa611d28565b34801561073457600080fd5b506102fa611db1565b34801561074957600080fd5b506102fa610758366004612c29565b611dea565b34801561076957600080fd5b506102fa610778366004612a10565b611e19565b34801561078957600080fd5b5060155461031c906301000000900460ff1681565b3480156107aa57600080fd5b506103416107b9366004612c29565b611e51565b3480156107ca57600080fd5b506102c760115481565b3480156107e057600080fd5b506102c7600d5481565b3480156107f657600080fd5b5061031c6108053660046129a1565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561083f57600080fd5b506102fa61084e36600461297f565b611f8d565b34801561085f57600080fd5b506102fa61086e366004612be0565b612028565b6006546001600160a01b031633146108a65760405162461bcd60e51b815260040161089d90612ee9565b60405180910390fd5b600260075414156108f95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b60026007556017546001600160a01b038281169116148061092757506018546001600160a01b038281169116145b61097f5760405162461bcd60e51b815260206004820152602360248201527f546869732061646472657373206973206e6f7420696e20616c6c6f776564206c6044820152621a5cdd60ea1b606482015260840161089d565b814710156109cf5760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420656e6f7567682045544820746f207769746864726177210000000000604482015260640161089d565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114610a1c576040519150601f19603f3d011682016040523d82523d6000602084013e610a21565b606091505b5050905080610a4c5760405162461bcd60e51b8152602060048201526000602482015260440161089d565b5050600160075550565b60006001600160e01b031982166380ac58cd60e01b1480610a8757506001600160e01b03198216635b5e139f60e01b145b80610aa257506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060008054610ab79061302e565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae39061302e565b8015610b305780601f10610b0557610100808354040283529160200191610b30565b820191906000526020600020905b815481529060010190602001808311610b1357829003601f168201915b5050505050905090565b6006546001600160a01b03163314610b645760405162461bcd60e51b815260040161089d90612ee9565b81818015610bbf576015546301000000900460ff1615610bbf5760405162461bcd60e51b815260206004820152601660248201527550726573616c6520616c726561647920656e6465642160501b604482015260640161089d565b600182511015610be15760405162461bcd60e51b815260040161089d90612ea3565b60005b8451811015610cb9578315610c4f576000600a6000878481518110610c0b57610c0b6130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff021916908315150217905550610ca7565b600060096000878481518110610c6757610c676130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80610cb181613069565b915050610be4565b5050505050565b6000818152600260205260408120546001600160a01b0316610d395760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089d565b506000908152600460205260409020546001600160a01b031690565b6000610d608261143c565b9050806001600160a01b0316836001600160a01b03161415610dce5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161089d565b336001600160a01b0382161480610dea5750610dea8133610805565b610e5c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161089d565b610e668383612065565b505050565b6006546001600160a01b03163314610e955760405162461bcd60e51b815260040161089d90612ee9565b60155462010000900460ff1615610f265760405162461bcd60e51b815260206004820152604960248201527f50726573616c65206973207374696c6c206163746976652120456e642069742060448201527f666972737420776974682063616c6c696e6720656e6450726573616c65282920606482015268333ab731ba34b7b71760b91b608482015260a40161089d565b6015546301000000900460ff1615610f805760405162461bcd60e51b815260206004820152601e60248201527f5075626c69632073616c6520697320616c726561647920616374697665210000604482015260640161089d565b6015805463ff00000019166301000000179055565b610f9f33826120d3565b610fbb5760405162461bcd60e51b815260040161089d90612f1e565b610e668383836121ca565b6006546001600160a01b03163314610ff05760405162461bcd60e51b815260040161089d90612ee9565b6012548111156110565760405162461bcd60e51b815260206004820152602b60248201527f43616e277420636c61696d206d6f7265207468616e207265736572766564207460448201526a37b5b2b739903632b33a1760a91b606482015260840161089d565b60005b818110156110cc5761106f600880546001019055565b600061107a60085490565b9050611086338261236a565b6040518181527ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e9060200160405180910390a150806110c481613069565b915050611059565b50806012546110db9190612feb565b60125550565b6001600160a01b03811660009081526009602052604081205460ff161561110a57506001919050565b506000919050565b919050565b6006546001600160a01b031633146111415760405162461bcd60e51b815260040161089d90612ee9565b8181801561119c576015546301000000900460ff161561119c5760405162461bcd60e51b815260206004820152601660248201527550726573616c6520616c726561647920656e6465642160501b604482015260640161089d565b6001825110156111be5760405162461bcd60e51b815260040161089d90612ea3565b821561121c5760155462010000900460ff1661121c5760405162461bcd60e51b815260206004820152601e60248201527f50726573616c65206973206e6f742061637469766520616e796d6f7265210000604482015260640161089d565b60005b8451811015610cb957831561128a576001600a6000878481518110611246576112466130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055506112e2565b6001600960008784815181106112a2576112a26130c4565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806112ec81613069565b91505061121f565b610e6683838360405180602001604052806000815250611e19565b6016805461131c9061302e565b80601f01602080910402602001604051908101604052809291908181526020018280546113489061302e565b80156113955780601f1061136a57610100808354040283529160200191611395565b820191906000526020600020905b81548152906001019060200180831161137857829003601f168201915b505050505081565b6006546001600160a01b031633146113c75760405162461bcd60e51b815260040161089d90612ee9565b601055565b6006546001600160a01b031633146113f65760405162461bcd60e51b815260040161089d90612ee9565b805161140990600b906020840190612867565b5050565b6006546001600160a01b031633146114375760405162461bcd60e51b815260040161089d90612ee9565b601155565b6000818152600260205260408120546001600160a01b031680610aa25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161089d565b60006001600160a01b03821661151e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161089d565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146115645760405162461bcd60e51b815260040161089d90612ee9565b61156e6000612384565b565b6006546001600160a01b0316331461159a5760405162461bcd60e51b815260040161089d90612ee9565b600e55565b6006546001600160a01b031633146115c95760405162461bcd60e51b815260040161089d90612ee9565b6015805461ff001981166101009182900460ff1615909102179055565b6006546001600160a01b031633146116105760405162461bcd60e51b815260040161089d90612ee9565b805161140990600c906020840190612867565b6006546001600160a01b0316331461164d5760405162461bcd60e51b815260040161089d90612ee9565b600260075414156116a05760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161089d565b600260075560006116b96006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611703576040519150601f19603f3d011682016040523d82523d6000602084013e611708565b606091505b50509050806117335760405162461bcd60e51b8152602060048201526000602482015260440161089d565b506001600755565b601554610100900460ff16156117885760405162461bcd60e51b81526020600482015260126024820152714d696e74696e67206973207061757365642160701b604482015260640161089d565b60155462010000900460ff16806117a857506015546301000000900460ff165b6117f45760405162461bcd60e51b815260206004820181905260248201527f5075626c69632073616c6520686173206e6f7420737461727465642079657421604482015260640161089d565b60155462010000900460ff16156119c457336118186006546001600160a01b031690565b6001600160a01b0316146118fc57336000908152600a602052604090205460ff166118a05760405162461bcd60e51b815260206004820152603260248201527f596f7520617265206e6f742077686974656c697374656420746f207061727469604482015271636970617465206f6e2070726573616c652160701b606482015260840161089d565b6000811180156118b257506010548111155b6118bd6010546123d6565b6040516020016118cd9190612d9a565b604051602081830303815290604052906118fa5760405162461bcd60e51b815260040161089d9190612e3e565b505b6008546119099082612fa0565b600e54101561195a5760405162461bcd60e51b815260206004820152601f60248201527f4e6f7420656e6f7567682070726573616c6520746f6b656e73206c6566742100604482015260640161089d565b806013546119689190612fcc565b3410156119818260135461197c9190612fcc565b6123d6565b6040516020016119919190612cd0565b604051602081830303815290604052906119be5760405162461bcd60e51b815260040161089d9190612e3e565b50611b78565b336119d76006546001600160a01b031690565b6001600160a01b031614611abf573360009081526009602052604090205460ff16611a635760405162461bcd60e51b815260206004820152603660248201527f596f7520617265206e6f742077686974656c697374656420746f207061727469604482015275636970617465206f6e207075626c69632073616c652160501b606482015260840161089d565b600081118015611a7557506011548111155b611a806011546123d6565b604051602001611a909190612d33565b60405160208183030381529060405290611abd5760405162461bcd60e51b815260040161089d9190612e3e565b505b600854611acc9082612fa0565b600d541015611b175760405162461bcd60e51b81526020600482015260176024820152764e6f7420656e6f75676820746f6b656e73206c6566742160481b604482015260640161089d565b80601454611b259190612fcc565b341015611b398260145461197c9190612fcc565b604051602001611b499190612cd0565b60405160208183030381529060405290611b765760405162461bcd60e51b815260040161089d9190612e3e565b505b33611b8b6006546001600160a01b031690565b6001600160a01b031614611c6f57601254600854611ba99083612fa0565b611bb39190612fa0565b600d541015611bfe5760405162461bcd60e51b81526020600482015260176024820152764e6f7420656e6f75676820746f6b656e73206c6566742160481b604482015260640161089d565b80611c08336114b3565b611c129190612fa0565b600f541015611c6f5760405162461bcd60e51b8152602060048201526024808201527f4d617820746f6b656e20636f756e74207065722077616c6c65742065786365656044820152636465642160e01b606482015260840161089d565b60005b8181101561140957611c88600880546001019055565b6000611c9360085490565b9050611c9f338261236a565b6040518181527ff00d28232b285f24f2e38415deb2ceb31069e70d4505838b3911b4f02058502e9060200160405180910390a15080611cdd81613069565b915050611c72565b6001600160a01b0381166000908152600a602052604081205460ff161561110a57506001919050565b606060018054610ab79061302e565b6114093383836124d4565b6006546001600160a01b03163314611d525760405162461bcd60e51b815260040161089d90612ee9565b60155462010000900460ff16611da35760405162461bcd60e51b815260206004820152601660248201527550726573616c65206973206e6f74206163746976652160501b604482015260640161089d565b6015805462ff000019169055565b6006546001600160a01b03163314611ddb5760405162461bcd60e51b815260040161089d90612ee9565b6015805460ff19166001179055565b6006546001600160a01b03163314611e145760405162461bcd60e51b815260040161089d90612ee9565b600f55565b611e2333836120d3565b611e3f5760405162461bcd60e51b815260040161089d90612f1e565b611e4b848484846125a3565b50505050565b6000818152600260205260409020546060906001600160a01b0316611eb85760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00604482015260640161089d565b60155460ff1615611efb57611ecb6125d6565b611ed4836123d6565b604051602001611ee5929190612c91565b6040516020818303038152906040529050919050565b600c8054611f089061302e565b80601f0160208091040260200160405190810160405280929190818152602001828054611f349061302e565b8015611f815780601f10611f5657610100808354040283529160200191611f81565b820191906000526020600020905b815481529060010190602001808311611f6457829003601f168201915b50505050509050919050565b6006546001600160a01b03163314611fb75760405162461bcd60e51b815260040161089d90612ee9565b6001600160a01b03811661201c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161089d565b61202581612384565b50565b6006546001600160a01b031633146120525760405162461bcd60e51b815260040161089d90612ee9565b8051611409906016906020840190612867565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061209a8261143c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661214c5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161089d565b60006121578361143c565b9050806001600160a01b0316846001600160a01b031614806121925750836001600160a01b031661218784610cc0565b6001600160a01b0316145b806121c257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121dd8261143c565b6001600160a01b0316146122455760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161089d565b6001600160a01b0382166122a75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161089d565b6122b2600082612065565b6001600160a01b03831660009081526003602052604081208054600192906122db908490612feb565b90915550506001600160a01b0382166000908152600360205260408120805460019290612309908490612fa0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6114098282604051806020016040528060008152506125e5565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6060816123fa5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612424578061240e81613069565b915061241d9050600a83612fb8565b91506123fe565b60008167ffffffffffffffff81111561243f5761243f6130da565b6040519080825280601f01601f191660200182016040528015612469576020820181803683370190505b5090505b84156121c25761247e600183612feb565b915061248b600a86613084565b612496906030612fa0565b60f81b8183815181106124ab576124ab6130c4565b60200101906001600160f81b031916908160001a9053506124cd600a86612fb8565b945061246d565b816001600160a01b0316836001600160a01b031614156125365760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161089d565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6125ae8484846121ca565b6125ba84848484612618565b611e4b5760405162461bcd60e51b815260040161089d90612e51565b6060600b8054610ab79061302e565b6125ef8383612725565b6125fc6000848484612618565b610e665760405162461bcd60e51b815260040161089d90612e51565b60006001600160a01b0384163b1561271a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061265c903390899088908890600401612e01565b602060405180830381600087803b15801561267657600080fd5b505af19250505080156126a6575060408051601f3d908101601f191682019092526126a391810190612bc3565b60015b612700573d8080156126d4576040519150601f19603f3d011682016040523d82523d6000602084013e6126d9565b606091505b5080516126f85760405162461bcd60e51b815260040161089d90612e51565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506121c2565b506001949350505050565b6001600160a01b03821661277b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161089d565b6000818152600260205260409020546001600160a01b0316156127e05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161089d565b6001600160a01b0382166000908152600360205260408120805460019290612809908490612fa0565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546128739061302e565b90600052602060002090601f01602090048101928261289557600085556128db565b82601f106128ae57805160ff19168380011785556128db565b828001600101855582156128db579182015b828111156128db5782518255916020019190600101906128c0565b506128e79291506128eb565b5090565b5b808211156128e757600081556001016128ec565b600067ffffffffffffffff83111561291a5761291a6130da565b61292d601f8401601f1916602001612f6f565b905082815283838301111561294157600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461111257600080fd5b8035801515811461111257600080fd5b60006020828403121561299157600080fd5b61299a82612958565b9392505050565b600080604083850312156129b457600080fd5b6129bd83612958565b91506129cb60208401612958565b90509250929050565b6000806000606084860312156129e957600080fd5b6129f284612958565b9250612a0060208501612958565b9150604084013590509250925092565b60008060008060808587031215612a2657600080fd5b612a2f85612958565b9350612a3d60208601612958565b925060408501359150606085013567ffffffffffffffff811115612a6057600080fd5b8501601f81018713612a7157600080fd5b612a8087823560208401612900565b91505092959194509250565b60008060408385031215612a9f57600080fd5b612aa883612958565b91506129cb6020840161296f565b60008060408385031215612ac957600080fd5b612ad283612958565b946020939093013593505050565b60008060408385031215612af357600080fd5b823567ffffffffffffffff80821115612b0b57600080fd5b818501915085601f830112612b1f57600080fd5b8135602082821115612b3357612b336130da565b8160051b9250612b44818401612f6f565b8281528181019085830185870184018b1015612b5f57600080fd5b600096505b84871015612b8957612b7581612958565b835260019690960195918301918301612b64565b509650612b99905087820161296f565b9450505050509250929050565b600060208284031215612bb857600080fd5b813561299a816130f0565b600060208284031215612bd557600080fd5b815161299a816130f0565b600060208284031215612bf257600080fd5b813567ffffffffffffffff811115612c0957600080fd5b8201601f81018413612c1a57600080fd5b6121c284823560208401612900565b600060208284031215612c3b57600080fd5b5035919050565b60008060408385031215612c5557600080fd5b823591506129cb60208401612958565b60008151808452612c7d816020860160208601613002565b601f01601f19169290920160200192915050565b60008351612ca3818460208801613002565b835190830190612cb7818360208801613002565b64173539b7b760d91b9101908152600501949350505050565b7f4e6f7420656e6f7567682045544821204174206c656173742000000000000000815260008251612d08816019850160208701613002565b73207765692068617320746f2062652073656e742160601b6019939091019283015250602d01919050565b7702cb7ba9031b0b713ba10313abc9036b7b932903a3430b7160451b815260008251612d66816018850160208701613002565b7f20746f6b656e7320706572207472616e73616374696f6e2e00000000000000006018939091019283015250603001919050565b7702cb7ba9031b0b713ba10313abc9036b7b932903a3430b7160451b815260008251612dcd816018850160208701613002565b7f20746f6b656e7320706572207472616e73616374696f6e0000000000000000006018939091019283015250602f01919050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e3490830184612c65565b9695505050505050565b60208152600061299a6020830184612c65565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f596f75206e65656420746f2073656e64206174206c65617374206f6e6520616460408201526564726573732160d01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f9857612f986130da565b604052919050565b60008219821115612fb357612fb3613098565b500190565b600082612fc757612fc76130ae565b500490565b6000816000190483118215151615612fe657612fe6613098565b500290565b600082821015612ffd57612ffd613098565b500390565b60005b8381101561301d578181015183820152602001613005565b83811115611e4b5750506000910152565b600181811c9082168061304257607f821691505b6020821081141561306357634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561307d5761307d613098565b5060010190565b600082613093576130936130ae565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461202557600080fdfea26469706673582212205e52efe795c213bec85c865db8450366604be0170be14674dd541133fbdf219164736f6c63430008070033

Deployed Bytecode Sourcemap

42413:10548:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42983:40;;;;;;;;;;;;;;;;;;;22561:25:1;;;22549:2;22534:18;42983:40:0;;;;;;;;52528:430;;;;;;;;;;-1:-1:-1;52528:430:0;;;;;:::i;:::-;;:::i;:::-;;28932:355;;;;;;;;;;-1:-1:-1;28932:355:0;;;;;:::i;:::-;;:::i;:::-;;;9041:14:1;;9034:22;9016:41;;9004:2;8989:18;28932:355:0;8876:187:1;30101:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;46647:415::-;;;;;;;;;;-1:-1:-1;46647:415:0;;;;;:::i;:::-;;:::i;31794:308::-;;;;;;;;;;-1:-1:-1;31794:308:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8339:32:1;;;8321:51;;8309:2;8294:18;31794:308:0;8175:203:1;31317:411:0;;;;;;;;;;-1:-1:-1;31317:411:0;;;;;:::i;:::-;;:::i;45724:305::-;;;;;;;;;;;;;:::i;42521:35::-;;;;;;;;;;-1:-1:-1;42521:35:0;;;;;;32713:376;;;;;;;;;;-1:-1:-1;32713:376:0;;;;;:::i;:::-;;:::i;42766:38::-;;;;;;;;;;;;;;;;48462:493;;;;;;;;;;-1:-1:-1;48462:493:0;;;;;:::i;:::-;;:::i;48173:238::-;;;;;;;;;;-1:-1:-1;48173:238:0;;;;;:::i;:::-;;:::i;46078:515::-;;;;;;;;;;-1:-1:-1;46078:515:0;;;;;:::i;:::-;;:::i;33160:185::-;;;;;;;;;;-1:-1:-1;33160:185:0;;;;;:::i;:::-;;:::i;42942:34::-;;;;;;;;;;;;;;;;43223:28;;;;;;;;;;;;;:::i;42812:37::-;;;;;;;;;;;;;;;;44248:165;;;;;;;;;;-1:-1:-1;44248:165:0;;;;;:::i;:::-;;:::i;43072:28::-;;;;;;;;;;-1:-1:-1;43072:28:0;;;;;;;;43139:32;;;;;;;;;;-1:-1:-1;43139:32:0;;;;;;;;;;;45164:92;;;;;;;;;;-1:-1:-1;45164:92:0;;;;;:::i;:::-;;:::i;43107:25::-;;;;;;;;;;-1:-1:-1;43107:25:0;;;;;;;;;;;44478:114;;;;;;;;;;-1:-1:-1;44478:114:0;;;;;:::i;:::-;;:::i;29708:326::-;;;;;;;;;;-1:-1:-1;29708:326:0;;;;;:::i;:::-;;:::i;29351:295::-;;;;;;;;;;-1:-1:-1;29351:295:0;;;;;:::i;:::-;;:::i;9244:103::-;;;;;;;;;;;;;:::i;43807:153::-;;;;;;;;;;-1:-1:-1;43807:153:0;;;;;:::i;:::-;;:::i;44891:77::-;;;;;;;;;;;;;:::i;44647:167::-;;;;;;;;;;-1:-1:-1;44647:167:0;;;;;:::i;:::-;;:::i;52286:201::-;;;;;;;;;;;;;:::i;49006:3234::-;;;;;;:::i;:::-;;:::i;47873:242::-;;;;;;;;;;-1:-1:-1;47873:242:0;;;;;:::i;:::-;;:::i;8593:87::-;;;;;;;;;;-1:-1:-1;8666:6:0;;-1:-1:-1;;;;;8666:6:0;8593:87;;42857:38;;;;;;;;;;;;;;;;30270:104;;;;;;;;;;;;;:::i;43030:33::-;;;;;;;;;;;;;;;;32174:187;;;;;;;;;;-1:-1:-1;32174:187:0;;;;;:::i;:::-;;:::i;45538:138::-;;;;;;;;;;;;;:::i;45046:71::-;;;;;;;;;;;;;:::i;44025:161::-;;;;;;;;;;-1:-1:-1;44025:161:0;;;;;:::i;:::-;;:::i;33416:365::-;;;;;;;;;;-1:-1:-1;33416:365:0;;;;;:::i;:::-;;:::i;43178:36::-;;;;;;;;;;-1:-1:-1;43178:36:0;;;;;;;;;;;47256:562;;;;;;;;;;-1:-1:-1;47256:562:0;;;;;:::i;:::-;;:::i;42903:31::-;;;;;;;;;;;;;;;;42727:32;;;;;;;;;;;;;;;;32432:214;;;;;;;;;;-1:-1:-1;32432:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;32603:25:0;;;32574:4;32603:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;32432:214;9502:238;;;;;;;;;;-1:-1:-1;9502:238:0;;;;;:::i;:::-;;:::i;45380:114::-;;;;;;;;;;-1:-1:-1;45380:114:0;;;;;:::i;:::-;;:::i;52528:430::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;;;;;;;;;2055:1:::1;2653:7;;:19;;2645:63;;;::::0;-1:-1:-1;;;2645:63:0;;21845:2:1;2645:63:0::1;::::0;::::1;21827:21:1::0;21884:2;21864:18;;;21857:30;21923:33;21903:18;;;21896:61;21974:18;;2645:63:0::1;21643:355:1::0;2645:63:0::1;2055:1;2786:7;:18:::0;52667:2:::2;::::0;-1:-1:-1;;;;;52660:9:0;;::::2;52667:2:::0;::::2;52660:9;::::0;:22:::2;;-1:-1:-1::0;52680:2:0::2;::::0;-1:-1:-1;;;;;52673:9:0;;::::2;52680:2:::0;::::2;52673:9;52660:22;52652:70;;;::::0;-1:-1:-1;;;52652:70:0;;15988:2:1;52652:70:0::2;::::0;::::2;15970:21:1::0;16027:2;16007:18;;;16000:30;16066:34;16046:18;;;16039:62;-1:-1:-1;;;16117:18:1;;;16110:33;16160:19;;52652:70:0::2;15786:399:1::0;52652:70:0::2;52782:10;52757:21;:35;;52735:112;;;::::0;-1:-1:-1;;;52735:112:0;;12636:2:1;52735:112:0::2;::::0;::::2;12618:21:1::0;12675:2;12655:18;;;12648:30;12714:29;12694:18;;;12687:57;12761:18;;52735:112:0::2;12434:351:1::0;52735:112:0::2;52861:12;52887:3;-1:-1:-1::0;;;;;52879:17:0::2;52904:10;52879:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52860:59;;;52938:7;52930:20;;;::::0;-1:-1:-1;;;52930:20:0;;20779:2:1;52930:20:0::2;::::0;::::2;20761:21:1::0;-1:-1:-1;20798:18:1;;;20791:29;20837:18;;52930:20:0::2;20577:284:1::0;52930:20:0::2;-1:-1:-1::0;;2011:1:0::1;2965:7;:22:::0;-1:-1:-1;52528:430:0:o;28932:355::-;29079:4;-1:-1:-1;;;;;;29121:40:0;;-1:-1:-1;;;29121:40:0;;:105;;-1:-1:-1;;;;;;;29178:48:0;;-1:-1:-1;;;29178:48:0;29121:105;:158;;;-1:-1:-1;;;;;;;;;;21678:40:0;;;29243:36;29101:178;28932:355;-1:-1:-1;;28932:355:0:o;30101:100::-;30155:13;30188:5;30181:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30101:100;:::o;46647:415::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;46782:10:::1;46794:8;43570;43566:93;;;43604:16;::::0;;;::::1;;;43603:17;43595:52;;;::::0;-1:-1:-1;;;43595:52:0;;16817:2:1;43595:52:0::1;::::0;::::1;16799:21:1::0;16856:2;16836:18;;;16829:30;-1:-1:-1;;;16875:18:1;;;16868:52;16937:18;;43595:52:0::1;16615:346:1::0;43595:52:0::1;43712:1;43691:10;:17;:22;;43669:110;;;;-1:-1:-1::0;;;43669:110:0::1;;;;;;;:::i;:::-;46825:9:::2;46820:235;46844:10;:17;46840:1;:21;46820:235;;;46887:8;46883:161;;;46950:5;46916:16;:31;46933:10;46944:1;46933:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;46916:31:0::2;-1:-1:-1::0;;;;;46916:31:0::2;;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;46883:161;;;47023:5;46996:9;:24;47006:10;47017:1;47006:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;46996:24:0::2;-1:-1:-1::0;;;;;46996:24:0::2;;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;46883:161;46863:3:::0;::::2;::::0;::::2;:::i;:::-;;;;46820:235;;;;8884:1:::1;;46647:415:::0;;:::o;31794:308::-;31915:7;35417:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35417:16:0;31940:110;;;;-1:-1:-1;;;31940:110:0;;18832:2:1;31940:110:0;;;18814:21:1;18871:2;18851:18;;;18844:30;18910:34;18890:18;;;18883:62;-1:-1:-1;;;18961:18:1;;;18954:42;19013:19;;31940:110:0;18630:408:1;31940:110:0;-1:-1:-1;32070:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;32070:24:0;;31794:308::o;31317:411::-;31398:13;31414:23;31429:7;31414:14;:23::i;:::-;31398:39;;31462:5;-1:-1:-1;;;;;31456:11:0;:2;-1:-1:-1;;;;;31456:11:0;;;31448:57;;;;-1:-1:-1;;;31448:57:0;;20016:2:1;31448:57:0;;;19998:21:1;20055:2;20035:18;;;20028:30;20094:34;20074:18;;;20067:62;-1:-1:-1;;;20145:18:1;;;20138:31;20186:19;;31448:57:0;19814:397:1;31448:57:0;7376:10;-1:-1:-1;;;;;31540:21:0;;;;:62;;-1:-1:-1;31565:37:0;31582:5;7376:10;32432:214;:::i;31565:37::-;31518:168;;;;-1:-1:-1;;;31518:168:0;;16392:2:1;31518:168:0;;;16374:21:1;16431:2;16411:18;;;16404:30;16470:34;16450:18;;;16443:62;16541:26;16521:18;;;16514:54;16585:19;;31518:168:0;16190:420:1;31518:168:0;31699:21;31708:2;31712:7;31699:8;:21::i;:::-;31387:341;31317:411;;:::o;45724:305::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;45802:13:::1;::::0;;;::::1;;;45801:14;45779:137;;;::::0;-1:-1:-1;;;45779:137:0;;17989:2:1;45779:137:0::1;::::0;::::1;17971:21:1::0;18028:2;18008:18;;;18001:30;18067:34;18047:18;;;18040:62;18138:34;18118:18;;;18111:62;-1:-1:-1;;;18189:19:1;;;18182:40;18239:19;;45779:137:0::1;17787:477:1::0;45779:137:0::1;45936:16;::::0;;;::::1;;;45935:17;45927:60;;;::::0;-1:-1:-1;;;45927:60:0;;13751:2:1;45927:60:0::1;::::0;::::1;13733:21:1::0;13790:2;13770:18;;;13763:30;13829:32;13809:18;;;13802:60;13879:18;;45927:60:0::1;13549:354:1::0;45927:60:0::1;45998:16;:23:::0;;-1:-1:-1;;45998:23:0::1;::::0;::::1;::::0;;45724:305::o;32713:376::-;32922:41;7376:10;32955:7;32922:18;:41::i;:::-;32900:140;;;;-1:-1:-1;;;32900:140:0;;;;;;;:::i;:::-;33053:28;33063:4;33069:2;33073:7;33053:9;:28::i;48462:493::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;48563:14:::1;;48552:7;:25;;48530:118;;;::::0;-1:-1:-1;;;48530:118:0;;22205:2:1;48530:118:0::1;::::0;::::1;22187:21:1::0;22244:2;22224:18;;;22217:30;22283:34;22263:18;;;22256:62;-1:-1:-1;;;22334:18:1;;;22327:41;22385:19;;48530:118:0::1;22003:407:1::0;48530:118:0::1;48666:9;48661:233;48685:7;48681:1;:11;48661:233;;;48714:23;:11;4083:19:::0;;4101:1;4083:19;;;3994:127;48714:23:::1;48752:17;48772:21;:11;3964:14:::0;;3872:114;48772:21:::1;48752:41;;48808:32;48818:10;48830:9;48808;:32::i;:::-;48860:22;::::0;22561:25:1;;;48860:22:0::1;::::0;22549:2:1;22534:18;48860:22:0::1;;;;;;;-1:-1:-1::0;48694:3:0;::::1;::::0;::::1;:::i;:::-;;;;48661:233;;;;48940:7;48923:14;;:24;;;;:::i;:::-;48906:14;:41:::0;-1:-1:-1;48462:493:0:o;48173:238::-;-1:-1:-1;;;;;48300:19:0;;48274:4;48300:19;;;:9;:19;;;;;;;;48296:108;;;-1:-1:-1;48343:4:0;;48173:238;-1:-1:-1;48173:238:0:o;48296:108::-;-1:-1:-1;48387:5:0;;48173:238;-1:-1:-1;48173:238:0:o;48296:108::-;48173:238;;;:::o;46078:515::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;46208:10:::1;46220:8;43570;43566:93;;;43604:16;::::0;;;::::1;;;43603:17;43595:52;;;::::0;-1:-1:-1;;;43595:52:0;;16817:2:1;43595:52:0::1;::::0;::::1;16799:21:1::0;16856:2;16836:18;;;16829:30;-1:-1:-1;;;16875:18:1;;;16868:52;16937:18;;43595:52:0::1;16615:346:1::0;43595:52:0::1;43712:1;43691:10;:17;:22;;43669:110;;;;-1:-1:-1::0;;;43669:110:0::1;;;;;;;:::i;:::-;46250:8:::2;46246:97;;;46283:13;::::0;;;::::2;;;46275:56;;;::::0;-1:-1:-1;;;46275:56:0;;21486:2:1;46275:56:0::2;::::0;::::2;21468:21:1::0;21525:2;21505:18;;;21498:30;21564:32;21544:18;;;21537:60;21614:18;;46275:56:0::2;21284:354:1::0;46275:56:0::2;46358:9;46353:233;46377:10;:17;46373:1;:21;46353:233;;;46420:8;46416:159;;;46483:4;46449:16;:31;46466:10;46477:1;46466:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;46449:31:0::2;-1:-1:-1::0;;;;;46449:31:0::2;;;;;;;;;;;;;:38;;;;;;;;;;;;;;;;;;46416:159;;;46555:4;46528:9;:24;46538:10;46549:1;46538:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;46528:24:0::2;-1:-1:-1::0;;;;;46528:24:0::2;;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;46416:159;46396:3:::0;::::2;::::0;::::2;:::i;:::-;;;;46353:233;;33160:185:::0;33298:39;33315:4;33321:2;33325:7;33298:39;;;;;;;;;;;;:16;:39::i;43223:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44248:165::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;44363:19:::1;:42:::0;44248:165::o;45164:92::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;45234:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;:::-;;45164:92:::0;:::o;44478:114::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;44556:12:::1;:28:::0;44478:114::o;29708:326::-;29825:7;29866:16;;;:7;:16;;;;;;-1:-1:-1;;;;;29866:16:0;29915:19;29893:110;;;;-1:-1:-1;;;29893:110:0;;17579:2:1;29893:110:0;;;17561:21:1;17618:2;17598:18;;;17591:30;17657:34;17637:18;;;17630:62;-1:-1:-1;;;17708:18:1;;;17701:39;17757:19;;29893:110:0;17377:405:1;29351:295:0;29468:7;-1:-1:-1;;;;;29515:19:0;;29493:111;;;;-1:-1:-1;;;29493:111:0;;17168:2:1;29493:111:0;;;17150:21:1;17207:2;17187:18;;;17180:30;17246:34;17226:18;;;17219:62;-1:-1:-1;;;17297:18:1;;;17290:40;17347:19;;29493:111:0;16966:406:1;29493:111:0;-1:-1:-1;;;;;;29622:16:0;;;;;:9;:16;;;;;;;29351:295::o;9244:103::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;9309:30:::1;9336:1;9309:18;:30::i;:::-;9244:103::o:0;43807:153::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;43916:16:::1;:36:::0;43807:153::o;44891:77::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;44954:6:::1;::::0;;-1:-1:-1;;44944:16:0;::::1;44954:6;::::0;;;::::1;;;44953:7;44944:16:::0;;::::1;;::::0;;44891:77::o;44647:167::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;44766:40;;::::1;::::0;:18:::1;::::0;:40:::1;::::0;::::1;::::0;::::1;:::i;52286:201::-:0;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;2055:1:::1;2653:7;;:19;;2645:63;;;::::0;-1:-1:-1;;;2645:63:0;;21845:2:1;2645:63:0::1;::::0;::::1;21827:21:1::0;21884:2;21864:18;;;21857:30;21923:33;21903:18;;;21896:61;21974:18;;2645:63:0::1;21643:355:1::0;2645:63:0::1;2055:1;2786:7;:18:::0;52351:12:::2;52377:7;8666:6:::0;;-1:-1:-1;;;;;8666:6:0;;8593:87;52377:7:::2;-1:-1:-1::0;;;;;52369:21:0::2;52398;52369:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52350:98;;;52467:7;52459:20;;;::::0;-1:-1:-1;;;52459:20:0;;20779:2:1;52459:20:0::2;::::0;::::2;20761:21:1::0;-1:-1:-1;20798:18:1;;;20791:29;20837:18;;52459:20:0::2;20577:284:1::0;52459:20:0::2;-1:-1:-1::0;2011:1:0::1;2965:7;:22:::0;52286:201::o;49006:3234::-;49080:6;;;;;;;49079:7;49071:38;;;;-1:-1:-1;;;49071:38:0;;15234:2:1;49071:38:0;;;15216:21:1;15273:2;15253:18;;;15246:30;-1:-1:-1;;;15292:18:1;;;15285:48;15350:18;;49071:38:0;15032:342:1;49071:38:0;49144:13;;;;;;;;:33;;-1:-1:-1;49161:16:0;;;;;;;49144:33;49122:115;;;;-1:-1:-1;;;49122:115:0;;20418:2:1;49122:115:0;;;20400:21:1;;;20437:18;;;20430:30;20496:34;20476:18;;;20469:62;20548:18;;49122:115:0;20216:356:1;49122:115:0;49254:13;;;;;;;49250:2348;;;49299:10;49288:7;8666:6;;-1:-1:-1;;;;;8666:6:0;;8593:87;49288:7;-1:-1:-1;;;;;49288:21:0;;49284:630;;49377:10;49360:28;;;;:16;:28;;;;;;;;49330:152;;;;-1:-1:-1;;;49330:152:0;;9494:2:1;49330:152:0;;;9476:21:1;9533:2;9513:18;;;9506:30;9572:34;9552:18;;;9545:62;-1:-1:-1;;;9623:18:1;;;9616:48;9681:19;;49330:152:0;9292:414:1;49330:152:0;49541:1;49531:7;:11;:45;;;;;49557:19;;49546:7;:30;;49531:45;49736:37;49753:19;;49736:16;:37::i;:::-;49632:224;;;;;;;;:::i;:::-;;;;;;;;;;;;;49501:397;;;;;-1:-1:-1;;;49501:397:0;;;;;;;;:::i;:::-;;49284:630;49986:11;3964:14;49976:31;;:7;:31;:::i;:::-;49956:16;;:51;;49930:144;;;;-1:-1:-1;;;49930:144:0;;14874:2:1;49930:144:0;;;14856:21:1;14913:2;14893:18;;;14886:30;14952:33;14932:18;;;14925:61;15003:18;;49930:144:0;14672:355:1;49930:144:0;50143:7;50128:12;;:22;;;;:::i;:::-;50115:9;:35;;50295:40;50327:7;50312:12;;:22;;;;:::i;:::-;50295:16;:40::i;:::-;50198:209;;;;;;;;:::i;:::-;;;;;;;;;;;;;50089:352;;;;;-1:-1:-1;;;50089:352:0;;;;;;;;:::i;:::-;;49250:2348;;;50489:10;50478:7;8666:6;;-1:-1:-1;;;;;8666:6:0;;8593:87;50478:7;-1:-1:-1;;;;;50478:21:0;;50474:614;;50560:10;50550:21;;;;:9;:21;;;;;;;;50520:149;;;;-1:-1:-1;;;50520:149:0;;9913:2:1;50520:149:0;;;9895:21:1;9952:2;9932:18;;;9925:30;9991:34;9971:18;;;9964:62;-1:-1:-1;;;10042:18:1;;;10035:52;10104:19;;50520:149:0;9711:418:1;50520:149:0;50728:1;50718:7;:11;:38;;;;;50744:12;;50733:7;:23;;50718:38;50916:30;50933:12;;50916:16;:30::i;:::-;50812:218;;;;;;;;:::i;:::-;;;;;;;;;;;;;50688:384;;;;;-1:-1:-1;;;50688:384:0;;;;;;;;:::i;:::-;;50474:614;51153:11;3964:14;51143:31;;:7;:31;:::i;:::-;51130:9;;:44;;51104:129;;;;-1:-1:-1;;;51104:129:0;;11522:2:1;51104:129:0;;;11504:21:1;11561:2;11541:18;;;11534:30;-1:-1:-1;;;11580:18:1;;;11573:53;11643:18;;51104:129:0;11320:347:1;51104:129:0;51295:7;51287:5;;:15;;;;:::i;:::-;51274:9;:28;;51447:33;51472:7;51464:5;;:15;;;;:::i;51447:33::-;51350:202;;;;;;;;:::i;:::-;;;;;;;;;;;;;51248:338;;;;;-1:-1:-1;;;51248:338:0;;;;;;;;:::i;:::-;;49250:2348;51625:10;51614:7;8666:6;;-1:-1:-1;;;;;8666:6:0;;8593:87;51614:7;-1:-1:-1;;;;;51614:21:0;;51610:380;;51725:14;;51701:11;3964:14;51691:31;;:7;:31;:::i;:::-;:48;;;;:::i;:::-;51678:9;;:61;;51652:146;;;;-1:-1:-1;;;51652:146:0;;11522:2:1;51652:146:0;;;11504:21:1;11561:2;11541:18;;;11534:30;-1:-1:-1;;;11580:18:1;;;11573:53;11643:18;;51652:146:0;11320:347:1;51652:146:0;51899:7;51875:21;51885:10;51875:9;:21::i;:::-;:31;;;;:::i;:::-;51853:18;;:53;;51827:151;;;;-1:-1:-1;;;51827:151:0;;12231:2:1;51827:151:0;;;12213:21:1;12270:2;12250:18;;;12243:30;12309:34;12289:18;;;12282:62;-1:-1:-1;;;12360:18:1;;;12353:34;12404:19;;51827:151:0;12029:400:1;51827:151:0;52005:9;52000:233;52024:7;52020:1;:11;52000:233;;;52053:23;:11;4083:19;;4101:1;4083:19;;;3994:127;52053:23;52091:17;52111:21;:11;3964:14;;3872:114;52111:21;52091:41;;52147:32;52157:10;52169:9;52147;:32::i;:::-;52199:22;;22561:25:1;;;52199:22:0;;22549:2:1;22534:18;52199:22:0;;;;;;;-1:-1:-1;52033:3:0;;;;:::i;:::-;;;;52000:233;;47873:242;-1:-1:-1;;;;;47997:26:0;;47971:4;47997:26;;;:16;:26;;;;;;;;47993:115;;;-1:-1:-1;48047:4:0;;47873:242;-1:-1:-1;47873:242:0:o;30270:104::-;30326:13;30359:7;30352:14;;;;;:::i;32174:187::-;32301:52;7376:10;32334:8;32344;32301:18;:52::i;45538:138::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;45596:13:::1;::::0;;;::::1;;;45588:48;;;::::0;-1:-1:-1;;;45588:48:0;;14523:2:1;45588:48:0::1;::::0;::::1;14505:21:1::0;14562:2;14542:18;;;14535:30;-1:-1:-1;;;14581:18:1;;;14574:52;14643:18;;45588:48:0::1;14321:346:1::0;45588:48:0::1;45647:13;:21:::0;;-1:-1:-1;;45647:21:0::1;::::0;;45538:138::o;45046:71::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;45094:8:::1;:15:::0;;-1:-1:-1;;45094:15:0::1;45105:4;45094:15;::::0;;45046:71::o;44025:161::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;44138:18:::1;:40:::0;44025:161::o;33416:365::-;33605:41;7376:10;33638:7;33605:18;:41::i;:::-;33583:140;;;;-1:-1:-1;;;33583:140:0;;;;;;;:::i;:::-;33734:39;33748:4;33754:2;33758:7;33767:5;33734:13;:39::i;:::-;33416:365;;;;:::o;47256:562::-;35393:4;35417:16;;;:7;:16;;;;;;47374:13;;-1:-1:-1;;;;;35417:16:0;47405:60;;;;-1:-1:-1;;;47405:60:0;;10336:2:1;47405:60:0;;;10318:21:1;10375:2;10355:18;;;10348:30;10414:33;10394:18;;;10387:61;10465:18;;47405:60:0;10134:355:1;47405:60:0;47482:8;;;;47478:333;;;47603:10;:8;:10::i;:::-;47640:25;47657:7;47640:16;:25::i;:::-;47560:162;;;;;;;;;:::i;:::-;;;;;;;;;;;;;47507:234;;47256:562;;;:::o;47478:333::-;47781:18;47774:25;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47256:562;;;:::o;9502:238::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;9605:22:0;::::1;9583:110;;;::::0;-1:-1:-1;;;9583:110:0;;11115:2:1;9583:110:0::1;::::0;::::1;11097:21:1::0;11154:2;11134:18;;;11127:30;11193:34;11173:18;;;11166:62;-1:-1:-1;;;11244:18:1;;;11237:36;11290:19;;9583:110:0::1;10913:402:1::0;9583:110:0::1;9704:28;9723:8;9704:18;:28::i;:::-;9502:238:::0;:::o;45380:114::-;8666:6;;-1:-1:-1;;;;;8666:6:0;7376:10;8813:23;8805:68;;;;-1:-1:-1;;;8805:68:0;;;;;;;:::i;:::-;45458:28;;::::1;::::0;:14:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;39451:174::-:0;39526:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;39526:29:0;-1:-1:-1;;;;;39526:29:0;;;;;;;;:24;;39580:23;39526:24;39580:14;:23::i;:::-;-1:-1:-1;;;;;39571:46:0;;;;;;;;;;;39451:174;;:::o;35622:452::-;35751:4;35417:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35417:16:0;35773:110;;;;-1:-1:-1;;;35773:110:0;;14110:2:1;35773:110:0;;;14092:21:1;14149:2;14129:18;;;14122:30;14188:34;14168:18;;;14161:62;-1:-1:-1;;;14239:18:1;;;14232:42;14291:19;;35773:110:0;13908:408:1;35773:110:0;35894:13;35910:23;35925:7;35910:14;:23::i;:::-;35894:39;;35963:5;-1:-1:-1;;;;;35952:16:0;:7;-1:-1:-1;;;;;35952:16:0;;:64;;;;36009:7;-1:-1:-1;;;;;35985:31:0;:20;35997:7;35985:11;:20::i;:::-;-1:-1:-1;;;;;35985:31:0;;35952:64;:113;;;-1:-1:-1;;;;;;32603:25:0;;;32574:4;32603:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;36033:32;35944:122;35622:452;-1:-1:-1;;;;35622:452:0:o;38718:615::-;38891:4;-1:-1:-1;;;;;38864:31:0;:23;38879:7;38864:14;:23::i;:::-;-1:-1:-1;;;;;38864:31:0;;38842:122;;;;-1:-1:-1;;;38842:122:0;;19606:2:1;38842:122:0;;;19588:21:1;19645:2;19625:18;;;19618:30;19684:34;19664:18;;;19657:62;-1:-1:-1;;;19735:18:1;;;19728:39;19784:19;;38842:122:0;19404:405:1;38842:122:0;-1:-1:-1;;;;;38983:16:0;;38975:65;;;;-1:-1:-1;;;38975:65:0;;12992:2:1;38975:65:0;;;12974:21:1;13031:2;13011:18;;;13004:30;13070:34;13050:18;;;13043:62;-1:-1:-1;;;13121:18:1;;;13114:34;13165:19;;38975:65:0;12790:400:1;38975:65:0;39157:29;39174:1;39178:7;39157:8;:29::i;:::-;-1:-1:-1;;;;;39199:15:0;;;;;;:9;:15;;;;;:20;;39218:1;;39199:15;:20;;39218:1;;39199:20;:::i;:::-;;;;-1:-1:-1;;;;;;;39230:13:0;;;;;;:9;:13;;;;;:18;;39247:1;;39230:13;:18;;39247:1;;39230:18;:::i;:::-;;;;-1:-1:-1;;39259:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;39259:21:0;-1:-1:-1;;;;;39259:21:0;;;;;;;;;39298:27;;39259:16;;39298:27;;;;;;;38718:615;;;:::o;36416:110::-;36492:26;36502:2;36506:7;36492:26;;;;;;;;;;;;:9;:26::i;9900:191::-;9993:6;;;-1:-1:-1;;;;;10010:17:0;;;-1:-1:-1;;;;;;10010:17:0;;;;;;;10043:40;;9993:6;;;10010:17;9993:6;;10043:40;;9974:16;;10043:40;9963:128;9900:191;:::o;4828:723::-;4884:13;5105:10;5101:53;;-1:-1:-1;;5132:10:0;;;;;;;;;;;;-1:-1:-1;;;5132:10:0;;;;;4828:723::o;5101:53::-;5179:5;5164:12;5220:78;5227:9;;5220:78;;5253:8;;;;:::i;:::-;;-1:-1:-1;5276:10:0;;-1:-1:-1;5284:2:0;5276:10;;:::i;:::-;;;5220:78;;;5308:19;5340:6;5330:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5330:17:0;;5308:39;;5358:154;5365:10;;5358:154;;5392:11;5402:1;5392:11;;:::i;:::-;;-1:-1:-1;5461:10:0;5469:2;5461:5;:10;:::i;:::-;5448:24;;:2;:24;:::i;:::-;5435:39;;5418:6;5425;5418:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;5418:56:0;;;;;;;;-1:-1:-1;5489:11:0;5498:2;5489:11;;:::i;:::-;;;5358:154;;39767:315;39922:8;-1:-1:-1;;;;;39913:17:0;:5;-1:-1:-1;;;;;39913:17:0;;;39905:55;;;;-1:-1:-1;;;39905:55:0;;13397:2:1;39905:55:0;;;13379:21:1;13436:2;13416:18;;;13409:30;13475:27;13455:18;;;13448:55;13520:18;;39905:55:0;13195:349:1;39905:55:0;-1:-1:-1;;;;;39971:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;39971:46:0;;;;;;;;;;40033:41;;9016::1;;;40033::0;;8989:18:1;40033:41:0;;;;;;;39767:315;;;:::o;34663:352::-;34820:28;34830:4;34836:2;34840:7;34820:9;:28::i;:::-;34881:48;34904:4;34910:2;34914:7;34923:5;34881:22;:48::i;:::-;34859:148;;;;-1:-1:-1;;;34859:148:0;;;;;;;:::i;47105:108::-;47165:13;47198:7;47191:14;;;;;:::i;36753:321::-;36883:18;36889:2;36893:7;36883:5;:18::i;:::-;36934:54;36965:1;36969:2;36973:7;36982:5;36934:22;:54::i;:::-;36912:154;;;;-1:-1:-1;;;36912:154:0;;;;;;;:::i;40647:980::-;40802:4;-1:-1:-1;;;;;40823:13:0;;11239:20;11287:8;40819:801;;40876:175;;-1:-1:-1;;;40876:175:0;;-1:-1:-1;;;;;40876:36:0;;;;;:175;;7376:10;;40970:4;;40997:7;;41027:5;;40876:175;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40876:175:0;;;;;;;;-1:-1:-1;;40876:175:0;;;;;;;;;;;;:::i;:::-;;;40855:710;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41234:13:0;;41230:320;;41277:108;;-1:-1:-1;;;41277:108:0;;;;;;;:::i;41230:320::-;41500:6;41494:13;41485:6;41481:2;41477:15;41470:38;40855:710;-1:-1:-1;;;;;;41115:51:0;-1:-1:-1;;;41115:51:0;;-1:-1:-1;41108:58:0;;40819:801;-1:-1:-1;41604:4:0;40647:980;;;;;;:::o;37410:382::-;-1:-1:-1;;;;;37490:16:0;;37482:61;;;;-1:-1:-1;;;37482:61:0;;18471:2:1;37482:61:0;;;18453:21:1;;;18490:18;;;18483:30;18549:34;18529:18;;;18522:62;18601:18;;37482:61:0;18269:356:1;37482:61:0;35393:4;35417:16;;;:7;:16;;;;;;-1:-1:-1;;;;;35417:16:0;:30;37554:58;;;;-1:-1:-1;;;37554:58:0;;11874:2:1;37554:58:0;;;11856:21:1;11913:2;11893:18;;;11886:30;11952;11932:18;;;11925:58;12000:18;;37554:58:0;11672:352:1;37554:58:0;-1:-1:-1;;;;;37683:13:0;;;;;;:9;:13;;;;;:18;;37700:1;;37683:13;:18;;37700:1;;37683:18;:::i;:::-;;;;-1:-1:-1;;37712:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;37712:21:0;-1:-1:-1;;;;;37712:21:0;;;;;;;;37751:33;;37712:16;;;37751:33;;37712:16;;37751:33;37410:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;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;603:160;668:20;;724:13;;717:21;707:32;;697:60;;753:1;750;743:12;768:186;827:6;880:2;868:9;859:7;855:23;851:32;848:52;;;896:1;893;886:12;848:52;919:29;938:9;919:29;:::i;:::-;909:39;768:186;-1:-1:-1;;;768:186:1:o;959:260::-;1027:6;1035;1088:2;1076:9;1067:7;1063:23;1059:32;1056:52;;;1104:1;1101;1094:12;1056:52;1127:29;1146:9;1127:29;:::i;:::-;1117:39;;1175:38;1209:2;1198:9;1194:18;1175:38;:::i;:::-;1165:48;;959:260;;;;;:::o;1224:328::-;1301:6;1309;1317;1370:2;1358:9;1349:7;1345:23;1341:32;1338:52;;;1386:1;1383;1376:12;1338:52;1409:29;1428:9;1409:29;:::i;:::-;1399:39;;1457:38;1491:2;1480:9;1476:18;1457:38;:::i;:::-;1447:48;;1542:2;1531:9;1527:18;1514:32;1504:42;;1224:328;;;;;:::o;1557:666::-;1652:6;1660;1668;1676;1729:3;1717:9;1708:7;1704:23;1700:33;1697:53;;;1746:1;1743;1736:12;1697:53;1769:29;1788:9;1769:29;:::i;:::-;1759:39;;1817:38;1851:2;1840:9;1836:18;1817:38;:::i;:::-;1807:48;;1902:2;1891:9;1887:18;1874:32;1864:42;;1957:2;1946:9;1942:18;1929:32;1984:18;1976:6;1973:30;1970:50;;;2016:1;2013;2006:12;1970:50;2039:22;;2092:4;2084:13;;2080:27;-1:-1:-1;2070:55:1;;2121:1;2118;2111:12;2070:55;2144:73;2209:7;2204:2;2191:16;2186:2;2182;2178:11;2144:73;:::i;:::-;2134:83;;;1557:666;;;;;;;:::o;2228:254::-;2293:6;2301;2354:2;2342:9;2333:7;2329:23;2325:32;2322:52;;;2370:1;2367;2360:12;2322:52;2393:29;2412:9;2393:29;:::i;:::-;2383:39;;2441:35;2472:2;2461:9;2457:18;2441:35;:::i;2487:254::-;2555:6;2563;2616:2;2604:9;2595:7;2591:23;2587:32;2584:52;;;2632:1;2629;2622:12;2584:52;2655:29;2674:9;2655:29;:::i;:::-;2645:39;2731:2;2716:18;;;;2703:32;;-1:-1:-1;;;2487:254:1:o;2746:1033::-;2836:6;2844;2897:2;2885:9;2876:7;2872:23;2868:32;2865:52;;;2913:1;2910;2903:12;2865:52;2953:9;2940:23;2982:18;3023:2;3015:6;3012:14;3009:34;;;3039:1;3036;3029:12;3009:34;3077:6;3066:9;3062:22;3052:32;;3122:7;3115:4;3111:2;3107:13;3103:27;3093:55;;3144:1;3141;3134:12;3093:55;3180:2;3167:16;3202:4;3225:2;3221;3218:10;3215:36;;;3231:18;;:::i;:::-;3277:2;3274:1;3270:10;3260:20;;3300:28;3324:2;3320;3316:11;3300:28;:::i;:::-;3362:15;;;3393:12;;;;3425:11;;;3455;;;3451:20;;3448:33;-1:-1:-1;3445:53:1;;;3494:1;3491;3484:12;3445:53;3516:1;3507:10;;3526:169;3540:2;3537:1;3534:9;3526:169;;;3597:23;3616:3;3597:23;:::i;:::-;3585:36;;3558:1;3551:9;;;;;3641:12;;;;3673;;3526:169;;;-1:-1:-1;3714:5:1;-1:-1:-1;3738:35:1;;-1:-1:-1;3754:18:1;;;3738:35;:::i;:::-;3728:45;;;;;;2746:1033;;;;;:::o;3784:245::-;3842:6;3895:2;3883:9;3874:7;3870:23;3866:32;3863:52;;;3911:1;3908;3901:12;3863:52;3950:9;3937:23;3969:30;3993:5;3969:30;:::i;4034:249::-;4103:6;4156:2;4144:9;4135:7;4131:23;4127:32;4124:52;;;4172:1;4169;4162:12;4124:52;4204:9;4198:16;4223:30;4247:5;4223:30;:::i;4288:450::-;4357:6;4410:2;4398:9;4389:7;4385:23;4381:32;4378:52;;;4426:1;4423;4416:12;4378:52;4466:9;4453:23;4499:18;4491:6;4488:30;4485:50;;;4531:1;4528;4521:12;4485:50;4554:22;;4607:4;4599:13;;4595:27;-1:-1:-1;4585:55:1;;4636:1;4633;4626:12;4585:55;4659:73;4724:7;4719:2;4706:16;4701:2;4697;4693:11;4659:73;:::i;4743:180::-;4802:6;4855:2;4843:9;4834:7;4830:23;4826:32;4823:52;;;4871:1;4868;4861:12;4823:52;-1:-1:-1;4894:23:1;;4743:180;-1:-1:-1;4743:180:1:o;4928:254::-;4996:6;5004;5057:2;5045:9;5036:7;5032:23;5028:32;5025:52;;;5073:1;5070;5063:12;5025:52;5109:9;5096:23;5086:33;;5138:38;5172:2;5161:9;5157:18;5138:38;:::i;5187:257::-;5228:3;5266:5;5260:12;5293:6;5288:3;5281:19;5309:63;5365:6;5358:4;5353:3;5349:14;5342:4;5335:5;5331:16;5309:63;:::i;:::-;5426:2;5405:15;-1:-1:-1;;5401:29:1;5392:39;;;;5433:4;5388:50;;5187:257;-1:-1:-1;;5187:257:1:o;5449:637::-;5729:3;5767:6;5761:13;5783:53;5829:6;5824:3;5817:4;5809:6;5805:17;5783:53;:::i;:::-;5899:13;;5858:16;;;;5921:57;5899:13;5858:16;5955:4;5943:17;;5921:57;:::i;:::-;-1:-1:-1;;;6000:20:1;;6029:22;;;6078:1;6067:13;;5449:637;-1:-1:-1;;;;5449:637:1:o;6091:618::-;6454:27;6449:3;6442:40;6424:3;6511:6;6505:13;6527:62;6582:6;6577:2;6572:3;6568:12;6561:4;6553:6;6549:17;6527:62;:::i;:::-;-1:-1:-1;;;6648:2:1;6608:16;;;;6640:11;;;6633:43;-1:-1:-1;6700:2:1;6692:11;;6091:618;-1:-1:-1;6091:618:1:o;6714:621::-;-1:-1:-1;;;7072:3:1;7065:39;7047:3;7133:6;7127:13;7149:62;7204:6;7199:2;7194:3;7190:12;7183:4;7175:6;7171:17;7149:62;:::i;:::-;7275:26;7270:2;7230:16;;;;7262:11;;;7255:47;-1:-1:-1;7326:2:1;7318:11;;6714:621;-1:-1:-1;6714:621:1:o;7340:620::-;-1:-1:-1;;;7698:3:1;7691:39;7673:3;7759:6;7753:13;7775:62;7830:6;7825:2;7820:3;7816:12;7809:4;7801:6;7797:17;7775:62;:::i;:::-;7901:25;7896:2;7856:16;;;;7888:11;;;7881:46;-1:-1:-1;7951:2:1;7943:11;;7340:620;-1:-1:-1;7340:620:1:o;8383:488::-;-1:-1:-1;;;;;8652:15:1;;;8634:34;;8704:15;;8699:2;8684:18;;8677:43;8751:2;8736:18;;8729:34;;;8799:3;8794:2;8779:18;;8772:31;;;8577:4;;8820:45;;8845:19;;8837:6;8820:45;:::i;:::-;8812:53;8383:488;-1:-1:-1;;;;;;8383:488:1:o;9068:219::-;9217:2;9206:9;9199:21;9180:4;9237:44;9277:2;9266:9;9262:18;9254:6;9237:44;:::i;10494:414::-;10696:2;10678:21;;;10735:2;10715:18;;;10708:30;10774:34;10769:2;10754:18;;10747:62;-1:-1:-1;;;10840:2:1;10825:18;;10818:48;10898:3;10883:19;;10494:414::o;15379:402::-;15581:2;15563:21;;;15620:2;15600:18;;;15593:30;15659:34;15654:2;15639:18;;15632:62;-1:-1:-1;;;15725:2:1;15710:18;;15703:36;15771:3;15756:19;;15379:402::o;19043:356::-;19245:2;19227:21;;;19264:18;;;19257:30;19323:34;19318:2;19303:18;;19296:62;19390:2;19375:18;;19043:356::o;20866:413::-;21068:2;21050:21;;;21107:2;21087:18;;;21080:30;21146:34;21141:2;21126:18;;21119:62;-1:-1:-1;;;21212:2:1;21197:18;;21190:47;21269:3;21254:19;;20866:413::o;22597:275::-;22668:2;22662:9;22733:2;22714:13;;-1:-1:-1;;22710:27:1;22698:40;;22768:18;22753:34;;22789:22;;;22750:62;22747:88;;;22815:18;;:::i;:::-;22851:2;22844:22;22597:275;;-1:-1:-1;22597:275:1:o;22877:128::-;22917:3;22948:1;22944:6;22941:1;22938:13;22935:39;;;22954:18;;:::i;:::-;-1:-1:-1;22990:9:1;;22877:128::o;23010:120::-;23050:1;23076;23066:35;;23081:18;;:::i;:::-;-1:-1:-1;23115:9:1;;23010:120::o;23135:168::-;23175:7;23241:1;23237;23233:6;23229:14;23226:1;23223:21;23218:1;23211:9;23204:17;23200:45;23197:71;;;23248:18;;:::i;:::-;-1:-1:-1;23288:9:1;;23135:168::o;23308:125::-;23348:4;23376:1;23373;23370:8;23367:34;;;23381:18;;:::i;:::-;-1:-1:-1;23418:9:1;;23308:125::o;23438:258::-;23510:1;23520:113;23534:6;23531:1;23528:13;23520:113;;;23610:11;;;23604:18;23591:11;;;23584:39;23556:2;23549:10;23520:113;;;23651:6;23648:1;23645:13;23642:48;;;-1:-1:-1;;23686:1:1;23668:16;;23661:27;23438:258::o;23701:380::-;23780:1;23776:12;;;;23823;;;23844:61;;23898:4;23890:6;23886:17;23876:27;;23844:61;23951:2;23943:6;23940:14;23920:18;23917:38;23914:161;;;23997:10;23992:3;23988:20;23985:1;23978:31;24032:4;24029:1;24022:15;24060:4;24057:1;24050:15;23914:161;;23701:380;;;:::o;24086:135::-;24125:3;-1:-1:-1;;24146:17:1;;24143:43;;;24166:18;;:::i;:::-;-1:-1:-1;24213:1:1;24202:13;;24086:135::o;24226:112::-;24258:1;24284;24274:35;;24289:18;;:::i;:::-;-1:-1:-1;24323:9:1;;24226:112::o;24343:127::-;24404:10;24399:3;24395:20;24392:1;24385:31;24435:4;24432:1;24425:15;24459:4;24456:1;24449:15;24475:127;24536:10;24531:3;24527:20;24524:1;24517:31;24567:4;24564:1;24557:15;24591:4;24588:1;24581:15;24607:127;24668:10;24663:3;24659:20;24656:1;24649:31;24699:4;24696:1;24689:15;24723:4;24720:1;24713:15;24739:127;24800:10;24795:3;24791:20;24788:1;24781:31;24831:4;24828:1;24821:15;24855:4;24852:1;24845:15;24871:131;-1:-1:-1;;;;;;24945:32:1;;24935:43;;24925:71;;24992:1;24989;24982:12

Swarm Source

ipfs://5e52efe795c213bec85c865db8450366604be0170be14674dd541133fbdf2191

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.