ETH Price: $1,783.69 (+10.15%)

Contract

0xF7b4e55F4771883DA154b4aFf12Cc67685860E11

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Sweep594735922025-04-22 16:43:3514 hrs ago1745340215IN
0xF7b4e55F...685860E11
0 ETH0.000027820.048
Sweep590196962025-04-11 23:14:0211 days ago1744413242IN
0xF7b4e55F...685860E11
0 ETH0.000036430.04525
Sweep586909192025-04-05 11:52:4317 days ago1743853963IN
0xF7b4e55F...685860E11
0 ETH0.000008360.04525
Sweep583134912025-03-28 9:32:3825 days ago1743154358IN
0xF7b4e55F...685860E11
0 ETH0.000015270.047
Sweep581429572025-03-24 15:09:3229 days ago1742828972IN
0xF7b4e55F...685860E11
0 ETH0.000014470.04525
Sweep580764302025-03-23 6:42:4431 days ago1742712164IN
0xF7b4e55F...685860E11
0 ETH0.000021110.04525
Sweep580416962025-03-22 12:57:5831 days ago1742648278IN
0xF7b4e55F...685860E11
0 ETH0.000017680.04525
Sweep579846652025-03-21 6:24:5233 days ago1742538292IN
0xF7b4e55F...685860E11
0 ETH0.00001220.047
Sweep578565902025-03-18 13:22:3135 days ago1742304151IN
0xF7b4e55F...685860E11
0 ETH0.00001660.04525
Sweep576379272025-03-14 7:21:3840 days ago1741936898IN
0xF7b4e55F...685860E11
0 ETH0.000012950.04525
Sweep575872052025-03-13 9:27:1540 days ago1741858035IN
0xF7b4e55F...685860E11
0 ETH0.00002240.04525
Sweep574887742025-03-11 15:34:1442 days ago1741707254IN
0xF7b4e55F...685860E11
0 ETH0.000016650.04525
Sweep570433132025-03-04 16:36:0549 days ago1741106165IN
0xF7b4e55F...685860E11
0 ETH0.000021160.04525
Sweep566557202025-02-26 20:32:3655 days ago1740601956IN
0xF7b4e55F...685860E11
0 ETH0.000015180.0543
Sweep566556262025-02-26 20:30:4955 days ago1740601849IN
0xF7b4e55F...685860E11
0 ETH0.00001750.0543
Sweep566511062025-02-26 18:56:4655 days ago1740596206IN
0xF7b4e55F...685860E11
0 ETH0.000013450.04525
Sweep566510102025-02-26 18:54:3955 days ago1740596079IN
0xF7b4e55F...685860E11
0 ETH0.000015460.04525
Sweep566509312025-02-26 18:53:0955 days ago1740595989IN
0xF7b4e55F...685860E11
0 ETH0.000013130.04525
Sweep566508682025-02-26 18:51:5855 days ago1740595918IN
0xF7b4e55F...685860E11
0 ETH0.000022070.04525
Sweep563294202025-02-20 18:44:5561 days ago1740077095IN
0xF7b4e55F...685860E11
0 ETH0.000017460.04525
Sweep559896482025-02-15 13:42:0866 days ago1739626928IN
0xF7b4e55F...685860E11
0 ETH0.00001170.04525
Sweep556243452025-02-09 23:02:2672 days ago1739142146IN
0xF7b4e55F...685860E11
0 ETH0.000009320.04525
Sweep554609932025-02-07 10:26:5874 days ago1738924018IN
0xF7b4e55F...685860E11
0 ETH0.000009160.047
Sweep553652702025-02-06 1:17:3876 days ago1738804658IN
0xF7b4e55F...685860E11
0 ETH0.000013750.04525
Sweep551928472025-02-03 18:28:0978 days ago1738607289IN
0xF7b4e55F...685860E11
0 ETH0.00001870.04525
View all transactions

Latest 1 internal transaction

Parent Transaction Hash Block From To
332696912024-05-06 4:38:02352 days ago1714970282  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Sweeper

Compiler Version
v0.8.23+commit.f704f362

ZkSolc Version
v1.3.22

Optimization Enabled:
Yes with Mode 3

