ETH Price: $3,900.87 (+0.43%)

Contract

0x6cabd8255Ac19b0bBcB10de31FDD0f6d7FEd6115

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap From USDC1237453212024-08-08 3:56:59127 days ago1723089419IN
0x6cabd825...d7FEd6115
0 ETH0.00000021990.00128536
Swap From USDC1231323452024-07-24 23:24:27141 days ago1721863467IN
0x6cabd825...d7FEd6115
0 ETH0.0000097409540.0612629
Swap From USDC1231322872024-07-24 23:22:31141 days ago1721863351IN
0x6cabd825...d7FEd6115
0 ETH0.0000097943880.06159999
Swap From USDC1231322082024-07-24 23:19:53141 days ago1721863193IN
0x6cabd825...d7FEd6115
0 ETH0.0000093157490.05860572
Swap From USDC1231317942024-07-24 23:06:05141 days ago1721862365IN
0x6cabd825...d7FEd6115
0 ETH0.0000141162220.06376084
Swap From USDC1230373792024-07-22 18:38:55144 days ago1721673535IN
0x6cabd825...d7FEd6115
0 ETH0.0000127283690.06186697
Swap From USDC1230372842024-07-22 18:35:45144 days ago1721673345IN
0x6cabd825...d7FEd6115
0 ETH0.0000038360020.06170527
Swap From USDC1230367802024-07-22 18:18:57144 days ago1721672337IN
0x6cabd825...d7FEd6115
0 ETH0.0000049411920.06227799
Swap From USDC1230366552024-07-22 18:14:47144 days ago1721672087IN
0x6cabd825...d7FEd6115
0 ETH0.0000098472240.06167924
Swap From USDC1230360372024-07-22 17:54:11144 days ago1721670851IN
0x6cabd825...d7FEd6115
0 ETH0.0000098197670.06189944
Swap From USDC1230263832024-07-22 12:32:23144 days ago1721651543IN
0x6cabd825...d7FEd6115
0 ETH0.0000099486950.06206027
Swap From USDC1230049662024-07-22 0:38:29144 days ago1721608709IN
0x6cabd825...d7FEd6115
0 ETH0.0000097926930.06119636
Swap From USDC1229858632024-07-21 14:01:43145 days ago1721570503IN
0x6cabd825...d7FEd6115
0 ETH0.0000156789420.06029092
Swap From USDC1229858202024-07-21 14:00:17145 days ago1721570417IN
0x6cabd825...d7FEd6115
0 ETH0.0000098067310.06167099
Swap From USDC1229721512024-07-21 6:24:39145 days ago1721543079IN
0x6cabd825...d7FEd6115
0 ETH0.0000097561110.06137363
Swap From USDC1229706982024-07-21 5:36:13145 days ago1721540173IN
0x6cabd825...d7FEd6115
0 ETH0.0000125827260.0615662
Swap From USDC1229706332024-07-21 5:34:03145 days ago1721540043IN
0x6cabd825...d7FEd6115
0 ETH0.0000096922180.06099576
Swap From USDC1228542802024-07-18 12:55:37148 days ago1721307337IN
0x6cabd825...d7FEd6115
0 ETH0.0000136536710.0612359
Swap From USDC1228541882024-07-18 12:52:33148 days ago1721307153IN
0x6cabd825...d7FEd6115
0 ETH0.0000136385080.06106072
Swap From USDC1228541412024-07-18 12:50:59148 days ago1721307059IN
0x6cabd825...d7FEd6115
0 ETH0.000012674770.06165401
Swap From USDC1228174682024-07-17 16:28:33149 days ago1721233713IN
0x6cabd825...d7FEd6115
0 ETH0.0000087841810.06176573
Swap From USDC1228173812024-07-17 16:25:39149 days ago1721233539IN
0x6cabd825...d7FEd6115
0 ETH0.000013036950.06223359
Swap From USDC1228171942024-07-17 16:19:25149 days ago1721233165IN
0x6cabd825...d7FEd6115
0 ETH0.0000139871890.06166713
Swap From USDC1228169582024-07-17 16:11:33149 days ago1721232693IN
0x6cabd825...d7FEd6115
0 ETH0.0000101271550.06138108
Swap From USDC1228166352024-07-17 16:00:47149 days ago1721232047IN
0x6cabd825...d7FEd6115
0 ETH0.0000128000940.06150618
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
1237453212024-08-08 3:56:59127 days ago1723089419
0x6cabd825...d7FEd6115
0.003376687274191 ETH
1237453212024-08-08 3:56:59127 days ago1723089419
0x6cabd825...d7FEd6115
0.003376687274191 ETH
1231323452024-07-24 23:24:27141 days ago1721863467
0x6cabd825...d7FEd6115
0.000270685432906 ETH
1231323452024-07-24 23:24:27141 days ago1721863467
0x6cabd825...d7FEd6115
0.000270685432906 ETH
1231322872024-07-24 23:22:31141 days ago1721863351
0x6cabd825...d7FEd6115
0.000141532858717 ETH
1231322872024-07-24 23:22:31141 days ago1721863351
0x6cabd825...d7FEd6115
0.000141532858717 ETH
1231322082024-07-24 23:19:53141 days ago1721863193
0x6cabd825...d7FEd6115
0.000003251677635 ETH
1231322082024-07-24 23:19:53141 days ago1721863193
0x6cabd825...d7FEd6115
0.000003251677635 ETH
1230366552024-07-22 18:14:47144 days ago1721672087
0x6cabd825...d7FEd6115
0.000965685943637 ETH
1230366552024-07-22 18:14:47144 days ago1721672087
0x6cabd825...d7FEd6115
0.000965685943637 ETH
1230360372024-07-22 17:54:11144 days ago1721670851
0x6cabd825...d7FEd6115
0.000075148060109 ETH
1230360372024-07-22 17:54:11144 days ago1721670851
0x6cabd825...d7FEd6115
0.000075148060109 ETH
1230263832024-07-22 12:32:23144 days ago1721651543
0x6cabd825...d7FEd6115
0.000170474963902 ETH
1230263832024-07-22 12:32:23144 days ago1721651543
0x6cabd825...d7FEd6115
0.000170474963902 ETH
1230049662024-07-22 0:38:29144 days ago1721608709
0x6cabd825...d7FEd6115
0.000965099694417 ETH
1230049662024-07-22 0:38:29144 days ago1721608709
0x6cabd825...d7FEd6115
0.000965099694417 ETH
1229858202024-07-21 14:00:17145 days ago1721570417
0x6cabd825...d7FEd6115
0.000000254817547 ETH
1229858202024-07-21 14:00:17145 days ago1721570417
0x6cabd825...d7FEd6115
0.000000254817547 ETH
1229721512024-07-21 6:24:39145 days ago1721543079
0x6cabd825...d7FEd6115
0.000541358975166 ETH
1229721512024-07-21 6:24:39145 days ago1721543079
0x6cabd825...d7FEd6115
0.000541358975166 ETH
1229706332024-07-21 5:34:03145 days ago1721540043
0x6cabd825...d7FEd6115
0.000136405065259 ETH
1229706332024-07-21 5:34:03145 days ago1721540043
0x6cabd825...d7FEd6115
0.000136405065259 ETH
1228169582024-07-17 16:11:33149 days ago1721232693
0x6cabd825...d7FEd6115
0.000628974161323 ETH
1228169582024-07-17 16:11:33149 days ago1721232693
0x6cabd825...d7FEd6115
0.000628974161323 ETH
1228142142024-07-17 14:40:05149 days ago1721227205
0x6cabd825...d7FEd6115
0.000851018910624 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OfficialInstantSwap

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 optimistic.etherscan.io on 2024-07-13
*/

