ETH Price: $1,922.60 (-2.45%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
0x6f589b2b141558ba15a4d583e279ab81c7a75f0bd2fb99f9511e6c049d6d527a Snwap(pending)2026-02-19 5:08:1511 hrs ago1771477695IN
SushiSwap: RedSnwapper
0.003 ETH(Pending)(Pending)
0xe9bc8525419b09606547cdcde8f75335ce755a5a5ae8a2b0ef9d5832eec27c35 Snwap Multiple(pending)2026-02-19 4:13:4912 hrs ago1771474429IN
SushiSwap: RedSnwapper
0 ETH(Pending)(Pending)
0x5d360c2e1ae63ad605fed7d44be3a663a66a463899d392aaa080b925f49cdb1a Snwap Multiple(pending)2026-02-19 4:13:4912 hrs ago1771474429IN
SushiSwap: RedSnwapper
0 ETH(Pending)(Pending)
0xd02c97ffffd67ba1cdb4ee41ad54dc38979484d8cc64d0f79a0ae9ab2f36dffa Snwap Multiple(pending)2026-02-19 4:13:4912 hrs ago1771474429IN
SushiSwap: RedSnwapper
0 ETH(Pending)(Pending)
Snwap244922262026-02-19 16:55:471 min ago1771520147IN
SushiSwap: RedSnwapper
0 ETH0.000024630.12856918
Snwap244921992026-02-19 16:50:237 mins ago1771519823IN
SushiSwap: RedSnwapper
0.08 ETH0.000025010.13930443
Snwap244921952026-02-19 16:49:357 mins ago1771519775IN
SushiSwap: RedSnwapper
0 ETH0.000040.14248232
Snwap244921882026-02-19 16:48:119 mins ago1771519691IN
SushiSwap: RedSnwapper
0 ETH0.000064070.13510777
Snwap244921402026-02-19 16:38:3518 mins ago1771519115IN
SushiSwap: RedSnwapper
0.05559076 ETH0.000024260.13157759
Snwap244920912026-02-19 16:28:4728 mins ago1771518527IN
SushiSwap: RedSnwapper
0.17 ETH0.001315562.16017445
Snwap Multiple244920852026-02-19 16:27:3529 mins ago1771518455IN
SushiSwap: RedSnwapper
0 ETH0.000041530.19428583
Snwap244920842026-02-19 16:27:2330 mins ago1771518443IN
SushiSwap: RedSnwapper
0 ETH0.000402222.17801805
Snwap244920772026-02-19 16:25:5931 mins ago1771518359IN
SushiSwap: RedSnwapper
0 ETH0.000057180.17436093
Snwap Multiple244920702026-02-19 16:24:3532 mins ago1771518275IN
SushiSwap: RedSnwapper
0 ETH0.000044380.19529899
Snwap244920562026-02-19 16:21:4735 mins ago1771518107IN
SushiSwap: RedSnwapper
0 ETH0.000049510.25487156
Snwap244920162026-02-19 16:13:4743 mins ago1771517627IN
SushiSwap: RedSnwapper
0 ETH0.000058410.20936098
Snwap244919682026-02-19 16:04:1153 mins ago1771517051IN
SushiSwap: RedSnwapper
0.028 ETH0.000053570.1919753
Snwap244919412026-02-19 15:58:4758 mins ago1771516727IN
SushiSwap: RedSnwapper
0 ETH0.000058560.19484988
Snwap244919142026-02-19 15:53:231 hr ago1771516403IN
SushiSwap: RedSnwapper
0 ETH0.000454832.23431637
Snwap244918732026-02-19 15:45:111 hr ago1771515911IN
SushiSwap: RedSnwapper
0.073 ETH0.000058270.25553858
Snwap Multiple244918692026-02-19 15:44:231 hr ago1771515863IN
SushiSwap: RedSnwapper
0 ETH0.000010630.24839517
Snwap Multiple244918582026-02-19 15:42:111 hr ago1771515731IN
SushiSwap: RedSnwapper
0 ETH0.000105250.38689596
Snwap Multiple244918552026-02-19 15:41:351 hr ago1771515695IN
SushiSwap: RedSnwapper
0 ETH0.000113420.37400806
Snwap244918512026-02-19 15:40:471 hr ago1771515647IN
SushiSwap: RedSnwapper
0 ETH0.000144520.50716904
Snwap Multiple244917962026-02-19 15:29:471 hr ago1771514987IN
SushiSwap: RedSnwapper
0 ETH0.000763712.24449864
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Execute244921992026-02-19 16:50:237 mins ago1771519823
SushiSwap: RedSnwapper
0.08 ETH
Execute244921952026-02-19 16:49:357 mins ago1771519775
SushiSwap: RedSnwapper
0.0059429 ETH
Transfer*244921952026-02-19 16:49:357 mins ago1771519775
SushiSwap: RedSnwapper
0.0059429 ETH
Execute244921892026-02-19 16:48:239 mins ago1771519703
SushiSwap: RedSnwapper
0.00488 ETH
Transfer*244921892026-02-19 16:48:239 mins ago1771519703
SushiSwap: RedSnwapper
0.00488 ETH
Execute244921862026-02-19 16:47:479 mins ago1771519667
SushiSwap: RedSnwapper
0.05311081 ETH
Transfer*244921862026-02-19 16:47:479 mins ago1771519667
SushiSwap: RedSnwapper
0.05311081 ETH
Execute244921812026-02-19 16:46:4710 mins ago1771519607
SushiSwap: RedSnwapper
0.001 ETH
Transfer*244921812026-02-19 16:46:4710 mins ago1771519607
SushiSwap: RedSnwapper
0.001 ETH
Execute244921712026-02-19 16:44:4712 mins ago1771519487
SushiSwap: RedSnwapper
0.00980595 ETH
Transfer*244921712026-02-19 16:44:4712 mins ago1771519487
SushiSwap: RedSnwapper
0.00980595 ETH
Execute244921652026-02-19 16:43:3513 mins ago1771519415
SushiSwap: RedSnwapper
0.000488 ETH
Transfer*244921652026-02-19 16:43:3513 mins ago1771519415
SushiSwap: RedSnwapper
0.000488 ETH
Execute244921552026-02-19 16:41:3515 mins ago1771519295
SushiSwap: RedSnwapper
0.01283866 ETH
Transfer*244921552026-02-19 16:41:3515 mins ago1771519295
SushiSwap: RedSnwapper
0.01283866 ETH
Execute244921402026-02-19 16:38:3518 mins ago1771519115
SushiSwap: RedSnwapper
0.05559076 ETH
Execute244921392026-02-19 16:38:2319 mins ago1771519103
SushiSwap: RedSnwapper
0.20572937 ETH
Transfer*244921392026-02-19 16:38:2319 mins ago1771519103
SushiSwap: RedSnwapper
0.20572937 ETH
Execute244921312026-02-19 16:36:4720 mins ago1771519007
SushiSwap: RedSnwapper
0.3738 ETH
Transfer*244921312026-02-19 16:36:4720 mins ago1771519007
SushiSwap: RedSnwapper
0.3738 ETH
Execute244921202026-02-19 16:34:3522 mins ago1771518875
SushiSwap: RedSnwapper
0.04824709 ETH
Transfer*244921202026-02-19 16:34:3522 mins ago1771518875
SushiSwap: RedSnwapper
0.04824709 ETH
Execute244920922026-02-19 16:28:5928 mins ago1771518539
SushiSwap: RedSnwapper
0.01088457 ETH
Transfer*244920922026-02-19 16:28:5928 mins ago1771518539
SushiSwap: RedSnwapper
0.01088457 ETH
Execute244920912026-02-19 16:28:4728 mins ago1771518527
SushiSwap: RedSnwapper
0.17 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
RedSnwapper

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 10000000 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: UNLICENSED

pragma solidity 0.8.24;

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

contract RedSnwapper {
  using SafeERC20 for IERC20;
  using Utils for IERC20;

  SafeExecutor public immutable safeExecutor;

  constructor() {
    safeExecutor = new SafeExecutor();
  }

  // @notice Swaps tokens
  // @notice 1. Transfers amountIn of tokens tokenIn to executor
  // @notice 2. launches executor with executorData and value = msg.value
  // @notice 3. Checks that recipient's tokenOut balance was increased at least amountOutMin
  function snwap(
    IERC20 tokenIn,
    uint amountIn, // if amountIn == 0 then amountIn = tokenIn.balance(this) - 1
    address recipient,
    IERC20 tokenOut,
    uint amountOutMin,
    address executor,
    bytes calldata executorData
  ) external payable returns (uint amountOut) {
    uint initialOutputBalance = tokenOut.universalBalanceOf(recipient);

    if (address(tokenIn) != NATIVE_ADDRESS) {
      if (amountIn > 0) tokenIn.safeTransferFrom(msg.sender, executor, amountIn);
      else tokenIn.safeTransfer(executor, tokenIn.balanceOf(address(this)) - 1); // -1 is slot undrain protection
    }

    safeExecutor.execute{value: msg.value}(executor, executorData);

    amountOut = tokenOut.universalBalanceOf(recipient) - initialOutputBalance;
    if (amountOut < amountOutMin)
      revert MinimalOutputBalanceViolation(address(tokenOut), amountOut);
  }

  // @notice Swaps multiple tokens
  // @notice 1. Transfers inputTokens to inputTokens[i].transferTo
  // @notice 2. launches executors
  // @notice 3. Checks that recipient's tokenOut balance was increased at least amountOutMin
  function snwapMultiple(
    InputToken[] calldata inputTokens,
    OutputToken[] calldata outputTokens,
    Executor[] calldata executors
  ) external payable returns (uint[] memory amountOut) {
    uint[] memory initialOutputBalance = new uint[](outputTokens.length);
    for (uint i = 0; i < outputTokens.length; i++) {
      initialOutputBalance[i] = outputTokens[i].token.universalBalanceOf(outputTokens[i].recipient);
    }

    for (uint i = 0; i < inputTokens.length; i++) {
      IERC20 tokenIn = inputTokens[i].token;
      if (address(tokenIn) != NATIVE_ADDRESS) {
        if (inputTokens[i].amountIn > 0) 
          tokenIn.safeTransferFrom(msg.sender, inputTokens[i].transferTo, inputTokens[i].amountIn);
        else tokenIn.safeTransfer(inputTokens[i].transferTo, tokenIn.balanceOf(address(this)) - 1); // -1 is slot undrain protection
      }
    }

    safeExecutor.executeMultiple{value: msg.value}(executors);

    amountOut = new uint[](outputTokens.length);
    for (uint i = 0; i < outputTokens.length; i++) {
      amountOut[i] = outputTokens[i].token.universalBalanceOf(outputTokens[i].recipient) - initialOutputBalance[i];
      if (amountOut[i] < outputTokens[i].amountOutMin)
        revert MinimalOutputBalanceViolation(address(outputTokens[i].token), amountOut[i]);
    }
  }
}


// This contract doesn't have token approves, so can safely call other contracts
contract SafeExecutor {  
  using Utils for address;

  function execute(address executor, bytes calldata executorData) external payable {
    executor.callRevertBubbleUp(msg.value, executorData);
  }

  function executeMultiple(Executor[] calldata executors) external payable {
    for (uint i = 0; i < executors.length; i++) {
      executors[i].executor.callRevertBubbleUp(executors[i].value, executors[i].data);
    }
  }
}

error MinimalOutputBalanceViolation(address tokenOut, uint256 amountOut);

address constant NATIVE_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

struct InputToken {
  IERC20 token;
  uint amountIn;
  address transferTo;
}

struct OutputToken {
  IERC20 token;
  address recipient;
  uint amountOutMin;
}

struct Executor {
  address executor;
  uint value;
  bytes data;
}

library Utils {
  using SafeERC20 for IERC20;
  
  function universalBalanceOf(IERC20 token, address user) internal view returns (uint256) {
    if (address(token) == NATIVE_ADDRESS) return address(user).balance;
    else return token.balanceOf(user);
  }

  function callRevertBubbleUp(address contr, uint256 value, bytes memory data) internal {
    (bool success, bytes memory returnBytes) = contr.call{value: value}(data);
    if (!success) {
      assembly {
        revert(add(32, returnBytes), mload(returnBytes))
      }
    }
  }
}

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

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

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

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

Settings
{
  "evmVersion": "cancun",
  "optimizer": {
    "enabled": true,
    "runs": 10000000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountOut","type":"uint256"}],"name":"MinimalOutputBalanceViolation","type":"error"},{"inputs":[],"name":"safeExecutor","outputs":[{"internalType":"contract SafeExecutor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenIn","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"contract IERC20","name":"tokenOut","type":"address"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"},{"internalType":"address","name":"executor","type":"address"},{"internalType":"bytes","name":"executorData","type":"bytes"}],"name":"snwap","outputs":[{"internalType":"uint256","name":"amountOut","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"components":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"},{"internalType":"address","name":"transferTo","type":"address"}],"internalType":"struct InputToken[]","name":"inputTokens","type":"tuple[]"},{"components":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amountOutMin","type":"uint256"}],"internalType":"struct OutputToken[]","name":"outputTokens","type":"tuple[]"},{"components":[{"internalType":"address","name":"executor","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"internalType":"struct Executor[]","name":"executors","type":"tuple[]"}],"name":"snwapMultiple","outputs":[{"internalType":"uint256[]","name":"amountOut","type":"uint256[]"}],"stateMutability":"payable","type":"function"}]

60a060405234801561000f575f80fd5b5060405161001c90610047565b604051809103905ff080158015610035573d5f803e3d5ffd5b506001600160a01b0316608052610054565b6104a8806113eb83390190565b6080516113726100795f395f8181608e01528181610251015261066e01526113725ff3fe608060405260043610610033575f3560e01c80635f3bd1c814610037578063d33721a51461005d578063e8382b011461007d575b5f80fd5b61004a610045366004610df4565b6100d5565b6040519081526020015b60405180910390f35b61007061006b366004610f03565b61035b565b6040516100549190610fc2565b348015610088575f80fd5b506100b07f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610054565b5f806100f773ffffffffffffffffffffffffffffffffffffffff88168961088c565b905073ffffffffffffffffffffffffffffffffffffffff8a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146102145788156101575761015273ffffffffffffffffffffffffffffffffffffffff8b1633878c61097f565b610214565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261021490869060019073ffffffffffffffffffffffffffffffffffffffff8e16906370a0823190602401602060405180830381865afa1580156101c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ec9190611005565b6101f6919061101c565b73ffffffffffffffffffffffffffffffffffffffff8d169190610a61565b6040517f1cff79cd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690631cff79cd90349061028c9089908990899060040161109b565b5f604051808303818588803b1580156102a3575f80fd5b505af11580156102b5573d5f803e3d5ffd5b5050505050806102e4898973ffffffffffffffffffffffffffffffffffffffff1661088c90919063ffffffff16565b6102ee919061101c565b91508582101561034e576040517f63ecb9f600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88166004820152602481018390526044015b60405180910390fd5b5098975050505050505050565b60605f8467ffffffffffffffff811115610377576103776110d3565b6040519080825280602002602001820160405280156103a0578160200160208202803683370190505b5090505f5b858110156104435761041e8787838181106103c2576103c2611100565b90506060020160200160208101906103da919061112d565b8888848181106103ec576103ec611100565b610402926020606090920201908101915061112d565b73ffffffffffffffffffffffffffffffffffffffff169061088c565b82828151811061043057610430611100565b60209081029190910101526001016103a5565b505f5b87811015610630575f89898381811061046157610461611100565b610477926020606090920201908101915061112d565b905073ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610627575f8a8a848181106104bd576104bd611100565b9050606002016020013511156105435761053e338b8b858181106104e3576104e3611100565b90506060020160400160208101906104fb919061112d565b8c8c8681811061050d5761050d611100565b905060600201602001358473ffffffffffffffffffffffffffffffffffffffff1661097f909392919063ffffffff16565b610627565b6106278a8a8481811061055857610558611100565b9050606002016040016020810190610570919061112d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260019073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa1580156105db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ff9190611005565b610609919061101c565b73ffffffffffffffffffffffffffffffffffffffff84169190610a61565b50600101610446565b506040517fe8ff45ca00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000169063e8ff45ca9034906106a7908890889060040161114f565b5f604051808303818588803b1580156106be575f80fd5b505af11580156106d0573d5f803e3d5ffd5b50889350505067ffffffffffffffff82111590506106f0576106f06110d3565b604051908082528060200260200182016040528015610719578160200160208202803683370190505b5091505f5b858110156108805781818151811061073857610738611100565b602002602001015161077f88888481811061075557610755611100565b905060600201602001602081019061076d919061112d565b8989858181106103ec576103ec611100565b610789919061101c565b83828151811061079b5761079b611100565b6020026020010181815250508686828181106107b9576107b9611100565b905060600201604001358382815181106107d5576107d5611100565b60200260200101511015610878578686828181106107f5576107f5611100565b61080b926020606090920201908101915061112d565b83828151811061081d5761081d611100565b60209081029190910101516040517f63ecb9f600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401610345565b60010161071e565b50509695505050505050565b5f7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff8416016108e8575073ffffffffffffffffffffffffffffffffffffffff811631610979565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906370a0823190602401602060405180830381865afa158015610952573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109769190611005565b90505b92915050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610a5b9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610abc565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610ab79084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016109d9565b505050565b5f610b1d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610bc79092919063ffffffff16565b805190915015610ab75780806020019051810190610b3b9190611290565b610ab7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610345565b6060610bd584845f85610bdd565b949350505050565b606082471015610c6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610345565b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051610c9791906112d1565b5f6040518083038185875af1925050503d805f8114610cd1576040519150601f19603f3d011682016040523d82523d5f602084013e610cd6565b606091505b5091509150610ce787838387610cf2565b979650505050505050565b60608315610d875782515f03610d805773ffffffffffffffffffffffffffffffffffffffff85163b610d80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610345565b5081610bd5565b610bd58383815115610d9c5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034591906112ec565b73ffffffffffffffffffffffffffffffffffffffff81168114610df1575f80fd5b50565b5f805f805f805f8060e0898b031215610e0b575f80fd5b8835610e1681610dd0565b9750602089013596506040890135610e2d81610dd0565b95506060890135610e3d81610dd0565b94506080890135935060a0890135610e5481610dd0565b925060c089013567ffffffffffffffff80821115610e70575f80fd5b818b0191508b601f830112610e83575f80fd5b813581811115610e91575f80fd5b8c6020828501011115610ea2575f80fd5b6020830194508093505050509295985092959890939650565b5f8083601f840112610ecb575f80fd5b50813567ffffffffffffffff811115610ee2575f80fd5b602083019150836020606083028501011115610efc575f80fd5b9250929050565b5f805f805f8060608789031215610f18575f80fd5b863567ffffffffffffffff80821115610f2f575f80fd5b610f3b8a838b01610ebb565b90985096506020890135915080821115610f53575f80fd5b610f5f8a838b01610ebb565b90965094506040890135915080821115610f77575f80fd5b818901915089601f830112610f8a575f80fd5b813581811115610f98575f80fd5b8a60208260051b8501011115610fac575f80fd5b6020830194508093505050509295509295509295565b602080825282518282018190525f9190848201906040850190845b81811015610ff957835183529284019291840191600101610fdd565b50909695505050505050565b5f60208284031215611015575f80fd5b5051919050565b81810381811115610979577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81835281816020850137505f602082840101525f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff84168152604060208201525f6110ca604083018486611054565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6020828403121561113d575f80fd5b813561114881610dd0565b9392505050565b60208082528181018390525f906040808401600586901b8501820187855b88811015611282577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18b36030181126111cd575f80fd5b8a01606081356111dc81610dd0565b73ffffffffffffffffffffffffffffffffffffffff168552818801358886015286820135368390037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1018112611230575f80fd5b90910187810191903567ffffffffffffffff81111561124d575f80fd5b80360383131561125b575f80fd5b818887015261126d8287018285611054565b9689019695505050918601915060010161116d565b509098975050505050505050565b5f602082840312156112a0575f80fd5b81518015158114611148575f80fd5b5f5b838110156112c95781810151838201526020016112b1565b50505f910152565b5f82516112e28184602087016112af565b9190910192915050565b602081525f825180602084015261130a8160408501602087016112af565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122063e4ea57388f5825c1a1858acc9bcc212a18eb1cfaeeed65cb00076b315f78b064736f6c63430008180033608060405234801561000f575f80fd5b5061048b8061001d5f395ff3fe608060405260043610610028575f3560e01c80631cff79cd1461002c578063e8ff45ca14610041575b5f80fd5b61003f61003a36600461024d565b610054565b005b61003f61004f3660046102c9565b6100b1565b6100ac3483838080601f0160208091040260200160405190810160405280939291908181526020018383808284375f920191909152505073ffffffffffffffffffffffffffffffffffffffff881693929150506101a5565b505050565b5f5b818110156100ac5761019d8383838181106100d0576100d0610338565b90506020028101906100e29190610365565b602001358484848181106100f8576100f8610338565b905060200281019061010a9190610365565b6101189060408101906103a1565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284375f9201919091525088925087915086905081811061016057610160610338565b90506020028101906101729190610365565b610180906020810190610409565b73ffffffffffffffffffffffffffffffffffffffff1691906101a5565b6001016100b3565b5f808473ffffffffffffffffffffffffffffffffffffffff1684846040516101cd9190610429565b5f6040518083038185875af1925050503d805f8114610207576040519150601f19603f3d011682016040523d82523d5f602084013e61020c565b606091505b50915091508161021e57805181602001fd5b5050505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114610248575f80fd5b919050565b5f805f6040848603121561025f575f80fd5b61026884610225565b9250602084013567ffffffffffffffff80821115610284575f80fd5b818601915086601f830112610297575f80fd5b8135818111156102a5575f80fd5b8760208285010111156102b6575f80fd5b6020830194508093505050509250925092565b5f80602083850312156102da575f80fd5b823567ffffffffffffffff808211156102f1575f80fd5b818501915085601f830112610304575f80fd5b813581811115610312575f80fd5b8660208260051b8501011115610326575f80fd5b60209290920196919550909350505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa1833603018112610397575f80fd5b9190910192915050565b5f8083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe18436030181126103d4575f80fd5b83018035915067ffffffffffffffff8211156103ee575f80fd5b602001915036819003821315610402575f80fd5b9250929050565b5f60208284031215610419575f80fd5b61042282610225565b9392505050565b5f82515f5b81811015610448576020818601810151858301520161042e565b505f92019182525091905056fea2646970667358221220b3bfec88587cd8556eb0ea1aa9e38b422c0a9755208e59b297bf6f6cd82ee8f164736f6c63430008180033

Deployed Bytecode

0x608060405260043610610033575f3560e01c80635f3bd1c814610037578063d33721a51461005d578063e8382b011461007d575b5f80fd5b61004a610045366004610df4565b6100d5565b6040519081526020015b60405180910390f35b61007061006b366004610f03565b61035b565b6040516100549190610fc2565b348015610088575f80fd5b506100b07f000000000000000000000000ad27827c312cd5e71311d68e180a9872d42de23d81565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610054565b5f806100f773ffffffffffffffffffffffffffffffffffffffff88168961088c565b905073ffffffffffffffffffffffffffffffffffffffff8a1673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146102145788156101575761015273ffffffffffffffffffffffffffffffffffffffff8b1633878c61097f565b610214565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015261021490869060019073ffffffffffffffffffffffffffffffffffffffff8e16906370a0823190602401602060405180830381865afa1580156101c8573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101ec9190611005565b6101f6919061101c565b73ffffffffffffffffffffffffffffffffffffffff8d169190610a61565b6040517f1cff79cd00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ad27827c312cd5e71311d68e180a9872d42de23d1690631cff79cd90349061028c9089908990899060040161109b565b5f604051808303818588803b1580156102a3575f80fd5b505af11580156102b5573d5f803e3d5ffd5b5050505050806102e4898973ffffffffffffffffffffffffffffffffffffffff1661088c90919063ffffffff16565b6102ee919061101c565b91508582101561034e576040517f63ecb9f600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff88166004820152602481018390526044015b60405180910390fd5b5098975050505050505050565b60605f8467ffffffffffffffff811115610377576103776110d3565b6040519080825280602002602001820160405280156103a0578160200160208202803683370190505b5090505f5b858110156104435761041e8787838181106103c2576103c2611100565b90506060020160200160208101906103da919061112d565b8888848181106103ec576103ec611100565b610402926020606090920201908101915061112d565b73ffffffffffffffffffffffffffffffffffffffff169061088c565b82828151811061043057610430611100565b60209081029190910101526001016103a5565b505f5b87811015610630575f89898381811061046157610461611100565b610477926020606090920201908101915061112d565b905073ffffffffffffffffffffffffffffffffffffffff811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610627575f8a8a848181106104bd576104bd611100565b9050606002016020013511156105435761053e338b8b858181106104e3576104e3611100565b90506060020160400160208101906104fb919061112d565b8c8c8681811061050d5761050d611100565b905060600201602001358473ffffffffffffffffffffffffffffffffffffffff1661097f909392919063ffffffff16565b610627565b6106278a8a8481811061055857610558611100565b9050606002016040016020810190610570919061112d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260019073ffffffffffffffffffffffffffffffffffffffff8516906370a0823190602401602060405180830381865afa1580156105db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105ff9190611005565b610609919061101c565b73ffffffffffffffffffffffffffffffffffffffff84169190610a61565b50600101610446565b506040517fe8ff45ca00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000ad27827c312cd5e71311d68e180a9872d42de23d169063e8ff45ca9034906106a7908890889060040161114f565b5f604051808303818588803b1580156106be575f80fd5b505af11580156106d0573d5f803e3d5ffd5b50889350505067ffffffffffffffff82111590506106f0576106f06110d3565b604051908082528060200260200182016040528015610719578160200160208202803683370190505b5091505f5b858110156108805781818151811061073857610738611100565b602002602001015161077f88888481811061075557610755611100565b905060600201602001602081019061076d919061112d565b8989858181106103ec576103ec611100565b610789919061101c565b83828151811061079b5761079b611100565b6020026020010181815250508686828181106107b9576107b9611100565b905060600201604001358382815181106107d5576107d5611100565b60200260200101511015610878578686828181106107f5576107f5611100565b61080b926020606090920201908101915061112d565b83828151811061081d5761081d611100565b60209081029190910101516040517f63ecb9f600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff90921660048301526024820152604401610345565b60010161071e565b50509695505050505050565b5f7fffffffffffffffffffffffff111111111111111111111111111111111111111273ffffffffffffffffffffffffffffffffffffffff8416016108e8575073ffffffffffffffffffffffffffffffffffffffff811631610979565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff83811660048301528416906370a0823190602401602060405180830381865afa158015610952573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109769190611005565b90505b92915050565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610a5b9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152610abc565b50505050565b60405173ffffffffffffffffffffffffffffffffffffffff8316602482015260448101829052610ab79084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064016109d9565b505050565b5f610b1d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610bc79092919063ffffffff16565b805190915015610ab75780806020019051810190610b3b9190611290565b610ab7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610345565b6060610bd584845f85610bdd565b949350505050565b606082471015610c6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610345565b5f808673ffffffffffffffffffffffffffffffffffffffff168587604051610c9791906112d1565b5f6040518083038185875af1925050503d805f8114610cd1576040519150601f19603f3d011682016040523d82523d5f602084013e610cd6565b606091505b5091509150610ce787838387610cf2565b979650505050505050565b60608315610d875782515f03610d805773ffffffffffffffffffffffffffffffffffffffff85163b610d80576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610345565b5081610bd5565b610bd58383815115610d9c5781518083602001fd5b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161034591906112ec565b73ffffffffffffffffffffffffffffffffffffffff81168114610df1575f80fd5b50565b5f805f805f805f8060e0898b031215610e0b575f80fd5b8835610e1681610dd0565b9750602089013596506040890135610e2d81610dd0565b95506060890135610e3d81610dd0565b94506080890135935060a0890135610e5481610dd0565b925060c089013567ffffffffffffffff80821115610e70575f80fd5b818b0191508b601f830112610e83575f80fd5b813581811115610e91575f80fd5b8c6020828501011115610ea2575f80fd5b6020830194508093505050509295985092959890939650565b5f8083601f840112610ecb575f80fd5b50813567ffffffffffffffff811115610ee2575f80fd5b602083019150836020606083028501011115610efc575f80fd5b9250929050565b5f805f805f8060608789031215610f18575f80fd5b863567ffffffffffffffff80821115610f2f575f80fd5b610f3b8a838b01610ebb565b90985096506020890135915080821115610f53575f80fd5b610f5f8a838b01610ebb565b90965094506040890135915080821115610f77575f80fd5b818901915089601f830112610f8a575f80fd5b813581811115610f98575f80fd5b8a60208260051b8501011115610fac575f80fd5b6020830194508093505050509295509295509295565b602080825282518282018190525f9190848201906040850190845b81811015610ff957835183529284019291840191600101610fdd565b50909695505050505050565b5f60208284031215611015575f80fd5b5051919050565b81810381811115610979577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b81835281816020850137505f602082840101525f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b73ffffffffffffffffffffffffffffffffffffffff84168152604060208201525f6110ca604083018486611054565b95945050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f6020828403121561113d575f80fd5b813561114881610dd0565b9392505050565b60208082528181018390525f906040808401600586901b8501820187855b88811015611282577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc088840301845281357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa18b36030181126111cd575f80fd5b8a01606081356111dc81610dd0565b73ffffffffffffffffffffffffffffffffffffffff168552818801358886015286820135368390037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe1018112611230575f80fd5b90910187810191903567ffffffffffffffff81111561124d575f80fd5b80360383131561125b575f80fd5b818887015261126d8287018285611054565b9689019695505050918601915060010161116d565b509098975050505050505050565b5f602082840312156112a0575f80fd5b81518015158114611148575f80fd5b5f5b838110156112c95781810151838201526020016112b1565b50505f910152565b5f82516112e28184602087016112af565b9190910192915050565b602081525f825180602084015261130a8160408501602087016112af565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016919091016040019291505056fea264697066735822122063e4ea57388f5825c1a1858acc9bcc212a18eb1cfaeeed65cb00076b315f78b064736f6c63430008180033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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