Other Settings:
default evmVersion
File 1 of 9 : Sweeper.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./IZFRouter.sol";

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

    mapping(address => bool) public allowedTokenOutList;
    event Sweep(address indexed user, uint256 amount);

    constructor(
        address zfToken,
        address longToken
    ) {
        allowedTokenOutList[zfToken] = true;
        allowedTokenOutList[longToken] = true;
    }

    function sweep(
        address tokenOut,
        address router,
        address connector,
        address[] calldata tokens,
        uint256[] calldata amounts,
        uint256[] calldata amountsOutMin
    ) external nonReentrant {
        require(allowedTokenOutList[tokenOut], "sweep: invalid tokenOut");

        for (uint256 i = 0; i < tokens.length;) {
            approveTokenIfNeeded(tokens[i], router);

            IERC20(tokens[i]).safeTransferFrom(msg.sender, address(this), amounts[i]);

            swap(
                tokenOut,
                router,
                connector,
                tokens[i],
                IERC20(tokens[i]).balanceOf(address(this)),
                amountsOutMin[i]
            );

            unchecked {
                ++i;
            }
        }

        uint256 amount = IERC20(tokenOut).balanceOf(address(this));

        IERC20(tokenOut).safeTransfer(msg.sender, amount);

        emit Sweep(msg.sender, amount);
    }

    function approveTokenIfNeeded(address token, address router) private {
        if (IERC20(token).allowance(address(this), router) == 0) {
            IERC20(token).safeApprove(router, type(uint256).max);
        }
    }

    function swap(
        address tokenOut,
        address router,
        address connector,
        address fromToken,
        uint256 amount,
        uint256 amountOutMin
    ) private {
        if (fromToken == tokenOut) {
            return;
        }

        address[] memory path;

        if (fromToken == connector) {
            path = new address[](2);

            path[0] = fromToken;
            path[1] = tokenOut;
        } else {
            path = new address[](3);

            path[0] = fromToken;
            path[1] = connector;
            path[2] = tokenOut;
        }

        IZFRouter(router).swapExactTokensForTokens(
            amount, // input amount
            amountOutMin, // min output amount
            path, // path
            address(this), // to
            block.timestamp // deadline
        );
    }

    function setAllowedTokenList(address _allowedToken, bool _isAllowed) external onlyOwner {
        require(_allowedToken != address(0), "setAllowedTokenList: invalid address");
        
        bool isAllowed = allowedTokenOutList[_allowedToken];
        if (isAllowed != _isAllowed) {
            allowedTokenOutList[_allowedToken] = _isAllowed;
        }
    } 

}

File 2 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

File 3 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

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

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

File 4 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 9 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

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

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

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

File 6 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.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;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

File 7 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 8 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 9 : IZFRouter.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.23;

interface IZFRouter {
    
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

Settings
{
  "areLibrariesMissing": false,
  "compilerPath": "/home/koi/.cache/hardhat-nodejs/compilers-v2/zksolc/zksolc-v1.3.22",
  "experimental": {},
  "libraries": {},
  "missingLibrariesPath": "./.zksolc-libraries-cache/missingLibraryDependencies.json",
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"zfToken","type":"address"},{"internalType":"address","name":"longToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Sweep","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedTokenOutList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_allowedToken","type":"address"},{"internalType":"bool","name":"_isAllowed","type":"bool"}],"name":"setAllowedTokenList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"connector","type":"address"},{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"amountsOutMin","type":"uint256[]"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b00000000000000000000000000000000000000000000000000000000000000000100020d2a966e6b84ee7be0c2efdf389bd0030946ab0cffc1fa5ac03a0350180000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000004000000000000000000000000031c2c031fdc9d33e974f327ab0d9883eae06ca4a0000000000000000000000005165ec33b491d7b67260b3143f96bb4ac4736398

Deployed Bytecode