pragma solidity =0.8.20;


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;
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

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

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

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

interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

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

    /**
     * @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 AddressInsufficientBalance(address(this));
        }

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

    /**
     * @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
     * {FailedInnerCall} 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 AddressInsufficientBalance(address(this));
        }
        (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 {FailedInnerCall}) 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 {FailedInnerCall} 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 {FailedInnerCall}.
     */
    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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

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

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

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            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 silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

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

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

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

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

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

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

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

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

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

// SPDX-License-Identifier: MIT
interface IV3SwapRouter {
  struct ExactInputSingleParams {
    address tokenIn;
    address tokenOut;
    uint24 fee;
    address recipient;
    uint256 amountIn;
    uint256 amountOutMinimum;
    uint160 sqrtPriceLimitX96;
  }
  function exactInputSingle(
    ExactInputSingleParams calldata params
  ) external payable returns (uint256 amountOut);

  struct ExactInputParams {
    bytes path;
    address recipient;
    uint256 amountIn;
    uint256 amountOutMinimum;
  }
  function exactInput(
    ExactInputParams calldata params
  ) external payable returns (uint256 amountOut);

  struct ExactOutputSingleParams {
    address tokenIn;
    address tokenOut;
    uint24 fee;
    address recipient;
    uint256 amountOut;
    uint256 amountInMaximum;
    uint160 sqrtPriceLimitX96;
  }
  function exactOutputSingle(
    ExactOutputSingleParams calldata params
  ) external payable returns (uint256 amountIn);

  struct ExactOutputParams {
    bytes path;
    address recipient;
    uint256 amountOut;
    uint256 amountInMaximum;
  }
  function exactOutput(
    ExactOutputParams calldata params
  ) external payable returns (uint256 amountIn);

  function uniswapV3SwapCallback(
    int256 amount0Delta,
    int256 amount1Delta,
    bytes calldata data
  ) external;

  function swapExactTokensForTokens(
    uint256 amountIn,
    uint256 amountOutMin,
    address[] calldata path,
    address to
  ) external payable returns (uint256 amountOut);
  function swapTokensForExactTokens(
    uint256 amountOut,
    uint256 amountInMax,
    address[] calldata path,
    address to
  ) external payable returns (uint256 amountIn);

  function WETH9() external view returns (address);
}

interface IUniswapV2Router02 {
    function WETH() external pure returns (address);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
}

interface IWETH is IERC20 {
    function deposit() external payable;

