ETH Price: $3,384.71 (+3.93%)
Gas: 2 Gwei

Contract

0x1c3Bff349f56D8806b7993141de4f52Ea1b65903
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Swap200177052024-06-04 9:57:1155 days ago1717495031IN
0x1c3Bff34...Ea1b65903
1 ETH0.004818597.35291193
Swap200176222024-06-04 9:40:3555 days ago1717494035IN
0x1c3Bff34...Ea1b65903
0.45 ETH0.001260468.02494221
Swap200094092024-06-03 6:08:4756 days ago1717394927IN
0x1c3Bff34...Ea1b65903
0.52 ETH0.002854887.5484009
Swap200093852024-06-03 6:03:5956 days ago1717394639IN
0x1c3Bff34...Ea1b65903
0.81 ETH0.002832477.48913546
Swap200093692024-06-03 6:00:4756 days ago1717394447IN
0x1c3Bff34...Ea1b65903
0.5 ETH0.001783196.09198957
Swap200093452024-06-03 5:55:5956 days ago1717394159IN
0x1c3Bff34...Ea1b65903
1 ETH0.002777347.34336533
Swap200093292024-06-03 5:52:4756 days ago1717393967IN
0x1c3Bff34...Ea1b65903
0.496 ETH0.002516186.65200962
Swap200044232024-06-02 13:26:1156 days ago1717334771IN
0x1c3Bff34...Ea1b65903
0.05 ETH0.0014440110.32295677
Swap200044172024-06-02 13:24:5956 days ago1717334699IN
0x1c3Bff34...Ea1b65903
0.05 ETH0.0014448110.32863398
Swap200044042024-06-02 13:22:2356 days ago1717334543IN
0x1c3Bff34...Ea1b65903
1.5 ETH0.002204268.79433034
Swap199526542024-05-26 7:47:2364 days ago1716709643IN
0x1c3Bff34...Ea1b65903
1.1735 ETH0.001810113.70243487
Swap199312622024-05-23 8:02:3567 days ago1716451355IN
0x1c3Bff34...Ea1b65903
0.5 ETH0.005314314.04144827
Swap199095472024-05-20 7:08:1170 days ago1716188891IN
0x1c3Bff34...Ea1b65903
0.23 ETH0.00044053.14880323
Swap199095402024-05-20 7:06:4770 days ago1716188807IN
0x1c3Bff34...Ea1b65903
0.3 ETH0.000523683.33593889
Swap199094852024-05-20 6:55:3570 days ago1716188135IN
0x1c3Bff34...Ea1b65903
0.5 ETH0.001398443.69473758
Swap199094652024-05-20 6:51:3570 days ago1716187895IN
0x1c3Bff34...Ea1b65903
0.35 ETH0.001013312.58599533
Swap199094282024-05-20 6:43:5970 days ago1716187439IN
0x1c3Bff34...Ea1b65903
0.535 ETH0.000975562.57763113
Swap199093082024-05-20 6:19:5970 days ago1716185999IN
0x1c3Bff34...Ea1b65903
0.15 ETH0.000491943.13229847
Swap199092932024-05-20 6:16:5970 days ago1716185819IN
0x1c3Bff34...Ea1b65903
0.08 ETH0.000562983.3030591
Swap198953322024-05-18 7:25:4772 days ago1716017147IN
0x1c3Bff34...Ea1b65903
0.5 ETH0.000497643.16977559
Swap198953162024-05-18 7:22:3572 days ago1716016955IN
0x1c3Bff34...Ea1b65903
0.2 ETH0.000533613.39889527
Swap198953122024-05-18 7:21:4772 days ago1716016907IN
0x1c3Bff34...Ea1b65903
0.04 ETH0.00053653.41754708
Swap198953002024-05-18 7:19:2372 days ago1716016763IN
0x1c3Bff34...Ea1b65903
0.06 ETH0.000529713.37430218
Swap198952872024-05-18 7:16:4772 days ago1716016607IN
0x1c3Bff34...Ea1b65903
0.1 ETH0.000531223.38215605
Swap198952682024-05-18 7:12:5972 days ago1716016379IN
0x1c3Bff34...Ea1b65903
0.13 ETH0.000515013.27893598
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
200177052024-06-04 9:57:1155 days ago1717495031
0x1c3Bff34...Ea1b65903
1 ETH
200176222024-06-04 9:40:3555 days ago1717494035
0x1c3Bff34...Ea1b65903
0.45 ETH
200094092024-06-03 6:08:4756 days ago1717394927
0x1c3Bff34...Ea1b65903
0.52 ETH
200093852024-06-03 6:03:5956 days ago1717394639
0x1c3Bff34...Ea1b65903
0.81 ETH
200093692024-06-03 6:00:4756 days ago1717394447
0x1c3Bff34...Ea1b65903
0.5 ETH
200093452024-06-03 5:55:5956 days ago1717394159
0x1c3Bff34...Ea1b65903
1 ETH
200093292024-06-03 5:52:4756 days ago1717393967
0x1c3Bff34...Ea1b65903
0.496 ETH
200044232024-06-02 13:26:1156 days ago1717334771
0x1c3Bff34...Ea1b65903
0.05 ETH
200044172024-06-02 13:24:5956 days ago1717334699
0x1c3Bff34...Ea1b65903
0.05 ETH
200044042024-06-02 13:22:2356 days ago1717334543
0x1c3Bff34...Ea1b65903
1.5 ETH
199526542024-05-26 7:47:2364 days ago1716709643
0x1c3Bff34...Ea1b65903
1.1735 ETH
199312622024-05-23 8:02:3567 days ago1716451355
0x1c3Bff34...Ea1b65903
0.5 ETH
199095472024-05-20 7:08:1170 days ago1716188891
0x1c3Bff34...Ea1b65903
0.23 ETH
199095402024-05-20 7:06:4770 days ago1716188807
0x1c3Bff34...Ea1b65903
0.3 ETH
199094852024-05-20 6:55:3570 days ago1716188135
0x1c3Bff34...Ea1b65903
0.5 ETH
199094652024-05-20 6:51:3570 days ago1716187895
0x1c3Bff34...Ea1b65903
0.1215 ETH
199094652024-05-20 6:51:3570 days ago1716187895
0x1c3Bff34...Ea1b65903
0.1215 ETH
199094652024-05-20 6:51:3570 days ago1716187895
0x1c3Bff34...Ea1b65903
0.35 ETH
199094282024-05-20 6:43:5970 days ago1716187439
0x1c3Bff34...Ea1b65903
0.535 ETH
199093082024-05-20 6:19:5970 days ago1716185999
0x1c3Bff34...Ea1b65903
0.15 ETH
199092932024-05-20 6:16:5970 days ago1716185819
0x1c3Bff34...Ea1b65903
0.072 ETH
199092932024-05-20 6:16:5970 days ago1716185819
0x1c3Bff34...Ea1b65903
0.072 ETH
199092932024-05-20 6:16:5970 days ago1716185819
0x1c3Bff34...Ea1b65903
0.08 ETH
198953322024-05-18 7:25:4772 days ago1716017147
0x1c3Bff34...Ea1b65903
0.5 ETH
198953162024-05-18 7:22:3572 days ago1716016955
0x1c3Bff34...Ea1b65903
0.2 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
multiSwap

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20//utils/SafeERC20.sol";