0x0004000000000002001100000000000200000000030100190000006004300270000001d20340019700030000003103550002000000010355000001d20040019d00000001022001900000002b0000c13d0000008008000039000000400080043f000000040230008c000000f90000413d000000000201043b000000e002200270000001d90420009c000000800000213d000001dd0420009c000000a10000613d000001de0420009c000000cd0000613d000001df0220009c000000f90000c13d0000000002000416000000000202004b000000f90000c13d000000040230008a000000200220008c000000f90000413d0000000401100370000000000101043b000001d40210009c000000f90000213d00000000001004350000000201000039000000200010043f074107290000040f000000000101041a000000ff011001900000000001000019000000010100c039000000ca0000013d0000000002000416000000000202004b000000f90000c13d0000009f02300039000001d302200197000000400020043f0000001f0230018f00000005043002720000003d0000613d00000000050000190000000506500210000000000761034f000000000707043b000000800660003900000000007604350000000105500039000000000645004b000000350000413d000000000502004b0000004c0000613d0000000504400210000000000141034f00000003022002100000008004400039000000000504043300000000052501cf000000000525022f000000000101043b0000010002200089000000000121022f00000000012101cf000000000151019f0000000000140435000000400130008c000000f90000413d000000800200043d000001d40120009c000000f90000213d000000a00100043d001100000001001d000001d40110009c000000f90000213d001000000002001d000000000200041a000001d5012001970000000006000411000000000161019f000000000010041b000001d2010000410000000003000414000001d20430009c0000000003018019000000c001300210000001d6011001c7000001d4052001970000800d020000390000000303000039000001d704000041074107370000040f00000001012001900000001002000029000000f90000613d0000000101000039000000000011041b00000000002004350000000201000039000000200010043f074107290000040f0010010000000092000000000201041a000000100220017f00000001022001bf000000000021041b00000011010000290000000000100435074107290000040f000000000201041a000000100220017f00000001022001bf000000000021041b000000200100003900000100001004430000012000000443000001d801000041000007420001042e000001da0420009c000000c50000613d000001db0420009c000000e60000613d000001dc0220009c000000f90000c13d0000000002000416000000000202004b000000f90000c13d000000040230008a000000200220008c000000f90000413d0000000401100370000000000601043b000001d40160009c000000f90000213d000000000100041a000001d4021001970000000005000411000000000252004b000000fb0000c13d000000000206004b000001040000c13d000001e001000041000000800010043f0000002001000039000000840010043f0000002601000039000000a40010043f000001e101000041000000c40010043f000001e201000041000000c20000013d0000000002000416000000000202004b000000f90000c13d000000040230008a000000400220008c000000f90000413d0000000402100370000000000202043b000001d40320009c000000f90000213d0000002401100370000000000401043b000000000104004b0000000001000019000000010100c039000000000114004b000000f90000c13d000000000100041a000001d4011001970000000003000411000000000131004b000000fb0000c13d000000000102004b000001730000c13d000001e001000041000000800010043f0000002001000039000000840010043f0000002401000039000000a40010043f0000020801000041000000c40010043f0000020901000041000000e40010043f000001e30100004100000743000104300000000001000416000000000101004b000000f90000c13d000000000100041a000001d401100197000000800010043f0000020601000041000007420001042e0000000001000416000000000101004b000000f90000c13d000000000100041a000001d4021001970000000005000411000000000252004b000000fb0000c13d000001d501100197000000000010041b000001d2010000410000000002000414000001d20320009c0000000002018019000000c001200210000001d6011001c70000800d020000390000000303000039000001d7040000410000000006000019074107370000040f0000000101200190000000f90000613d0000000001000019000007420001042e0000000002000416000000000202004b000000f90000c13d000000040230008a000000c00220008c000000f90000413d0000000402100370000000000202043b000f00000002001d000001d40220009c000000f90000213d0000002402100370000000000202043b000001d40220009c000000f90000213d0000004402100370000000000202043b000001d40220009c000001110000a13d00000000010000190000074300010430000001e001000041000000800010043f0000002001000039000000840010043f000000a40010043f0000020701000041000000c40010043f00000205010000410000074300010430000001d501100197000000000161019f000000000010041b000001d2010000410000000002000414000001d20320009c0000000002018019000000c001200210000001d6011001c70000800d020000390000000303000039000001d704000041000000e10000013d0000006402100370000000000202043b000001e40420009c000000f90000213d0000002304200039000001e505000041000000000634004b00000000060000190000000006058019000001e504400197000000000704004b0000000005008019000001e50440009c000000000506c019000000000405004b000000f90000c13d0000000404200039000000000441034f000000000404043b000a00000004001d000001e40440009c000000f90000213d000900240020003d0000000a0200002900000005022002100000000902200029000000000232004b000000f90000213d0000008402100370000000000202043b000001e40420009c000000f90000213d0000002304200039000001e505000041000000000634004b00000000060000190000000006058019000001e504400197000000000704004b0000000005008019000001e50440009c000000000506c019000000000405004b000000f90000c13d0000000404200039000000000441034f000000000404043b000800000004001d000001e40440009c000000f90000213d000700240020003d000000080200002900000005022002100000000702200029000000000232004b000000f90000213d000000a402100370000000000202043b000001e40420009c000000f90000213d0000002304200039000001e505000041000000000634004b00000000060000190000000006058019000001e504400197000000000704004b0000000005008019000001e50440009c000000000506c019000000000405004b000000f90000c13d0000000404200039000000000141034f000000000101043b000600000001001d000001e40110009c000000f90000213d000500240020003d000000060100002900000005011002100000000501100029000000000131004b000000f90000213d000c00000008001d0000000101000039000200000001001d000000000101041a000000020110008c000001920000c13d000001e001000041000000800010043f0000002001000039000000840010043f0000001f01000039000000a40010043f0000020401000041000001010000013d00000000002004350000000201000039000000200010043f000001d2010000410000000002000414000001d20320009c0000000002018019000000c001200210000001e6011001c70000801002000039001100000004001d0741073c0000040f00000011050000290000000102200190000000f90000613d000000000205004b0000000003000019000000010300c039000000000101043b000000000201041a000000ff0420019000000000040000190000000104006039000000000343013f0000000103300190000000e40000c13d000001000300008a000000000232016f000000000252019f000000000021041b000000e40000013d00000002020000390000000201000029000000000021041b0000000f010000290000000000100435000100000002001d000000200020043f000001d2010000410000000002000414000001d20320009c0000000002018019000000c001200210000001e6011001c700008010020000390741073c0000040f0000000102200190000000f90000613d000000000101043b000000000101041a000000ff01100190000001b90000c13d000000400100043d000000440210003900000203030000410000000000320435000000240210003900000017030000390000000000320435000001e0020000410000000000210435000000040210003900000020030000390000000000320435000001d202000041000001d20310009c00000000010280190000004001100210000001ff011001c700000743000104300000000a0100006b000001cd0000c13d0000000001000410001000000001001d000000400900043d000001f7010000410000000000190435000d00000009001d00000004019000390000001002000029000000000021043500000000010004140000000f02000029000000040220008c000004c30000c13d0000000103000031000000200130008c00000000040300190000002004008039000004f50000013d0000000001000410001000000001001d00000000020000190000000c08000029000001d60000013d000000110200002900000001022000390000000a0120006c000001be0000813d001100000002001d0000000502200210000d00000002001d000e00090020002d00000002010003670000000e02100360000000000902043b000001d40290009c000000f90000213d000000400b00043d000001e70200004100000000002b04350000002401100370000000000101043b000001d4011001970000002402b0003900000000001204350000001001000029000001d4051001970000000401b0003900000000005104350000000001000414000000040290008c000001f30000c13d0000000103000031000000200130008c000000000403001900000020040080390000022a0000013d000400000005001d000001d20210009c000001d2030000410000000001038019000001d202b0009c000000000203001900000000020b40190000004002200210000000c001100210000000000121019f000001e8011001c7000b00000009001d000000000209001900030000000b001d0741073c0000040f000000030b00002900000000030100190000006003300270000001d203300197000000200430008c000000000403001900000020040080390000000505400272000002140000613d0000000006000019000000050760021000000000087b0019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b0000020c0000413d0000001f06400190000002230000613d0000000505500210000000000751034f00000000055b00190000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f000300000001035500000001022001900000000c080000290000000b090000290000000405000029000005980000613d0000001f01400039000000600110018f000000000ab1001900000000021a004b00000000020000190000000102004039000001e404a0009c000005120000213d0000000102200190000005120000c13d0000004000a0043f000000200230008c000000f90000413d00000000020b0433000000000202004b0000031c0000c13d000001e70200004100000000002a043500000024070000390000000202700367000000000202043b0000000404a0003900000000005404350000002404a00039000001d40220019700000000002404350000000002000414000000040490008c000b00000009001d000002800000613d000300000007001d000001d20120009c000001d2030000410000000002038019000001d201a0009c000000000103001900000000010a40190000004001100210000000c002200210000000000112019f000001e8011001c7000000000209001900040000000a001d0741073c0000040f000000040a00002900000000030100190000006003300270000001d203300197000000200430008c000000000403001900000020040080390000000505400272000002680000613d0000000006000019000000050760021000000000087a0019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b000002600000413d0000001f06400190000002770000613d0000000505500210000000000751034f00000000055a00190000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f000300000001035500000001022001900000000b09000029000006230000613d0000001f01400039000000600110018f0000000c0800002900000003070000290000000001a10019000001e40210009c000005120000213d000000400010043f000000200230008c000000f90000413d0000004402100039000000240510003900000000040a0433000000000404004b000005d30000c13d0000002004100039000001ec0600004100000000006404350000000206700367000000000606043b000001d4066001970000000000650435000000010500008a000000000052043500000044020000390000000000210435000001ed0210009c000005120000213d000000800a1000390000004000a0043f000001ee0210009c000005120000213d000000c002100039000000400020043f0000002002000039000400000002001d00000000002a0435000000a002100039000001ef050000410000000000520435000000010200003900000000050104330000000001000414000000040690008c000002c30000613d000001d20240009c000001d20600004100000000040680190000004002400210000001d20350009c00000000050680190000006003500210000000000223019f000001d20310009c0000000001068019000000c001100210000000000112019f000000000209001900030000000a001d074107370000040f000000030a0000290000000b090000290000000c08000029000000600c000039000000800b000039000000010220018f00030000000103550000006001100270000101d20010019d000001d203100198000002ec0000613d0000003f01300039000000200400008a000000000441016f000000400c00043d0000000001c40019000000000441004b00000000040000190000000104004039000001e40510009c000005120000213d0000000104400190000005120000c13d000000400010043f000000000b3c043600000003010003670000000504300272000002dd0000613d0000000005000019000000050650021000000000076b0019000000000661034f000000000606043b00000000006704350000000105500039000000000645004b000002d50000413d0000001f03300190000002ec0000613d0000000504400210000000000141034f00000000044b00190000000303300210000000000504043300000000053501cf000000000535022f000000000101043b0000010003300089000000000131022f00000000013101cf000000000151019f000000000014043500000000010c0433000000000202004b000005e50000613d000000000201004b000003080000c13d00040000000c001d00030000000b001d000001f001000041000000000010043900000004009004430000000001000414000001d20210009c000001d201008041000000c001100210000001f1011001c700008002020000390741073c0000040f00000001022001900000055b0000613d000000000101043b000000000101004b0000000c080000290000000401000029000005910000613d0000000001010433000000000201004b000000030b0000290000031c0000613d000000200210008c000001e50400004100000000020000190000000002044019000001e501100197000000000301004b00000000030000190000000003042019000001e50110009c000000000302c019000000000103004b000000f90000c13d00000000010b0433000000000201004b0000000002000019000000010200c039000000000221004b000000f90000c13d000000000101004b0000055c0000613d00000002010003670000000e02100360000000000902043b000001d40290009c000000f90000213d0000001103000029000000080230006c0000053b0000813d0000000d030000290000000702300029000000000121034f000000000101043b000000400200043d000000640320003900000000001304350000004401200039000000100300002900000000003104350000002001200039000001f203000041000000000031043500000024032000390000000004000411000000000043043500000064030000390000000000320435000001f30320009c000005120000213d000000a00a2000390000004000a0043f000001f40320009c000005120000213d000000e003200039000000400030043f000000200500003900000000005a0435000000c003200039000001ef04000041000000000043043500000000030204330000000002000414000000040490008c000b00000005001d0000034b0000c13d00000001010000310000000202000029000003630000013d000001d20410009c000001d20500004100000000010580190000004001100210000001d20430009c00000000030580190000006003300210000000000113019f000001d20320009c0000000002058019000000c002200210000000000121019f0000000002090019000400000009001d00030000000a001d074107370000040f000000030a00002900000004090000290000000c08000029000000010220018f00030000000103550000006001100270000101d20010019d000001d201100197000000600c000039000000000301004b000000000b080019000003900000613d0000003f03100039000000200400008a000000000343016f000000400c00043d00000000033c00190000000004c3004b00000000040000190000000104004039000001e40530009c000005120000213d0000000104400190000005120000c13d000000400030043f000000000b1c043600000003030003670000000504100272000003810000613d0000000005000019000000050650021000000000076b0019000000000663034f000000000606043b00000000006704350000000105500039000000000645004b000003790000413d0000001f01100190000003900000613d0000000504400210000000000343034f00000000044b00190000000301100210000000000504043300000000051501cf000000000515022f000000000303043b0000010001100089000000000313022f00000000011301cf000000000151019f000000000014043500000000010c0433000000000202004b0000056b0000613d000000000201004b000003ac0000c13d000b0000000c001d00040000000b001d000001f001000041000000000010043900000004009004430000000001000414000001d20210009c000001d201008041000000c001100210000001f1011001c700008002020000390741073c0000040f00000001022001900000055b0000613d000000000101043b000000000101004b0000000c080000290000000b01000029000005910000613d0000000001010433000000000201004b000000040b000029000003c00000613d000000200210008c000001e50400004100000000020000190000000002044019000001e501100197000000000301004b00000000030000190000000003042019000001e50110009c000000000302c019000000000103004b000000f90000c13d00000000010b0433000000000201004b0000000002000019000000010200c039000000000221004b000000f90000c13d000000000101004b0000055c0000613d0000000e010000290000000201100367000000000a01043b000001d401a0009c000000f90000213d000000400b00043d000001f70100004100000000001b04350000000401b000390000001002000029000000000021043500000000010004140000000402a0008c000003d30000c13d0000000103000031000000200130008c00000000040300190000002004008039000004080000013d000001d20210009c000001d2030000410000000001038019000001d202b0009c000000000203001900000000020b40190000004002200210000000c001100210000000000121019f000001f8011001c7000e0000000a001d00000000020a0019000b0000000b001d0741073c0000040f0000000b0b00002900000000030100190000006003300270000001d203300197000000200430008c000000000403001900000020040080390000000505400272000003f30000613d0000000006000019000000050760021000000000087b0019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b000003eb0000413d0000001f06400190000004020000613d0000000505500210000000000751034f00000000055b00190000000306600210000000000805043300000000086801cf000000000868022f000000000707043b0000010006600089000000000767022f00000000066701cf000000000686019f0000000000650435000100000003001f000300000001035500000001022001900000000c080000290000000e0a000029000005b50000613d0000001f01400039000000600110018f0000000009b10019000000000119004b00000000010000190000000101004039000001e40290009c000005120000213d0000000101100190000005120000c13d000000400090043f000000200130008c000000f90000413d0000001102000029000000060120006c0000053b0000813d00000000040b04330000000d0200002900000005012000290000000203000367000000000213034f0000002401300370000000000101043b000000000702043b0000000f02a0006c000001d20000613d000400000004001d0000004402300370000000000202043b000001d40220019700000000042a004b000b00000007001d000004420000c13d000001f90290009c000005120000213d0000006002900039000000400020043f000000010200002900000000022904360000000003300368000000000400001900000000050200190000000506400210000000000663034f000000000606043b00000000056504360000000104400039000000020640008c000004320000413d0000000003090433000000000303004b0000053b0000613d0000000000a2043500000040020000390000000003090433000000020330008c0000045f0000813d0000053b0000013d000001ed0490009c000005120000213d0000008004900039000000400040043f000000030400003900000000044904360000000003300368000000000500001900000000060400190000000507500210000000000773034f000000000707043b00000000067604360000000105500039000000030750008c0000044b0000413d0000000003090433000000000303004b0000053b0000613d0000000000a404350000000003090433000000020330008c0000053b0000413d0000004003900039000000000023043500000060020000390000000003090433000000030330008c0000053b0000413d000d00000009001d00000000029200190000000f030000290000000000320435000001f0020000410000000000200439000001d401100197000300000001001d00000004001004430000000001000414000001d20210009c000001d201008041000000c001100210000001f1011001c700008002020000390741073c0000040f00000001022001900000055b0000613d000000000101043b000000000101004b0000000d040000290000000b03000029000000f90000613d000000400500043d0000004401500039000000a002000039000000000021043500000024015000390000000000310435000001fa0100004100000000001504350000000401500039000000040200002900000000002104350000000001040433000000a4025000390000000000120435000000c406500039000000000201004b0000048f0000613d000000000200001900000020044000390000000003040433000001d40330019700000000063604360000000102200039000000000312004b000004880000413d000d00000006001d000000640150003900000010020000290000000000210435000001fb0100004100000000001004390000000001000414000001d20210009c000001d201008041000000c001100210000001fc011001c70000800b02000039000e00000005001d0741073c0000040f00000001022001900000055b0000613d000000000101043b0000000e090000290000008402900039000000000012043500000000010004140000000302000029000000040320008c000004be0000613d0000000d06900069000001d20390009c000001d205000041000000000305001900000000030940190000004003300210000001d20460009c00000000060580190000006004600210000000000434019f000001d20310009c0000000001058019000000c001100210000000000141019f074107370000040f0000000e0900002900000000030100190000006003300270000101d20030019d000001d20330019700030000000103550000000102200190000006060000613d000001e40190009c0000000c08000029000005120000213d000000400090043f000001d20000013d000001d202000041000001d20310009c00000000010280190000000d04000029000001d20340009c00000000020440190000004002200210000000c001100210000000000121019f000001f8011001c70000000f020000290741073c0000040f0000000d0a00002900000000030100190000006003300270000001d203300197000000200430008c000000000403001900000020040080390000001f0540018f0000000506400272000004e20000613d0000000007000019000000050870021000000000098a0019000000000881034f000000000808043b00000000008904350000000107700039000000000867004b000004da0000413d000000000705004b000004f10000613d0000000506600210000000000761034f0000000d066000290000000305500210000000000806043300000000085801cf000000000858022f000000000707043b0000010005500089000000000757022f00000000055701cf000000000585019f0000000000560435000100000003001f00030000000103550000000102200190000005180000613d0000001f01400039000000600110018f0000000d050000290000000002510019000000000112004b00000000010000190000000101004039000001e40420009c000005120000213d0000000101100190000005120000c13d000000400020043f000000200130008c000000f90000413d00000000040504330000002001200039000002000300004100000000003104350000004401200039001000000004001d00000000004104350000004401000039000000000012043500000024012000390000000003000411001100000003001d0000000000310435000001ed0120009c0000053f0000a13d000001fd0100004100000000001004350000004101000039000000040010043f000001f8010000410000074300010430000000400200043d0000001f0430018f0000000505300272000005250000613d000000000600001900000005076002100000000008720019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b0000051d0000413d000000000604004b000005340000613d0000000505500210000000000151034f00000000055200190000000304400210000000000605043300000000064601cf000000000646022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000161019f0000000000150435000001d201000041000001d20420009c000000000201801900000040012002100000006002300210000000000121019f0000074300010430000001fd0100004100000000001004350000003201000039000005150000013d0000008001200039000000400010043f0000000f01000029074106400000040f000000400100043d00000010020000290000000000210435000001d2020000410000000003000414000001d20430009c0000000003028019000001d20410009c00000000010280190000004001100210000000c002300210000000000112019f00000201011001c70000800d02000039000000020300003900000202040000410000001105000029074107370000040f0000000101200190000000f90000613d0000000101000039000000000011041b0000000001000019000007420001042e000000000001042f000000400100043d0000006402100039000001f50300004100000000003204350000004402100039000001f603000041000000000032043500000024021000390000002a030000390000000000320435000001e002000041000000000021043500000004021000390000002003000039000005de0000013d000000000201004b000005d20000c13d000000400100043d000001e002000041000000000021043500000004021000390000000b03000029000000000032043500000000070a00190000000002070433000000240310003900000000002304350000004403100039000000000402004b000005820000613d000000000400001900000000053400190000002004400039000000000674001900000000060604330000000000650435000000000524004b0000057b0000413d0000001f04200039000000200500008a000000000454016f000000000232001900000000000204350000004402400039000001d203000041000001d20420009c0000000002038019000001d20410009c000000000103801900000040011002100000006002200210000000000112019f0000074300010430000000400100043d0000004402100039000001fe03000041000000000032043500000024021000390000001d03000039000001ad0000013d000000400200043d0000001f0430018f0000000505300272000005a50000613d000000000600001900000005076002100000000008720019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b0000059d0000413d000000000604004b000005340000613d0000000505500210000000000151034f00000000055200190000000304400210000000000605043300000000064601cf000000000646022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000161019f0000000000150435000005340000013d000000400200043d0000001f0430018f0000000505300272000005c20000613d000000000600001900000005076002100000000008720019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b000005ba0000413d000000000604004b000005d10000613d0000000505500210000000000151034f00000000055200190000000304400210000000000605043300000000064601cf000000000646022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000161019f0000000000150435000005340000013d000005fd0000013d000001e003000041000000000031043500000004031000390000002004000039000000000043043500000036030000390000000000350435000001e90300004100000000003204350000006402100039000001ea030000410000000000320435000001d202000041000001d20310009c00000000010280190000004001100210000001eb011001c70000074300010430000000000201004b000005fd0000c13d000000400100043d000001e002000041000000000021043500000004021000390000000403000029000000000032043500000000070a00190000000002070433000000240310003900000000002304350000004403100039000000000402004b000005820000613d000000000400001900000000053400190000002004400039000000000674001900000000060604330000000000650435000000000524004b000005f50000413d000005820000013d000001d202000041000001d20310009c0000000001028019000001d203b0009c000000000b0280190000004002b002100000006001100210000000000121019f0000074300010430000000400200043d0000001f0430018f0000000505300272000006130000613d000000000600001900000005076002100000000008720019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b0000060b0000413d000000000604004b000006220000613d0000000505500210000000000151034f00000000055200190000000304400210000000000605043300000000064601cf000000000646022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000161019f0000000000150435000005340000013d000000400200043d0000001f0430018f0000000505300272000006300000613d000000000600001900000005076002100000000008720019000000000771034f000000000707043b00000000007804350000000106600039000000000756004b000006280000413d000000000604004b0000063f0000613d0000000505500210000000000151034f00000000055200190000000304400210000000000605043300000000064601cf000000000646022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000161019f0000000000150435000005340000013d0003000000000002000001d409100197000000400800043d0000020a0180009c000006cb0000813d0000004001800039000000400010043f0000002001800039000001ef0300004100000000003104350000002001000039000300000001001d000000000018043500000000230204340000000001000414000000040490008c000006540000c13d000000010200003900000001010000310000066b0000013d000001d204000041000001d20530009c00000000030480190000006003300210000001d20520009c00000000020480190000004002200210000000000223019f000001d20310009c0000000001048019000000c001100210000000000112019f0000000002090019000200000008001d000100000009001d074107370000040f00000001090000290000000208000029000000010220018f00030000000103550000006001100270000101d20010019d000001d201100197000000600b000039000000800a000039000000000301004b000006990000613d0000003f03100039000000200400008a000000000343016f000000400b00043d00000000033b00190000000004b3004b00000000040000190000000104004039000001e40530009c000006cb0000213d0000000104400190000006cb0000c13d000000400030043f0000001f0310018f000000000a1b0436000000030400036700000005011002720000068a0000613d0000000005000019000000050650021000000000076a0019000000000664034f000000000606043b00000000006704350000000105500039000000000615004b000006820000413d000000000503004b000006990000613d0000000501100210000000000414034f00000000011a00190000000303300210000000000501043300000000053501cf000000000535022f000000000404043b0000010003300089000000000434022f00000000033401cf000000000353019f000000000031043500000000010b0433000000000202004b000006d10000613d000000000201004b000006b50000c13d00020000000b001d00010000000a001d000001f00100004100000000001004390000000400900443000001d2010000410000000002000414000001d20320009c0000000002018019000000c001200210000001f1011001c700008002020000390741073c0000040f0000000102200190000007150000613d000000000101043b000000000101004b0000000201000029000007160000613d0000000001010433000000000201004b000000010a000029000006c80000613d000001e502000041000000200310008c00000000030000190000000003024019000001e501100197000000000401004b000000000200a019000001e50110009c000000000203c019000000000102004b000006c90000c13d00000000010a0433000000000201004b0000000002000019000000010200c039000000000221004b000006c90000c13d000000000101004b000006f70000613d000000000001042d00000000010000190000074300010430000001fd0100004100000000001004350000004101000039000000040010043f000001f8010000410000074300010430000000000201004b0000070c0000c13d000000400100043d000001e002000041000000000021043500000004021000390000000303000029000000000032043500000000070800190000000002070433000000240310003900000000002304350000004403100039000000000402004b000006e80000613d000000000400001900000000053400190000002004400039000000000674001900000000060604330000000000650435000000000524004b000006e10000413d0000001f04200039000000200500008a000000000454016f000000000232001900000000000204350000004402400039000001d203000041000001d20420009c0000000002038019000001d20410009c000000000103801900000040011002100000006002200210000000000112019f0000074300010430000000400100043d0000006402100039000001f50300004100000000003204350000004402100039000001f603000041000000000032043500000024021000390000002a030000390000000000320435000001e0020000410000000000210435000000040210003900000003030000290000000000320435000001d202000041000001d20310009c00000000010280190000004001100210000001eb011001c70000074300010430000001d202000041000001d20310009c0000000001028019000001d203a0009c000000000a0280190000004002a002100000006001100210000000000121019f0000074300010430000000000001042f000000400100043d0000004402100039000001fe03000041000000000032043500000024021000390000001d030000390000000000320435000001e0020000410000000000210435000000040210003900000003030000290000000000320435000001d202000041000001d20310009c00000000010280190000004001100210000001ff011001c70000074300010430000000000001042f000001d2010000410000000002000414000001d20320009c0000000002018019000000c001200210000001e6011001c700008010020000390741073c0000040f0000000102200190000007350000613d000000000101043b000000000001042d000000000100001900000743000104300000073a002104210000000102000039000000000001042d0000000002000019000000000001042d0000073f002104230000000102000039000000000001042d0000000002000019000000000001042d0000074100000432000007420001042e0000074300010430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000001ffffffe0000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e00000000200000000000000000000000000000040000001000000000000000000000000000000000000000000000000000000000000000000000000008da5cb5a000000000000000000000000000000000000000000000000000000008da5cb5b00000000000000000000000000000000000000000000000000000000e598ef9400000000000000000000000000000000000000000000000000000000f2fde38b0000000000000000000000000000000000000000000000000000000041467acf00000000000000000000000000000000000000000000000000000000715018a600000000000000000000000000000000000000000000000000000000733ff16a08c379a0000000000000000000000000000000000000000000000000000000004f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084000000800000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff80000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000040000000000000000000000000dd62ed3e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440000000000000000000000005361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365000000000000000000000000000000000000000000000000000000000084000000000000000000000000095ea7b300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f000000000000000000000000000000000000000000000000ffffffffffffff3f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65641806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b83020000020000000000000000000000000000002400000000000000000000000023b872dd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff5f000000000000000000000000000000000000000000000000ffffffffffffff1f6f742073756363656564000000000000000000000000000000000000000000005361666545524332303a204552433230206f7065726174696f6e20646964206e70a08231000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff9f38ed173900000000000000000000000000000000000000000000000000000000796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d9553913202000002000000000000000000000000000000040000000000000000000000004e487b7100000000000000000000000000000000000000000000000000000000416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000000000000000000000000000000000000000000064000000000000000000000000a9059cbb000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000020000000000000000000000000ab2246061d7b0dd3631d037e3f6da75782ae489eeb9f6af878a4b25df9b07c7773776565703a20696e76616c696420746f6b656e4f75740000000000000000005265656e7472616e637947756172643a207265656e7472616e742063616c6c00000000000000000000000000000000000000006400000080000000000000000000000000000000000000000000000000000000200000008000000000000000004f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572736574416c6c6f776564546f6b656e4c6973743a20696e76616c6964206164647265737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffc000000000000000000000000000000000000000000000000000000000000000004d1bcc4cdcc261ef62eaa67954c1bdf1ab599e954a75455e9323dfa2b0c96125

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

00000000000000000000000031c2c031fdc9d33e974f327ab0d9883eae06ca4a0000000000000000000000005165ec33b491d7b67260b3143f96bb4ac4736398

-----Decoded View---------------
Arg [0] : zfToken (address): 0x31C2c031fDc9d33e974f327Ab0d9883Eae06cA4A
Arg [1] : longToken (address): 0x5165ec33b491d7b67260B3143f96Bb4aC4736398

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000031c2c031fdc9d33e974f327ab0d9883eae06ca4a
Arg [1] : 0000000000000000000000005165ec33b491d7b67260b3143f96bb4ac4736398


Block Transaction 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.