    function withdraw(uint amount) external;
}

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

  IUniswapV2Router02 public v2Router;
  IV3SwapRouter public v3Router;

  address public immutable USDC;
  address public immutable weth;
  address public executor;
  
  error FailedCall();

  modifier onlyExecutor() {
    require(msg.sender == executor, "not executor");
    _;
  }

  //////////================= Events ====================================================
  event SwapFromUSDC(
    address indexed receiver,
    address indexed token,
    uint256 amountIn,
    uint256 time
  );

  event ExecutorUpdated(address indexed oldExecutor, address indexed newExecutor);
  constructor(
    address _v3Router,
    address _v2Router,
    address _executor,
    address _usdc,
    address _weth,
    address _owner
  ) Ownable(_owner) {
    v3Router = IV3SwapRouter(_v3Router);
    v2Router = IUniswapV2Router02(_v2Router);
    executor = _executor;
    USDC = _usdc;
    weth = _weth;
  }

  function swapFromUSDC(
    address _outputToken,
    uint256 _amountIn,
    uint256 _minAmountOut,
    uint256 _minAmountOutV2Swap,
    bool _useV2,
    address[] memory _pathV2,
    bytes memory _pathV3,
    address to,
    bool unwrapETH
  ) public  nonReentrant onlyExecutor {
    // USDC -> Token
    if (_outputToken == USDC) {
      IERC20(USDC).transfer(to, _amountIn);
      emit SwapFromUSDC(to, USDC, _amountIn, block.timestamp);
      return;
    }

    IERC20(USDC).approve(address(v3Router), _amountIn);
    IV3SwapRouter.ExactInputParams memory params = IV3SwapRouter.ExactInputParams(
      _pathV3, _useV2 || unwrapETH ? address(this) : to, _amountIn, _minAmountOut
    );

    uint256 wethOrFinalTokenOut = v3Router.exactInput(params);

    if (_useV2) {
      IERC20(weth).approve(address(v2Router), wethOrFinalTokenOut);
      v2Router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
        wethOrFinalTokenOut,
        _minAmountOutV2Swap,
        _pathV2,
        unwrapETH ? address(this) : to,
        block.timestamp + 1 hours
      );
    }

    if (unwrapETH) {
      uint256 wethBalance = IERC20(weth).balanceOf(address(this));
      IWETH(weth).withdraw(wethBalance);
      // payable(receiverData.userReceiver).transfer(address(this).balance);
      (bool success, ) = to.call{value: address(this).balance}("");
      if(!success) {
          revert FailedCall();
      }
    }
    emit SwapFromUSDC(to, _outputToken, _amountIn, block.timestamp);
  }

  function setExecutor(address _newExecutor) external onlyOwner {
    emit ExecutorUpdated(executor, _newExecutor);
    executor = _newExecutor;
  }

  function recoverStuckTokens(address _token) external onlyOwner {
    uint256 amount = IERC20(_token).balanceOf(address(this));
    IERC20(_token).transfer(owner(), amount);
  }


  receive() external payable {}

  fallback() external payable {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_v3Router","type":"address"},{"internalType":"address","name":"_v2Router","type":"address"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"address","name":"_usdc","type":"address"},{"internalType":"address","name":"_weth","type":"address"},{"internalType":"address","name":"_owner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"FailedCall","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldExecutor","type":"address"},{"indexed":true,"internalType":"address","name":"newExecutor","type":"address"}],"name":"ExecutorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"SwapFromUSDC","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"USDC","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"executor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newExecutor","type":"address"}],"name":"setExecutor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_outputToken","type":"address"},{"internalType":"uint256","name":"_amountIn","type":"uint256"},{"internalType":"uint256","name":"_minAmountOut","type":"uint256"},{"internalType":"uint256","name":"_minAmountOutV2Swap","type":"uint256"},{"internalType":"bool","name":"_useV2","type":"bool"},{"internalType":"address[]","name":"_pathV2","type":"address[]"},{"internalType":"bytes","name":"_pathV3","type":"bytes"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"unwrapETH","type":"bool"}],"name":"swapFromUSDC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"v2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"v3Router","outputs":[{"internalType":"contract IV3SwapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weth","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405234801562000010575f80fd5b5060405162001c0738038062001c0783398181016040528101906200003691906200031d565b805f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603620000aa575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620000a19190620003c6565b60405180910390fd5b620000bb81620001f760201b60201c565b50600180819055508560035f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508460025f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508360045f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff16815250508173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1681525050505050505050620003e1565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620002e782620002bc565b9050919050565b620002f981620002db565b811462000304575f80fd5b50565b5f815190506200031781620002ee565b92915050565b5f805f805f8060c087890312156200033a5762000339620002b8565b5b5f6200034989828a0162000307565b96505060206200035c89828a0162000307565b95505060406200036f89828a0162000307565b94505060606200038289828a0162000307565b93505060806200039589828a0162000307565b92505060a0620003a889828a0162000307565b9150509295509295509295565b620003c081620002db565b82525050565b5f602082019050620003db5f830184620003b5565b92915050565b60805160a0516117d3620004345f395f818161034701528181610848015281816109b50152610a4f01525f818161051f015281816105720152818161060e0152818161069a0152610bf401526117d35ff3fe60806040526004361061009f575f3560e01c80637a720203116100635780637a7202031461016257806389a302711461018a5780638da5cb5b146101b4578063c34c08e5146101de578063deadbc1414610208578063f2fde38b14610232576100a6565b80630dc91306146100a85780631c3c0ea8146100d25780633fc8cef3146100fa5780634be55d1f14610124578063715018a61461014c576100a6565b366100a657005b005b3480156100b3575f80fd5b506100bc61025a565b6040516100c99190610f23565b60405180910390f35b3480156100dd575f80fd5b506100f860048036038101906100f39190610f88565b61027f565b005b348015610105575f80fd5b5061010e610345565b60405161011b9190610fc2565b60405180910390f35b34801561012f575f80fd5b5061014a60048036038101906101459190610f88565b610369565b005b348015610157575f80fd5b50610160610473565b005b34801561016d575f80fd5b5061018860048036038101906101839190611243565b610486565b005b348015610195575f80fd5b5061019e610bf2565b6040516101ab9190610fc2565b60405180910390f35b3480156101bf575f80fd5b506101c8610c16565b6040516101d59190610fc2565b60405180910390f35b3480156101e9575f80fd5b506101f2610c3d565b6040516101ff9190610fc2565b60405180910390f35b348015610213575f80fd5b5061021c610c62565b604051610229919061135f565b60405180910390f35b34801561023d575f80fd5b5061025860048036038101906102539190610f88565b610c87565b005b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610287610d0b565b8073ffffffffffffffffffffffffffffffffffffffff1660045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0ef3c7eb9dbcf33ddf032f4cce366a07eda85eed03e3172e4a90c4cc16d5788660405160405180910390a38060045f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610371610d0b565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103ab9190610fc2565b602060405180830381865afa1580156103c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ea919061138c565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610410610c16565b836040518363ffffffff1660e01b815260040161042e9291906113c6565b6020604051808303815f875af115801561044a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046e9190611401565b505050565b61047b610d0b565b6104845f610d92565b565b61048e610e53565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461051d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051490611486565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1603610698577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb838a6040518363ffffffff1660e01b81526004016105cb9291906113c6565b6020604051808303815f875af11580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190611401565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fd991243eed3410e4322a55a288d7098ef49dd6500b5baa88f534693f4aff6f3a8a4260405161068b9291906114a4565b60405180910390a3610bdf565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b360035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a6040518363ffffffff1660e01b81526004016107149291906113c6565b6020604051808303815f875af1158015610730573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107549190611401565b505f604051806080016040528085815260200187806107705750835b61077a578461077c565b305b73ffffffffffffffffffffffffffffffffffffffff1681526020018a81526020018981525090505f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b858183f836040518263ffffffff1660e01b81526004016107fe91906115c3565b6020604051808303815f875af115801561081a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083e919061138c565b905086156109ac577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016108c29291906113c6565b6020604051808303815f875af11580156108de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109029190611401565b5060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795828a898761094e5788610950565b305b610e104261095e9190611610565b6040518663ffffffff1660e01b815260040161097e9594939291906116eb565b5f604051808303815f87803b158015610995575f80fd5b505af11580156109a7573d5f803e3d5ffd5b505050505b8215610b75575f7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a0c9190610fc2565b602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061138c565b90507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b8152600401610aa69190611743565b5f604051808303815f87803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505050505f8573ffffffffffffffffffffffffffffffffffffffff1647604051610af890611789565b5f6040518083038185875af1925050503d805f8114610b32576040519150601f19603f3d011682016040523d82523d5f602084013e610b37565b606091505b5050905080610b72576040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505b8a73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fd991243eed3410e4322a55a288d7098ef49dd6500b5baa88f534693f4aff6f3a8c42604051610bd49291906114a4565b60405180910390a350505b610be7610e99565b505050505050505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c8f610d0b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610cff575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610cf69190610fc2565b60405180910390fd5b610d0881610d92565b50565b610d13610ea2565b73ffffffffffffffffffffffffffffffffffffffff16610d31610c16565b73ffffffffffffffffffffffffffffffffffffffff1614610d9057610d54610ea2565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610d879190610fc2565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260015403610e8f576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610eeb610ee6610ee184610ea9565b610ec8565b610ea9565b9050919050565b5f610efc82610ed1565b9050919050565b5f610f0d82610ef2565b9050919050565b610f1d81610f03565b82525050565b5f602082019050610f365f830184610f14565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f610f5782610ea9565b9050919050565b610f6781610f4d565b8114610f71575f80fd5b50565b5f81359050610f8281610f5e565b92915050565b5f60208284031215610f9d57610f9c610f45565b5b5f610faa84828501610f74565b91505092915050565b610fbc81610f4d565b82525050565b5f602082019050610fd55f830184610fb3565b92915050565b5f819050919050565b610fed81610fdb565b8114610ff7575f80fd5b50565b5f8135905061100881610fe4565b92915050565b5f8115159050919050565b6110228161100e565b811461102c575f80fd5b50565b5f8135905061103d81611019565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61108d82611047565b810181811067ffffffffffffffff821117156110ac576110ab611057565b5b80604052505050565b5f6110be610f3c565b90506110ca8282611084565b919050565b5f67ffffffffffffffff8211156110e9576110e8611057565b5b602082029050602081019050919050565b5f80fd5b5f61111061110b846110cf565b6110b5565b90508083825260208201905060208402830185811115611133576111326110fa565b5b835b8181101561115c57806111488882610f74565b845260208401935050602081019050611135565b5050509392505050565b5f82601f83011261117a57611179611043565b5b813561118a8482602086016110fe565b91505092915050565b5f80fd5b5f67ffffffffffffffff8211156111b1576111b0611057565b5b6111ba82611047565b9050602081019050919050565b828183375f83830152505050565b5f6111e76111e284611197565b6110b5565b90508281526020810184848401111561120357611202611193565b5b61120e8482856111c7565b509392505050565b5f82601f83011261122a57611229611043565b5b813561123a8482602086016111d5565b91505092915050565b5f805f805f805f805f6101208a8c03121561126157611260610f45565b5b5f61126e8c828d01610f74565b995050602061127f8c828d01610ffa565b98505060406112908c828d01610ffa565b97505060606112a18c828d01610ffa565b96505060806112b28c828d0161102f565b95505060a08a013567ffffffffffffffff8111156112d3576112d2610f49565b5b6112df8c828d01611166565b94505060c08a013567ffffffffffffffff811115611300576112ff610f49565b5b61130c8c828d01611216565b93505060e061131d8c828d01610f74565b92505061010061132f8c828d0161102f565b9150509295985092959850929598565b5f61134982610ef2565b9050919050565b6113598161133f565b82525050565b5f6020820190506113725f830184611350565b92915050565b5f8151905061138681610fe4565b92915050565b5f602082840312156113a1576113a0610f45565b5b5f6113ae84828501611378565b91505092915050565b6113c081610fdb565b82525050565b5f6040820190506113d95f830185610fb3565b6113e660208301846113b7565b9392505050565b5f815190506113fb81611019565b92915050565b5f6020828403121561141657611415610f45565b5b5f611423848285016113ed565b91505092915050565b5f82825260208201905092915050565b7f6e6f74206578656375746f7200000000000000000000000000000000000000005f82015250565b5f611470600c8361142c565b915061147b8261143c565b602082019050919050565b5f6020820190508181035f83015261149d81611464565b9050919050565b5f6040820190506114b75f8301856113b7565b6114c460208301846113b7565b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156115025780820151818401526020810190506114e7565b5f8484015250505050565b5f611517826114cb565b61152181856114d5565b93506115318185602086016114e5565b61153a81611047565b840191505092915050565b61154e81610f4d565b82525050565b61155d81610fdb565b82525050565b5f608083015f8301518482035f86015261157d828261150d565b91505060208301516115926020860182611545565b5060408301516115a56040860182611554565b5060608301516115b86060860182611554565b508091505092915050565b5f6020820190508181035f8301526115db8184611563565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61161a82610fdb565b915061162583610fdb565b925082820190508082111561163d5761163c6115e3565b5b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f6116778383611545565b60208301905092915050565b5f602082019050919050565b5f61169982611643565b6116a3818561164d565b93506116ae8361165d565b805f5b838110156116de5781516116c5888261166c565b97506116d083611683565b9250506001810190506116b1565b5085935050505092915050565b5f60a0820190506116fe5f8301886113b7565b61170b60208301876113b7565b818103604083015261171d818661168f565b905061172c6060830185610fb3565b61173960808301846113b7565b9695505050505050565b5f6020820190506117565f8301846113b7565b92915050565b5f81905092915050565b50565b5f6117745f8361175c565b915061177f82611766565b5f82019050919050565b5f61179382611769565b915081905091905056fea264697066735822122016a49213e8c26e7ea91856f07166c41822fac7e624a6d724b0401e91047de08464736f6c6343000814003300000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000004a7b5da61326a6379179b40d00f57e5bbdc962c20000000000000000000000002f01bed49ded60de334d756d61ec198aaaedb7f60000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff850000000000000000000000004200000000000000000000000000000000000006000000000000000000000000231ad4d813b47bc7227ef8b1b2394f099f19cbfa

