ETH Price: $3,610.04 (+0.25%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Widthdraw Token214352962024-12-19 8:12:3517 days ago1734595955IN
0x3E809b29...7b4ca3DAE
0 ETH0.0004130910.90676662
Widthdraw Token214352722024-12-19 8:07:3517 days ago1734595655IN
0x3E809b29...7b4ca3DAE
0 ETH0.000485211.3761899
Widthdraw Eth214352702024-12-19 8:07:1117 days ago1734595631IN
0x3E809b29...7b4ca3DAE
0 ETH0.0002728911.43140233
Contribute Eth213590172024-12-08 16:38:1127 days ago1733675891IN
0x3E809b29...7b4ca3DAE
0.027 ETH0.0024385314.33684137
Contribute Eth213081042024-12-01 13:57:3534 days ago1733061455IN
0x3E809b29...7b4ca3DAE
0.05 ETH0.0025065714.73682303
Contribute Eth213076822024-12-01 12:33:1134 days ago1733056391IN
0x3E809b29...7b4ca3DAE
1.4 ETH0.0020548512.08106778
Contribute Eth213073762024-12-01 11:31:1135 days ago1733052671IN
0x3E809b29...7b4ca3DAE
1 ETH0.0018950111.1413369
Contribute USDT213071942024-12-01 10:54:4735 days ago1733050487IN
0x3E809b29...7b4ca3DAE
0 ETH0.001509529.18765761
Contribute USDT210892322024-11-01 0:32:4765 days ago1730421167IN
0x3E809b29...7b4ca3DAE
0 ETH0.000731986.2062938
Contribute Eth210358792024-10-24 13:52:3572 days ago1729777955IN
0x3E809b29...7b4ca3DAE
0.0001 ETH0.0016030810.98509706
Contribute USDT210345752024-10-24 9:31:1173 days ago1729762271IN
0x3E809b29...7b4ca3DAE
0 ETH0.001071948.87794717
Contribute Eth210342192024-10-24 8:19:4773 days ago1729757987IN
0x3E809b29...7b4ca3DAE
0.0015 ETH0.00138168.34640712
Contribute Eth210338492024-10-24 7:05:3573 days ago1729753535IN
0x3E809b29...7b4ca3DAE
0.0002 ETH0.0017355510.48464205
Contribute USDT210337542024-10-24 6:46:1173 days ago1729752371IN
0x3E809b29...7b4ca3DAE
0 ETH0.00074787.07859771
Contribute USDT210335902024-10-24 6:13:2373 days ago1729750403IN
0x3E809b29...7b4ca3DAE
0 ETH0.001231887.71166503
Contribute Eth210334042024-10-24 5:35:4773 days ago1729748147IN
0x3E809b29...7b4ca3DAE
0.000002 ETH0.00084286.4173499
Contribute USDT210333942024-10-24 5:33:4773 days ago1729748027IN
0x3E809b29...7b4ca3DAE
0 ETH0.001049955.9372394
Contribute USDT210333592024-10-24 5:26:3573 days ago1729747595IN
0x3E809b29...7b4ca3DAE
0 ETH0.001061986.29445755

Latest 8 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
213590172024-12-08 16:38:1127 days ago1733675891
0x3E809b29...7b4ca3DAE
0.027 ETH
213081042024-12-01 13:57:3534 days ago1733061455
0x3E809b29...7b4ca3DAE
0.05 ETH
213076822024-12-01 12:33:1134 days ago1733056391
0x3E809b29...7b4ca3DAE
1.4 ETH
213073762024-12-01 11:31:1135 days ago1733052671
0x3E809b29...7b4ca3DAE
1 ETH
210358792024-10-24 13:52:3572 days ago1729777955
0x3E809b29...7b4ca3DAE
0.0001 ETH
210342192024-10-24 8:19:4773 days ago1729757987
0x3E809b29...7b4ca3DAE
0.0015 ETH
210338492024-10-24 7:05:3573 days ago1729753535
0x3E809b29...7b4ca3DAE
0.0002 ETH
210334042024-10-24 5:35:4773 days ago1729748147
0x3E809b29...7b4ca3DAE
0.000002 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MYIDPresale

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-10-24
*/

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// File: @openzeppelin/contracts/interfaces/IERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)

pragma solidity ^0.8.20;


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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// File: @openzeppelin/contracts/interfaces/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;


// File: @openzeppelin/contracts/interfaces/IERC1363.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)

pragma solidity ^0.8.20;



/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)

pragma solidity ^0.8.20;

/**
 * @dev Collection of common custom errors used in multiple contracts
 *
 * IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.
 * It is recommended to avoid relying on the error API for critical functionality.
 *
 * _Available since v5.1._
 */
library Errors {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error InsufficientBalance(uint256 balance, uint256 needed);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedCall();

    /**
     * @dev The deployment failed.
     */
    error FailedDeployment();

    /**
     * @dev A necessary precompile is missing.
     */
    error MissingPrecompile(address);
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)

