ETH Price: $3,439.65 (+3.32%)

Contract

0xd34C8A5cB467fD3cDa97E41e0322fa27e172Ec0E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Contract Sta...194276512024-03-13 17:32:47602 days ago1710351167IN
0xd34C8A5c...7e172Ec0E
0 ETH0.0020494770.28602165
Buy Tokens Publi...194269382024-03-13 15:07:11602 days ago1710342431IN
0xd34C8A5c...7e172Ec0E
0.1 ETH0.0069369264.15293666
Buy Tokens Publi...194262612024-03-13 12:49:59602 days ago1710334199IN
0xd34C8A5c...7e172Ec0E
0.018 ETH0.0096547289.29723314
Buy Tokens Publi...194221372024-03-12 22:59:23603 days ago1710284363IN
0xd34C8A5c...7e172Ec0E
0.01265246 ETH0.0061388660.77601712
Buy Tokens Publi...194196002024-03-12 14:29:11603 days ago1710253751IN
0xd34C8A5c...7e172Ec0E
0.01246514 ETH0.0068199167.51861042
Buy Tokens Publi...194195692024-03-12 14:22:59603 days ago1710253379IN
0xd34C8A5c...7e172Ec0E
0.01246514 ETH0.0072133571.41370186
Buy Tokens Publi...194145112024-03-11 21:23:47604 days ago1710192227IN
0xd34C8A5c...7e172Ec0E
0.05 ETH0.0069475764.25142578
Buy Tokens Publi...194138092024-03-11 19:02:35604 days ago1710183755IN
0xd34C8A5c...7e172Ec0E
0.1 ETH0.0086834395.38989735
Buy Tokens Publi...194127302024-03-11 15:24:47604 days ago1710170687IN
0xd34C8A5c...7e172Ec0E
0.015 ETH0.0103614295.83353877
Buy Tokens Publi...194108952024-03-11 9:15:35604 days ago1710148535IN
0xd34C8A5c...7e172Ec0E
0.16 ETH0.0062371157.68111576
Buy Tokens Publi...194082072024-03-11 0:14:59605 days ago1710116099IN
0xd34C8A5c...7e172Ec0E
0.375 ETH0.0054935650.80469824
Buy Tokens Publi...194075222024-03-10 21:57:35605 days ago1710107855IN
0xd34C8A5c...7e172Ec0E
0 ETH0.0071012561.95423013
Buy Tokens Publi...194065912024-03-10 18:49:35605 days ago1710096575IN
0xd34C8A5c...7e172Ec0E
0.15 ETH0.006668961.67428804
Buy Tokens Publi...194047822024-03-10 12:46:23605 days ago1710074783IN
0xd34C8A5c...7e172Ec0E
0.01268272 ETH0.0052147551.62716995
Buy Tokens Publi...194046822024-03-10 12:26:23605 days ago1710073583IN
0xd34C8A5c...7e172Ec0E
0.02079967 ETH0.0044498553.04012721
Buy Tokens Publi...194040052024-03-10 10:09:47605 days ago1710065387IN
0xd34C8A5c...7e172Ec0E
0.03 ETH0.0056622552.37056954
Buy Tokens Publi...193989812024-03-09 17:17:59606 days ago1710004679IN
0xd34C8A5c...7e172Ec0E
0.1 ETH0.007779971.94892174
Buy Tokens Publi...193989362024-03-09 17:08:59606 days ago1710004139IN
0xd34C8A5c...7e172Ec0E
0.02566866 ETH0.0078351377.57865383
Buy Tokens Publi...193984542024-03-09 15:31:47606 days ago1709998307IN
0xd34C8A5c...7e172Ec0E
0.015 ETH0.0070725770.01996003
Buy Tokens Publi...193984472024-03-09 15:30:23606 days ago1709998223IN
0xd34C8A5c...7e172Ec0E
0.043291 ETH0.0075595774.83250293
Buy Tokens Publi...193983642024-03-09 15:13:47606 days ago1709997227IN
0xd34C8A5c...7e172Ec0E
0.035 ETH0.006324958.49301705
Buy Tokens Publi...193981132024-03-09 14:23:35606 days ago1709994215IN
0xd34C8A5c...7e172Ec0E
0.0687863 ETH0.0068353667.66344065
Buy Tokens Publi...193970812024-03-09 10:56:23606 days ago1709981783IN
0xd34C8A5c...7e172Ec0E
0.03 ETH0.0047161243.61974661
Buy Tokens Publi...193952122024-03-09 4:39:35606 days ago1709959175IN
0xd34C8A5c...7e172Ec0E
0.0127067 ETH0.0037895437.51724302
Buy Tokens Publi...193945252024-03-09 2:21:23607 days ago1709950883IN
0xd34C8A5c...7e172Ec0E
0.05 ETH0.0052371948.43384062
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer194269382024-03-13 15:07:11602 days ago1710342431
0xd34C8A5c...7e172Ec0E
0 ETH
Transfer194269382024-03-13 15:07:11602 days ago1710342431
0xd34C8A5c...7e172Ec0E
0.09999999 ETH
Transfer194262612024-03-13 12:49:59602 days ago1710334199
0xd34C8A5c...7e172Ec0E
0.00000001 ETH
Transfer194262612024-03-13 12:49:59602 days ago1710334199
0xd34C8A5c...7e172Ec0E
0.01799998 ETH
Transfer194221372024-03-12 22:59:23603 days ago1710284363
0xd34C8A5c...7e172Ec0E
0.01265246 ETH
Transfer194196002024-03-12 14:29:11603 days ago1710253751
0xd34C8A5c...7e172Ec0E
0.01246514 ETH
Transfer194195692024-03-12 14:22:59603 days ago1710253379
0xd34C8A5c...7e172Ec0E
0.01246514 ETH
Transfer194145112024-03-11 21:23:47604 days ago1710192227
0xd34C8A5c...7e172Ec0E
0 ETH
Transfer194145112024-03-11 21:23:47604 days ago1710192227
0xd34C8A5c...7e172Ec0E
0.04999999 ETH
Transfer194138092024-03-11 19:02:35604 days ago1710183755
0xd34C8A5c...7e172Ec0E
0 ETH
Transfer194138092024-03-11 19:02:35604 days ago1710183755
0xd34C8A5c...7e172Ec0E
0.09999999 ETH
Transfer194127302024-03-11 15:24:47604 days ago1710170687
0xd34C8A5c...7e172Ec0E
0 ETH
Transfer194127302024-03-11 15:24:47604 days ago1710170687
0xd34C8A5c...7e172Ec0E
0.01499999 ETH
Transfer194108952024-03-11 9:15:35604 days ago1710148535
0xd34C8A5c...7e172Ec0E
0.00000002 ETH
Transfer194108952024-03-11 9:15:35604 days ago1710148535
0xd34C8A5c...7e172Ec0E
0.15999997 ETH
Transfer194082072024-03-11 0:14:59605 days ago1710116099
0xd34C8A5c...7e172Ec0E
0 ETH
Transfer194082072024-03-11 0:14:59605 days ago1710116099
0xd34C8A5c...7e172Ec0E
0.37499999 ETH
Transfer194065912024-03-10 18:49:35605 days ago1710096575
0xd34C8A5c...7e172Ec0E
0.00000001 ETH
Transfer194065912024-03-10 18:49:35605 days ago1710096575
0xd34C8A5c...7e172Ec0E
0.14999998 ETH
Transfer194047822024-03-10 12:46:23605 days ago1710074783
0xd34C8A5c...7e172Ec0E
0.01268272 ETH
Transfer194046822024-03-10 12:26:23605 days ago1710073583
0xd34C8A5c...7e172Ec0E
0.02079967 ETH
Transfer194040052024-03-10 10:09:47605 days ago1710065387
0xd34C8A5c...7e172Ec0E
0.00000002 ETH
Transfer194040052024-03-10 10:09:47605 days ago1710065387
0xd34C8A5c...7e172Ec0E
0.02999997 ETH
Transfer193989812024-03-09 17:17:59606 days ago1710004679
0xd34C8A5c...7e172Ec0E
0 ETH
Transfer193989812024-03-09 17:17:59606 days ago1710004679
0xd34C8A5c...7e172Ec0E
0.09999999 ETH
View All Internal Transactions
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BigChungusSale

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : BigChungusSale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title $CHUNGUS Sale

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)


/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Permit.sol)

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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

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

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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

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

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