Deployed Bytecode

0x60806040526004361061009f575f3560e01c80637a720203116100635780637a7202031461016257806389a302711461018a5780638da5cb5b146101b4578063c34c08e5146101de578063deadbc1414610208578063f2fde38b14610232576100a6565b80630dc91306146100a85780631c3c0ea8146100d25780633fc8cef3146100fa5780634be55d1f14610124578063715018a61461014c576100a6565b366100a657005b005b3480156100b3575f80fd5b506100bc61025a565b6040516100c99190610f23565b60405180910390f35b3480156100dd575f80fd5b506100f860048036038101906100f39190610f88565b61027f565b005b348015610105575f80fd5b5061010e610345565b60405161011b9190610fc2565b60405180910390f35b34801561012f575f80fd5b5061014a60048036038101906101459190610f88565b610369565b005b348015610157575f80fd5b50610160610473565b005b34801561016d575f80fd5b5061018860048036038101906101839190611243565b610486565b005b348015610195575f80fd5b5061019e610bf2565b6040516101ab9190610fc2565b60405180910390f35b3480156101bf575f80fd5b506101c8610c16565b6040516101d59190610fc2565b60405180910390f35b3480156101e9575f80fd5b506101f2610c3d565b6040516101ff9190610fc2565b60405180910390f35b348015610213575f80fd5b5061021c610c62565b604051610229919061135f565b60405180910390f35b34801561023d575f80fd5b5061025860048036038101906102539190610f88565b610c87565b005b60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610287610d0b565b8073ffffffffffffffffffffffffffffffffffffffff1660045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f0ef3c7eb9dbcf33ddf032f4cce366a07eda85eed03e3172e4a90c4cc16d5788660405160405180910390a38060045f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000420000000000000000000000000000000000000681565b610371610d0b565b5f8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103ab9190610fc2565b602060405180830381865afa1580156103c6573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103ea919061138c565b90508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610410610c16565b836040518363ffffffff1660e01b815260040161042e9291906113c6565b6020604051808303815f875af115801561044a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061046e9190611401565b505050565b61047b610d0b565b6104845f610d92565b565b61048e610e53565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461051d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161051490611486565b60405180910390fd5b7f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8573ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff1603610698577f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8573ffffffffffffffffffffffffffffffffffffffff1663a9059cbb838a6040518363ffffffff1660e01b81526004016105cb9291906113c6565b6020604051808303815f875af11580156105e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061060b9190611401565b507f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8573ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fd991243eed3410e4322a55a288d7098ef49dd6500b5baa88f534693f4aff6f3a8a4260405161068b9291906114a4565b60405180910390a3610bdf565b7f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8573ffffffffffffffffffffffffffffffffffffffff1663095ea7b360035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168a6040518363ffffffff1660e01b81526004016107149291906113c6565b6020604051808303815f875af1158015610730573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107549190611401565b505f604051806080016040528085815260200187806107705750835b61077a578461077c565b305b73ffffffffffffffffffffffffffffffffffffffff1681526020018a81526020018981525090505f60035f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b858183f836040518263ffffffff1660e01b81526004016107fe91906115c3565b6020604051808303815f875af115801561081a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061083e919061138c565b905086156109ac577f000000000000000000000000420000000000000000000000000000000000000673ffffffffffffffffffffffffffffffffffffffff1663095ea7b360025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff1660e01b81526004016108c29291906113c6565b6020604051808303815f875af11580156108de573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109029190611401565b5060025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795828a898761094e5788610950565b305b610e104261095e9190611610565b6040518663ffffffff1660e01b815260040161097e9594939291906116eb565b5f604051808303815f87803b158015610995575f80fd5b505af11580156109a7573d5f803e3d5ffd5b505050505b8215610b75575f7f000000000000000000000000420000000000000000000000000000000000000673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a0c9190610fc2565b602060405180830381865afa158015610a27573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a4b919061138c565b90507f000000000000000000000000420000000000000000000000000000000000000673ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b8152600401610aa69190611743565b5f604051808303815f87803b158015610abd575f80fd5b505af1158015610acf573d5f803e3d5ffd5b505050505f8573ffffffffffffffffffffffffffffffffffffffff1647604051610af890611789565b5f6040518083038185875af1925050503d805f8114610b32576040519150601f19603f3d011682016040523d82523d5f602084013e610b37565b606091505b5050905080610b72576040517fd6bda27500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505b8a73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fd991243eed3410e4322a55a288d7098ef49dd6500b5baa88f534693f4aff6f3a8c42604051610bd49291906114a4565b60405180910390a350505b610be7610e99565b505050505050505050565b7f0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff8581565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60045f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610c8f610d0b565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610cff575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401610cf69190610fc2565b60405180910390fd5b610d0881610d92565b50565b610d13610ea2565b73ffffffffffffffffffffffffffffffffffffffff16610d31610c16565b73ffffffffffffffffffffffffffffffffffffffff1614610d9057610d54610ea2565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610d879190610fc2565b60405180910390fd5b565b5f805f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050815f806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600260015403610e8f576040517f3ee5aeb500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6002600181905550565b60018081905550565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f819050919050565b5f610eeb610ee6610ee184610ea9565b610ec8565b610ea9565b9050919050565b5f610efc82610ed1565b9050919050565b5f610f0d82610ef2565b9050919050565b610f1d81610f03565b82525050565b5f602082019050610f365f830184610f14565b92915050565b5f604051905090565b5f80fd5b5f80fd5b5f610f5782610ea9565b9050919050565b610f6781610f4d565b8114610f71575f80fd5b50565b5f81359050610f8281610f5e565b92915050565b5f60208284031215610f9d57610f9c610f45565b5b5f610faa84828501610f74565b91505092915050565b610fbc81610f4d565b82525050565b5f602082019050610fd55f830184610fb3565b92915050565b5f819050919050565b610fed81610fdb565b8114610ff7575f80fd5b50565b5f8135905061100881610fe4565b92915050565b5f8115159050919050565b6110228161100e565b811461102c575f80fd5b50565b5f8135905061103d81611019565b92915050565b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61108d82611047565b810181811067ffffffffffffffff821117156110ac576110ab611057565b5b80604052505050565b5f6110be610f3c565b90506110ca8282611084565b919050565b5f67ffffffffffffffff8211156110e9576110e8611057565b5b602082029050602081019050919050565b5f80fd5b5f61111061110b846110cf565b6110b5565b90508083825260208201905060208402830185811115611133576111326110fa565b5b835b8181101561115c57806111488882610f74565b845260208401935050602081019050611135565b5050509392505050565b5f82601f83011261117a57611179611043565b5b813561118a8482602086016110fe565b91505092915050565b5f80fd5b5f67ffffffffffffffff8211156111b1576111b0611057565b5b6111ba82611047565b9050602081019050919050565b828183375f83830152505050565b5f6111e76111e284611197565b6110b5565b90508281526020810184848401111561120357611202611193565b5b61120e8482856111c7565b509392505050565b5f82601f83011261122a57611229611043565b5b813561123a8482602086016111d5565b91505092915050565b5f805f805f805f805f6101208a8c03121561126157611260610f45565b5b5f61126e8c828d01610f74565b995050602061127f8c828d01610ffa565b98505060406112908c828d01610ffa565b97505060606112a18c828d01610ffa565b96505060806112b28c828d0161102f565b95505060a08a013567ffffffffffffffff8111156112d3576112d2610f49565b5b6112df8c828d01611166565b94505060c08a013567ffffffffffffffff811115611300576112ff610f49565b5b61130c8c828d01611216565b93505060e061131d8c828d01610f74565b92505061010061132f8c828d0161102f565b9150509295985092959850929598565b5f61134982610ef2565b9050919050565b6113598161133f565b82525050565b5f6020820190506113725f830184611350565b92915050565b5f8151905061138681610fe4565b92915050565b5f602082840312156113a1576113a0610f45565b5b5f6113ae84828501611378565b91505092915050565b6113c081610fdb565b82525050565b5f6040820190506113d95f830185610fb3565b6113e660208301846113b7565b9392505050565b5f815190506113fb81611019565b92915050565b5f6020828403121561141657611415610f45565b5b5f611423848285016113ed565b91505092915050565b5f82825260208201905092915050565b7f6e6f74206578656375746f7200000000000000000000000000000000000000005f82015250565b5f611470600c8361142c565b915061147b8261143c565b602082019050919050565b5f6020820190508181035f83015261149d81611464565b9050919050565b5f6040820190506114b75f8301856113b7565b6114c460208301846113b7565b9392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156115025780820151818401526020810190506114e7565b5f8484015250505050565b5f611517826114cb565b61152181856114d5565b93506115318185602086016114e5565b61153a81611047565b840191505092915050565b61154e81610f4d565b82525050565b61155d81610fdb565b82525050565b5f608083015f8301518482035f86015261157d828261150d565b91505060208301516115926020860182611545565b5060408301516115a56040860182611554565b5060608301516115b86060860182611554565b508091505092915050565b5f6020820190508181035f8301526115db8184611563565b905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61161a82610fdb565b915061162583610fdb565b925082820190508082111561163d5761163c6115e3565b5b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f819050602082019050919050565b5f6116778383611545565b60208301905092915050565b5f602082019050919050565b5f61169982611643565b6116a3818561164d565b93506116ae8361165d565b805f5b838110156116de5781516116c5888261166c565b97506116d083611683565b9250506001810190506116b1565b5085935050505092915050565b5f60a0820190506116fe5f8301886113b7565b61170b60208301876113b7565b818103604083015261171d818661168f565b905061172c6060830185610fb3565b61173960808301846113b7565b9695505050505050565b5f6020820190506117565f8301846113b7565b92915050565b5f81905092915050565b50565b5f6117745f8361175c565b915061177f82611766565b5f82019050919050565b5f61179382611769565b915081905091905056fea264697066735822122016a49213e8c26e7ea91856f07166c41822fac7e624a6d724b0401e91047de08464736f6c63430008140033

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