pragma solidity ^0.8.20;


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @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.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert Errors.InsufficientBalance(address(this).balance, amount);
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert Errors.FailedCall();
        }
    }

    /**
     * @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 or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {Errors.FailedCall} error.
     *
     * 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.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @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`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert Errors.InsufficientBalance(address(this).balance, value);
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {Errors.FailedCall}) in case
     * of an unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {Errors.FailedCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {Errors.FailedCall}.
     */
    function _revert(bytes memory returndata) 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
            assembly ("memory-safe") {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert Errors.FailedCall();
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 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 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @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.encodeCall(token.transfer, (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.encodeCall(token.transferFrom, (from, to, 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.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

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

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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 {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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 silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;


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

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


// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

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


// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     *
     * ```solidity
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// File: contract-07f5b7650b.sol


pragma solidity ^0.8.20;



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

contract Ownable is Context
{
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    constructor()
    {
        address msgSender = 0xc7536654aa2bc3D6fD36135b55c19f1d980f99f0;
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }
    function owner() public view returns (address) {
        return _owner;
    }
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}
contract MYIDPresale is Context, Ownable
{
    using SafeERC20 for ERC20;
    uint256 date1 = 1729418400; // 20 Oct 2024, 03:00 pm
    uint256 date2 = 1731837600; // 17 Nov 2024, 03:00 pm
    uint256 date3 = 1733047200; // 01 Dec 2024, 03:00 pm
    uint256 date4 = 1734289199; // 15 Dec 2024, 11:59 pm
    uint256 tokenPerUsdStage1 =  250; // 250 MYID per USD
    uint256 tokenPerUsdStage2 =  167; // 167 MYID per USD
    uint256 tokenPerUsdStage3 =  125; // 125 MYID per USD
    mapping(address => uint256) public contributionsUSDT;
    mapping(address => uint256) public contributionsEth;
    mapping(address => uint256) public boughtTokens;
    bool public presaleSuccessful = false;
    bool private locked;
    modifier noReentrant() {
        require(!locked, "Reentrant call detected");
        locked = true;
        _;
        locked = false;
    }
    uint256 public raisedUsdt;
    uint256 public totalTokensSold;
    // need to update this amount before deployment
    uint256 public tokensAllocatedForPresale = 20_000_000_000 * 10**18;
    // need to update this address before deployment
    address public stakingTokenAddress =  0x5273063725a43A323300C502478C22FbB4e92C2D;
    address public usdtAddress = 0xdAC17F958D2ee523a2206206994597C13D831ec7;
    IERC20 public stakingToken;
    ERC20 public usdtToken;
    ChainLink public chainLink;
    constructor()
    {
        chainLink = ChainLink(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419);
        usdtToken = ERC20(usdtAddress);
        stakingToken =  IERC20(stakingTokenAddress);
    }
    function getStage() public view returns(uint256)
    {
        if(block.timestamp>date1 &&  block.timestamp<date2) { return 1; }
        if(block.timestamp>date2 &&  block.timestamp<date3) { return 2; }
        if(block.timestamp>date3 &&  block.timestamp<date4) { return 3; }
        return 0;
    }
    function presaleEndTime() public view returns(uint256)
    {
        if(block.timestamp<date1) { return date1; }
        if(block.timestamp<date2) { return date2; }
        if(block.timestamp<date3) { return date3; }
        if(block.timestamp<date4) { return date4; }
        return 0;
    }
    function tokensPerUsdt() public view returns(uint256)
    {
        uint256 stage = getStage();
        if(stage==1) { return tokenPerUsdStage1; }
        if(stage==2) { return tokenPerUsdStage2; }
        if(stage==3) { return tokenPerUsdStage3; }
        return 0;
    }
    function assetsBalance() external view returns(uint256 usdtBal, uint256 ethBal)
    {
        usdtBal = usdtToken.balanceOf(address(this));
        ethBal = address(this).balance;
        return(usdtBal, ethBal);
    }
    function ethPrice() public view returns(uint256) {
        (,int256 price, , ,) = chainLink.latestRoundData();
        uint256 _price = uint256(price*10**10);
        return _price;
    }
    function ethToUsd(uint256 ethAmount) public view returns (uint256)
    {
        uint256 _price = ethPrice();
        return  ethAmount*_price/1_000_000_000_000_000_000;
    }
    function genInfo() public view
    returns(uint256, uint256, uint256, uint256, uint256, uint256)
    {
        return (progress(),  getStage(), ethToUsd(10*10**18), presaleEndTime(), raisedUsdt, tokensPerUsdt());
    }
    function progress() public view returns(uint256)
    {
        return (100*totalTokensSold*10**18/tokensAllocatedForPresale); // 1 to 100
    }
    function balancesOf(address _addr) public view returns(uint256, uint256, uint256, uint256)
    {
        uint256 ethBalance = payable (_addr).balance;
        uint256 usdtBalance = usdtToken.balanceOf(_addr);
        uint256 tokenBalance = stakingToken.balanceOf(_addr);
        uint256 _boughtTokens = boughtTokens[_addr];
        return(ethBalance, usdtBalance, tokenBalance, _boughtTokens);
    }
    function usdtToTokens(uint256 usdtAmount) public view returns(uint256)
    {
        uint256 tokenAmount = (usdtAmount*tokensPerUsdt());
        if(totalTokensSold+tokenAmount > tokensAllocatedForPresale)
        {
            tokenAmount = 0;
        }
        return tokenAmount;
    }
    function ethToTokens(uint256 ethAmount) public view returns(uint256)
    {
        uint256 usdtAmount = ethToUsd(ethAmount);
        uint256 tokenAmount = (usdtAmount*tokensPerUsdt());
        if(totalTokensSold+tokenAmount > tokensAllocatedForPresale)
        {
            tokenAmount = 0;
        }
        return tokenAmount;
    }
    function updatePresaleStatus() internal
    {
        if(totalTokensSold >= tokensAllocatedForPresale)
        {
            presaleSuccessful = true;
        }
    }
    function setPresale(bool _presaleSuccessful) external  onlyOwner
    {
        presaleSuccessful = _presaleSuccessful;
    }
    event ContributedUsdt(address buyer, uint256 amountBought, uint256 timestamp);
    function contributeUSDT(uint256 usdtAmount) public noReentrant
    {
        require(!presaleSuccessful, "Presale is not in process");
        contributionsUSDT[msg.sender] = usdtAmount;
        raisedUsdt += usdtAmount;
        uint256 tokenAmount = usdtToTokens(usdtAmount);
        require(tokenAmount>0, "Presale is not active");
        boughtTokens[msg.sender] += tokenAmount;
        usdtToken.safeTransferFrom(msg.sender, owner(), usdtAmount);
        require(stakingToken.transfer(msg.sender, tokenAmount * 10 ** 12), "Token transfer failed.");
        totalTokensSold += tokenAmount;
        emit ContributedUsdt(msg.sender, tokenAmount, block.timestamp);
        updatePresaleStatus();
    }
    event ContributedETH(address buyer, uint256 ethAmount, uint256 timestamp);
    function contributeEth() public payable noReentrant
    {
        require(!presaleSuccessful, "Presale is not in process");
        uint256 ethAmount = msg.value;
        payable(owner()).transfer(address(this).balance);
        contributionsEth[msg.sender] = ethAmount;
        raisedUsdt += ethToUsd(ethAmount);
        uint256 tokenAmount = ethToTokens(ethAmount);
        require(tokenAmount>0, "Presale is not active");
        require(stakingToken.transfer(msg.sender, tokenAmount), "Token transfer failed.");
        boughtTokens[msg.sender] += tokenAmount;
        totalTokensSold += tokenAmount;
        emit ContributedETH(msg.sender, ethAmount, block.timestamp);
        updatePresaleStatus();
    }
    function widthdrawEth() external onlyOwner
    {
        payable(owner()).transfer(address(this).balance);
    }
    function widthdrawUSDT(uint256 _amount) external onlyOwner
    {
        usdtToken.transfer(owner(), _amount);
    }
    function widthdrawToken(uint256 _amount) external onlyOwner
    {
        stakingToken.transfer(owner(), _amount);
    }
    function updateDate(uint256 _date, uint256 number) external onlyOwner
    {
        if(number==1)  { date1 = _date; }
        if(number==2)  { date2 = _date; }
        if(number==3)  { date3 = _date; }
        if(number==4)  { date4 = _date; }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ContributedETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountBought","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"ContributedUsdt","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"assetsBalance","outputs":[{"internalType":"uint256","name":"usdtBal","type":"uint256"},{"internalType":"uint256","name":"ethBal","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"balancesOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"boughtTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainLink","outputs":[{"internalType":"contract ChainLink","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contributeEth","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"usdtAmount","type":"uint256"}],"name":"contributeUSDT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributionsEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributionsUSDT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"ethToTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"ethAmount","type":"uint256"}],"name":"ethToUsd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"genInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStage","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":"presaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSuccessful","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"progress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"raisedUsdt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_presaleSuccessful","type":"bool"}],"name":"setPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensAllocatedForPresale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerUsdt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokensSold","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":[{"internalType":"uint256","name":"_date","type":"uint256"},{"internalType":"uint256","name":"number","type":"uint256"}],"name":"updateDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"usdtAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"usdtAmount","type":"uint256"}],"name":"usdtToTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"usdtToken","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"widthdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"widthdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"widthdrawUSDT","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052636714d4a0600155636739bea060025563674c33a060035563675f272f60045560fa60055560a7600655607d6007555f600b5f6101000a81548160ff0219169083151502179055506b409f9cbc7c4a04c220000000600e55735273063725a43a323300c502478c22fbb4e92c2d600f5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073dac17f958d2ee523a2206206994597c13d831ec760105f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555034801561010f575f80fd5b505f73c7536654aa2bc3d6fd36135b55c19f1d980f99f09050805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350735f4ec3df9cbd43714fe2740f5e3616155c5b841960135f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660125f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660115f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612814806102e55f395ff3fe6080604052600436106101ed575f3560e01c8063899b6dff1161010c578063b9702e2e1161009f578063c69ea42f1161006e578063c69ea42f146106ae578063e0961b28146106ea578063f2fde38b14610712578063fcaa76641461073a578063ff186b2e14610764576101ed565b8063b9702e2e14610605578063ba3ffb7c14610634578063bd4c1c6d1461065e578063c54e73e314610686576101ed565b8063a2b26dfe116100db578063a2b26dfe1461056d578063a4c8932214610595578063a98ad46c146105d1578063afa0e8d5146105fb576101ed565b8063899b6dff146104b55780638da5cb5b146104dd578063946d1480146105075780639ab4a44514610543576101ed565b8063682805b0116101845780637dbe5f10116101535780637dbe5f10146103fb5780637e3d1cf5146104255780637f1558231461044f57806383bad1af14610479576101ed565b8063682805b014610355578063715018a61461037f57806372f702f314610395578063752f2a5f146103bf576101ed565b8063577bd336116101c0578063577bd3361461029757806358c31f3b146102c15780636392a51f146102ec57806363b201171461032b576101ed565b806305c505f2146101f1578063249b7c191461022d57806336363edd146102575780635298b8691461026d575b5f80fd5b3480156101fc575f80fd5b5061021760048036038101906102129190611e57565b61078e565b6040516102249190611e91565b60405180910390f35b348015610238575f80fd5b506102416107c9565b60405161024e9190611e91565b60405180910390f35b348015610262575f80fd5b5061026b610821565b005b348015610278575f80fd5b50610281610902565b60405161028e9190611ee9565b60405180910390f35b3480156102a2575f80fd5b506102ab610927565b6040516102b89190611e91565b60405180910390f35b3480156102cc575f80fd5b506102d561095c565b6040516102e3929190611f02565b60405180910390f35b3480156102f7575f80fd5b50610312600480360381019061030d9190611f53565b610a00565b6040516103229493929190611f7e565b60405180910390f35b348015610336575f80fd5b5061033f610baf565b60405161034c9190611e91565b60405180910390f35b348015610360575f80fd5b50610369610bb5565b6040516103769190611e91565b60405180910390f35b34801561038a575f80fd5b50610393610bbb565b005b3480156103a0575f80fd5b506103a9610d09565b6040516103b6919061201c565b60405180910390f35b3480156103ca575f80fd5b506103e560048036038101906103e09190611f53565b610d2e565b6040516103f29190611e91565b60405180910390f35b348015610406575f80fd5b5061040f610d43565b60405161041c9190612055565b60405180910390f35b348015610430575f80fd5b50610439610d68565b6040516104469190612088565b60405180910390f35b34801561045a575f80fd5b50610463610d7a565b6040516104709190611e91565b60405180910390f35b348015610484575f80fd5b5061049f600480360381019061049a9190611f53565b610dc7565b6040516104ac9190611e91565b60405180910390f35b3480156104c0575f80fd5b506104db60048036038101906104d69190611e57565b610ddc565b005b3480156104e8575f80fd5b506104f1610f17565b6040516104fe9190611ee9565b60405180910390f35b348015610512575f80fd5b5061052d60048036038101906105289190611e57565b610f3e565b60405161053a9190611e91565b60405180910390f35b34801561054e575f80fd5b50610557610f71565b6040516105649190611ee9565b60405180910390f35b348015610578575f80fd5b50610593600480360381019061058e91906120a1565b610f96565b005b3480156105a0575f80fd5b506105bb60048036038101906105b69190611e57565b61106e565b6040516105c89190611e91565b60405180910390f35b3480156105dc575f80fd5b506105e56110b6565b6040516105f291906120ff565b60405180910390f35b6106036110db565b005b348015610610575f80fd5b5061061961143b565b60405161062b96959493929190612118565b60405180910390f35b34801561063f575f80fd5b50610648611489565b6040516106559190611e91565b60405180910390f35b348015610669575f80fd5b50610684600480360381019061067f9190611e57565b61148f565b005b348015610691575f80fd5b506106ac60048036038101906106a791906121a1565b6117fd565b005b3480156106b9575f80fd5b506106d460048036038101906106cf9190611f53565b6118ad565b6040516106e19190611e91565b60405180910390f35b3480156106f5575f80fd5b50610710600480360381019061070b9190611e57565b6118c2565b005b34801561071d575f80fd5b5061073860048036038101906107339190611f53565b6119fd565b005b348015610745575f80fd5b5061074e611bba565b60405161075b9190611e91565b60405180910390f35b34801561076f575f80fd5b50610778611c22565b6040516107859190611e91565b60405180910390f35b5f80610798610d7a565b836107a391906121f9565b9050600e5481600d546107b6919061223a565b11156107c0575f90505b80915050919050565b5f6001544210156107de57600154905061081e565b6002544210156107f257600254905061081e565b60035442101561080657600354905061081e565b60045442101561081a57600454905061081e565b5f90505b90565b610829611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ac906122c7565b60405180910390fd5b6108bd610f17565b73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156108ff573d5f803e3d5ffd5b50565b600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600e54670de0b6b3a7640000600d54606461094391906121f9565b61094d91906121f9565b6109579190612312565b905090565b5f8060125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109b89190611ee9565b602060405180830381865afa1580156109d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f79190612356565b91504790509091565b5f805f805f8573ffffffffffffffffffffffffffffffffffffffff163190505f60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b8152600401610a7a9190611ee9565b602060405180830381865afa158015610a95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab99190612356565b90505f60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401610b169190611ee9565b602060405180830381865afa158015610b31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b559190612356565b90505f600a5f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050838383839750975097509750505050509193509193565b600d5481565b600e5481565b610bc3611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c46906122c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6008602052805f5260405f205f915090505481565b60135f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5f9054906101000a900460ff1681565b5f80610d84611bba565b905060018103610d9957600554915050610dc4565b60028103610dac57600654915050610dc4565b60038103610dbf57600754915050610dc4565b5f9150505b90565b600a602052805f5260405f205f915090505481565b610de4611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e67906122c7565b60405180910390fd5b60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610eb5610f17565b836040518363ffffffff1660e01b8152600401610ed3929190612381565b6020604051808303815f875af1158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1391906123bc565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80610f48611c22565b9050670de0b6b3a76400008184610f5f91906121f9565b610f699190612312565b915050919050565b60105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f9e611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461102a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611021906122c7565b60405180910390fd5b6001810361103a57816001819055505b6002810361104a57816002819055505b6003810361105a57816003819055505b6004810361106a57816004819055505b5050565b5f8061107983610f3e565b90505f611084610d7a565b8261108f91906121f9565b9050600e5481600d546110a2919061223a565b11156110ac575f90505b8092505050919050565b60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60019054906101000a900460ff161561112b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112290612431565b60405180910390fd5b6001600b60016101000a81548160ff021916908315150217905550600b5f9054906101000a900460ff1615611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c90612499565b60405180910390fd5b5f3490506111a1610f17565b73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156111e3573d5f803e3d5ffd5b508060095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555061122f81610f3e565b600c5f82825461123f919061223a565b925050819055505f6112508261106e565b90505f8111611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90612501565b60405180910390fd5b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016112f0929190612381565b6020604051808303815f875af115801561130c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133091906123bc565b61136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136690612569565b60405180910390fd5b80600a5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546113bb919061223a565b9250508190555080600d5f8282546113d3919061223a565b925050819055507faf50ede3b43cecc4cc16d52148b0bb2d0bc854da353df6b617e250bbb3f7013b33834260405161140d93929190612587565b60405180910390a161141d611cdb565b50505f600b60016101000a81548160ff021916908315150217905550565b5f805f805f80611449610927565b611451611bba565b611462678ac7230489e80000610f3e565b61146a6107c9565b600c54611475610d7a565b955095509550955095509550909192939495565b600c5481565b600b60019054906101000a900460ff16156114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d690612431565b60405180910390fd5b6001600b60016101000a81548160ff021916908315150217905550600b5f9054906101000a900460ff1615611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090612499565b60405180910390fd5b8060085f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080600c5f82825461159c919061223a565b925050819055505f6115ad8261078e565b90505f81116115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890612501565b60405180910390fd5b80600a5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461163d919061223a565b9250508190555061169933611650610f17565b8460125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d03909392919063ffffffff16565b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3364e8d4a51000846116e891906121f9565b6040518363ffffffff1660e01b8152600401611705929190612381565b6020604051808303815f875af1158015611721573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174591906123bc565b611784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177b90612569565b60405180910390fd5b80600d5f828254611795919061223a565b925050819055507fbeac83768a9ad41c694bb46d75dadbc280dc2cb91f6b691a2df042b66342d6273382426040516117cf93929190612587565b60405180910390a16117df611cdb565b505f600b60016101000a81548160ff02191690831515021790555050565b611805611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611891576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611888906122c7565b60405180910390fd5b80600b5f6101000a81548160ff02191690831515021790555050565b6009602052805f5260405f205f915090505481565b6118ca611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d906122c7565b60405180910390fd5b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61199b610f17565b836040518363ffffffff1660e01b81526004016119b9929190612381565b6020604051808303815f875af11580156119d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f991906123bc565b5050565b611a05611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a88906122c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af69061262c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60015442118015611bcd575060025442105b15611bdb5760019050611c1f565b60025442118015611bed575060035442105b15611bfb5760029050611c1f565b60035442118015611c0d575060045442105b15611c1b5760039050611c1f565b5f90505b90565b5f8060135f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015611c8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cb291906126bc565b5050509150505f6402540be40082611cca9190612733565b9050809250505090565b5f33905090565b600e54600d5410611d01576001600b5f6101000a81548160ff0219169083151502179055505b565b611d7f848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611d38939291906127a9565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611d85565b50505050565b5f8060205f8451602086015f885af180611da4576040513d5f823e3d81fd5b3d92505f519150505f8214611dbd576001811415611dd8565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b15611e1a57836040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611e119190611ee9565b60405180910390fd5b50505050565b5f80fd5b5f819050919050565b611e3681611e24565b8114611e40575f80fd5b50565b5f81359050611e5181611e2d565b92915050565b5f60208284031215611e6c57611e6b611e20565b5b5f611e7984828501611e43565b91505092915050565b611e8b81611e24565b82525050565b5f602082019050611ea45f830184611e82565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ed382611eaa565b9050919050565b611ee381611ec9565b82525050565b5f602082019050611efc5f830184611eda565b92915050565b5f604082019050611f155f830185611e82565b611f226020830184611e82565b9392505050565b611f3281611ec9565b8114611f3c575f80fd5b50565b5f81359050611f4d81611f29565b92915050565b5f60208284031215611f6857611f67611e20565b5b5f611f7584828501611f3f565b91505092915050565b5f608082019050611f915f830187611e82565b611f9e6020830186611e82565b611fab6040830185611e82565b611fb86060830184611e82565b95945050505050565b5f819050919050565b5f611fe4611fdf611fda84611eaa565b611fc1565b611eaa565b9050919050565b5f611ff582611fca565b9050919050565b5f61200682611feb565b9050919050565b61201681611ffc565b82525050565b5f60208201905061202f5f83018461200d565b92915050565b5f61203f82611feb565b9050919050565b61204f81612035565b82525050565b5f6020820190506120685f830184612046565b92915050565b5f8115159050919050565b6120828161206e565b82525050565b5f60208201905061209b5f830184612079565b92915050565b5f80604083850312156120b7576120b6611e20565b5b5f6120c485828601611e43565b92505060206120d585828601611e43565b9150509250929050565b5f6120e982611feb565b9050919050565b6120f9816120df565b82525050565b5f6020820190506121125f8301846120f0565b92915050565b5f60c08201905061212b5f830189611e82565b6121386020830188611e82565b6121456040830187611e82565b6121526060830186611e82565b61215f6080830185611e82565b61216c60a0830184611e82565b979650505050505050565b6121808161206e565b811461218a575f80fd5b50565b5f8135905061219b81612177565b92915050565b5f602082840312156121b6576121b5611e20565b5b5f6121c38482850161218d565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61220382611e24565b915061220e83611e24565b925082820261221c81611e24565b91508282048414831517612233576122326121cc565b5b5092915050565b5f61224482611e24565b915061224f83611e24565b9250828201905080821115612267576122666121cc565b5b92915050565b5f82825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6122b160208361226d565b91506122bc8261227d565b602082019050919050565b5f6020820190508181035f8301526122de816122a5565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61231c82611e24565b915061232783611e24565b925082612337576123366122e5565b5b828204905092915050565b5f8151905061235081611e2d565b92915050565b5f6020828403121561236b5761236a611e20565b5b5f61237884828501612342565b91505092915050565b5f6040820190506123945f830185611eda565b6123a16020830184611e82565b9392505050565b5f815190506123b681612177565b92915050565b5f602082840312156123d1576123d0611e20565b5b5f6123de848285016123a8565b91505092915050565b7f5265656e7472616e742063616c6c2064657465637465640000000000000000005f82015250565b5f61241b60178361226d565b9150612426826123e7565b602082019050919050565b5f6020820190508181035f8301526124488161240f565b9050919050565b7f50726573616c65206973206e6f7420696e2070726f63657373000000000000005f82015250565b5f61248360198361226d565b915061248e8261244f565b602082019050919050565b5f6020820190508181035f8301526124b081612477565b9050919050565b7f50726573616c65206973206e6f742061637469766500000000000000000000005f82015250565b5f6124eb60158361226d565b91506124f6826124b7565b602082019050919050565b5f6020820190508181035f830152612518816124df565b9050919050565b7f546f6b656e207472616e73666572206661696c65642e000000000000000000005f82015250565b5f61255360168361226d565b915061255e8261251f565b602082019050919050565b5f6020820190508181035f83015261258081612547565b9050919050565b5f60608201905061259a5f830186611eda565b6125a76020830185611e82565b6125b46040830184611e82565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f61261660268361226d565b9150612621826125bc565b604082019050919050565b5f6020820190508181035f8301526126438161260a565b9050919050565b5f69ffffffffffffffffffff82169050919050565b6126688161264a565b8114612672575f80fd5b50565b5f815190506126838161265f565b92915050565b5f819050919050565b61269b81612689565b81146126a5575f80fd5b50565b5f815190506126b681612692565b92915050565b5f805f805f60a086880312156126d5576126d4611e20565b5b5f6126e288828901612675565b95505060206126f3888289016126a8565b945050604061270488828901612342565b935050606061271588828901612342565b925050608061272688828901612675565b9150509295509295909350565b5f61273d82612689565b915061274883612689565b925082820261275681612689565b91507f800000000000000000000000000000000000000000000000000000000000000084145f8412161561278d5761278c6121cc565b5b82820584148315176127a2576127a16121cc565b5b5092915050565b5f6060820190506127bc5f830186611eda565b6127c96020830185611eda565b6127d66040830184611e82565b94935050505056fea2646970667358221220f16e12ab3772dd6d8698c2d6a5fdfb5bfb9b74647294d83214a14bb8f2e73f0464736f6c63430008140033

Deployed Bytecode

0x6080604052600436106101ed575f3560e01c8063899b6dff1161010c578063b9702e2e1161009f578063c69ea42f1161006e578063c69ea42f146106ae578063e0961b28146106ea578063f2fde38b14610712578063fcaa76641461073a578063ff186b2e14610764576101ed565b8063b9702e2e14610605578063ba3ffb7c14610634578063bd4c1c6d1461065e578063c54e73e314610686576101ed565b8063a2b26dfe116100db578063a2b26dfe1461056d578063a4c8932214610595578063a98ad46c146105d1578063afa0e8d5146105fb576101ed565b8063899b6dff146104b55780638da5cb5b146104dd578063946d1480146105075780639ab4a44514610543576101ed565b8063682805b0116101845780637dbe5f10116101535780637dbe5f10146103fb5780637e3d1cf5146104255780637f1558231461044f57806383bad1af14610479576101ed565b8063682805b014610355578063715018a61461037f57806372f702f314610395578063752f2a5f146103bf576101ed565b8063577bd336116101c0578063577bd3361461029757806358c31f3b146102c15780636392a51f146102ec57806363b201171461032b576101ed565b806305c505f2146101f1578063249b7c191461022d57806336363edd146102575780635298b8691461026d575b5f80fd5b3480156101fc575f80fd5b5061021760048036038101906102129190611e57565b61078e565b6040516102249190611e91565b60405180910390f35b348015610238575f80fd5b506102416107c9565b60405161024e9190611e91565b60405180910390f35b348015610262575f80fd5b5061026b610821565b005b348015610278575f80fd5b50610281610902565b60405161028e9190611ee9565b60405180910390f35b3480156102a2575f80fd5b506102ab610927565b6040516102b89190611e91565b60405180910390f35b3480156102cc575f80fd5b506102d561095c565b6040516102e3929190611f02565b60405180910390f35b3480156102f7575f80fd5b50610312600480360381019061030d9190611f53565b610a00565b6040516103229493929190611f7e565b60405180910390f35b348015610336575f80fd5b5061033f610baf565b60405161034c9190611e91565b60405180910390f35b348015610360575f80fd5b50610369610bb5565b6040516103769190611e91565b60405180910390f35b34801561038a575f80fd5b50610393610bbb565b005b3480156103a0575f80fd5b506103a9610d09565b6040516103b6919061201c565b60405180910390f35b3480156103ca575f80fd5b506103e560048036038101906103e09190611f53565b610d2e565b6040516103f29190611e91565b60405180910390f35b348015610406575f80fd5b5061040f610d43565b60405161041c9190612055565b60405180910390f35b348015610430575f80fd5b50610439610d68565b6040516104469190612088565b60405180910390f35b34801561045a575f80fd5b50610463610d7a565b6040516104709190611e91565b60405180910390f35b348015610484575f80fd5b5061049f600480360381019061049a9190611f53565b610dc7565b6040516104ac9190611e91565b60405180910390f35b3480156104c0575f80fd5b506104db60048036038101906104d69190611e57565b610ddc565b005b3480156104e8575f80fd5b506104f1610f17565b6040516104fe9190611ee9565b60405180910390f35b348015610512575f80fd5b5061052d60048036038101906105289190611e57565b610f3e565b60405161053a9190611e91565b60405180910390f35b34801561054e575f80fd5b50610557610f71565b6040516105649190611ee9565b60405180910390f35b348015610578575f80fd5b50610593600480360381019061058e91906120a1565b610f96565b005b3480156105a0575f80fd5b506105bb60048036038101906105b69190611e57565b61106e565b6040516105c89190611e91565b60405180910390f35b3480156105dc575f80fd5b506105e56110b6565b6040516105f291906120ff565b60405180910390f35b6106036110db565b005b348015610610575f80fd5b5061061961143b565b60405161062b96959493929190612118565b60405180910390f35b34801561063f575f80fd5b50610648611489565b6040516106559190611e91565b60405180910390f35b348015610669575f80fd5b50610684600480360381019061067f9190611e57565b61148f565b005b348015610691575f80fd5b506106ac60048036038101906106a791906121a1565b6117fd565b005b3480156106b9575f80fd5b506106d460048036038101906106cf9190611f53565b6118ad565b6040516106e19190611e91565b60405180910390f35b3480156106f5575f80fd5b50610710600480360381019061070b9190611e57565b6118c2565b005b34801561071d575f80fd5b5061073860048036038101906107339190611f53565b6119fd565b005b348015610745575f80fd5b5061074e611bba565b60405161075b9190611e91565b60405180910390f35b34801561076f575f80fd5b50610778611c22565b6040516107859190611e91565b60405180910390f35b5f80610798610d7a565b836107a391906121f9565b9050600e5481600d546107b6919061223a565b11156107c0575f90505b80915050919050565b5f6001544210156107de57600154905061081e565b6002544210156107f257600254905061081e565b60035442101561080657600354905061081e565b60045442101561081a57600454905061081e565b5f90505b90565b610829611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146108b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ac906122c7565b60405180910390fd5b6108bd610f17565b73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156108ff573d5f803e3d5ffd5b50565b600f5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600e54670de0b6b3a7640000600d54606461094391906121f9565b61094d91906121f9565b6109579190612312565b905090565b5f8060125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016109b89190611ee9565b602060405180830381865afa1580156109d3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f79190612356565b91504790509091565b5f805f805f8573ffffffffffffffffffffffffffffffffffffffff163190505f60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231886040518263ffffffff1660e01b8152600401610a7a9190611ee9565b602060405180830381865afa158015610a95573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ab99190612356565b90505f60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231896040518263ffffffff1660e01b8152600401610b169190611ee9565b602060405180830381865afa158015610b31573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b559190612356565b90505f600a5f8a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050838383839750975097509750505050509193509193565b600d5481565b600e5481565b610bc3611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c46906122c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f805f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6008602052805f5260405f205f915090505481565b60135f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b5f9054906101000a900460ff1681565b5f80610d84611bba565b905060018103610d9957600554915050610dc4565b60028103610dac57600654915050610dc4565b60038103610dbf57600754915050610dc4565b5f9150505b90565b600a602052805f5260405f205f915090505481565b610de4611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e67906122c7565b60405180910390fd5b60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610eb5610f17565b836040518363ffffffff1660e01b8152600401610ed3929190612381565b6020604051808303815f875af1158015610eef573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f1391906123bc565b5050565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f80610f48611c22565b9050670de0b6b3a76400008184610f5f91906121f9565b610f699190612312565b915050919050565b60105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610f9e611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461102a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611021906122c7565b60405180910390fd5b6001810361103a57816001819055505b6002810361104a57816002819055505b6003810361105a57816003819055505b6004810361106a57816004819055505b5050565b5f8061107983610f3e565b90505f611084610d7a565b8261108f91906121f9565b9050600e5481600d546110a2919061223a565b11156110ac575f90505b8092505050919050565b60125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600b60019054906101000a900460ff161561112b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112290612431565b60405180910390fd5b6001600b60016101000a81548160ff021916908315150217905550600b5f9054906101000a900460ff1615611195576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118c90612499565b60405180910390fd5b5f3490506111a1610f17565b73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f193505050501580156111e3573d5f803e3d5ffd5b508060095f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555061122f81610f3e565b600c5f82825461123f919061223a565b925050819055505f6112508261106e565b90505f8111611294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128b90612501565b60405180910390fd5b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016112f0929190612381565b6020604051808303815f875af115801561130c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061133091906123bc565b61136f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136690612569565b60405180910390fd5b80600a5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546113bb919061223a565b9250508190555080600d5f8282546113d3919061223a565b925050819055507faf50ede3b43cecc4cc16d52148b0bb2d0bc854da353df6b617e250bbb3f7013b33834260405161140d93929190612587565b60405180910390a161141d611cdb565b50505f600b60016101000a81548160ff021916908315150217905550565b5f805f805f80611449610927565b611451611bba565b611462678ac7230489e80000610f3e565b61146a6107c9565b600c54611475610d7a565b955095509550955095509550909192939495565b600c5481565b600b60019054906101000a900460ff16156114df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d690612431565b60405180910390fd5b6001600b60016101000a81548160ff021916908315150217905550600b5f9054906101000a900460ff1615611549576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154090612499565b60405180910390fd5b8060085f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555080600c5f82825461159c919061223a565b925050819055505f6115ad8261078e565b90505f81116115f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e890612501565b60405180910390fd5b80600a5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461163d919061223a565b9250508190555061169933611650610f17565b8460125f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611d03909392919063ffffffff16565b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb3364e8d4a51000846116e891906121f9565b6040518363ffffffff1660e01b8152600401611705929190612381565b6020604051808303815f875af1158015611721573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061174591906123bc565b611784576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177b90612569565b60405180910390fd5b80600d5f828254611795919061223a565b925050819055507fbeac83768a9ad41c694bb46d75dadbc280dc2cb91f6b691a2df042b66342d6273382426040516117cf93929190612587565b60405180910390a16117df611cdb565b505f600b60016101000a81548160ff02191690831515021790555050565b611805611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611891576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611888906122c7565b60405180910390fd5b80600b5f6101000a81548160ff02191690831515021790555050565b6009602052805f5260405f205f915090505481565b6118ca611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611956576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194d906122c7565b60405180910390fd5b60115f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb61199b610f17565b836040518363ffffffff1660e01b81526004016119b9929190612381565b6020604051808303815f875af11580156119d5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906119f991906123bc565b5050565b611a05611cd4565b73ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611a91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a88906122c7565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611aff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af69061262c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff165f8054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3805f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f60015442118015611bcd575060025442105b15611bdb5760019050611c1f565b60025442118015611bed575060035442105b15611bfb5760029050611c1f565b60035442118015611c0d575060045442105b15611c1b5760039050611c1f565b5f90505b90565b5f8060135f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663feaf968c6040518163ffffffff1660e01b815260040160a060405180830381865afa158015611c8e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611cb291906126bc565b5050509150505f6402540be40082611cca9190612733565b9050809250505090565b5f33905090565b600e54600d5410611d01576001600b5f6101000a81548160ff0219169083151502179055505b565b611d7f848573ffffffffffffffffffffffffffffffffffffffff166323b872dd868686604051602401611d38939291906127a9565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050611d85565b50505050565b5f8060205f8451602086015f885af180611da4576040513d5f823e3d81fd5b3d92505f519150505f8214611dbd576001811415611dd8565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b15611e1a57836040517f5274afe7000000000000000000000000000000000000000000000000000000008152600401611e119190611ee9565b60405180910390fd5b50505050565b5f80fd5b5f819050919050565b611e3681611e24565b8114611e40575f80fd5b50565b5f81359050611e5181611e2d565b92915050565b5f60208284031215611e6c57611e6b611e20565b5b5f611e7984828501611e43565b91505092915050565b611e8b81611e24565b82525050565b5f602082019050611ea45f830184611e82565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f611ed382611eaa565b9050919050565b611ee381611ec9565b82525050565b5f602082019050611efc5f830184611eda565b92915050565b5f604082019050611f155f830185611e82565b611f226020830184611e82565b9392505050565b611f3281611ec9565b8114611f3c575f80fd5b50565b5f81359050611f4d81611f29565b92915050565b5f60208284031215611f6857611f67611e20565b5b5f611f7584828501611f3f565b91505092915050565b5f608082019050611f915f830187611e82565b611f9e6020830186611e82565b611fab6040830185611e82565b611fb86060830184611e82565b95945050505050565b5f819050919050565b5f611fe4611fdf611fda84611eaa565b611fc1565b611eaa565b9050919050565b5f611ff582611fca565b9050919050565b5f61200682611feb565b9050919050565b61201681611ffc565b82525050565b5f60208201905061202f5f83018461200d565b92915050565b5f61203f82611feb565b9050919050565b61204f81612035565b82525050565b5f6020820190506120685f830184612046565b92915050565b5f8115159050919050565b6120828161206e565b82525050565b5f60208201905061209b5f830184612079565b92915050565b5f80604083850312156120b7576120b6611e20565b5b5f6120c485828601611e43565b92505060206120d585828601611e43565b9150509250929050565b5f6120e982611feb565b9050919050565b6120f9816120df565b82525050565b5f6020820190506121125f8301846120f0565b92915050565b5f60c08201905061212b5f830189611e82565b6121386020830188611e82565b6121456040830187611e82565b6121526060830186611e82565b61215f6080830185611e82565b61216c60a0830184611e82565b979650505050505050565b6121808161206e565b811461218a575f80fd5b50565b5f8135905061219b81612177565b92915050565b5f602082840312156121b6576121b5611e20565b5b5f6121c38482850161218d565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61220382611e24565b915061220e83611e24565b925082820261221c81611e24565b91508282048414831517612233576122326121cc565b5b5092915050565b5f61224482611e24565b915061224f83611e24565b9250828201905080821115612267576122666121cc565b5b92915050565b5f82825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6122b160208361226d565b91506122bc8261227d565b602082019050919050565b5f6020820190508181035f8301526122de816122a5565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61231c82611e24565b915061232783611e24565b925082612337576123366122e5565b5b828204905092915050565b5f8151905061235081611e2d565b92915050565b5f6020828403121561236b5761236a611e20565b5b5f61237884828501612342565b91505092915050565b5f6040820190506123945f830185611eda565b6123a16020830184611e82565b9392505050565b5f815190506123b681612177565b92915050565b5f602082840312156123d1576123d0611e20565b5b5f6123de848285016123a8565b91505092915050565b7f5265656e7472616e742063616c6c2064657465637465640000000000000000005f82015250565b5f61241b60178361226d565b9150612426826123e7565b602082019050919050565b5f6020820190508181035f8301526124488161240f565b9050919050565b7f50726573616c65206973206e6f7420696e2070726f63657373000000000000005f82015250565b5f61248360198361226d565b915061248e8261244f565b602082019050919050565b5f6020820190508181035f8301526124b081612477565b9050919050565b7f50726573616c65206973206e6f742061637469766500000000000000000000005f82015250565b5f6124eb60158361226d565b91506124f6826124b7565b602082019050919050565b5f6020820190508181035f830152612518816124df565b9050919050565b7f546f6b656e207472616e73666572206661696c65642e000000000000000000005f82015250565b5f61255360168361226d565b915061255e8261251f565b602082019050919050565b5f6020820190508181035f83015261258081612547565b9050919050565b5f60608201905061259a5f830186611eda565b6125a76020830185611e82565b6125b46040830184611e82565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f61261660268361226d565b9150612621826125bc565b604082019050919050565b5f6020820190508181035f8301526126438161260a565b9050919050565b5f69ffffffffffffffffffff82169050919050565b6126688161264a565b8114612672575f80fd5b50565b5f815190506126838161265f565b92915050565b5f819050919050565b61269b81612689565b81146126a5575f80fd5b50565b5f815190506126b681612692565b92915050565b5f805f805f60a086880312156126d5576126d4611e20565b5b5f6126e288828901612675565b95505060206126f3888289016126a8565b945050604061270488828901612342565b935050606061271588828901612342565b925050608061272688828901612675565b9150509295509295909350565b5f61273d82612689565b915061274883612689565b925082820261275681612689565b91507f800000000000000000000000000000000000000000000000000000000000000084145f8412161561278d5761278c6121cc565b5b82820584148315176127a2576127a16121cc565b5b5092915050565b5f6060820190506127bc5f830186611eda565b6127c96020830185611eda565b6127d66040830184611e82565b94935050505056fea2646970667358221220f16e12ab3772dd6d8698c2d6a5fdfb5bfb9b74647294d83214a14bb8f2e73f0464736f6c63430008140033

Deployed Bytecode Sourcemap

46068:7111:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49969:295;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47976:299;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52546:115;;;;;;;;;;;;;:::i;:::-;;47200:80;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49405:146;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48566:223;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;49557:406;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;46983:30;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47073:66;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45665:148;;;;;;;;;;;;;:::i;:::-;;47365:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46558:52;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47427:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46729:37;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48281:279;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;46675:47;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52667:119;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45455:79;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48992:179;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47287:71;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52921:255;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50270:344;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;47398:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51816:724;;;:::i;:::-;;49177:222;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;:::i;:::-;;;;;;;;46951:25;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51015:715;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;50798:127;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;46617:51;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52792:123;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45819:244;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;47664:306;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;48795:191;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49969:295;50031:7;50056:19;50090:15;:13;:15::i;:::-;50079:10;:26;;;;:::i;:::-;50056:50;;50150:25;;50136:11;50120:15;;:27;;;;:::i;:::-;:55;50117:111;;;50215:1;50201:15;;50117:111;50245:11;50238:18;;;49969:295;;;:::o;47976:299::-;48022:7;48066:5;;48050:15;:21;48047:43;;;48082:5;;48075:12;;;;48047:43;48119:5;;48103:15;:21;48100:43;;;48135:5;;48128:12;;;;48100:43;48172:5;;48156:15;:21;48153:43;;;48188:5;;48181:12;;;;48153:43;48225:5;;48209:15;:21;48206:43;;;48241:5;;48234:12;;;;48206:43;48266:1;48259:8;;47976:299;;:::o;52546:115::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;52613:7:::1;:5;:7::i;:::-;52605:25;;:48;52631:21;52605:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;52546:115::o:0;47200:80::-;;;;;;;;;;;;;:::o;49405:146::-;49445:7;49505:25;;49498:6;49482:15;;49478:3;:19;;;;:::i;:::-;:26;;;;:::i;:::-;:52;;;;:::i;:::-;49470:61;;49405:146;:::o;48566:223::-;48613:15;48630:14;48672:9;;;;;;;;;;;:19;;;48700:4;48672:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48662:44;;48726:21;48717:30;;48566:223;;:::o;49557:406::-;49612:7;49621;49630;49639;49664:18;49694:5;49685:23;;;49664:44;;49719:19;49741:9;;;;;;;;;;;:19;;;49761:5;49741:26;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49719:48;;49778:20;49801:12;;;;;;;;;;;:22;;;49824:5;49801:29;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49778:52;;49841:21;49865:12;:19;49878:5;49865:19;;;;;;;;;;;;;;;;49841:43;;49902:10;49914:11;49927:12;49941:13;49895:60;;;;;;;;;;;;49557:406;;;;;:::o;46983:30::-;;;;:::o;47073:66::-;;;;:::o;45665:148::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;45772:1:::1;45735:40;;45756:6;::::0;::::1;;;;;;;;45735:40;;;;;;;;;;;;45803:1;45786:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;45665:148::o:0;47365:26::-;;;;;;;;;;;;;:::o;46558:52::-;;;;;;;;;;;;;;;;;:::o;47427:26::-;;;;;;;;;;;;;:::o;46729:37::-;;;;;;;;;;;;;:::o;48281:279::-;48326:7;48351:13;48367:10;:8;:10::i;:::-;48351:26;;48398:1;48391:5;:8;48388:42;;48410:17;;48403:24;;;;;48388:42;48450:1;48443:5;:8;48440:42;;48462:17;;48455:24;;;;;48440:42;48502:1;48495:5;:8;48492:42;;48514:17;;48507:24;;;;;48492:42;48551:1;48544:8;;;48281:279;;:::o;46675:47::-;;;;;;;;;;;;;;;;;:::o;52667:119::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;52742:9:::1;;;;;;;;;;;:18;;;52761:7;:5;:7::i;:::-;52770;52742:36;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52667:119:::0;:::o;45455:79::-;45493:7;45520:6;;;;;;;;;;;45513:13;;45455:79;:::o;48992:179::-;49050:7;49075:14;49092:10;:8;:10::i;:::-;49075:27;;49138:25;49131:6;49121:9;:16;;;;:::i;:::-;:42;;;;:::i;:::-;49113:50;;;48992:179;;;:::o;47287:71::-;;;;;;;;;;;;;:::o;52921:255::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;53018:1:::1;53010:6;:9:::0;53007:33:::1;;53032:5;53024;:13;;;;53007:33;53061:1;53053:6;:9:::0;53050:33:::1;;53075:5;53067;:13;;;;53050:33;53104:1;53096:6;:9:::0;53093:33:::1;;53118:5;53110;:13;;;;53093:33;53147:1;53139:6;:9:::0;53136:33:::1;;53161:5;53153;:13;;;;53136:33;52921:255:::0;;:::o;50270:344::-;50330:7;50355:18;50376:19;50385:9;50376:8;:19::i;:::-;50355:40;;50406:19;50440:15;:13;:15::i;:::-;50429:10;:26;;;;:::i;:::-;50406:50;;50500:25;;50486:11;50470:15;;:27;;;;:::i;:::-;:55;50467:111;;;50565:1;50551:15;;50467:111;50595:11;50588:18;;;;50270:344;;;:::o;47398:22::-;;;;;;;;;;;;;:::o;51816:724::-;46842:6;;;;;;;;;;;46841:7;46833:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;46896:4;46887:6;;:13;;;;;;;;;;;;;;;;;;51893:17:::1;;;;;;;;;;;51892:18;51884:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;51951:17;51971:9;51951:29;;51999:7;:5;:7::i;:::-;51991:25;;:48;52017:21;51991:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;52081:9;52050:16;:28;52067:10;52050:28;;;;;;;;;;;;;;;:40;;;;52115:19;52124:9;52115:8;:19::i;:::-;52101:10;;:33;;;;;;;:::i;:::-;;;;;;;;52145:19;52167:22;52179:9;52167:11;:22::i;:::-;52145:44;;52220:1;52208:11;:13;52200:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;52266:12;;;;;;;;;;;:21;;;52288:10;52300:11;52266:46;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52258:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;52378:11;52350:12;:24;52363:10;52350:24;;;;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;;;;;;;;52419:11;52400:15;;:30;;;;;;;:::i;:::-;;;;;;;;52446:54;52461:10;52473:9;52484:15;52446:54;;;;;;;;:::i;:::-;;;;;;;;52511:21;:19;:21::i;:::-;51873:667;;46932:5:::0;46923:6;;:14;;;;;;;;;;;;;;;;;;51816:724::o;49177:222::-;49221:7;49230;49239;49248;49257;49266;49299:10;:8;:10::i;:::-;49312;:8;:10::i;:::-;49324:19;49333:9;49324:8;:19::i;:::-;49345:16;:14;:16::i;:::-;49363:10;;49375:15;:13;:15::i;:::-;49291:100;;;;;;;;;;;;49177:222;;;;;;:::o;46951:25::-;;;;:::o;51015:715::-;46842:6;;;;;;;;;;;46841:7;46833:43;;;;;;;;;;;;:::i;:::-;;;;;;;;;46896:4;46887:6;;:13;;;;;;;;;;;;;;;;;;51103:17:::1;;;;;;;;;;;51102:18;51094:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;51193:10;51161:17;:29;51179:10;51161:29;;;;;;;;;;;;;;;:42;;;;51228:10;51214;;:24;;;;;;;:::i;:::-;;;;;;;;51249:19;51271:24;51284:10;51271:12;:24::i;:::-;51249:46;;51326:1;51314:11;:13;51306:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;51392:11;51364:12;:24;51377:10;51364:24;;;;;;;;;;;;;;;;:39;;;;;;;:::i;:::-;;;;;;;;51414:59;51441:10;51453:7;:5;:7::i;:::-;51462:10;51414:9;;;;;;;;;;;:26;;;;:59;;;;;;:::i;:::-;51492:12;;;;;;;;;;;:21;;;51514:10;51540:8;51526:11;:22;;;;:::i;:::-;51492:57;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51484:92;;;;;;;;;;;;:::i;:::-;;;;;;;;;51606:11;51587:15;;:30;;;;;;;:::i;:::-;;;;;;;;51633:57;51649:10;51661:11;51674:15;51633:57;;;;;;;;:::i;:::-;;;;;;;;51701:21;:19;:21::i;:::-;51083:647;46932:5:::0;46923:6;;:14;;;;;;;;;;;;;;;;;;51015:715;:::o;50798:127::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;50899:18:::1;50879:17;;:38;;;;;;;;;;;;;;;;;;50798:127:::0;:::o;46617:51::-;;;;;;;;;;;;;;;;;:::o;52792:123::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;52868:12:::1;;;;;;;;;;;:21;;;52890:7;:5;:7::i;:::-;52899;52868:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52792:123:::0;:::o;45819:244::-;45590:12;:10;:12::i;:::-;45580:22;;:6;;;;;;;;;;:22;;;45572:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;45928:1:::1;45908:22;;:8;:22;;::::0;45900:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;46018:8;45989:38;;46010:6;::::0;::::1;;;;;;;;45989:38;;;;;;;;;;;;46047:8;46038:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;45819:244:::0;:::o;47664:306::-;47704:7;47748:5;;47732:15;:21;:47;;;;;47774:5;;47758:15;:21;47732:47;47729:65;;;47790:1;47783:8;;;;47729:65;47823:5;;47807:15;:21;:47;;;;;47849:5;;47833:15;:21;47807:47;47804:65;;;47865:1;47858:8;;;;47804:65;47898:5;;47882:15;:21;:47;;;;;47924:5;;47908:15;:21;47882:47;47879:65;;;47940:1;47933:8;;;;47879:65;47961:1;47954:8;;47664:306;;:::o;48795:191::-;48835:7;48857:12;48878:9;;;;;;;;;;;:25;;;:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48855:50;;;;;;48916:14;48947:6;48941:5;:12;;;;:::i;:::-;48916:38;;48972:6;48965:13;;;;48795:191;:::o;26722:98::-;26775:7;26802:10;26795:17;;26722:98;:::o;50620:172::-;50698:25;;50679:15;;:44;50676:109;;50769:4;50749:17;;:24;;;;;;;;;;;;;;;;;;50676:109;50620:172::o;17374:190::-;17475:81;17495:5;17517;:18;;;17538:4;17544:2;17548:5;17502:53;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17475:19;:81::i;:::-;17374:190;;;;:::o;23560:738::-;23641:18;23670:19;23810:4;23807:1;23800:4;23794:11;23787:4;23781;23777:15;23774:1;23767:5;23760;23755:60;23869:7;23859:180;;23914:4;23908:11;23960:16;23957:1;23952:3;23937:40;24007:16;24002:3;23995:29;23859:180;24067:16;24053:30;;24118:1;24112:8;24097:23;;23725:406;24161:1;24147:10;:15;:68;;24214:1;24199:11;:16;;24147:68;;;24195:1;24173:5;24165:26;;;:31;24147:68;24143:148;;;24272:5;24239:40;;;;;;;;;;;:::i;:::-;;;;;;;;24143:148;23630:668;;23560:738;;:::o;88:117:1:-;197:1;194;187:12;334:77;371:7;400:5;389:16;;334:77;;;:::o;417:122::-;490:24;508:5;490:24;:::i;:::-;483:5;480:35;470:63;;529:1;526;519:12;470:63;417:122;:::o;545:139::-;591:5;629:6;616:20;607:29;;645:33;672:5;645:33;:::i;:::-;545:139;;;;:::o;690:329::-;749:6;798:2;786:9;777:7;773:23;769:32;766:119;;;804:79;;:::i;:::-;766:119;924:1;949:53;994:7;985:6;974:9;970:22;949:53;:::i;:::-;939:63;;895:117;690:329;;;;:::o;1025:118::-;1112:24;1130:5;1112:24;:::i;:::-;1107:3;1100:37;1025:118;;:::o;1149:222::-;1242:4;1280:2;1269:9;1265:18;1257:26;;1293:71;1361:1;1350:9;1346:17;1337:6;1293:71;:::i;:::-;1149:222;;;;:::o;1377:126::-;1414:7;1454:42;1447:5;1443:54;1432:65;;1377:126;;;:::o;1509:96::-;1546:7;1575:24;1593:5;1575:24;:::i;:::-;1564:35;;1509:96;;;:::o;1611:118::-;1698:24;1716:5;1698:24;:::i;:::-;1693:3;1686:37;1611:118;;:::o;1735:222::-;1828:4;1866:2;1855:9;1851:18;1843:26;;1879:71;1947:1;1936:9;1932:17;1923:6;1879:71;:::i;:::-;1735:222;;;;:::o;1963:332::-;2084:4;2122:2;2111:9;2107:18;2099:26;;2135:71;2203:1;2192:9;2188:17;2179:6;2135:71;:::i;:::-;2216:72;2284:2;2273:9;2269:18;2260:6;2216:72;:::i;:::-;1963:332;;;;;:::o;2301:122::-;2374:24;2392:5;2374:24;:::i;:::-;2367:5;2364:35;2354:63;;2413:1;2410;2403:12;2354:63;2301:122;:::o;2429:139::-;2475:5;2513:6;2500:20;2491:29;;2529:33;2556:5;2529:33;:::i;:::-;2429:139;;;;:::o;2574:329::-;2633:6;2682:2;2670:9;2661:7;2657:23;2653:32;2650:119;;;2688:79;;:::i;:::-;2650:119;2808:1;2833:53;2878:7;2869:6;2858:9;2854:22;2833:53;:::i;:::-;2823:63;;2779:117;2574:329;;;;:::o;2909:553::-;3086:4;3124:3;3113:9;3109:19;3101:27;;3138:71;3206:1;3195:9;3191:17;3182:6;3138:71;:::i;:::-;3219:72;3287:2;3276:9;3272:18;3263:6;3219:72;:::i;:::-;3301;3369:2;3358:9;3354:18;3345:6;3301:72;:::i;:::-;3383;3451:2;3440:9;3436:18;3427:6;3383:72;:::i;:::-;2909:553;;;;;;;:::o;3468:60::-;3496:3;3517:5;3510:12;;3468:60;;;:::o;3534:142::-;3584:9;3617:53;3635:34;3644:24;3662:5;3644:24;:::i;:::-;3635:34;:::i;:::-;3617:53;:::i;:::-;3604:66;;3534:142;;;:::o;3682:126::-;3732:9;3765:37;3796:5;3765:37;:::i;:::-;3752:50;;3682:126;;;:::o;3814:139::-;3877:9;3910:37;3941:5;3910:37;:::i;:::-;3897:50;;3814:139;;;:::o;3959:157::-;4059:50;4103:5;4059:50;:::i;:::-;4054:3;4047:63;3959:157;;:::o;4122:248::-;4228:4;4266:2;4255:9;4251:18;4243:26;;4279:84;4360:1;4349:9;4345:17;4336:6;4279:84;:::i;:::-;4122:248;;;;:::o;4376:144::-;4444:9;4477:37;4508:5;4477:37;:::i;:::-;4464:50;;4376:144;;;:::o;4526:167::-;4631:55;4680:5;4631:55;:::i;:::-;4626:3;4619:68;4526:167;;:::o;4699:258::-;4810:4;4848:2;4837:9;4833:18;4825:26;;4861:89;4947:1;4936:9;4932:17;4923:6;4861:89;:::i;:::-;4699:258;;;;:::o;4963:90::-;4997:7;5040:5;5033:13;5026:21;5015:32;;4963:90;;;:::o;5059:109::-;5140:21;5155:5;5140:21;:::i;:::-;5135:3;5128:34;5059:109;;:::o;5174:210::-;5261:4;5299:2;5288:9;5284:18;5276:26;;5312:65;5374:1;5363:9;5359:17;5350:6;5312:65;:::i;:::-;5174:210;;;;:::o;5390:474::-;5458:6;5466;5515:2;5503:9;5494:7;5490:23;5486:32;5483:119;;;5521:79;;:::i;:::-;5483:119;5641:1;5666:53;5711:7;5702:6;5691:9;5687:22;5666:53;:::i;:::-;5656:63;;5612:117;5768:2;5794:53;5839:7;5830:6;5819:9;5815:22;5794:53;:::i;:::-;5784:63;;5739:118;5390:474;;;;;:::o;5870:140::-;5934:9;5967:37;5998:5;5967:37;:::i;:::-;5954:50;;5870:140;;;:::o;6016:159::-;6117:51;6162:5;6117:51;:::i;:::-;6112:3;6105:64;6016:159;;:::o;6181:250::-;6288:4;6326:2;6315:9;6311:18;6303:26;;6339:85;6421:1;6410:9;6406:17;6397:6;6339:85;:::i;:::-;6181:250;;;;:::o;6437:775::-;6670:4;6708:3;6697:9;6693:19;6685:27;;6722:71;6790:1;6779:9;6775:17;6766:6;6722:71;:::i;:::-;6803:72;6871:2;6860:9;6856:18;6847:6;6803:72;:::i;:::-;6885;6953:2;6942:9;6938:18;6929:6;6885:72;:::i;:::-;6967;7035:2;7024:9;7020:18;7011:6;6967:72;:::i;:::-;7049:73;7117:3;7106:9;7102:19;7093:6;7049:73;:::i;:::-;7132;7200:3;7189:9;7185:19;7176:6;7132:73;:::i;:::-;6437:775;;;;;;;;;:::o;7218:116::-;7288:21;7303:5;7288:21;:::i;:::-;7281:5;7278:32;7268:60;;7324:1;7321;7314:12;7268:60;7218:116;:::o;7340:133::-;7383:5;7421:6;7408:20;7399:29;;7437:30;7461:5;7437:30;:::i;:::-;7340:133;;;;:::o;7479:323::-;7535:6;7584:2;7572:9;7563:7;7559:23;7555:32;7552:119;;;7590:79;;:::i;:::-;7552:119;7710:1;7735:50;7777:7;7768:6;7757:9;7753:22;7735:50;:::i;:::-;7725:60;;7681:114;7479:323;;;;:::o;7808:180::-;7856:77;7853:1;7846:88;7953:4;7950:1;7943:15;7977:4;7974:1;7967:15;7994:410;8034:7;8057:20;8075:1;8057:20;:::i;:::-;8052:25;;8091:20;8109:1;8091:20;:::i;:::-;8086:25;;8146:1;8143;8139:9;8168:30;8186:11;8168:30;:::i;:::-;8157:41;;8347:1;8338:7;8334:15;8331:1;8328:22;8308:1;8301:9;8281:83;8258:139;;8377:18;;:::i;:::-;8258:139;8042:362;7994:410;;;;:::o;8410:191::-;8450:3;8469:20;8487:1;8469:20;:::i;:::-;8464:25;;8503:20;8521:1;8503:20;:::i;:::-;8498:25;;8546:1;8543;8539:9;8532:16;;8567:3;8564:1;8561:10;8558:36;;;8574:18;;:::i;:::-;8558:36;8410:191;;;;:::o;8607:169::-;8691:11;8725:6;8720:3;8713:19;8765:4;8760:3;8756:14;8741:29;;8607:169;;;;:::o;8782:182::-;8922:34;8918:1;8910:6;8906:14;8899:58;8782:182;:::o;8970:366::-;9112:3;9133:67;9197:2;9192:3;9133:67;:::i;:::-;9126:74;;9209:93;9298:3;9209:93;:::i;:::-;9327:2;9322:3;9318:12;9311:19;;8970:366;;;:::o;9342:419::-;9508:4;9546:2;9535:9;9531:18;9523:26;;9595:9;9589:4;9585:20;9581:1;9570:9;9566:17;9559:47;9623:131;9749:4;9623:131;:::i;:::-;9615:139;;9342:419;;;:::o;9767:180::-;9815:77;9812:1;9805:88;9912:4;9909:1;9902:15;9936:4;9933:1;9926:15;9953:185;9993:1;10010:20;10028:1;10010:20;:::i;:::-;10005:25;;10044:20;10062:1;10044:20;:::i;:::-;10039:25;;10083:1;10073:35;;10088:18;;:::i;:::-;10073:35;10130:1;10127;10123:9;10118:14;;9953:185;;;;:::o;10144:143::-;10201:5;10232:6;10226:13;10217:22;;10248:33;10275:5;10248:33;:::i;:::-;10144:143;;;;:::o;10293:351::-;10363:6;10412:2;10400:9;10391:7;10387:23;10383:32;10380:119;;;10418:79;;:::i;:::-;10380:119;10538:1;10563:64;10619:7;10610:6;10599:9;10595:22;10563:64;:::i;:::-;10553:74;;10509:128;10293:351;;;;:::o;10650:332::-;10771:4;10809:2;10798:9;10794:18;10786:26;;10822:71;10890:1;10879:9;10875:17;10866:6;10822:71;:::i;:::-;10903:72;10971:2;10960:9;10956:18;10947:6;10903:72;:::i;:::-;10650:332;;;;;:::o;10988:137::-;11042:5;11073:6;11067:13;11058:22;;11089:30;11113:5;11089:30;:::i;:::-;10988:137;;;;:::o;11131:345::-;11198:6;11247:2;11235:9;11226:7;11222:23;11218:32;11215:119;;;11253:79;;:::i;:::-;11215:119;11373:1;11398:61;11451:7;11442:6;11431:9;11427:22;11398:61;:::i;:::-;11388:71;;11344:125;11131:345;;;;:::o;11482:173::-;11622:25;11618:1;11610:6;11606:14;11599:49;11482:173;:::o;11661:366::-;11803:3;11824:67;11888:2;11883:3;11824:67;:::i;:::-;11817:74;;11900:93;11989:3;11900:93;:::i;:::-;12018:2;12013:3;12009:12;12002:19;;11661:366;;;:::o;12033:419::-;12199:4;12237:2;12226:9;12222:18;12214:26;;12286:9;12280:4;12276:20;12272:1;12261:9;12257:17;12250:47;12314:131;12440:4;12314:131;:::i;:::-;12306:139;;12033:419;;;:::o;12458:175::-;12598:27;12594:1;12586:6;12582:14;12575:51;12458:175;:::o;12639:366::-;12781:3;12802:67;12866:2;12861:3;12802:67;:::i;:::-;12795:74;;12878:93;12967:3;12878:93;:::i;:::-;12996:2;12991:3;12987:12;12980:19;;12639:366;;;:::o;13011:419::-;13177:4;13215:2;13204:9;13200:18;13192:26;;13264:9;13258:4;13254:20;13250:1;13239:9;13235:17;13228:47;13292:131;13418:4;13292:131;:::i;:::-;13284:139;;13011:419;;;:::o;13436:171::-;13576:23;13572:1;13564:6;13560:14;13553:47;13436:171;:::o;13613:366::-;13755:3;13776:67;13840:2;13835:3;13776:67;:::i;:::-;13769:74;;13852:93;13941:3;13852:93;:::i;:::-;13970:2;13965:3;13961:12;13954:19;;13613:366;;;:::o;13985:419::-;14151:4;14189:2;14178:9;14174:18;14166:26;;14238:9;14232:4;14228:20;14224:1;14213:9;14209:17;14202:47;14266:131;14392:4;14266:131;:::i;:::-;14258:139;;13985:419;;;:::o;14410:172::-;14550:24;14546:1;14538:6;14534:14;14527:48;14410:172;:::o;14588:366::-;14730:3;14751:67;14815:2;14810:3;14751:67;:::i;:::-;14744:74;;14827:93;14916:3;14827:93;:::i;:::-;14945:2;14940:3;14936:12;14929:19;;14588:366;;;:::o;14960:419::-;15126:4;15164:2;15153:9;15149:18;15141:26;;15213:9;15207:4;15203:20;15199:1;15188:9;15184:17;15177:47;15241:131;15367:4;15241:131;:::i;:::-;15233:139;;14960:419;;;:::o;15385:442::-;15534:4;15572:2;15561:9;15557:18;15549:26;;15585:71;15653:1;15642:9;15638:17;15629:6;15585:71;:::i;:::-;15666:72;15734:2;15723:9;15719:18;15710:6;15666:72;:::i;:::-;15748;15816:2;15805:9;15801:18;15792:6;15748:72;:::i;:::-;15385:442;;;;;;:::o;15833:225::-;15973:34;15969:1;15961:6;15957:14;15950:58;16042:8;16037:2;16029:6;16025:15;16018:33;15833:225;:::o;16064:366::-;16206:3;16227:67;16291:2;16286:3;16227:67;:::i;:::-;16220:74;;16303:93;16392:3;16303:93;:::i;:::-;16421:2;16416:3;16412:12;16405:19;;16064:366;;;:::o;16436:419::-;16602:4;16640:2;16629:9;16625:18;16617:26;;16689:9;16683:4;16679:20;16675:1;16664:9;16660:17;16653:47;16717:131;16843:4;16717:131;:::i;:::-;16709:139;;16436:419;;;:::o;16861:105::-;16897:7;16937:22;16930:5;16926:34;16915:45;;16861:105;;;:::o;16972:120::-;17044:23;17061:5;17044:23;:::i;:::-;17037:5;17034:34;17024:62;;17082:1;17079;17072:12;17024:62;16972:120;:::o;17098:141::-;17154:5;17185:6;17179:13;17170:22;;17201:32;17227:5;17201:32;:::i;:::-;17098:141;;;;:::o;17245:76::-;17281:7;17310:5;17299:16;;17245:76;;;:::o;17327:120::-;17399:23;17416:5;17399:23;:::i;:::-;17392:5;17389:34;17379:62;;17437:1;17434;17427:12;17379:62;17327:120;:::o;17453:141::-;17509:5;17540:6;17534:13;17525:22;;17556:32;17582:5;17556:32;:::i;:::-;17453:141;;;;:::o;17600:971::-;17703:6;17711;17719;17727;17735;17784:3;17772:9;17763:7;17759:23;17755:33;17752:120;;;17791:79;;:::i;:::-;17752:120;17911:1;17936:63;17991:7;17982:6;17971:9;17967:22;17936:63;:::i;:::-;17926:73;;17882:127;18048:2;18074:63;18129:7;18120:6;18109:9;18105:22;18074:63;:::i;:::-;18064:73;;18019:128;18186:2;18212:64;18268:7;18259:6;18248:9;18244:22;18212:64;:::i;:::-;18202:74;;18157:129;18325:2;18351:64;18407:7;18398:6;18387:9;18383:22;18351:64;:::i;:::-;18341:74;;18296:129;18464:3;18491:63;18546:7;18537:6;18526:9;18522:22;18491:63;:::i;:::-;18481:73;;18435:129;17600:971;;;;;;;;:::o;18577:556::-;18616:7;18639:19;18656:1;18639:19;:::i;:::-;18634:24;;18672:19;18689:1;18672:19;:::i;:::-;18667:24;;18726:1;18723;18719:9;18748:29;18765:11;18748:29;:::i;:::-;18737:40;;18835:66;18832:1;18829:73;18825:1;18822;18818:9;18814:89;18811:115;;;18906:18;;:::i;:::-;18811:115;19076:1;19067:7;19062:16;19059:1;19056:23;19036:1;19029:9;19009:84;18986:140;;19106:18;;:::i;:::-;18986:140;18624:509;18577:556;;;;:::o;19139:442::-;19288:4;19326:2;19315:9;19311:18;19303:26;;19339:71;19407:1;19396:9;19392:17;19383:6;19339:71;:::i;:::-;19420:72;19488:2;19477:9;19473:18;19464:6;19420:72;:::i;:::-;19502;19570:2;19559:9;19555:18;19546:6;19502:72;:::i;:::-;19139:442;;;;;;:::o

Swarm Source

ipfs://f16e12ab3772dd6d8698c2d6a5fdfb5bfb9b74647294d83214a14bb8f2e73f04

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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