interface IWETH {
    function withdraw(uint) external;
    function deposit() external payable;
}

interface IUniswapV2Router02 {
    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

contract multiSwap is Context {

    receive() external payable {}

    function swap(
        address[] memory recipients,
        uint256[] memory tokenAmounts,
        uint256[] memory wethAmounts,
        address[] memory path,
        address tokenAddress,
        uint deadline
    ) public payable returns (bool) {

        uint amountIn = msg.value;
        IWETH(tokenAddress).deposit{value: amountIn}();

        uint checkAllowance = IERC20(tokenAddress).allowance(address(this), 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

        if(checkAllowance == 0) IERC20(tokenAddress).approve(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 115792089237316195423570985008687907853269984665640564039457584007913129639935);

        for (uint256 i = 0; i < recipients.length; i++) {
            IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D).swapExactTokensForTokensSupportingFeeOnTransferTokens(wethAmounts[i], tokenAmounts[i], path, recipients[i], deadline);
        }

        uint amountOut = IERC20(tokenAddress).balanceOf(address(this));
        IWETH(tokenAddress).withdraw(amountOut);
        (bool sent, ) = _msgSender().call{value: amountOut}("");
        require(sent, "F t s e");

        return true;
    }

}

File 2 of 5 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 3 of 5 : 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 4 of 5 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

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

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

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

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

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

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

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

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

File 5 of 5 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"tokenAmounts","type":"uint256[]"},{"internalType":"uint256[]","name":"wethAmounts","type":"uint256[]"},{"internalType":"address[]","name":"path","type":"address[]"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"swap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50610cf4806100206000396000f3fe6080604052600436106100225760003560e01c8063c7f802411461002e57610029565b3661002957005b600080fd5b61004860048036038101906100439190610784565b61005e565b604051610055919061089c565b60405180910390f35b6000803490508373ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156100ac57600080fd5b505af11580156100c0573d6000803e3d6000fd5b505050505060008473ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30737a250d5630b4cf539739df2c5dacb4c659f2488d6040518363ffffffff1660e01b81526004016101169291906108c6565b602060405180830381865afa158015610133573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101579190610904565b905060008103610215578473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016101d0929190610976565b6020604051808303816000875af11580156101ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021391906109cb565b505b60005b895181101561030957737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff16635c11d795898381518110610264576102636109f8565b5b60200260200101518b848151811061027f5761027e6109f8565b5b60200260200101518a8e868151811061029b5761029a6109f8565b5b60200260200101518a6040518663ffffffff1660e01b81526004016102c4959493929190610af4565b600060405180830381600087803b1580156102de57600080fd5b505af11580156102f2573d6000803e3d6000fd5b50505050808061030190610b7d565b915050610218565b5060008573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103459190610bc5565b602060405180830381865afa158015610362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103869190610904565b90508573ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016103c19190610be0565b600060405180830381600087803b1580156103db57600080fd5b505af11580156103ef573d6000803e3d6000fd5b5050505060006103fd6104b8565b73ffffffffffffffffffffffffffffffffffffffff168260405161042090610c2c565b60006040518083038185875af1925050503d806000811461045d576040519150601f19603f3d011682016040523d82523d6000602084013e610462565b606091505b50509050806104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049d90610c9e565b60405180910390fd5b60019450505050509695505050505050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610522826104d9565b810181811067ffffffffffffffff82111715610541576105406104ea565b5b80604052505050565b60006105546104c0565b90506105608282610519565b919050565b600067ffffffffffffffff8211156105805761057f6104ea565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105c182610596565b9050919050565b6105d1816105b6565b81146105dc57600080fd5b50565b6000813590506105ee816105c8565b92915050565b600061060761060284610565565b61054a565b9050808382526020820190506020840283018581111561062a57610629610591565b5b835b81811015610653578061063f88826105df565b84526020840193505060208101905061062c565b5050509392505050565b600082601f830112610672576106716104d4565b5b81356106828482602086016105f4565b91505092915050565b600067ffffffffffffffff8211156106a6576106a56104ea565b5b602082029050602081019050919050565b6000819050919050565b6106ca816106b7565b81146106d557600080fd5b50565b6000813590506106e7816106c1565b92915050565b60006107006106fb8461068b565b61054a565b9050808382526020820190506020840283018581111561072357610722610591565b5b835b8181101561074c578061073888826106d8565b845260208401935050602081019050610725565b5050509392505050565b600082601f83011261076b5761076a6104d4565b5b813561077b8482602086016106ed565b91505092915050565b60008060008060008060c087890312156107a1576107a06104ca565b5b600087013567ffffffffffffffff8111156107bf576107be6104cf565b5b6107cb89828a0161065d565b965050602087013567ffffffffffffffff8111156107ec576107eb6104cf565b5b6107f889828a01610756565b955050604087013567ffffffffffffffff811115610819576108186104cf565b5b61082589828a01610756565b945050606087013567ffffffffffffffff811115610846576108456104cf565b5b61085289828a0161065d565b935050608061086389828a016105df565b92505060a061087489828a016106d8565b9150509295509295509295565b60008115159050919050565b61089681610881565b82525050565b60006020820190506108b1600083018461088d565b92915050565b6108c0816105b6565b82525050565b60006040820190506108db60008301856108b7565b6108e860208301846108b7565b9392505050565b6000815190506108fe816106c1565b92915050565b60006020828403121561091a576109196104ca565b5b6000610928848285016108ef565b91505092915050565b6000819050919050565b6000819050919050565b600061096061095b61095684610931565b61093b565b6106b7565b9050919050565b61097081610945565b82525050565b600060408201905061098b60008301856108b7565b6109986020830184610967565b9392505050565b6109a881610881565b81146109b357600080fd5b50565b6000815190506109c58161099f565b92915050565b6000602082840312156109e1576109e06104ca565b5b60006109ef848285016109b6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610a30816106b7565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b610a6b816105b6565b82525050565b6000610a7d8383610a62565b60208301905092915050565b6000602082019050919050565b6000610aa182610a36565b610aab8185610a41565b9350610ab683610a52565b8060005b83811015610ae7578151610ace8882610a71565b9750610ad983610a89565b925050600181019050610aba565b5085935050505092915050565b600060a082019050610b096000830188610a27565b610b166020830187610a27565b8181036040830152610b288186610a96565b9050610b3760608301856108b7565b610b446080830184610a27565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610b88826106b7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610bba57610bb9610b4e565b5b600182019050919050565b6000602082019050610bda60008301846108b7565b92915050565b6000602082019050610bf56000830184610a27565b92915050565b600081905092915050565b50565b6000610c16600083610bfb565b9150610c2182610c06565b600082019050919050565b6000610c3782610c09565b9150819050919050565b600082825260208201905092915050565b7f4620742073206500000000000000000000000000000000000000000000000000600082015250565b6000610c88600783610c41565b9150610c9382610c52565b602082019050919050565b60006020820190508181036000830152610cb781610c7b565b905091905056fea26469706673582212209d1abe7e60720ed0e7d79adc57d2c06a50bad27b84a9ad746485b6faebf1a64464736f6c63430008120033

Deployed Bytecode

0x6080604052600436106100225760003560e01c8063c7f802411461002e57610029565b3661002957005b600080fd5b61004860048036038101906100439190610784565b61005e565b604051610055919061089c565b60405180910390f35b6000803490508373ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156100ac57600080fd5b505af11580156100c0573d6000803e3d6000fd5b505050505060008473ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30737a250d5630b4cf539739df2c5dacb4c659f2488d6040518363ffffffff1660e01b81526004016101169291906108c6565b602060405180830381865afa158015610133573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101579190610904565b905060008103610215578473ffffffffffffffffffffffffffffffffffffffff1663095ea7b3737a250d5630b4cf539739df2c5dacb4c659f2488d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b81526004016101d0929190610976565b6020604051808303816000875af11580156101ef573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021391906109cb565b505b60005b895181101561030957737a250d5630b4cf539739df2c5dacb4c659f2488d73ffffffffffffffffffffffffffffffffffffffff16635c11d795898381518110610264576102636109f8565b5b60200260200101518b848151811061027f5761027e6109f8565b5b60200260200101518a8e868151811061029b5761029a6109f8565b5b60200260200101518a6040518663ffffffff1660e01b81526004016102c4959493929190610af4565b600060405180830381600087803b1580156102de57600080fd5b505af11580156102f2573d6000803e3d6000fd5b50505050808061030190610b7d565b915050610218565b5060008573ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016103459190610bc5565b602060405180830381865afa158015610362573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103869190610904565b90508573ffffffffffffffffffffffffffffffffffffffff16632e1a7d4d826040518263ffffffff1660e01b81526004016103c19190610be0565b600060405180830381600087803b1580156103db57600080fd5b505af11580156103ef573d6000803e3d6000fd5b5050505060006103fd6104b8565b73ffffffffffffffffffffffffffffffffffffffff168260405161042090610c2c565b60006040518083038185875af1925050503d806000811461045d576040519150601f19603f3d011682016040523d82523d6000602084013e610462565b606091505b50509050806104a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161049d90610c9e565b60405180910390fd5b60019450505050509695505050505050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b610522826104d9565b810181811067ffffffffffffffff82111715610541576105406104ea565b5b80604052505050565b60006105546104c0565b90506105608282610519565b919050565b600067ffffffffffffffff8211156105805761057f6104ea565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006105c182610596565b9050919050565b6105d1816105b6565b81146105dc57600080fd5b50565b6000813590506105ee816105c8565b92915050565b600061060761060284610565565b61054a565b9050808382526020820190506020840283018581111561062a57610629610591565b5b835b81811015610653578061063f88826105df565b84526020840193505060208101905061062c565b5050509392505050565b600082601f830112610672576106716104d4565b5b81356106828482602086016105f4565b91505092915050565b600067ffffffffffffffff8211156106a6576106a56104ea565b5b602082029050602081019050919050565b6000819050919050565b6106ca816106b7565b81146106d557600080fd5b50565b6000813590506106e7816106c1565b92915050565b60006107006106fb8461068b565b61054a565b9050808382526020820190506020840283018581111561072357610722610591565b5b835b8181101561074c578061073888826106d8565b845260208401935050602081019050610725565b5050509392505050565b600082601f83011261076b5761076a6104d4565b5b813561077b8482602086016106ed565b91505092915050565b60008060008060008060c087890312156107a1576107a06104ca565b5b600087013567ffffffffffffffff8111156107bf576107be6104cf565b5b6107cb89828a0161065d565b965050602087013567ffffffffffffffff8111156107ec576107eb6104cf565b5b6107f889828a01610756565b955050604087013567ffffffffffffffff811115610819576108186104cf565b5b61082589828a01610756565b945050606087013567ffffffffffffffff811115610846576108456104cf565b5b61085289828a0161065d565b935050608061086389828a016105df565b92505060a061087489828a016106d8565b9150509295509295509295565b60008115159050919050565b61089681610881565b82525050565b60006020820190506108b1600083018461088d565b92915050565b6108c0816105b6565b82525050565b60006040820190506108db60008301856108b7565b6108e860208301846108b7565b9392505050565b6000815190506108fe816106c1565b92915050565b60006020828403121561091a576109196104ca565b5b6000610928848285016108ef565b91505092915050565b6000819050919050565b6000819050919050565b600061096061095b61095684610931565b61093b565b6106b7565b9050919050565b61097081610945565b82525050565b600060408201905061098b60008301856108b7565b6109986020830184610967565b9392505050565b6109a881610881565b81146109b357600080fd5b50565b6000815190506109c58161099f565b92915050565b6000602082840312156109e1576109e06104ca565b5b60006109ef848285016109b6565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b610a30816106b7565b82525050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b610a6b816105b6565b82525050565b6000610a7d8383610a62565b60208301905092915050565b6000602082019050919050565b6000610aa182610a36565b610aab8185610a41565b9350610ab683610a52565b8060005b83811015610ae7578151610ace8882610a71565b9750610ad983610a89565b925050600181019050610aba565b5085935050505092915050565b600060a082019050610b096000830188610a27565b610b166020830187610a27565b8181036040830152610b288186610a96565b9050610b3760608301856108b7565b610b446080830184610a27565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610b88826106b7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610bba57610bb9610b4e565b5b600182019050919050565b6000602082019050610bda60008301846108b7565b92915050565b6000602082019050610bf56000830184610a27565b92915050565b600081905092915050565b50565b6000610c16600083610bfb565b9150610c2182610c06565b600082019050919050565b6000610c3782610c09565b9150819050919050565b600082825260208201905092915050565b7f4620742073206500000000000000000000000000000000000000000000000000600082015250565b6000610c88600783610c41565b9150610c9382610c52565b602082019050919050565b60006020820190508181036000830152610cb781610c7b565b905091905056fea26469706673582212209d1abe7e60720ed0e7d79adc57d2c06a50bad27b84a9ad746485b6faebf1a64464736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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