00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc450000000000000000000000004a7b5da61326a6379179b40d00f57e5bbdc962c20000000000000000000000002f01bed49ded60de334d756d61ec198aaaedb7f60000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff850000000000000000000000004200000000000000000000000000000000000006000000000000000000000000231ad4d813b47bc7227ef8b1b2394f099f19cbfa

-----Decoded View---------------
Arg [0] : _v3Router (address): 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45
Arg [1] : _v2Router (address): 0x4A7b5Da61326A6379179b40d00F57E5bbDC962c2
Arg [2] : _executor (address): 0x2F01beD49ded60dE334D756D61ec198AAaEdb7F6
Arg [3] : _usdc (address): 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85
Arg [4] : _weth (address): 0x4200000000000000000000000000000000000006
Arg [5] : _owner (address): 0x231AD4D813B47bC7227Ef8b1b2394F099f19CBfa

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000068b3465833fb72a70ecdf485e0e4c7bd8665fc45
Arg [1] : 0000000000000000000000004a7b5da61326a6379179b40d00f57e5bbdc962c2
Arg [2] : 0000000000000000000000002f01bed49ded60de334d756d61ec198aaaedb7f6
Arg [3] : 0000000000000000000000000b2c639c533813f4aa9d7837caf62653d097ff85
Arg [4] : 0000000000000000000000004200000000000000000000000000000000000006
Arg [5] : 000000000000000000000000231ad4d813b47bc7227ef8b1b2394f099f19cbfa


Deployed Bytecode Sourcemap