/**
 * @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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }
}

// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

interface AggregatorV3Interface {

  function decimals()
    external
    view
    returns (
      uint8
    );

  function description()
    external
    view
    returns (
      string memory
    );

  function version()
    external
    view
    returns (
      uint256
    );

  // getRoundData and latestRoundData should both raise "No data present"
  // if they do not have data to report, instead of returning unset values
  // which could be misinterpreted as actual reported values.
  function getRoundData(
    uint80 _roundId
  )
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

  function latestRoundData()
    external
    view
    returns (
      uint80 roundId,
      int256 answer,
      uint256 startedAt,
      uint256 updatedAt,
      uint80 answeredInRound
    );

}

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

pragma solidity ^0.8.0;

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

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

contract BigChungusSale is Ownable, ReentrancyGuard {
    using SafeERC20 for IERC20;

    using Address for address payable;

    IERC20 public tokenContract; // token contract

    enum ContractState {
        OFF,
        SEED,
        FARMERS,
        PUBLIC,
        CLAIM
    }
    ContractState public contractState = ContractState.OFF;

    mapping(uint256 => uint256) public totalTokensBought;

    uint256 public totalTokensSeed = 1500000000 * 10 ** 18;
    uint256 public totalTokensFarmers=  2999999999 * 10 ** 18;
    uint256 public totalTokensPublic =  1000000000 * 10 ** 18;


    mapping(address => mapping(uint256 => uint256)) public tokensBought; // tokensBought[address] = number of tokens bought by address
    mapping(address => uint256) public claimedTokens; // claimedTokens[address] = number of tokens claimed by address

    uint256 public tokenPrice = 100000000 ether; //USD price has 8 decimals (5$ = 500000000), we also need to add ether (18 decimals)

    AggregatorV3Interface public priceFeed;
    // Supported payment methods
    mapping(address => bool) public supportedPaymentMethods;

    bytes32 public merkleRootSeed;
    bytes32 public merkleRootFarmers;

    uint256 public seedTGE = 20;
    uint256 public farmersTGE = 25;
    uint256 public publicTGE = 30;

    uint256 public vestingDurationSeed = 8 weeks; // Total duration of vesting
    uint256 public vestingDurationFarmers = 7 weeks;
    uint256 public vestingDurationPublic = 6 weeks;

    uint256 public claimStartTimestamp;

    // Define min and max buy amounts as global variables
    uint256 public minBuyAmount;
    uint256 public maxBuyAmount;

    address public treasury;

    // Events
    event TokensBought(address indexed buyer, address indexed paymentToken, uint256 numberOfTokens);

    event TokensClaimed(address indexed claimer, uint256 numberOfTokens);

    constructor() {

        // tokenContract = ;
        // treasury = ;

        // supportedPaymentMethods[] = true; // USDT
        // supportedPaymentMethods[] = true; // USDC


    }

    /**
     * Ensure current state is correct for this method.
     */
    modifier isContractState(ContractState contractState_) {
        require(contractState == contractState_, "Invalid state");
        _;
    }

    // Modifiers to check if the mint amount is within the allowed range for each stage
    // modifier withinLimit(uint256 numberOfTokens) {
    //     if (contractState == ContractState.SEED) {
    //         require(totalTokensBought + numberOfTokens <= totalTokensSeed, "Exceeds Seed stage limit");
    //     }
    //     else if (contractState == ContractState.FARMERS) {
    //         require(totalTokensBought + numberOfTokens <= totalTokensFarmers, "Exceeds Seed stage limit");
    //     }
    //     else {
    //         require(totalTokensBought + numberOfTokens <= totalTokensPublic, "Exceeds Seed stage limit");
    //     }
    //     _;
    // }

    /**
     *
     * @notice Throws if called when presale is not active
     * @param paymentToken the method of payment
     * @param numberOfTokens the number of tokens to buy
     */
    function buyTokensSeed(uint256 numberOfTokens, address paymentToken, bytes32[] calldata proof) external payable nonReentrant isContractState(ContractState.SEED) {
        require((tokensBought[msg.sender][1] + numberOfTokens) >= minBuyAmount && (tokensBought[msg.sender][1] + numberOfTokens) <= maxBuyAmount, "Purchase amount outside allowed range");

        /// Check if user is on the allow list
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        // Check the merkle proof
        require(MerkleProof.verify(proof, merkleRootSeed, leaf), "Invalid proof");
        

        if (numberOfTokens + totalTokensBought[1] > totalTokensSeed) {
            numberOfTokens = totalTokensSeed - totalTokensBought[1];
        }
        
        if (msg.value > 0) {
            require(address(paymentToken) == address(0), "Cannot Have Both ETH & ERC20 Payment Methodd!");

            uint256 cost = getCost(paymentToken, numberOfTokens);
            require(msg.value >= cost, "Insufficient Funds Sent!");
            tokensBought[msg.sender][1] += numberOfTokens;
            totalTokensBought[1] += numberOfTokens;

            (bool sent, ) = payable(treasury).call{value: cost}("");
            require(sent, "Failed To Send!");
            uint256 remainder = msg.value - cost;
            if (remainder > 0) {
                (sent, ) = payable(msg.sender).call{value: remainder}("");
                require(sent, "Failed To Refund Extra!");
            }
        } else {
            uint256 cost = getCost(paymentToken, numberOfTokens);
            require(IERC20(paymentToken).allowance(msg.sender, address(this)) >= cost, "Not Enough Allowance!");
            tokensBought[msg.sender][1] += numberOfTokens;
            totalTokensBought[1] += numberOfTokens;

            IERC20(paymentToken).safeTransferFrom(msg.sender, treasury, cost);
        }

        // Emit event
        emit TokensBought(
            msg.sender,
            paymentToken,
            numberOfTokens
        );
    }

    /**
     *
     * @notice Throws if called when presale is not active
     * @param paymentToken the method of payment
     * @param numberOfTokens the number of tokens to buy
     */
    function buyTokensFarmers(uint256 numberOfTokens, address paymentToken, bytes32[] calldata proof) external payable nonReentrant isContractState(ContractState.FARMERS) {
        require((tokensBought[msg.sender][2] + numberOfTokens) >= minBuyAmount && (tokensBought[msg.sender][2] + numberOfTokens) <= maxBuyAmount, "Purchase amount outside allowed range");

        /// Check if user is on the allow list
        bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
        // Check the merkle proof
        require(MerkleProof.verify(proof, merkleRootFarmers, leaf), "Invalid proof");
        

        if (numberOfTokens + totalTokensBought[2] > totalTokensFarmers) {
            numberOfTokens = totalTokensFarmers - totalTokensBought[2];
        }
        
        if (msg.value > 0) {
            require(address(paymentToken) == address(0), "Cannot Have Both ETH & ERC20 Payment Methodd!");

            uint256 cost = getCost(paymentToken, numberOfTokens);
            require(msg.value >= cost, "Insufficient Funds Sent!");
            tokensBought[msg.sender][2] += numberOfTokens;
            totalTokensBought[2] += numberOfTokens;

            (bool sent, ) = payable(treasury).call{value: cost}("");
            require(sent, "Failed To Send!");
            uint256 remainder = msg.value - cost;
            if (remainder > 0) {
                (sent, ) = payable(msg.sender).call{value: remainder}("");
                require(sent, "Failed To Refund Extra!");
            }
        } else {
            uint256 cost = getCost(paymentToken, numberOfTokens);
            require(IERC20(paymentToken).allowance(msg.sender, address(this)) >= cost, "Not Enough Allowance!");
            tokensBought[msg.sender][2] += numberOfTokens;
            totalTokensBought[2] += numberOfTokens;

            IERC20(paymentToken).safeTransferFrom(msg.sender, treasury, cost);
        }

        // Emit event
        emit TokensBought(
            msg.sender,
            paymentToken,
            numberOfTokens
        );
    }

        /**
     *
     * @notice Throws if called when presale is not active
     * @param paymentToken the method of payment
     * @param numberOfTokens the number of tokens to buy
     */
    function buyTokensPublic(uint256 numberOfTokens, address paymentToken) external payable nonReentrant isContractState(ContractState.PUBLIC) {
        require((tokensBought[msg.sender][3] + numberOfTokens) >= minBuyAmount && (tokensBought[msg.sender][3] + numberOfTokens) <= maxBuyAmount, "Purchase amount outside allowed range");

        if (numberOfTokens + totalTokensBought[3] > totalTokensPublic) {
            numberOfTokens = totalTokensPublic - totalTokensBought[3];
        }
        
        if (msg.value > 0) {
            require(address(paymentToken) == address(0), "Cannot Have Both ETH & ERC20 Payment Methodd!");

            uint256 cost = getCost(paymentToken, numberOfTokens);
            require(msg.value >= cost, "Insufficient Funds Sent!");
            tokensBought[msg.sender][3] += numberOfTokens;
            totalTokensBought[3] += numberOfTokens;

            (bool sent, ) = payable(treasury).call{value: cost}("");
            require(sent, "Failed To Send!");
            uint256 remainder = msg.value - cost;
            if (remainder > 0) {
                (sent, ) = payable(msg.sender).call{value: remainder}("");
                require(sent, "Failed To Refund Extra!");
            }
        } else {
            uint256 cost = getCost(paymentToken, numberOfTokens);
            require(IERC20(paymentToken).allowance(msg.sender, address(this)) >= cost, "Not Enough Allowance!");
            tokensBought[msg.sender][3] += numberOfTokens;
            totalTokensBought[3] += numberOfTokens;

            IERC20(paymentToken).safeTransferFrom(msg.sender, treasury, cost);
        }

        // Check if we exceeded total amount
        if (totalTokensBought[3] == totalTokensPublic) {
            contractState = ContractState.OFF;
        }

        // Emit event
        emit TokensBought(
            msg.sender,
            paymentToken,
            numberOfTokens
        );
    }

    /**
     * @notice Transfer the number of tokens that can currently be claimed by the user (if any)
     */
    function claimTokens() external nonReentrant isContractState(ContractState.CLAIM) {
        require(block.timestamp > claimStartTimestamp, "Vesting Has Not Started Yet");

        uint256 tokensToClaim = calculateVestedTokens(msg.sender);

        require(tokensToClaim > 0, "No Tokens available for claim yet");

        claimedTokens[msg.sender] += tokensToClaim;
        tokenContract.safeTransfer(msg.sender, tokensToClaim);

        // Emit event
        emit TokensClaimed(msg.sender, tokensToClaim);
    }

    /**
     * @notice Calculates the amount of tokens that have vested for a user based on the global claimStartTimestamp.
     * @param user The address of the user.
     * @return The amount of vested tokens.
     */
    function calculateVestedTokens(address user) public view returns (uint256) {
        
        uint256 totalTokens;
        uint256 vestedTokens;
        for (uint i = 1; i < 4; i++) {
            uint256 timeElapsed = block.timestamp - claimStartTimestamp;
            if (i == 1) {
                if (timeElapsed >= vestingDurationSeed) {
                    vestedTokens = tokensBought[user][i];
                }
                else {
                    vestedTokens = (tokensBought[user][i] * seedTGE / 100) + (((tokensBought[user][i] * (100 - seedTGE)) / 100) * timeElapsed) / vestingDurationSeed;

                }
            }
            else if (i == 2) {
                if (timeElapsed >= vestingDurationFarmers) {
                    vestedTokens = tokensBought[user][i];
                }
                else {
                    vestedTokens = (tokensBought[user][i] * farmersTGE / 100) + (((tokensBought[user][i] * (100 - farmersTGE)) / 100) * timeElapsed) / vestingDurationFarmers;
                }
            }
            else {
                if (timeElapsed >= vestingDurationPublic) {
                    vestedTokens = tokensBought[user][i];
                }
                else {
                    vestedTokens = (tokensBought[user][i] * publicTGE / 100) + (((tokensBought[user][i] * (100 - publicTGE)) / 100) * timeElapsed) / vestingDurationPublic;
                }
            }

            totalTokens += vestedTokens;
        }

        return totalTokens - claimedTokens[user];
    }

    function getTokentoUSD() public view returns(int) {
          (,int price,,,) = priceFeed.latestRoundData();
          return price;
    }

    function getPriceEth() public view returns(uint256) {
          int price = getTokentoUSD();
          return tokenPrice / uint256(price);
    }

    /**
     * Calculate the cost of buying a number of tokens
     * @param paymentToken method of payment
     * @param numberOfTokens number of tokens to buy
     */
    function getCost(
        address paymentToken,
        uint256 numberOfTokens
    ) public view returns (uint256) {
        uint256 cost;
        if (paymentToken == address(0)) {
            cost = (numberOfTokens * getPriceEth()) / 10 ** 18;
        }
        else {
            require(supportedPaymentMethods[paymentToken], "Unsupported Payment Method!");
            cost = (numberOfTokens * tokenPrice * 10 ** IERC20Metadata(paymentToken).decimals()) / 10 ** 44;
        }

        return cost;
    }

    /**
    * @dev Function to retrieve the tokens avialable for purchase in a specific round
    * @param _buyer Address of the buyer
    * @param _round Active State (1 - SEED, 2 - FARMERS, 3 - PUBLIC)
    * @dev Make sure to input the correct active state of the contract. You can queue it by calling contractState(). 
    * Otherwise calculations within the function are irrelevant
    */
    function getTokensAvailable(address _buyer, uint256 _round) public view returns(uint256) {
        uint256 amount = maxBuyAmount - tokensBought[_buyer][_round];
        return amount;
    }

    /**
     * @notice Set price
     * @param _tokenPrice token price
     */
    function setTokenPrice(
        uint256 _tokenPrice
    ) external onlyOwner {
        tokenPrice = _tokenPrice;
    }

    /**
     * @dev Sets the price feed contract address.
     * Can only be called by the contract owner.
     *
     * @param _priceFeedAddress The address of the new price feed contract.
     */
    function setPriceFeed(address _priceFeedAddress) external onlyOwner {
        require(_priceFeedAddress != address(0), "Invalid address"); // Ensuring the provided address is not the zero address.
        priceFeed = AggregatorV3Interface(_priceFeedAddress); // Setting the new price feed address.
    }

    /**
     * @dev Sets the token contract address.
     * Can only be called by the contract owner.
     *
     * @param _tokenContractAddress The address of the new token contract.
     */
    function setTokenContract(address _tokenContractAddress) external onlyOwner {
        require(_tokenContractAddress != address(0), "Invalid address"); // Ensuring the provided address is not the zero address.
        tokenContract = IERC20(_tokenContractAddress); // Setting the new token contract address.
    }

    /**
     * @dev Sets the treasury address.
     * Can only be called by the contract owner.
     *
     * @param _treasuryAddress The address of the new treasury.
     */
    function setTreasury(address _treasuryAddress) external onlyOwner {
        require(_treasuryAddress != address(0), "Invalid address"); // Ensuring the provided address is not the zero address.
        treasury = _treasuryAddress; // Setting the new treasury address.
    }

    /**
     * @dev Sets the TGE percentage for Seed stage.
     * Can only be called when claimStartTimestamp is 0 and by the contract owner.
     *
     * @param _seedTGE The new TGE percentage for Seed stage.
     */
    function setSeedTGE(uint256 _seedTGE) external onlyOwner {
        require(claimStartTimestamp == 0, "Cannot change TGE after claims have started");
        require(_seedTGE <= 100, "TGE percentage cannot exceed 100");
        seedTGE = _seedTGE;
    }

    /**
     * @dev Sets the TGE percentage for Farmers stage.
     * Can only be called when claimStartTimestamp is 0 and by the contract owner.
     *
     * @param _farmersTGE The new TGE percentage for Farmers stage.
     */
    function setFarmersTGE(uint256 _farmersTGE) external onlyOwner {
        require(claimStartTimestamp == 0, "Cannot change TGE after claims have started");
        require(_farmersTGE <= 100, "TGE percentage cannot exceed 100");
        farmersTGE = _farmersTGE;
    }

    /**
     * @dev Sets the TGE percentage for Public stage.
     * Can only be called when claimStartTimestamp is 0 and by the contract owner.
     *
     * @param _publicTGE The new TGE percentage for Public stage.
     */
    function setPublicTGE(uint256 _publicTGE) external onlyOwner {
        require(claimStartTimestamp == 0, "Cannot change TGE after claims have started");
        require(_publicTGE <= 100, "TGE percentage cannot exceed 100");
        publicTGE = _publicTGE;
    }

    /**
     * @dev Sets the vesting duration for the Seed stage.
     * Can only be called by the contract owner before claiming starts.
     *
     * @param _duration The new vesting duration for the Seed stage in seconds.
     */
    function setVestingDurationSeed(uint256 _duration) external onlyOwner {
        require(claimStartTimestamp == 0, "Cannot change duration after claims have started");
        vestingDurationSeed = _duration;
    }

    /**
     * @dev Sets the vesting duration for the Farmers stage.
     * Can only be called by the contract owner before claiming starts.
     *
     * @param _duration The new vesting duration for the Farmers stage in seconds.
     */
    function setVestingDurationFarmers(uint256 _duration) external onlyOwner {
        require(claimStartTimestamp == 0, "Cannot change duration after claims have started");
        vestingDurationFarmers = _duration;
    }

    /**
     * @dev Sets the vesting duration for the Public stage.
     * Can only be called by the contract owner before claiming starts.
     *
     * @param _duration The new vesting duration for the Public stage in seconds.
     */
    function setVestingDurationPublic(uint256 _duration) external onlyOwner {
        require(claimStartTimestamp == 0, "Cannot change duration after claims have started");
        vestingDurationPublic = _duration;
    }

    /**
     * @dev Sets the minimum buy amount.
     * Can only be called by the contract owner.
     *
     * @param _minBuyAmount The new minimum buy amount.
     */
    function setMinBuyAmount(uint256 _minBuyAmount) external onlyOwner {
        require(_minBuyAmount <= maxBuyAmount, "Min buy amount cannot exceed max buy amount");
        minBuyAmount = _minBuyAmount;
    }

    /**
     * @dev Sets the maximum buy amount.
     * Can only be called by the contract owner.
     *
     * @param _maxBuyAmount The new maximum buy amount.
     */
    function setMaxBuyAmount(uint256 _maxBuyAmount) external onlyOwner {
        require(_maxBuyAmount >= minBuyAmount, "Max buy amount cannot be less than min buy amount");
        maxBuyAmount = _maxBuyAmount;
    }

    /**
     * @dev Sets the contract's operational state.
     * @param newState The new state to set the contract to
     */
    function setContractState(uint256 newState) external onlyOwner {
        require(newState < 5, "Invalid state.");
        contractState = ContractState(newState);

        if (newState == 4) {
            claimStartTimestamp = block.timestamp;
        }
    }

    /**
    * @dev Sets the Token Seed amount
    */
    function setTokensSeed(uint256 _amount) external onlyOwner {
        totalTokensSeed = _amount;
    }

    /** 
    * @dev Sets the TokensFarmers amount
    */
    function setTokensFarmers(uint256 _amount) external onlyOwner {
        totalTokensFarmers = _amount;
    }

    /** 
    * @dev Sets the TokensPublic amount
    */
    function setTokensPublic(uint256 _amount) external onlyOwner {
        totalTokensPublic = _amount;
    }

    /**
     * @param merkleRoot_ The new merkle root
     */
    function setMerkleRootSeed(bytes32 merkleRoot_) external onlyOwner {
        merkleRootSeed = merkleRoot_;
    }

    /**
     * @param merkleRoot_ The new merkle root
     */
    function setMerkleRootFarmers(bytes32 merkleRoot_) external onlyOwner {
        merkleRootFarmers = merkleRoot_;
    }

    /**
     * @notice Set a price feed for a given payment method
     * @param paymentToken IERC20 token to set price feed for
     */
    function setPaymentMethod(address paymentToken) external onlyOwner {
        require(paymentToken != address(0), "Invalid Address!");
        supportedPaymentMethods[paymentToken] = true;
    }

    /**
     * @notice Transfer ownership of the contract to a new owner after the presale ends
     * @param newOwner new owner of the contract
     */
    function transferOwnership(address newOwner) public override onlyOwner {
        Ownable.transferOwnership(newOwner);
    }

    /**
     * Revert any funds sent to the contract directly
     */
    receive() external payable {
        revert();
    }
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":true,"internalType":"address","name":"paymentToken","type":"address"},{"indexed":false,"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"TokensBought","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"paymentToken","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"buyTokensFarmers","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"paymentToken","type":"address"}],"name":"buyTokensPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"paymentToken","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"buyTokensSeed","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"calculateVestedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractState","outputs":[{"internalType":"enum BigChungusSale.ContractState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"farmersTGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"paymentToken","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"getCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPriceEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_buyer","type":"address"},{"internalType":"uint256","name":"_round","type":"uint256"}],"name":"getTokensAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokentoUSD","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootFarmers","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootSeed","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"priceFeed","outputs":[{"internalType":"contract AggregatorV3Interface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"seedTGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newState","type":"uint256"}],"name":"setContractState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_farmersTGE","type":"uint256"}],"name":"setFarmersTGE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBuyAmount","type":"uint256"}],"name":"setMaxBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootFarmers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRootSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minBuyAmount","type":"uint256"}],"name":"setMinBuyAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"paymentToken","type":"address"}],"name":"setPaymentMethod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_priceFeedAddress","type":"address"}],"name":"setPriceFeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicTGE","type":"uint256"}],"name":"setPublicTGE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_seedTGE","type":"uint256"}],"name":"setSeedTGE","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContractAddress","type":"address"}],"name":"setTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenPrice","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTokensFarmers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTokensPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTokensSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setVestingDurationFarmers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setVestingDurationPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setVestingDurationSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"supportedPaymentMethods","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"totalTokensBought","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensFarmers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingDurationFarmers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingDurationPublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingDurationSeed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526000600260146101000a81548160ff021916908360048111156200002d576200002c6200019c565b5b02179055506b04d8c55aefb8c05b5c0000006004556b09b18ab5d190ca03109c00006005556b033b2e3c9fd0803ce80000006006556a52b7d2dcc80cd2e40000006009556014600e556019600f55601e6010556249d4006011556240998060125562375f00601355348015620000a257600080fd5b50620000c3620000b7620000d060201b60201c565b620000d860201b60201c565b60018081905550620001cb565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b61555980620001db6000396000f3fe6080604052600436106103395760003560e01c80638d2b88e0116101ab578063c2cbeaec116100f7578063f34eb0b811610095578063f92f6cbd1161006f578063f92f6cbd14610bb7578063fb7265ff14610be0578063fca2fd9514610c09578063fe2d867f14610c3257610343565b8063f34eb0b814610b38578063f4bf601f14610b61578063f66bf22914610b8c57610343565b8063dfc5d02f116100d1578063dfc5d02f14610a92578063ebadfde614610abd578063f0f4426014610ae6578063f2fde38b14610b0f57610343565b8063c2cbeaec14610a10578063d494c38814610a4d578063dc5c09f014610a7657610343565b8063a783e57511610164578063bb8053841161013e578063bb80538414610954578063bbcd5bbe1461097f578063c0a86a4a146109a8578063c1372993146109d357610343565b8063a783e575146108c1578063a960c65f146108ec578063b1c82a971461092957610343565b80638d2b88e0146107d65780638da5cb5b146107f257806390f1cbe21461081d57806397c82cef1461084657806399f0da7e1461086f5780639cfa8fca1461089857610343565b80636a61e5fc116102855780637ff9b5961161022357806386c16687116101fd57806386c166871461073957806388e765ff146107645780638a9185341461078f5780638aa01222146107ab57610343565b80637ff9b596146106ba57806385209ee0146106e55780638613e3161461071057610343565b8063724e78da1161025f578063724e78da14610612578063741bef1a1461063b57806374910a87146106665780637b4936481461068f57610343565b80636a61e5fc146105955780636ebf55d0146105be578063715018a6146105fb57610343565b806352ea4f77116102f25780635bffe846116102cc5780635bffe846146104d95780635c5074c4146105165780635fb527051461053f57806361d027b31461056a57610343565b806352ea4f771461043457806355a373d6146104715780635ad9ff241461049c57610343565b8063086b74b91461034857806325f9f214146103735780632a85e8521461039e5780633acdee27146103c957806348c54b9d146103f4578063492192871461040b57610343565b3661034357600080fd5b600080fd5b34801561035457600080fd5b5061035d610c5b565b60405161036a9190613cb4565b60405180910390f35b34801561037f57600080fd5b50610388610cfc565b6040516103959190613ce8565b60405180910390f35b3480156103aa57600080fd5b506103b3610d02565b6040516103c09190613d1c565b60405180910390f35b3480156103d557600080fd5b506103de610d08565b6040516103eb9190613d1c565b60405180910390f35b34801561040057600080fd5b50610409610d0e565b005b34801561041757600080fd5b50610432600480360381019061042d9190613d6d565b610f1e565b005b34801561044057600080fd5b5061045b60048036038101906104569190613df8565b610fb9565b6040516104689190613d1c565b60405180910390f35b34801561047d57600080fd5b50610486611167565b6040516104939190613e97565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613eb2565b61118d565b6040516104d09190613efa565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190613d6d565b6111ad565b60405161050d9190613d1c565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190613d6d565b6111c5565b005b34801561054b57600080fd5b5061055461121c565b6040516105619190613d1c565b60405180910390f35b34801561057657600080fd5b5061057f611222565b60405161058c9190613f24565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190613d6d565b611248565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190613df8565b61125a565b6040516105f29190613d1c565b60405180910390f35b34801561060757600080fd5b5061061061127f565b005b34801561061e57600080fd5b5061063960048036038101906106349190613eb2565b611293565b005b34801561064757600080fd5b5061065061134e565b60405161065d9190613f60565b60405180910390f35b34801561067257600080fd5b5061068d60048036038101906106889190613eb2565b611374565b005b34801561069b57600080fd5b506106a4611446565b6040516106b19190613ce8565b60405180910390f35b3480156106c657600080fd5b506106cf61144c565b6040516106dc9190613d1c565b60405180910390f35b3480156106f157600080fd5b506106fa611452565b6040516107079190613ff2565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613d6d565b611465565b005b34801561074557600080fd5b5061074e611477565b60405161075b9190613d1c565b60405180910390f35b34801561077057600080fd5b5061077961147d565b6040516107869190613d1c565b60405180910390f35b6107a960048036038101906107a49190614072565b611483565b005b3480156107b757600080fd5b506107c0611c37565b6040516107cd9190613d1c565b60405180910390f35b6107f060048036038101906107eb91906140e6565b611c3d565b005b3480156107fe57600080fd5b50610807612378565b6040516108149190613f24565b60405180910390f35b34801561082957600080fd5b50610844600480360381019061083f9190613d6d565b6123a1565b005b34801561085257600080fd5b5061086d60048036038101906108689190613d6d565b6123b3565b005b34801561087b57600080fd5b5061089660048036038101906108919190613d6d565b61244e565b005b3480156108a457600080fd5b506108bf60048036038101906108ba9190614152565b6124a5565b005b3480156108cd57600080fd5b506108d66124b7565b6040516108e39190613d1c565b60405180910390f35b3480156108f857600080fd5b50610913600480360381019061090e9190613eb2565b6124bd565b6040516109209190613d1c565b60405180910390f35b34801561093557600080fd5b5061093e6124d5565b60405161094b9190613d1c565b60405180910390f35b34801561096057600080fd5b506109696124db565b6040516109769190613d1c565b60405180910390f35b34801561098b57600080fd5b506109a660048036038101906109a19190613eb2565b6124e1565b005b3480156109b457600080fd5b506109bd61259c565b6040516109ca9190613d1c565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f59190613df8565b6125bd565b604051610a079190613d1c565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a329190613eb2565b61262a565b604051610a449190613d1c565b60405180910390f35b348015610a5957600080fd5b50610a746004803603810190610a6f9190613d6d565b612b15565b005b610a906004803603810190610a8b9190614072565b612b6c565b005b348015610a9e57600080fd5b50610aa7613320565b604051610ab49190613d1c565b60405180910390f35b348015610ac957600080fd5b50610ae46004803603810190610adf9190613d6d565b613326565b005b348015610af257600080fd5b50610b0d6004803603810190610b089190613eb2565b61337d565b005b348015610b1b57600080fd5b50610b366004803603810190610b319190613eb2565b613438565b005b348015610b4457600080fd5b50610b5f6004803603810190610b5a9190613d6d565b61344c565b005b348015610b6d57600080fd5b50610b766134a3565b604051610b839190613d1c565b60405180910390f35b348015610b9857600080fd5b50610ba16134a9565b604051610bae9190613d1c565b60405180910390f35b348015610bc357600080fd5b50610bde6004803603810190610bd99190614152565b6134af565b005b348015610bec57600080fd5b50610c076004803603810190610c029190613d6d565b6134c1565b005b348015610c1557600080fd5b50610c306004803603810190610c2b9190613d6d565b61355b565b005b348015610c3e57600080fd5b50610c596004803603810190610c549190613d6d565b61356d565b005b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cef9190614202565b5050509150508091505090565b600c5481565b60115481565b60125481565b610d16613608565b6004806004811115610d2b57610d2a613f7b565b5b600260149054906101000a900460ff166004811115610d4d57610d4c613f7b565b5b14610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d84906142da565b60405180910390fd5b6014544211610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890614346565b60405180910390fd5b6000610ddc3361262a565b905060008111610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e18906143d8565b60405180910390fd5b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e709190614427565b92505081905550610ec43382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136579092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e43082604051610f0a9190613d1c565b60405180910390a25050610f1c6136dd565b565b610f266136e6565b600060145414610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f62906144cd565b60405180910390fd5b6064811115610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690614539565b60405180910390fd5b80600f8190555050565b600080600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361101d57670de0b6b3a764000061100161259c565b8461100c9190614559565b61101691906145ca565b905061115d565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a090614647565b60405180910390fd5b72047bf19673df52e37f2410011d1000000000008473ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906146a0565b600a6111389190614800565b600954856111469190614559565b6111509190614559565b61115a91906145ca565b90505b8091505092915050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b60036020528060005260406000206000915090505481565b6111cd6136e6565b600060145414611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906148bd565b60405180910390fd5b8060118190555050565b60045481565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112506136e6565b8060098190555050565b6007602052816000526040600020602052806000526040600020600091509150505481565b6112876136e6565b6112916000613764565b565b61129b6136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130190614929565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61137c6136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290614995565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600d5481565b60095481565b600260149054906101000a900460ff1681565b61146d6136e6565b8060048190555050565b600f5481565b60165481565b61148b613608565b60018060048111156114a05761149f613f7b565b5b600260149054906101000a900460ff1660048111156114c2576114c1613f7b565b5b14611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f9906142da565b60405180910390fd5b60155485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020546115629190614427565b101580156115ce575060165485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020546115cb9190614427565b11155b61160d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160490614a27565b60405180910390fd5b6000611617613828565b6040516020016116279190614a8f565b60405160208183030381529060405280519060200120905061168d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483613830565b6116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390614af6565b60405180910390fd5b600454600360006001815260200190815260200160002054876116ef9190614427565b111561171a576003600060018152602001908152602001600020546004546117179190614b16565b95505b6000341115611a1257600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178990614bbc565b60405180910390fd5b600061179e8688610fb9565b9050803410156117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da90614c28565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546118449190614427565b92505081905550866003600060018152602001908152602001600020600082825461186f9190614427565b925050819055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516118be90614c79565b60006040518083038185875af1925050503d80600081146118fb576040519150601f19603f3d011682016040523d82523d6000602084013e611900565b606091505b5050905080611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90614cda565b60405180910390fd5b600082346119529190614b16565b90506000811115611a0a573373ffffffffffffffffffffffffffffffffffffffff168160405161198190614c79565b60006040518083038185875af1925050503d80600081146119be576040519150601f19603f3d011682016040523d82523d6000602084013e6119c3565b606091505b50508092505081611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090614d46565b60405180910390fd5b5b505050611bc2565b6000611a1e8688610fb9565b9050808673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611a5c929190614d66565b602060405180830381865afa158015611a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9d9190614d8f565b1015611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590614e08565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600181526020019081526020016000206000828254611b3f9190614427565b925050819055508660036000600181526020019081526020016000206000828254611b6a9190614427565b92505081905550611bc033601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838973ffffffffffffffffffffffffffffffffffffffff16613847909392919063ffffffff16565b505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f76a32dce3ca886d7dda77ccb2d08e47f9cd441cdf4a84beb3a1d74edb7acafc188604051611c1f9190613d1c565b60405180910390a35050611c316136dd565b50505050565b60065481565b611c45613608565b6003806004811115611c5a57611c59613f7b565b5b600260149054906101000a900460ff166004811115611c7c57611c7b613f7b565b5b14611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb3906142da565b60405180910390fd5b60155483600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006003815260200190815260200160002054611d1c9190614427565b10158015611d88575060165483600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006003815260200190815260200160002054611d859190614427565b11155b611dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbe90614a27565b60405180910390fd5b60065460036000600381526020019081526020016000205484611dea9190614427565b1115611e1557600360006003815260200190815260200160002054600654611e129190614b16565b92505b600034111561210d57600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8490614bbc565b60405180910390fd5b6000611e998385610fb9565b905080341015611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614c28565b60405180910390fd5b83600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600381526020019081526020016000206000828254611f3f9190614427565b925050819055508360036000600381526020019081526020016000206000828254611f6a9190614427565b925050819055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611fb990614c79565b60006040518083038185875af1925050503d8060008114611ff6576040519150601f19603f3d011682016040523d82523d6000602084013e611ffb565b606091505b505090508061203f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203690614cda565b60405180910390fd5b6000823461204d9190614b16565b90506000811115612105573373ffffffffffffffffffffffffffffffffffffffff168160405161207c90614c79565b60006040518083038185875af1925050503d80600081146120b9576040519150601f19603f3d011682016040523d82523d6000602084013e6120be565b606091505b50508092505081612104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb90614d46565b60405180910390fd5b5b5050506122bd565b60006121198385610fb9565b9050808373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401612157929190614d66565b602060405180830381865afa158015612174573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121989190614d8f565b10156121d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d090614e08565b60405180910390fd5b83600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060038152602001908152602001600020600082825461223a9190614427565b9250508190555083600360006003815260200190815260200160002060008282546122659190614427565b925050819055506122bb33601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838673ffffffffffffffffffffffffffffffffffffffff16613847909392919063ffffffff16565b505b60065460036000600381526020019081526020016000205403612306576000600260146101000a81548160ff02191690836004811115612300576122ff613f7b565b5b02179055505b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f76a32dce3ca886d7dda77ccb2d08e47f9cd441cdf4a84beb3a1d74edb7acafc1856040516123639190613d1c565b60405180910390a3506123746136dd565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6123a96136e6565b8060068190555050565b6123bb6136e6565b600060145414612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f7906144cd565b60405180910390fd5b6064811115612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b90614539565b60405180910390fd5b80600e8190555050565b6124566136e6565b60006014541461249b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612492906148bd565b60405180910390fd5b8060138190555050565b6124ad6136e6565b80600d8190555050565b60105481565b60086020528060005260406000206000915090505481565b600e5481565b60135481565b6124e96136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90614929565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806125a7610c5b565b9050806009546125b791906145ca565b91505090565b600080600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000205460165461261e9190614b16565b90508091505092915050565b600080600080600190505b6004811015612ac05760006014544261264e9190614b16565b9050600182036127c35760115481106126b957600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205492506127be565b601154816064600e5460646126ce9190614b16565b600760008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878152602001908152602001600020546127299190614559565b61273391906145ca565b61273d9190614559565b61274791906145ca565b6064600e54600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020546127a79190614559565b6127b191906145ca565b6127bb9190614427565b92505b612a9e565b6002820361293657601254811061282c57600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549250612931565b601254816064600f5460646128419190614b16565b600760008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000205461289c9190614559565b6128a691906145ca565b6128b09190614559565b6128ba91906145ca565b6064600f54600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205461291a9190614559565b61292491906145ca565b61292e9190614427565b92505b612a9d565b601354811061299757600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549250612a9c565b60135481606460105460646129ac9190614b16565b600760008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087815260200190815260200160002054612a079190614559565b612a1191906145ca565b612a1b9190614559565b612a2591906145ca565b6064601054600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002054612a859190614559565b612a8f91906145ca565b612a999190614427565b92505b5b5b8284612aaa9190614427565b9350508080612ab890614e28565b915050612635565b50600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482612b0c9190614b16565b92505050919050565b612b1d6136e6565b601654811115612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990614ee2565b60405180910390fd5b8060158190555050565b612b74613608565b6002806004811115612b8957612b88613f7b565b5b600260149054906101000a900460ff166004811115612bab57612baa613f7b565b5b14612beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be2906142da565b60405180910390fd5b60155485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002054612c4b9190614427565b10158015612cb7575060165485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002054612cb49190614427565b11155b612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ced90614a27565b60405180910390fd5b6000612d00613828565b604051602001612d109190614a8f565b604051602081830303815290604052805190602001209050612d76848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483613830565b612db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dac90614af6565b60405180910390fd5b60055460036000600281526020019081526020016000205487612dd89190614427565b1115612e0357600360006002815260200190815260200160002054600554612e009190614b16565b95505b60003411156130fb57600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7290614bbc565b60405180910390fd5b6000612e878688610fb9565b905080341015612ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec390614c28565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281526020019081526020016000206000828254612f2d9190614427565b925050819055508660036000600281526020019081526020016000206000828254612f589190614427565b925050819055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051612fa790614c79565b60006040518083038185875af1925050503d8060008114612fe4576040519150601f19603f3d011682016040523d82523d6000602084013e612fe9565b606091505b505090508061302d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302490614cda565b60405180910390fd5b6000823461303b9190614b16565b905060008111156130f3573373ffffffffffffffffffffffffffffffffffffffff168160405161306a90614c79565b60006040518083038185875af1925050503d80600081146130a7576040519150601f19603f3d011682016040523d82523d6000602084013e6130ac565b606091505b505080925050816130f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e990614d46565b60405180910390fd5b5b5050506132ab565b60006131078688610fb9565b9050808673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401613145929190614d66565b602060405180830381865afa158015613162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131869190614d8f565b10156131c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131be90614e08565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002060008282546132289190614427565b9250508190555086600360006002815260200190815260200160002060008282546132539190614427565b925050819055506132a933601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838973ffffffffffffffffffffffffffffffffffffffff16613847909392919063ffffffff16565b505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f76a32dce3ca886d7dda77ccb2d08e47f9cd441cdf4a84beb3a1d74edb7acafc1886040516133089190613d1c565b60405180910390a3505061331a6136dd565b50505050565b60145481565b61332e6136e6565b600060145414613373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336a906148bd565b60405180910390fd5b8060128190555050565b6133856136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036133f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133eb90614929565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6134406136e6565b613449816138d0565b50565b6134546136e6565b601554811015613499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349090614f74565b60405180910390fd5b8060168190555050565b60055481565b60155481565b6134b76136e6565b80600c8190555050565b6134c96136e6565b6005811061350c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350390614fe0565b60405180910390fd5b80600481111561351f5761351e613f7b565b5b600260146101000a81548160ff0219169083600481111561354357613542613f7b565b5b02179055506004810361355857426014819055505b50565b6135636136e6565b8060058190555050565b6135756136e6565b6000601454146135ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b1906144cd565b60405180910390fd5b60648111156135fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f590614539565b60405180910390fd5b8060108190555050565b60026001540361364d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136449061504c565b60405180910390fd5b6002600181905550565b6136d88363a9059cbb60e01b848460405160240161367692919061506c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613953565b505050565b60018081905550565b6136ee613828565b73ffffffffffffffffffffffffffffffffffffffff1661370c612378565b73ffffffffffffffffffffffffffffffffffffffff1614613762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613759906150e1565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008261383d8584613a1b565b1490509392505050565b6138ca846323b872dd60e01b85858560405160240161386893929190615101565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613953565b50505050565b6138d86136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393e906151aa565b60405180910390fd5b61395081613764565b50565b60006139b5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ace9092919063ffffffff16565b90506000815114806139d75750808060200190518101906139d691906151f6565b5b613a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0d90615295565b60405180910390fd5b505050565b60008082905060005b8451811015613ac3576000858281518110613a4257613a416152b5565b5b60200260200101519050808311613a83578281604051602001613a66929190615305565b604051602081830303815290604052805190602001209250613aaf565b8083604051602001613a96929190615305565b6040516020818303038152906040528051906020012092505b508080613abb90614e28565b915050613a24565b508091505092915050565b6060613add8484600085613ae6565b90509392505050565b606082471015613b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b22906153a3565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b549190615429565b60006040518083038185875af1925050503d8060008114613b91576040519150601f19603f3d011682016040523d82523d6000602084013e613b96565b606091505b5091509150613ba787838387613bb3565b92505050949350505050565b60608315613c15576000835103613c0d57613bcd85613c28565b613c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c039061548c565b60405180910390fd5b5b829050613c20565b613c1f8383613c4b565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115613c5e5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c929190615501565b60405180910390fd5b6000819050919050565b613cae81613c9b565b82525050565b6000602082019050613cc96000830184613ca5565b92915050565b6000819050919050565b613ce281613ccf565b82525050565b6000602082019050613cfd6000830184613cd9565b92915050565b6000819050919050565b613d1681613d03565b82525050565b6000602082019050613d316000830184613d0d565b92915050565b600080fd5b600080fd5b613d4a81613d03565b8114613d5557600080fd5b50565b600081359050613d6781613d41565b92915050565b600060208284031215613d8357613d82613d37565b5b6000613d9184828501613d58565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dc582613d9a565b9050919050565b613dd581613dba565b8114613de057600080fd5b50565b600081359050613df281613dcc565b92915050565b60008060408385031215613e0f57613e0e613d37565b5b6000613e1d85828601613de3565b9250506020613e2e85828601613d58565b9150509250929050565b6000819050919050565b6000613e5d613e58613e5384613d9a565b613e38565b613d9a565b9050919050565b6000613e6f82613e42565b9050919050565b6000613e8182613e64565b9050919050565b613e9181613e76565b82525050565b6000602082019050613eac6000830184613e88565b92915050565b600060208284031215613ec857613ec7613d37565b5b6000613ed684828501613de3565b91505092915050565b60008115159050919050565b613ef481613edf565b82525050565b6000602082019050613f0f6000830184613eeb565b92915050565b613f1e81613dba565b82525050565b6000602082019050613f396000830184613f15565b92915050565b6000613f4a82613e64565b9050919050565b613f5a81613f3f565b82525050565b6000602082019050613f756000830184613f51565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613fbb57613fba613f7b565b5b50565b6000819050613fcc82613faa565b919050565b6000613fdc82613fbe565b9050919050565b613fec81613fd1565b82525050565b60006020820190506140076000830184613fe3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126140325761403161400d565b5b8235905067ffffffffffffffff81111561404f5761404e614012565b5b60208301915083602082028301111561406b5761406a614017565b5b9250929050565b6000806000806060858703121561408c5761408b613d37565b5b600061409a87828801613d58565b94505060206140ab87828801613de3565b935050604085013567ffffffffffffffff8111156140cc576140cb613d3c565b5b6140d88782880161401c565b925092505092959194509250565b600080604083850312156140fd576140fc613d37565b5b600061410b85828601613d58565b925050602061411c85828601613de3565b9150509250929050565b61412f81613ccf565b811461413a57600080fd5b50565b60008135905061414c81614126565b92915050565b60006020828403121561416857614167613d37565b5b60006141768482850161413d565b91505092915050565b600069ffffffffffffffffffff82169050919050565b61419e8161417f565b81146141a957600080fd5b50565b6000815190506141bb81614195565b92915050565b6141ca81613c9b565b81146141d557600080fd5b50565b6000815190506141e7816141c1565b92915050565b6000815190506141fc81613d41565b92915050565b600080600080600060a0868803121561421e5761421d613d37565b5b600061422c888289016141ac565b955050602061423d888289016141d8565b945050604061424e888289016141ed565b935050606061425f888289016141ed565b9250506080614270888289016141ac565b9150509295509295909350565b600082825260208201905092915050565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b60006142c4600d8361427d565b91506142cf8261428e565b602082019050919050565b600060208201905081810360008301526142f3816142b7565b9050919050565b7f56657374696e6720486173204e6f742053746172746564205965740000000000600082015250565b6000614330601b8361427d565b915061433b826142fa565b602082019050919050565b6000602082019050818103600083015261435f81614323565b9050919050565b7f4e6f20546f6b656e7320617661696c61626c6520666f7220636c61696d20796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006143c260218361427d565b91506143cd82614366565b604082019050919050565b600060208201905081810360008301526143f1816143b5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061443282613d03565b915061443d83613d03565b9250828201905080821115614455576144546143f8565b5b92915050565b7f43616e6e6f74206368616e67652054474520616674657220636c61696d73206860008201527f6176652073746172746564000000000000000000000000000000000000000000602082015250565b60006144b7602b8361427d565b91506144c28261445b565b604082019050919050565b600060208201905081810360008301526144e6816144aa565b9050919050565b7f5447452070657263656e746167652063616e6e6f742065786365656420313030600082015250565b600061452360208361427d565b915061452e826144ed565b602082019050919050565b6000602082019050818103600083015261455281614516565b9050919050565b600061456482613d03565b915061456f83613d03565b925082820261457d81613d03565b91508282048414831517614594576145936143f8565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145d582613d03565b91506145e083613d03565b9250826145f0576145ef61459b565b5b828204905092915050565b7f556e737570706f72746564205061796d656e74204d6574686f64210000000000600082015250565b6000614631601b8361427d565b915061463c826145fb565b602082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b600060ff82169050919050565b61467d81614667565b811461468857600080fd5b50565b60008151905061469a81614674565b92915050565b6000602082840312156146b6576146b5613d37565b5b60006146c48482850161468b565b91505092915050565b60008160011c9050919050565b6000808291508390505b600185111561472457808604811115614700576146ff6143f8565b5b600185161561470f5780820291505b808102905061471d856146cd565b94506146e4565b94509492505050565b60008261473d57600190506147f9565b8161474b57600090506147f9565b8160018114614761576002811461476b5761479a565b60019150506147f9565b60ff84111561477d5761477c6143f8565b5b8360020a915084821115614794576147936143f8565b5b506147f9565b5060208310610133831016604e8410600b84101617156147cf5782820a9050838111156147ca576147c96143f8565b5b6147f9565b6147dc84848460016146da565b925090508184048111156147f3576147f26143f8565b5b81810290505b9392505050565b600061480b82613d03565b915061481683614667565b92506148437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461472d565b905092915050565b7f43616e6e6f74206368616e6765206475726174696f6e20616674657220636c6160008201527f696d732068617665207374617274656400000000000000000000000000000000602082015250565b60006148a760308361427d565b91506148b28261484b565b604082019050919050565b600060208201905081810360008301526148d68161489a565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000614913600f8361427d565b915061491e826148dd565b602082019050919050565b6000602082019050818103600083015261494281614906565b9050919050565b7f496e76616c696420416464726573732100000000000000000000000000000000600082015250565b600061497f60108361427d565b915061498a82614949565b602082019050919050565b600060208201905081810360008301526149ae81614972565b9050919050565b7f507572636861736520616d6f756e74206f75747369646520616c6c6f7765642060008201527f72616e6765000000000000000000000000000000000000000000000000000000602082015250565b6000614a1160258361427d565b9150614a1c826149b5565b604082019050919050565b60006020820190508181036000830152614a4081614a04565b9050919050565b60008160601b9050919050565b6000614a5f82614a47565b9050919050565b6000614a7182614a54565b9050919050565b614a89614a8482613dba565b614a66565b82525050565b6000614a9b8284614a78565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614ae0600d8361427d565b9150614aeb82614aaa565b602082019050919050565b60006020820190508181036000830152614b0f81614ad3565b9050919050565b6000614b2182613d03565b9150614b2c83613d03565b9250828203905081811115614b4457614b436143f8565b5b92915050565b7f43616e6e6f74204861766520426f74682045544820262045524332302050617960008201527f6d656e74204d6574686f64642100000000000000000000000000000000000000602082015250565b6000614ba6602d8361427d565b9150614bb182614b4a565b604082019050919050565b60006020820190508181036000830152614bd581614b99565b9050919050565b7f496e73756666696369656e742046756e64732053656e74210000000000000000600082015250565b6000614c1260188361427d565b9150614c1d82614bdc565b602082019050919050565b60006020820190508181036000830152614c4181614c05565b9050919050565b600081905092915050565b50565b6000614c63600083614c48565b9150614c6e82614c53565b600082019050919050565b6000614c8482614c56565b9150819050919050565b7f4661696c656420546f2053656e64210000000000000000000000000000000000600082015250565b6000614cc4600f8361427d565b9150614ccf82614c8e565b602082019050919050565b60006020820190508181036000830152614cf381614cb7565b9050919050565b7f4661696c656420546f20526566756e6420457874726121000000000000000000600082015250565b6000614d3060178361427d565b9150614d3b82614cfa565b602082019050919050565b60006020820190508181036000830152614d5f81614d23565b9050919050565b6000604082019050614d7b6000830185613f15565b614d886020830184613f15565b9392505050565b600060208284031215614da557614da4613d37565b5b6000614db3848285016141ed565b91505092915050565b7f4e6f7420456e6f75676820416c6c6f77616e6365210000000000000000000000600082015250565b6000614df260158361427d565b9150614dfd82614dbc565b602082019050919050565b60006020820190508181036000830152614e2181614de5565b9050919050565b6000614e3382613d03565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e6557614e646143f8565b5b600182019050919050565b7f4d696e2062757920616d6f756e742063616e6e6f7420657863656564206d617860008201527f2062757920616d6f756e74000000000000000000000000000000000000000000602082015250565b6000614ecc602b8361427d565b9150614ed782614e70565b604082019050919050565b60006020820190508181036000830152614efb81614ebf565b9050919050565b7f4d61782062757920616d6f756e742063616e6e6f74206265206c65737320746860008201527f616e206d696e2062757920616d6f756e74000000000000000000000000000000602082015250565b6000614f5e60318361427d565b9150614f6982614f02565b604082019050919050565b60006020820190508181036000830152614f8d81614f51565b9050919050565b7f496e76616c69642073746174652e000000000000000000000000000000000000600082015250565b6000614fca600e8361427d565b9150614fd582614f94565b602082019050919050565b60006020820190508181036000830152614ff981614fbd565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615036601f8361427d565b915061504182615000565b602082019050919050565b6000602082019050818103600083015261506581615029565b9050919050565b60006040820190506150816000830185613f15565b61508e6020830184613d0d565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150cb60208361427d565b91506150d682615095565b602082019050919050565b600060208201905081810360008301526150fa816150be565b9050919050565b60006060820190506151166000830186613f15565b6151236020830185613f15565b6151306040830184613d0d565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061519460268361427d565b915061519f82615138565b604082019050919050565b600060208201905081810360008301526151c381615187565b9050919050565b6151d381613edf565b81146151de57600080fd5b50565b6000815190506151f0816151ca565b92915050565b60006020828403121561520c5761520b613d37565b5b600061521a848285016151e1565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061527f602a8361427d565b915061528a82615223565b604082019050919050565b600060208201905081810360008301526152ae81615272565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6152ff6152fa82613ccf565b6152e4565b82525050565b600061531182856152ee565b60208201915061532182846152ee565b6020820191508190509392505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061538d60268361427d565b915061539882615331565b604082019050919050565b600060208201905081810360008301526153bc81615380565b9050919050565b600081519050919050565b60005b838110156153ec5780820151818401526020810190506153d1565b60008484015250505050565b6000615403826153c3565b61540d8185614c48565b935061541d8185602086016153ce565b80840191505092915050565b600061543582846153f8565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615476601d8361427d565b915061548182615440565b602082019050919050565b600060208201905081810360008301526154a581615469565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b60006154d3826154ac565b6154dd818561427d565b93506154ed8185602086016153ce565b6154f6816154b7565b840191505092915050565b6000602082019050818103600083015261551b81846154c8565b90509291505056fea26469706673582212204f358a39b190dd9472e547dbe62c526d0793728e340ab2f1df8ce3395c6f6fa564736f6c63430008120033