26133:2980:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26267:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28703:149;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26337:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28858:179;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2640:103;;;;;;;;;;;;;:::i;:::-;;27164:1533;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26303:29;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1965:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26371:23;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;26228:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2898:220;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;26267:29;;;;;;;;;;;;;:::o;28703:149::-;1851:13;:11;:13::i;:::-;28803:12:::1;28777:39;;28793:8;;;;;;;;;;;28777:39;;;;;;;;;;;;28834:12;28823:8;;:23;;;;;;;;;;;;;;;;;;28703:149:::0;:::o;26337:29::-;;;:::o;28858:179::-;1851:13;:11;:13::i;:::-;28928:14:::1;28952:6;28945:24;;;28978:4;28945:39;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28928:56;;28998:6;28991:23;;;29015:7;:5;:7::i;:::-;29024:6;28991:40;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28921:116;28858:179:::0;:::o;2640:103::-;1851:13;:11;:13::i;:::-;2705:30:::1;2732:1;2705:18;:30::i;:::-;2640:103::o:0;27164:1533::-;22253:21;:19;:21::i;:::-;26481:8:::1;;;;;;;;;;;26467:22;;:10;:22;;;26459:47;;;;;;;;;;;;:::i;:::-;;;;;;;;;27501:4:::2;27485:20;;:12;:20;;::::0;27481:158:::2;;27523:4;27516:21;;;27538:2;27542:9;27516:36;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27583:4;27566:50;;27579:2;27566:50;;;27589:9;27600:15;27566:50;;;;;;;:::i;:::-;;;;;;;;27625:7;;27481:158;27654:4;27647:20;;;27676:8;;;;;;;;;;;27687:9;27647:50;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;27704:44;27751:121;;;;;;;;27790:7;27751:121;;;;27799:6;:19;;;;27809:9;27799:19;:40;;27837:2;27799:40;;;27829:4;27799:40;27751:121;;;;;;27841:9;27751:121;;;;27852:13;27751:121;;::::0;27704:168:::2;;27881:27;27911:8;;;;;;;;;;;:19;;;27931:6;27911:27;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;27881:57;;27951:6;27947:324;;;27975:4;27968:20;;;27997:8;;;;;;;;;;;28008:19;27968:60;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;28037:8;;;;;;;;;;;:62;;;28110:19;28140;28170:7;28188:9;:30;;28216:2;28188:30;;;28208:4;28188:30;28247:7;28229:15;:25;;;;:::i;:::-;28037:226;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;27947:324;28283:9;28279:343;;;28303:19;28332:4;28325:22;;;28356:4;28325:37;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;28303:59;;28377:4;28371:20;;;28392:11;28371:33;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;28492:12;28510:2;:7;;28525:21;28510:41;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28491:60;;;28564:7;28560:55;;28593:12;;;;;;;;;;;;;;28560:55;28294:328;;28279:343;28650:12;28633:58;;28646:2;28633:58;;;28664:9;28675:15;28633:58;;;;;;;:::i;:::-;;;;;;;;27452:1245;;26513:1;22297:20:::0;:18;:20::i;:::-;27164:1533;;;;;;;;;:::o;26303:29::-;;;:::o;1965:87::-;2011:7;2038:6;;;;;;;;;;;2031:13;;1965:87;:::o;26371:23::-;;;;;;;;;;;;;:::o;26228:34::-;;;;;;;;;;;;;:::o;2898:220::-;1851:13;:11;:13::i;:::-;3003:1:::1;2983:22;;:8;:22;;::::0;2979:93:::1;;3057:1;3029:31;;;;;;;;;;;:::i;:::-;;;;;;;;2979:93;3082:28;3101:8;3082:18;:28::i;:::-;2898:220:::0;:::o;2130:166::-;2201:12;:10;:12::i;:::-;2190:23;;:7;:5;:7::i;:::-;:23;;;2186:103;;2264:12;:10;:12::i;:::-;2237:40;;;;;;;;;;;:::i;:::-;;;;;;;;2186:103;2130:166::o;3278:191::-;3352:16;3371:6;;;;;;;;;;;3352:25;;3397:8;3388:6;;:17;;;;;;;;;;;;;;;;;;3452:8;3421:40;;3442:8;3421:40;;;;;;;;;;;;3341:128;3278:191;:::o;22333:315::-;21631:1;22462:7;;:18;22458:88;;22504:30;;;;;;;;;;;;;;22458:88;21631:1;22623:7;:17;;;;22333:315::o;22656:212::-;21588:1;22839:7;:21;;;;22656:212::o;63:98::-;116:7;143:10;136:17;;63:98;:::o;7:126:1:-;44:7;84:42;77:5;73:54;62:65;;7:126;;;:::o;139:60::-;167:3;188:5;181:12;;139:60;;;:::o;205:142::-;255:9;288:53;306:34;315:24;333:5;315:24;:::i;:::-;306:34;:::i;:::-;288:53;:::i;:::-;275:66;;205:142;;;:::o;353:126::-;403:9;436:37;467:5;436:37;:::i;:::-;423:50;;353:126;;;:::o;485:148::-;557:9;590:37;621:5;590:37;:::i;:::-;577:50;;485:148;;;:::o;639:175::-;748:59;801:5;748:59;:::i;:::-;743:3;736:72;639:175;;:::o;820:266::-;935:4;973:2;962:9;958:18;950:26;;986:93;1076:1;1065:9;1061:17;1052:6;986:93;:::i;:::-;820:266;;;;:::o;1092:75::-;1125:6;1158:2;1152:9;1142:19;;1092:75;:::o;1173:117::-;1282:1;1279;1272:12;1296:117;1405:1;1402;1395:12;1419:96;1456:7;1485:24;1503:5;1485:24;:::i;:::-;1474:35;;1419:96;;;:::o;1521:122::-;1594:24;1612:5;1594:24;:::i;:::-;1587:5;1584:35;1574:63;;1633:1;1630;1623:12;1574:63;1521:122;:::o;1649:139::-;1695:5;1733:6;1720:20;1711:29;;1749:33;1776:5;1749:33;:::i;:::-;1649:139;;;;:::o;1794:329::-;1853:6;1902:2;1890:9;1881:7;1877:23;1873:32;1870:119;;;1908:79;;:::i;:::-;1870:119;2028:1;2053:53;2098:7;2089:6;2078:9;2074:22;2053:53;:::i;:::-;2043:63;;1999:117;1794:329;;;;:::o;2129:118::-;2216:24;2234:5;2216:24;:::i;:::-;2211:3;2204:37;2129:118;;:::o;2253:222::-;2346:4;2384:2;2373:9;2369:18;2361:26;;2397:71;2465:1;2454:9;2450:17;2441:6;2397:71;:::i;:::-;2253:222;;;;:::o;2481:77::-;2518:7;2547:5;2536:16;;2481:77;;;:::o;2564:122::-;2637:24;2655:5;2637:24;:::i;:::-;2630:5;2627:35;2617:63;;2676:1;2673;2666:12;2617:63;2564:122;:::o;2692:139::-;2738:5;2776:6;2763:20;2754:29;;2792:33;2819:5;2792:33;:::i;:::-;2692:139;;;;:::o;2837:90::-;2871:7;2914:5;2907:13;2900:21;2889:32;;2837:90;;;:::o;2933:116::-;3003:21;3018:5;3003:21;:::i;:::-;2996:5;2993:32;2983:60;;3039:1;3036;3029:12;2983:60;2933:116;:::o;3055:133::-;3098:5;3136:6;3123:20;3114:29;;3152:30;3176:5;3152:30;:::i;:::-;3055:133;;;;:::o;3194:117::-;3303:1;3300;3293:12;3317:102;3358:6;3409:2;3405:7;3400:2;3393:5;3389:14;3385:28;3375:38;;3317:102;;;:::o;3425:180::-;3473:77;3470:1;3463:88;3570:4;3567:1;3560:15;3594:4;3591:1;3584:15;3611:281;3694:27;3716:4;3694:27;:::i;:::-;3686:6;3682:40;3824:6;3812:10;3809:22;3788:18;3776:10;3773:34;3770:62;3767:88;;;3835:18;;:::i;:::-;3767:88;3875:10;3871:2;3864:22;3654:238;3611:281;;:::o;3898:129::-;3932:6;3959:20;;:::i;:::-;3949:30;;3988:33;4016:4;4008:6;3988:33;:::i;:::-;3898:129;;;:::o;4033:311::-;4110:4;4200:18;4192:6;4189:30;4186:56;;;4222:18;;:::i;:::-;4186:56;4272:4;4264:6;4260:17;4252:25;;4332:4;4326;4322:15;4314:23;;4033:311;;;:::o;4350:117::-;4459:1;4456;4449:12;4490:710;4586:5;4611:81;4627:64;4684:6;4627:64;:::i;:::-;4611:81;:::i;:::-;4602:90;;4712:5;4741:6;4734:5;4727:21;4775:4;4768:5;4764:16;4757:23;;4828:4;4820:6;4816:17;4808:6;4804:30;4857:3;4849:6;4846:15;4843:122;;;4876:79;;:::i;:::-;4843:122;4991:6;4974:220;5008:6;5003:3;5000:15;4974:220;;;5083:3;5112:37;5145:3;5133:10;5112:37;:::i;:::-;5107:3;5100:50;5179:4;5174:3;5170:14;5163:21;;5050:144;5034:4;5029:3;5025:14;5018:21;;4974:220;;;4978:21;4592:608;;4490:710;;;;;:::o;5223:370::-;5294:5;5343:3;5336:4;5328:6;5324:17;5320:27;5310:122;;5351:79;;:::i;:::-;5310:122;5468:6;5455:20;5493:94;5583:3;5575:6;5568:4;5560:6;5556:17;5493:94;:::i;:::-;5484:103;;5300:293;5223:370;;;;:::o;5599:117::-;5708:1;5705;5698:12;5722:307;5783:4;5873:18;5865:6;5862:30;5859:56;;;5895:18;;:::i;:::-;5859:56;5933:29;5955:6;5933:29;:::i;:::-;5925:37;;6017:4;6011;6007:15;5999:23;;5722:307;;;:::o;6035:146::-;6132:6;6127:3;6122;6109:30;6173:1;6164:6;6159:3;6155:16;6148:27;6035:146;;;:::o;6187:423::-;6264:5;6289:65;6305:48;6346:6;6305:48;:::i;:::-;6289:65;:::i;:::-;6280:74;;6377:6;6370:5;6363:21;6415:4;6408:5;6404:16;6453:3;6444:6;6439:3;6435:16;6432:25;6429:112;;;6460:79;;:::i;:::-;6429:112;6550:54;6597:6;6592:3;6587;6550:54;:::i;:::-;6270:340;6187:423;;;;;:::o;6629:338::-;6684:5;6733:3;6726:4;6718:6;6714:17;6710:27;6700:122;;6741:79;;:::i;:::-;6700:122;6858:6;6845:20;6883:78;6957:3;6949:6;6942:4;6934:6;6930:17;6883:78;:::i;:::-;6874:87;;6690:277;6629:338;;;;:::o;6973:1871::-;7132:6;7140;7148;7156;7164;7172;7180;7188;7196;7245:3;7233:9;7224:7;7220:23;7216:33;7213:120;;;7252:79;;:::i;:::-;7213:120;7372:1;7397:53;7442:7;7433:6;7422:9;7418:22;7397:53;:::i;:::-;7387:63;;7343:117;7499:2;7525:53;7570:7;7561:6;7550:9;7546:22;7525:53;:::i;:::-;7515:63;;7470:118;7627:2;7653:53;7698:7;7689:6;7678:9;7674:22;7653:53;:::i;:::-;7643:63;;7598:118;7755:2;7781:53;7826:7;7817:6;7806:9;7802:22;7781:53;:::i;:::-;7771:63;;7726:118;7883:3;7910:50;7952:7;7943:6;7932:9;7928:22;7910:50;:::i;:::-;7900:60;;7854:116;8037:3;8026:9;8022:19;8009:33;8069:18;8061:6;8058:30;8055:117;;;8091:79;;:::i;:::-;8055:117;8196:78;8266:7;8257:6;8246:9;8242:22;8196:78;:::i;:::-;8186:88;;7980:304;8351:3;8340:9;8336:19;8323:33;8383:18;8375:6;8372:30;8369:117;;;8405:79;;:::i;:::-;8369:117;8510:62;8564:7;8555:6;8544:9;8540:22;8510:62;:::i;:::-;8500:72;;8294:288;8621:3;8648:53;8693:7;8684:6;8673:9;8669:22;8648:53;:::i;:::-;8638:63;;8592:119;8750:3;8777:50;8819:7;8810:6;8799:9;8795:22;8777:50;:::i;:::-;8767:60;;8721:116;6973:1871;;;;;;;;;;;:::o;8850:153::-;8927:9;8960:37;8991:5;8960:37;:::i;:::-;8947:50;;8850:153;;;:::o;9009:185::-;9123:64;9181:5;9123:64;:::i;:::-;9118:3;9111:77;9009:185;;:::o;9200:276::-;9320:4;9358:2;9347:9;9343:18;9335:26;;9371:98;9466:1;9455:9;9451:17;9442:6;9371:98;:::i;:::-;9200:276;;;;:::o;9482:143::-;9539:5;9570:6;9564:13;9555:22;;9586:33;9613:5;9586:33;:::i;:::-;9482:143;;;;:::o;9631:351::-;9701:6;9750:2;9738:9;9729:7;9725:23;9721:32;9718:119;;;9756:79;;:::i;:::-;9718:119;9876:1;9901:64;9957:7;9948:6;9937:9;9933:22;9901:64;:::i;:::-;9891:74;;9847:128;9631:351;;;;:::o;9988:118::-;10075:24;10093:5;10075:24;:::i;:::-;10070:3;10063:37;9988:118;;:::o;10112:332::-;10233:4;10271:2;10260:9;10256:18;10248:26;;10284:71;10352:1;10341:9;10337:17;10328:6;10284:71;:::i;:::-;10365:72;10433:2;10422:9;10418:18;10409:6;10365:72;:::i;:::-;10112:332;;;;;:::o;10450:137::-;10504:5;10535:6;10529:13;10520:22;;10551:30;10575:5;10551:30;:::i;:::-;10450:137;;;;:::o;10593:345::-;10660:6;10709:2;10697:9;10688:7;10684:23;10680:32;10677:119;;;10715:79;;:::i;:::-;10677:119;10835:1;10860:61;10913:7;10904:6;10893:9;10889:22;10860:61;:::i;:::-;10850:71;;10806:125;10593:345;;;;:::o;10944:169::-;11028:11;11062:6;11057:3;11050:19;11102:4;11097:3;11093:14;11078:29;;10944:169;;;;:::o;11119:162::-;11259:14;11255:1;11247:6;11243:14;11236:38;11119:162;:::o;11287:366::-;11429:3;11450:67;11514:2;11509:3;11450:67;:::i;:::-;11443:74;;11526:93;11615:3;11526:93;:::i;:::-;11644:2;11639:3;11635:12;11628:19;;11287:366;;;:::o;11659:419::-;11825:4;11863:2;11852:9;11848:18;11840:26;;11912:9;11906:4;11902:20;11898:1;11887:9;11883:17;11876:47;11940:131;12066:4;11940:131;:::i;:::-;11932:139;;11659:419;;;:::o;12084:332::-;12205:4;12243:2;12232:9;12228:18;12220:26;;12256:71;12324:1;12313:9;12309:17;12300:6;12256:71;:::i;:::-;12337:72;12405:2;12394:9;12390:18;12381:6;12337:72;:::i;:::-;12084:332;;;;;:::o;12422:98::-;12473:6;12507:5;12501:12;12491:22;;12422:98;;;:::o;12526:158::-;12599:11;12633:6;12628:3;12621:19;12673:4;12668:3;12664:14;12649:29;;12526:158;;;;:::o;12690:246::-;12771:1;12781:113;12795:6;12792:1;12789:13;12781:113;;;12880:1;12875:3;12871:11;12865:18;12861:1;12856:3;12852:11;12845:39;12817:2;12814:1;12810:10;12805:15;;12781:113;;;12928:1;12919:6;12914:3;12910:16;12903:27;12752:184;12690:246;;;:::o;12942:353::-;13018:3;13046:38;13078:5;13046:38;:::i;:::-;13100:60;13153:6;13148:3;13100:60;:::i;:::-;13093:67;;13169:65;13227:6;13222:3;13215:4;13208:5;13204:16;13169:65;:::i;:::-;13259:29;13281:6;13259:29;:::i;:::-;13254:3;13250:39;13243:46;;13022:273;12942:353;;;;:::o;13301:108::-;13378:24;13396:5;13378:24;:::i;:::-;13373:3;13366:37;13301:108;;:::o;13415:::-;13492:24;13510:5;13492:24;:::i;:::-;13487:3;13480:37;13415:108;;:::o;13615:989::-;13750:3;13786:4;13781:3;13777:14;13873:4;13866:5;13862:16;13856:23;13926:3;13920:4;13916:14;13909:4;13904:3;13900:14;13893:38;13952:71;14018:4;14004:12;13952:71;:::i;:::-;13944:79;;13801:233;14121:4;14114:5;14110:16;14104:23;14140:63;14197:4;14192:3;14188:14;14174:12;14140:63;:::i;:::-;14044:169;14299:4;14292:5;14288:16;14282:23;14318:63;14375:4;14370:3;14366:14;14352:12;14318:63;:::i;:::-;14223:168;14485:4;14478:5;14474:16;14468:23;14504:63;14561:4;14556:3;14552:14;14538:12;14504:63;:::i;:::-;14401:176;14594:4;14587:11;;13755:849;13615:989;;;;:::o;14610:405::-;14769:4;14807:2;14796:9;14792:18;14784:26;;14856:9;14850:4;14846:20;14842:1;14831:9;14827:17;14820:47;14884:124;15003:4;14994:6;14884:124;:::i;:::-;14876:132;;14610:405;;;;:::o;15021:180::-;15069:77;15066:1;15059:88;15166:4;15163:1;15156:15;15190:4;15187:1;15180:15;15207:191;15247:3;15266:20;15284:1;15266:20;:::i;:::-;15261:25;;15300:20;15318:1;15300:20;:::i;:::-;15295:25;;15343:1;15340;15336:9;15329:16;;15364:3;15361:1;15358:10;15355:36;;;15371:18;;:::i;:::-;15355:36;15207:191;;;;:::o;15404:114::-;15471:6;15505:5;15499:12;15489:22;;15404:114;;;:::o;15524:184::-;15623:11;15657:6;15652:3;15645:19;15697:4;15692:3;15688:14;15673:29;;15524:184;;;;:::o;15714:132::-;15781:4;15804:3;15796:11;;15834:4;15829:3;15825:14;15817:22;;15714:132;;;:::o;15852:179::-;15921:10;15942:46;15984:3;15976:6;15942:46;:::i;:::-;16020:4;16015:3;16011:14;15997:28;;15852:179;;;;:::o;16037:113::-;16107:4;16139;16134:3;16130:14;16122:22;;16037:113;;;:::o;16186:732::-;16305:3;16334:54;16382:5;16334:54;:::i;:::-;16404:86;16483:6;16478:3;16404:86;:::i;:::-;16397:93;;16514:56;16564:5;16514:56;:::i;:::-;16593:7;16624:1;16609:284;16634:6;16631:1;16628:13;16609:284;;;16710:6;16704:13;16737:63;16796:3;16781:13;16737:63;:::i;:::-;16730:70;;16823:60;16876:6;16823:60;:::i;:::-;16813:70;;16669:224;16656:1;16653;16649:9;16644:14;;16609:284;;;16613:14;16909:3;16902:10;;16310:608;;;16186:732;;;;:::o;16924:815::-;17179:4;17217:3;17206:9;17202:19;17194:27;;17231:71;17299:1;17288:9;17284:17;17275:6;17231:71;:::i;:::-;17312:72;17380:2;17369:9;17365:18;17356:6;17312:72;:::i;:::-;17431:9;17425:4;17421:20;17416:2;17405:9;17401:18;17394:48;17459:108;17562:4;17553:6;17459:108;:::i;:::-;17451:116;;17577:72;17645:2;17634:9;17630:18;17621:6;17577:72;:::i;:::-;17659:73;17727:3;17716:9;17712:19;17703:6;17659:73;:::i;:::-;16924:815;;;;;;;;:::o;17745:222::-;17838:4;17876:2;17865:9;17861:18;17853:26;;17889:71;17957:1;17946:9;17942:17;17933:6;17889:71;:::i;:::-;17745:222;;;;:::o;17973:147::-;18074:11;18111:3;18096:18;;17973:147;;;;:::o;18126:114::-;;:::o;18246:398::-;18405:3;18426:83;18507:1;18502:3;18426:83;:::i;:::-;18419:90;;18518:93;18607:3;18518:93;:::i;:::-;18636:1;18631:3;18627:11;18620:18;;18246:398;;;:::o;18650:379::-;18834:3;18856:147;18999:3;18856:147;:::i;:::-;18849:154;;19020:3;19013:10;;18650:379;;;:::o

Swarm Source

ipfs://16a49213e8c26e7ea91856f07166c41822fac7e624a6d724b0401e91047de084

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
[ 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.