Deployed Bytecode

0x6080604052600436106103395760003560e01c80638d2b88e0116101ab578063c2cbeaec116100f7578063f34eb0b811610095578063f92f6cbd1161006f578063f92f6cbd14610bb7578063fb7265ff14610be0578063fca2fd9514610c09578063fe2d867f14610c3257610343565b8063f34eb0b814610b38578063f4bf601f14610b61578063f66bf22914610b8c57610343565b8063dfc5d02f116100d1578063dfc5d02f14610a92578063ebadfde614610abd578063f0f4426014610ae6578063f2fde38b14610b0f57610343565b8063c2cbeaec14610a10578063d494c38814610a4d578063dc5c09f014610a7657610343565b8063a783e57511610164578063bb8053841161013e578063bb80538414610954578063bbcd5bbe1461097f578063c0a86a4a146109a8578063c1372993146109d357610343565b8063a783e575146108c1578063a960c65f146108ec578063b1c82a971461092957610343565b80638d2b88e0146107d65780638da5cb5b146107f257806390f1cbe21461081d57806397c82cef1461084657806399f0da7e1461086f5780639cfa8fca1461089857610343565b80636a61e5fc116102855780637ff9b5961161022357806386c16687116101fd57806386c166871461073957806388e765ff146107645780638a9185341461078f5780638aa01222146107ab57610343565b80637ff9b596146106ba57806385209ee0146106e55780638613e3161461071057610343565b8063724e78da1161025f578063724e78da14610612578063741bef1a1461063b57806374910a87146106665780637b4936481461068f57610343565b80636a61e5fc146105955780636ebf55d0146105be578063715018a6146105fb57610343565b806352ea4f77116102f25780635bffe846116102cc5780635bffe846146104d95780635c5074c4146105165780635fb527051461053f57806361d027b31461056a57610343565b806352ea4f771461043457806355a373d6146104715780635ad9ff241461049c57610343565b8063086b74b91461034857806325f9f214146103735780632a85e8521461039e5780633acdee27146103c957806348c54b9d146103f4578063492192871461040b57610343565b3661034357600080fd5b600080fd5b34801561035457600080fd5b5061035d610c5b565b60405161036a9190613cb4565b60405180910390f35b34801561037f57600080fd5b50610388610cfc565b6040516103959190613ce8565b60405180910390f35b3480156103aa57600080fd5b506103b3610d02565b6040516103c09190613d1c565b60405180910390f35b3480156103d557600080fd5b506103de610d08565b6040516103eb9190613d1c565b60405180910390f35b34801561040057600080fd5b50610409610d0e565b005b34801561041757600080fd5b50610432600480360381019061042d9190613d6d565b610f1e565b005b34801561044057600080fd5b5061045b60048036038101906104569190613df8565b610fb9565b6040516104689190613d1c565b60405180910390f35b34801561047d57600080fd5b50610486611167565b6040516104939190613e97565b60405180910390f35b3480156104a857600080fd5b506104c360048036038101906104be9190613eb2565b61118d565b6040516104d09190613efa565b60405180910390f35b3480156104e557600080fd5b5061050060048036038101906104fb9190613d6d565b6111ad565b60405161050d9190613d1c565b60405180910390f35b34801561052257600080fd5b5061053d60048036038101906105389190613d6d565b6111c5565b005b34801561054b57600080fd5b5061055461121c565b6040516105619190613d1c565b60405180910390f35b34801561057657600080fd5b5061057f611222565b60405161058c9190613f24565b60405180910390f35b3480156105a157600080fd5b506105bc60048036038101906105b79190613d6d565b611248565b005b3480156105ca57600080fd5b506105e560048036038101906105e09190613df8565b61125a565b6040516105f29190613d1c565b60405180910390f35b34801561060757600080fd5b5061061061127f565b005b34801561061e57600080fd5b5061063960048036038101906106349190613eb2565b611293565b005b34801561064757600080fd5b5061065061134e565b60405161065d9190613f60565b60405180910390f35b34801561067257600080fd5b5061068d60048036038101906106889190613eb2565b611374565b005b34801561069b57600080fd5b506106a4611446565b6040516106b19190613ce8565b60405180910390f35b3480156106c657600080fd5b506106cf61144c565b6040516106dc9190613d1c565b60405180910390f35b3480156106f157600080fd5b506106fa611452565b6040516107079190613ff2565b60405180910390f35b34801561071c57600080fd5b5061073760048036038101906107329190613d6d565b611465565b005b34801561074557600080fd5b5061074e611477565b60405161075b9190613d1c565b60405180910390f35b34801561077057600080fd5b5061077961147d565b6040516107869190613d1c565b60405180910390f35b6107a960048036038101906107a49190614072565b611483565b005b3480156107b757600080fd5b506107c0611c37565b6040516107cd9190613d1c565b60405180910390f35b6107f060048036038101906107eb91906140e6565b611c3d565b005b3480156107fe57600080fd5b50610807612378565b6040516108149190613f24565b60405180910390f35b34801561082957600080fd5b50610844600480360381019061083f9190613d6d565b6123a1565b005b34801561085257600080fd5b5061086d60048036038101906108689190613d6d565b6123b3565b005b34801561087b57600080fd5b5061089660048036038101906108919190613d6d565b61244e565b005b3480156108a457600080fd5b506108bf60048036038101906108ba9190614152565b6124a5565b005b3480156108cd57600080fd5b506108d66124b7565b6040516108e39190613d1c565b60405180910390f35b3480156108f857600080fd5b50610913600480360381019061090e9190613eb2565b6124bd565b6040516109209190613d1c565b60405180910390f35b34801561093557600080fd5b5061093e6124d5565b60405161094b9190613d1c565b60405180910390f35b34801561096057600080fd5b506109696124db565b6040516109769190613d1c565b60405180910390f35b34801561098b57600080fd5b506109a660048036038101906109a19190613eb2565b6124e1565b005b3480156109b457600080fd5b506109bd61259c565b6040516109ca9190613d1c565b60405180910390f35b3480156109df57600080fd5b506109fa60048036038101906109f59190613df8565b6125bd565b604051610a079190613d1c565b60405180910390f35b348015610a1c57600080fd5b50610a376004803603810190610a329190613eb2565b61262a565b604051610a449190613d1c565b60405180910390f35b348015610a5957600080fd5b50610a746004803603810190610a6f9190613d6d565b612b15565b005b610a906004803603810190610a8b9190614072565b612b6c565b005b348015610a9e57600080fd5b50610aa7613320565b604051610ab49190613d1c565b60405180910390f35b348015610ac957600080fd5b50610ae46004803603810190610adf9190613d6d565b613326565b005b348015610af257600080fd5b50610b0d6004803603810190610b089190613eb2565b61337d565b005b348015610b1b57600080fd5b50610b366004803603810190610b319190613eb2565b613438565b005b348015610b4457600080fd5b50610b5f6004803603810190610b5a9190613d6d565b61344c565b005b348015610b6d57600080fd5b50610b766134a3565b604051610b839190613d1c565b60405180910390f35b348015610b9857600080fd5b50610ba16134a9565b604051610bae9190613d1c565b60405180910390f35b348015610bc357600080fd5b50610bde6004803603810190610bd99190614152565b6134af565b005b348015610bec57600080fd5b50610c076004803603810190610c029190613d6d565b6134c1565b005b348015610c1557600080fd5b50610c306004803603810190610c2b9190613d6d565b61355b565b005b348015610c3e57600080fd5b50610c596004803603810190610c549190613d6d565b61356d565b005b600080600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015610ccb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cef9190614202565b5050509150508091505090565b600c5481565b60115481565b60125481565b610d16613608565b6004806004811115610d2b57610d2a613f7b565b5b600260149054906101000a900460ff166004811115610d4d57610d4c613f7b565b5b14610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d84906142da565b60405180910390fd5b6014544211610dd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc890614346565b60405180910390fd5b6000610ddc3361262a565b905060008111610e21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e18906143d8565b60405180910390fd5b80600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e709190614427565b92505081905550610ec43382600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166136579092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e43082604051610f0a9190613d1c565b60405180910390a25050610f1c6136dd565b565b610f266136e6565b600060145414610f6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f62906144cd565b60405180910390fd5b6064811115610faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa690614539565b60405180910390fd5b80600f8190555050565b600080600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361101d57670de0b6b3a764000061100161259c565b8461100c9190614559565b61101691906145ca565b905061115d565b600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a090614647565b60405180910390fd5b72047bf19673df52e37f2410011d1000000000008473ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa158015611108573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112c91906146a0565b600a6111389190614800565b600954856111469190614559565b6111509190614559565b61115a91906145ca565b90505b8091505092915050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b6020528060005260406000206000915054906101000a900460ff1681565b60036020528060005260406000206000915090505481565b6111cd6136e6565b600060145414611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906148bd565b60405180910390fd5b8060118190555050565b60045481565b601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6112506136e6565b8060098190555050565b6007602052816000526040600020602052806000526040600020600091509150505481565b6112876136e6565b6112916000613764565b565b61129b6136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361130a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130190614929565b60405180910390fd5b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61137c6136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290614995565b60405180910390fd5b6001600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600d5481565b60095481565b600260149054906101000a900460ff1681565b61146d6136e6565b8060048190555050565b600f5481565b60165481565b61148b613608565b60018060048111156114a05761149f613f7b565b5b600260149054906101000a900460ff1660048111156114c2576114c1613f7b565b5b14611502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f9906142da565b60405180910390fd5b60155485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020546115629190614427565b101580156115ce575060165485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060018152602001908152602001600020546115cb9190614427565b11155b61160d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160490614a27565b60405180910390fd5b6000611617613828565b6040516020016116279190614a8f565b60405160208183030381529060405280519060200120905061168d848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483613830565b6116cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c390614af6565b60405180910390fd5b600454600360006001815260200190815260200160002054876116ef9190614427565b111561171a576003600060018152602001908152602001600020546004546117179190614b16565b95505b6000341115611a1257600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614611792576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178990614bbc565b60405180910390fd5b600061179e8688610fb9565b9050803410156117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da90614c28565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006001815260200190815260200160002060008282546118449190614427565b92505081905550866003600060018152602001908152602001600020600082825461186f9190614427565b925050819055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516118be90614c79565b60006040518083038185875af1925050503d80600081146118fb576040519150601f19603f3d011682016040523d82523d6000602084013e611900565b606091505b5050905080611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b90614cda565b60405180910390fd5b600082346119529190614b16565b90506000811115611a0a573373ffffffffffffffffffffffffffffffffffffffff168160405161198190614c79565b60006040518083038185875af1925050503d80600081146119be576040519150601f19603f3d011682016040523d82523d6000602084013e6119c3565b606091505b50508092505081611a09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0090614d46565b60405180910390fd5b5b505050611bc2565b6000611a1e8688610fb9565b9050808673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611a5c929190614d66565b602060405180830381865afa158015611a79573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a9d9190614d8f565b1015611ade576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ad590614e08565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600181526020019081526020016000206000828254611b3f9190614427565b925050819055508660036000600181526020019081526020016000206000828254611b6a9190614427565b92505081905550611bc033601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838973ffffffffffffffffffffffffffffffffffffffff16613847909392919063ffffffff16565b505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f76a32dce3ca886d7dda77ccb2d08e47f9cd441cdf4a84beb3a1d74edb7acafc188604051611c1f9190613d1c565b60405180910390a35050611c316136dd565b50505050565b60065481565b611c45613608565b6003806004811115611c5a57611c59613f7b565b5b600260149054906101000a900460ff166004811115611c7c57611c7b613f7b565b5b14611cbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cb3906142da565b60405180910390fd5b60155483600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006003815260200190815260200160002054611d1c9190614427565b10158015611d88575060165483600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006003815260200190815260200160002054611d859190614427565b11155b611dc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbe90614a27565b60405180910390fd5b60065460036000600381526020019081526020016000205484611dea9190614427565b1115611e1557600360006003815260200190815260200160002054600654611e129190614b16565b92505b600034111561210d57600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614611e8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8490614bbc565b60405180910390fd5b6000611e998385610fb9565b905080341015611ede576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed590614c28565b60405180910390fd5b83600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600381526020019081526020016000206000828254611f3f9190614427565b925050819055508360036000600381526020019081526020016000206000828254611f6a9190614427565b925050819055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051611fb990614c79565b60006040518083038185875af1925050503d8060008114611ff6576040519150601f19603f3d011682016040523d82523d6000602084013e611ffb565b606091505b505090508061203f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203690614cda565b60405180910390fd5b6000823461204d9190614b16565b90506000811115612105573373ffffffffffffffffffffffffffffffffffffffff168160405161207c90614c79565b60006040518083038185875af1925050503d80600081146120b9576040519150601f19603f3d011682016040523d82523d6000602084013e6120be565b606091505b50508092505081612104576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fb90614d46565b60405180910390fd5b5b5050506122bd565b60006121198385610fb9565b9050808373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401612157929190614d66565b602060405180830381865afa158015612174573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121989190614d8f565b10156121d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121d090614e08565b60405180910390fd5b83600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600060038152602001908152602001600020600082825461223a9190614427565b9250508190555083600360006003815260200190815260200160002060008282546122659190614427565b925050819055506122bb33601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838673ffffffffffffffffffffffffffffffffffffffff16613847909392919063ffffffff16565b505b60065460036000600381526020019081526020016000205403612306576000600260146101000a81548160ff02191690836004811115612300576122ff613f7b565b5b02179055505b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f76a32dce3ca886d7dda77ccb2d08e47f9cd441cdf4a84beb3a1d74edb7acafc1856040516123639190613d1c565b60405180910390a3506123746136dd565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6123a96136e6565b8060068190555050565b6123bb6136e6565b600060145414612400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f7906144cd565b60405180910390fd5b6064811115612444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243b90614539565b60405180910390fd5b80600e8190555050565b6124566136e6565b60006014541461249b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612492906148bd565b60405180910390fd5b8060138190555050565b6124ad6136e6565b80600d8190555050565b60105481565b60086020528060005260406000206000915090505481565b600e5481565b60135481565b6124e96136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612558576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254f90614929565b60405180910390fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000806125a7610c5b565b9050806009546125b791906145ca565b91505090565b600080600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000205460165461261e9190614b16565b90508091505092915050565b600080600080600190505b6004811015612ac05760006014544261264e9190614b16565b9050600182036127c35760115481106126b957600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000205492506127be565b601154816064600e5460646126ce9190614b16565b600760008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000878152602001908152602001600020546127299190614559565b61273391906145ca565b61273d9190614559565b61274791906145ca565b6064600e54600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020546127a79190614559565b6127b191906145ca565b6127bb9190614427565b92505b612a9e565b6002820361293657601254811061282c57600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549250612931565b601254816064600f5460646128419190614b16565b600760008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008781526020019081526020016000205461289c9190614559565b6128a691906145ca565b6128b09190614559565b6128ba91906145ca565b6064600f54600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008681526020019081526020016000205461291a9190614559565b61292491906145ca565b61292e9190614427565b92505b612a9d565b601354811061299757600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000838152602001908152602001600020549250612a9c565b60135481606460105460646129ac9190614b16565b600760008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600087815260200190815260200160002054612a079190614559565b612a1191906145ca565b612a1b9190614559565b612a2591906145ca565b6064601054600760008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600086815260200190815260200160002054612a859190614559565b612a8f91906145ca565b612a999190614427565b92505b5b5b8284612aaa9190614427565b9350508080612ab890614e28565b915050612635565b50600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205482612b0c9190614b16565b92505050919050565b612b1d6136e6565b601654811115612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5990614ee2565b60405180910390fd5b8060158190555050565b612b74613608565b6002806004811115612b8957612b88613f7b565b5b600260149054906101000a900460ff166004811115612bab57612baa613f7b565b5b14612beb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be2906142da565b60405180910390fd5b60155485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002054612c4b9190614427565b10158015612cb7575060165485600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002054612cb49190614427565b11155b612cf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ced90614a27565b60405180910390fd5b6000612d00613828565b604051602001612d109190614a8f565b604051602081830303815290604052805190602001209050612d76848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d5483613830565b612db5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dac90614af6565b60405180910390fd5b60055460036000600281526020019081526020016000205487612dd89190614427565b1115612e0357600360006002815260200190815260200160002054600554612e009190614b16565b95505b60003411156130fb57600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614612e7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7290614bbc565b60405180910390fd5b6000612e878688610fb9565b905080341015612ecc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec390614c28565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600281526020019081526020016000206000828254612f2d9190614427565b925050819055508660036000600281526020019081526020016000206000828254612f589190614427565b925050819055506000601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682604051612fa790614c79565b60006040518083038185875af1925050503d8060008114612fe4576040519150601f19603f3d011682016040523d82523d6000602084013e612fe9565b606091505b505090508061302d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302490614cda565b60405180910390fd5b6000823461303b9190614b16565b905060008111156130f3573373ffffffffffffffffffffffffffffffffffffffff168160405161306a90614c79565b60006040518083038185875af1925050503d80600081146130a7576040519150601f19603f3d011682016040523d82523d6000602084013e6130ac565b606091505b505080925050816130f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e990614d46565b60405180910390fd5b5b5050506132ab565b60006131078688610fb9565b9050808673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401613145929190614d66565b602060405180830381865afa158015613162573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131869190614d8f565b10156131c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131be90614e08565b60405180910390fd5b86600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006002815260200190815260200160002060008282546132289190614427565b9250508190555086600360006002815260200190815260200160002060008282546132539190614427565b925050819055506132a933601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16838973ffffffffffffffffffffffffffffffffffffffff16613847909392919063ffffffff16565b505b8473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f76a32dce3ca886d7dda77ccb2d08e47f9cd441cdf4a84beb3a1d74edb7acafc1886040516133089190613d1c565b60405180910390a3505061331a6136dd565b50505050565b60145481565b61332e6136e6565b600060145414613373576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161336a906148bd565b60405180910390fd5b8060128190555050565b6133856136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036133f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133eb90614929565b60405180910390fd5b80601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6134406136e6565b613449816138d0565b50565b6134546136e6565b601554811015613499576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349090614f74565b60405180910390fd5b8060168190555050565b60055481565b60155481565b6134b76136e6565b80600c8190555050565b6134c96136e6565b6005811061350c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161350390614fe0565b60405180910390fd5b80600481111561351f5761351e613f7b565b5b600260146101000a81548160ff0219169083600481111561354357613542613f7b565b5b02179055506004810361355857426014819055505b50565b6135636136e6565b8060058190555050565b6135756136e6565b6000601454146135ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b1906144cd565b60405180910390fd5b60648111156135fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f590614539565b60405180910390fd5b8060108190555050565b60026001540361364d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136449061504c565b60405180910390fd5b6002600181905550565b6136d88363a9059cbb60e01b848460405160240161367692919061506c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613953565b505050565b60018081905550565b6136ee613828565b73ffffffffffffffffffffffffffffffffffffffff1661370c612378565b73ffffffffffffffffffffffffffffffffffffffff1614613762576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613759906150e1565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b60008261383d8584613a1b565b1490509392505050565b6138ca846323b872dd60e01b85858560405160240161386893929190615101565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050613953565b50505050565b6138d86136e6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603613947576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393e906151aa565b60405180910390fd5b61395081613764565b50565b60006139b5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16613ace9092919063ffffffff16565b90506000815114806139d75750808060200190518101906139d691906151f6565b5b613a16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a0d90615295565b60405180910390fd5b505050565b60008082905060005b8451811015613ac3576000858281518110613a4257613a416152b5565b5b60200260200101519050808311613a83578281604051602001613a66929190615305565b604051602081830303815290604052805190602001209250613aaf565b8083604051602001613a96929190615305565b6040516020818303038152906040528051906020012092505b508080613abb90614e28565b915050613a24565b508091505092915050565b6060613add8484600085613ae6565b90509392505050565b606082471015613b2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b22906153a3565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b549190615429565b60006040518083038185875af1925050503d8060008114613b91576040519150601f19603f3d011682016040523d82523d6000602084013e613b96565b606091505b5091509150613ba787838387613bb3565b92505050949350505050565b60608315613c15576000835103613c0d57613bcd85613c28565b613c0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c039061548c565b60405180910390fd5b5b829050613c20565b613c1f8383613c4b565b5b949350505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082511115613c5e5781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c929190615501565b60405180910390fd5b6000819050919050565b613cae81613c9b565b82525050565b6000602082019050613cc96000830184613ca5565b92915050565b6000819050919050565b613ce281613ccf565b82525050565b6000602082019050613cfd6000830184613cd9565b92915050565b6000819050919050565b613d1681613d03565b82525050565b6000602082019050613d316000830184613d0d565b92915050565b600080fd5b600080fd5b613d4a81613d03565b8114613d5557600080fd5b50565b600081359050613d6781613d41565b92915050565b600060208284031215613d8357613d82613d37565b5b6000613d9184828501613d58565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dc582613d9a565b9050919050565b613dd581613dba565b8114613de057600080fd5b50565b600081359050613df281613dcc565b92915050565b60008060408385031215613e0f57613e0e613d37565b5b6000613e1d85828601613de3565b9250506020613e2e85828601613d58565b9150509250929050565b6000819050919050565b6000613e5d613e58613e5384613d9a565b613e38565b613d9a565b9050919050565b6000613e6f82613e42565b9050919050565b6000613e8182613e64565b9050919050565b613e9181613e76565b82525050565b6000602082019050613eac6000830184613e88565b92915050565b600060208284031215613ec857613ec7613d37565b5b6000613ed684828501613de3565b91505092915050565b60008115159050919050565b613ef481613edf565b82525050565b6000602082019050613f0f6000830184613eeb565b92915050565b613f1e81613dba565b82525050565b6000602082019050613f396000830184613f15565b92915050565b6000613f4a82613e64565b9050919050565b613f5a81613f3f565b82525050565b6000602082019050613f756000830184613f51565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60058110613fbb57613fba613f7b565b5b50565b6000819050613fcc82613faa565b919050565b6000613fdc82613fbe565b9050919050565b613fec81613fd1565b82525050565b60006020820190506140076000830184613fe3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126140325761403161400d565b5b8235905067ffffffffffffffff81111561404f5761404e614012565b5b60208301915083602082028301111561406b5761406a614017565b5b9250929050565b6000806000806060858703121561408c5761408b613d37565b5b600061409a87828801613d58565b94505060206140ab87828801613de3565b935050604085013567ffffffffffffffff8111156140cc576140cb613d3c565b5b6140d88782880161401c565b925092505092959194509250565b600080604083850312156140fd576140fc613d37565b5b600061410b85828601613d58565b925050602061411c85828601613de3565b9150509250929050565b61412f81613ccf565b811461413a57600080fd5b50565b60008135905061414c81614126565b92915050565b60006020828403121561416857614167613d37565b5b60006141768482850161413d565b91505092915050565b600069ffffffffffffffffffff82169050919050565b61419e8161417f565b81146141a957600080fd5b50565b6000815190506141bb81614195565b92915050565b6141ca81613c9b565b81146141d557600080fd5b50565b6000815190506141e7816141c1565b92915050565b6000815190506141fc81613d41565b92915050565b600080600080600060a0868803121561421e5761421d613d37565b5b600061422c888289016141ac565b955050602061423d888289016141d8565b945050604061424e888289016141ed565b935050606061425f888289016141ed565b9250506080614270888289016141ac565b9150509295509295909350565b600082825260208201905092915050565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b60006142c4600d8361427d565b91506142cf8261428e565b602082019050919050565b600060208201905081810360008301526142f3816142b7565b9050919050565b7f56657374696e6720486173204e6f742053746172746564205965740000000000600082015250565b6000614330601b8361427d565b915061433b826142fa565b602082019050919050565b6000602082019050818103600083015261435f81614323565b9050919050565b7f4e6f20546f6b656e7320617661696c61626c6520666f7220636c61696d20796560008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b60006143c260218361427d565b91506143cd82614366565b604082019050919050565b600060208201905081810360008301526143f1816143b5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061443282613d03565b915061443d83613d03565b9250828201905080821115614455576144546143f8565b5b92915050565b7f43616e6e6f74206368616e67652054474520616674657220636c61696d73206860008201527f6176652073746172746564000000000000000000000000000000000000000000602082015250565b60006144b7602b8361427d565b91506144c28261445b565b604082019050919050565b600060208201905081810360008301526144e6816144aa565b9050919050565b7f5447452070657263656e746167652063616e6e6f742065786365656420313030600082015250565b600061452360208361427d565b915061452e826144ed565b602082019050919050565b6000602082019050818103600083015261455281614516565b9050919050565b600061456482613d03565b915061456f83613d03565b925082820261457d81613d03565b91508282048414831517614594576145936143f8565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006145d582613d03565b91506145e083613d03565b9250826145f0576145ef61459b565b5b828204905092915050565b7f556e737570706f72746564205061796d656e74204d6574686f64210000000000600082015250565b6000614631601b8361427d565b915061463c826145fb565b602082019050919050565b6000602082019050818103600083015261466081614624565b9050919050565b600060ff82169050919050565b61467d81614667565b811461468857600080fd5b50565b60008151905061469a81614674565b92915050565b6000602082840312156146b6576146b5613d37565b5b60006146c48482850161468b565b91505092915050565b60008160011c9050919050565b6000808291508390505b600185111561472457808604811115614700576146ff6143f8565b5b600185161561470f5780820291505b808102905061471d856146cd565b94506146e4565b94509492505050565b60008261473d57600190506147f9565b8161474b57600090506147f9565b8160018114614761576002811461476b5761479a565b60019150506147f9565b60ff84111561477d5761477c6143f8565b5b8360020a915084821115614794576147936143f8565b5b506147f9565b5060208310610133831016604e8410600b84101617156147cf5782820a9050838111156147ca576147c96143f8565b5b6147f9565b6147dc84848460016146da565b925090508184048111156147f3576147f26143f8565b5b81810290505b9392505050565b600061480b82613d03565b915061481683614667565b92506148437fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848461472d565b905092915050565b7f43616e6e6f74206368616e6765206475726174696f6e20616674657220636c6160008201527f696d732068617665207374617274656400000000000000000000000000000000602082015250565b60006148a760308361427d565b91506148b28261484b565b604082019050919050565b600060208201905081810360008301526148d68161489a565b9050919050565b7f496e76616c696420616464726573730000000000000000000000000000000000600082015250565b6000614913600f8361427d565b915061491e826148dd565b602082019050919050565b6000602082019050818103600083015261494281614906565b9050919050565b7f496e76616c696420416464726573732100000000000000000000000000000000600082015250565b600061497f60108361427d565b915061498a82614949565b602082019050919050565b600060208201905081810360008301526149ae81614972565b9050919050565b7f507572636861736520616d6f756e74206f75747369646520616c6c6f7765642060008201527f72616e6765000000000000000000000000000000000000000000000000000000602082015250565b6000614a1160258361427d565b9150614a1c826149b5565b604082019050919050565b60006020820190508181036000830152614a4081614a04565b9050919050565b60008160601b9050919050565b6000614a5f82614a47565b9050919050565b6000614a7182614a54565b9050919050565b614a89614a8482613dba565b614a66565b82525050565b6000614a9b8284614a78565b60148201915081905092915050565b7f496e76616c69642070726f6f6600000000000000000000000000000000000000600082015250565b6000614ae0600d8361427d565b9150614aeb82614aaa565b602082019050919050565b60006020820190508181036000830152614b0f81614ad3565b9050919050565b6000614b2182613d03565b9150614b2c83613d03565b9250828203905081811115614b4457614b436143f8565b5b92915050565b7f43616e6e6f74204861766520426f74682045544820262045524332302050617960008201527f6d656e74204d6574686f64642100000000000000000000000000000000000000602082015250565b6000614ba6602d8361427d565b9150614bb182614b4a565b604082019050919050565b60006020820190508181036000830152614bd581614b99565b9050919050565b7f496e73756666696369656e742046756e64732053656e74210000000000000000600082015250565b6000614c1260188361427d565b9150614c1d82614bdc565b602082019050919050565b60006020820190508181036000830152614c4181614c05565b9050919050565b600081905092915050565b50565b6000614c63600083614c48565b9150614c6e82614c53565b600082019050919050565b6000614c8482614c56565b9150819050919050565b7f4661696c656420546f2053656e64210000000000000000000000000000000000600082015250565b6000614cc4600f8361427d565b9150614ccf82614c8e565b602082019050919050565b60006020820190508181036000830152614cf381614cb7565b9050919050565b7f4661696c656420546f20526566756e6420457874726121000000000000000000600082015250565b6000614d3060178361427d565b9150614d3b82614cfa565b602082019050919050565b60006020820190508181036000830152614d5f81614d23565b9050919050565b6000604082019050614d7b6000830185613f15565b614d886020830184613f15565b9392505050565b600060208284031215614da557614da4613d37565b5b6000614db3848285016141ed565b91505092915050565b7f4e6f7420456e6f75676820416c6c6f77616e6365210000000000000000000000600082015250565b6000614df260158361427d565b9150614dfd82614dbc565b602082019050919050565b60006020820190508181036000830152614e2181614de5565b9050919050565b6000614e3382613d03565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e6557614e646143f8565b5b600182019050919050565b7f4d696e2062757920616d6f756e742063616e6e6f7420657863656564206d617860008201527f2062757920616d6f756e74000000000000000000000000000000000000000000602082015250565b6000614ecc602b8361427d565b9150614ed782614e70565b604082019050919050565b60006020820190508181036000830152614efb81614ebf565b9050919050565b7f4d61782062757920616d6f756e742063616e6e6f74206265206c65737320746860008201527f616e206d696e2062757920616d6f756e74000000000000000000000000000000602082015250565b6000614f5e60318361427d565b9150614f6982614f02565b604082019050919050565b60006020820190508181036000830152614f8d81614f51565b9050919050565b7f496e76616c69642073746174652e000000000000000000000000000000000000600082015250565b6000614fca600e8361427d565b9150614fd582614f94565b602082019050919050565b60006020820190508181036000830152614ff981614fbd565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000615036601f8361427d565b915061504182615000565b602082019050919050565b6000602082019050818103600083015261506581615029565b9050919050565b60006040820190506150816000830185613f15565b61508e6020830184613d0d565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150cb60208361427d565b91506150d682615095565b602082019050919050565b600060208201905081810360008301526150fa816150be565b9050919050565b60006060820190506151166000830186613f15565b6151236020830185613f15565b6151306040830184613d0d565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061519460268361427d565b915061519f82615138565b604082019050919050565b600060208201905081810360008301526151c381615187565b9050919050565b6151d381613edf565b81146151de57600080fd5b50565b6000815190506151f0816151ca565b92915050565b60006020828403121561520c5761520b613d37565b5b600061521a848285016151e1565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b600061527f602a8361427d565b915061528a82615223565b604082019050919050565b600060208201905081810360008301526152ae81615272565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000819050919050565b6152ff6152fa82613ccf565b6152e4565b82525050565b600061531182856152ee565b60208201915061532182846152ee565b6020820191508190509392505050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b600061538d60268361427d565b915061539882615331565b604082019050919050565b600060208201905081810360008301526153bc81615380565b9050919050565b600081519050919050565b60005b838110156153ec5780820151818401526020810190506153d1565b60008484015250505050565b6000615403826153c3565b61540d8185614c48565b935061541d8185602086016153ce565b80840191505092915050565b600061543582846153f8565b915081905092915050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615476601d8361427d565b915061548182615440565b602082019050919050565b600060208201905081810360008301526154a581615469565b9050919050565b600081519050919050565b6000601f19601f8301169050919050565b60006154d3826154ac565b6154dd818561427d565b93506154ed8185602086016153ce565b6154f6816154b7565b840191505092915050565b6000602082019050818103600083015261551b81846154c8565b90509291505056fea26469706673582212204f358a39b190dd9472e547dbe62c526d0793728e340ab2f1df8ce3395c6f6fa564736f6c63430008120033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.