ETH Price: $3,088.04 (-7.25%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Execute Entry212724812024-11-26 14:20:4762 days ago1732630847IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0052694215.27220051
Execute Entry212723732024-11-26 13:59:1162 days ago1732629551IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0037365714.5464051
Execute Entry212723542024-11-26 13:55:2362 days ago1732629323IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0049139315.10572665
Execute Entry212723532024-11-26 13:55:1162 days ago1732629311IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0048152815.04761675
Execute Entry212723422024-11-26 13:52:5962 days ago1732629179IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0039974615.31582377
Execute Entry212723202024-11-26 13:48:3562 days ago1732628915IN
0x100ed6Fa...6Ea6C617a
0 ETH0.004087615.90074987
Execute Entry212723082024-11-26 13:46:1162 days ago1732628771IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0063183716.19373047
Execute Entry212661392024-11-25 17:03:3563 days ago1732554215IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0071193218.27355777
Execute Entry212491912024-11-23 8:17:4765 days ago1732349867IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0044768311.46164741
Execute Entry212491812024-11-23 8:15:4765 days ago1732349747IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0064666412.58675708
Execute Entry212447922024-11-22 17:34:5966 days ago1732296899IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0063586616.38046579
Execute Entry212446662024-11-22 17:09:1166 days ago1732295351IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0053424713.81219552
Execute Entry212446152024-11-22 16:58:5966 days ago1732294739IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0091380616.57448842
Execute Entry210252672024-10-23 2:22:5996 days ago1729650179IN
0x100ed6Fa...6Ea6C617a
0 ETH0.002001386.91407814
Execute Entry210187802024-10-22 4:38:1197 days ago1729571891IN
0x100ed6Fa...6Ea6C617a
0 ETH0.002038456.3578028
Execute Entry210175232024-10-22 0:24:3597 days ago1729556675IN
0x100ed6Fa...6Ea6C617a
0 ETH0.003580567.18595664
Execute Entry210166612024-10-21 21:31:4797 days ago1729546307IN
0x100ed6Fa...6Ea6C617a
0 ETH0.002168717.5445545
Execute Entry210143972024-10-21 13:57:1198 days ago1729519031IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0077357317.54190481
Execute Entry210142912024-10-21 13:35:5998 days ago1729517759IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0047313510.32518017
Execute Entry210118742024-10-21 5:30:4798 days ago1729488647IN
0x100ed6Fa...6Ea6C617a
0 ETH0.003244456.85934703
Execute Entry210096262024-10-20 21:58:4798 days ago1729461527IN
0x100ed6Fa...6Ea6C617a
0 ETH0.002132957.97921476
Execute Entry210083482024-10-20 17:41:4799 days ago1729446107IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0043359811.69110607
Execute Entry210069112024-10-20 12:52:1199 days ago1729428731IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0054499114.8385753
Execute Entry210068732024-10-20 12:44:3599 days ago1729428275IN
0x100ed6Fa...6Ea6C617a
0 ETH0.0034303613.10980968
Execute Entry210067032024-10-20 12:10:3599 days ago1729426235IN
0x100ed6Fa...6Ea6C617a
0 ETH0.004192310.85167517
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UniswapXBarterReactorCallback

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
paris EvmVersion
File 1 of 19 : UniswapXBarterReactorCallback.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./features/ContractOnlyEthRecipient.sol";
import "./interfaces/ISwapExecutor.sol";
import "./libs/TokenLibrary.sol";
import "./Errors.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "./uniswapX/interfaces/IReactorCallback.sol";
import "./uniswapX/base/ReactorStructs.sol";
import "./libs/TokenLibrary.sol";
import "@1inch/solidity-utils/contracts/libraries/RevertReasonParser.sol";
import "./libs/SafeERC20Ext.sol";

contract UniswapXBarterReactorCallback is IReactorCallback {
    using SafeERC20 for IERC20;
    using SafeERC20Ext for IERC20;
    using TokenLibrary for IERC20;

    error MsgSenderIsNotReactor();
    error OnlyExecuteSwapIsAllowed();

    IReactor private immutable reactor;

    constructor(IReactor _reactor)
    {
        reactor = _reactor;
    }

    function reactorCallback(ResolvedOrder[] memory resolvedOrders, bytes memory callbackData)
        external
    {
        if (msg.sender != address(reactor)) {
            revert MsgSenderIsNotReactor();
        }

        (address executor, UniswapXSwapDesciption[] memory multicallData) =
            abi.decode(callbackData, (address, UniswapXSwapDesciption[]));

        unchecked {
            for (uint256 i = 0; i < multicallData.length; i++) {
                UniswapXSwapDesciption memory swapDescription = multicallData[i];
                bytes memory data = swapDescription.data;
                bytes32 sig;
                assembly {
                    sig := and(mload(add(data, 0x20)), 0xffffffff00000000000000000000000000000000000000000000000000000000)
                }
                if (sig != bytes32(ISwapExecutor.executeSwap.selector)) {
                    revert OnlyExecuteSwapIsAllowed();
                }

                uint256 totalOutputs = 1; // keeping 1 wei on contract for cheaper swaps

                IERC20 targetToken = resolvedOrders[i].outputs[0].token;
                for (uint256 j = 0; j < resolvedOrders[i].outputs.length; j++) {
                    OutputToken memory output = resolvedOrders[i].outputs[j];
                    totalOutputs += output.amount;
                    if (targetToken != output.token) {
                        revert SingleOutputTokenAllowed(address(targetToken), address(output.token));
                    }
                }

                uint256 outputAmountPatchingOffset = swapDescription.outputAmountPatchingOffset;
                // patching data inlined from LowLevelHelper.patchUint
                assembly {
                    mstore(add(data, outputAmountPatchingOffset), totalOutputs)
                }

                // reactorCallback is not payable so source token cannot be native
                swapDescription.sourceToken.safeTransfer(address(executor), swapDescription.sourceAmount);
                (bool success, bytes memory result) = executor.call(data);
                if (!success) {
                    string memory reason = RevertReasonParser.parse(
                        result,
                        "UNIX: "
                    );
                    revert(reason);
                }
            }

            for (uint256 i = 0; i < resolvedOrders.length; i++) {
                for (uint256 j = 0; j < resolvedOrders[i].outputs.length; j++) {
                    if (resolvedOrders[i].outputs[j].token.allowance(address(this), msg.sender) == 0) {
                        resolvedOrders[i].outputs[j].token.setAllowance(
                            msg.sender,
                            type(uint256).max
                        );
                    }
                }
            }
        }
    }

    function executeEntry(SignedOrder calldata order, bytes calldata callbackData) external {
        reactor.executeWithCallback(order, callbackData);
    }

    function executeBatchEntry(SignedOrder[] calldata orders, bytes calldata callbackData) external {
        reactor.executeBatchWithCallback(orders, callbackData);
    }

    struct UniswapXSwapDesciption {
        uint64 outputAmountPatchingOffset;
        IERC20 sourceToken;
        uint256 sourceAmount;
        bytes data;
    }
}

File 2 of 19 : RevertReasonParser.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./StringUtil.sol";

/** @title Library that allows to parse unsuccessful arbitrary calls revert reasons.
 * See https://solidity.readthedocs.io/en/latest/control-structures.html#revert for details.
 * Note that we assume revert reason being abi-encoded as Error(string) so it may fail to parse reason
 * if structured reverts appear in the future.
 *
 * All unsuccessful parsings get encoded as Unknown(data) string
 */
library RevertReasonParser {
    using StringUtil for uint256;
    using StringUtil for bytes;

    error InvalidRevertReason();

    bytes4 private constant _ERROR_SELECTOR = bytes4(keccak256("Error(string)"));
    bytes4 private constant _PANIC_SELECTOR = bytes4(keccak256("Panic(uint256)"));

    /// @dev Parses error `data` and returns actual with `prefix`.
    function parse(bytes memory data, string memory prefix) internal pure returns (string memory) {
        // https://solidity.readthedocs.io/en/latest/control-structures.html#revert
        // We assume that revert reason is abi-encoded as Error(string)
        bytes4 selector;
        if (data.length >= 4) {
            assembly ("memory-safe") { // solhint-disable-line no-inline-assembly
                selector := mload(add(data, 0x20))
            }
        }

        // 68 = 4-byte selector + 32 bytes offset + 32 bytes length
        if (selector == _ERROR_SELECTOR && data.length >= 68) {
            string memory reason;
            assembly ("memory-safe") { // solhint-disable-line no-inline-assembly
                // 68 = 32 bytes data length + 4-byte selector + 32 bytes offset
                reason := add(data, 68)
            }
            /*
                revert reason is padded up to 32 bytes with ABI encoder: Error(string)
                also sometimes there is extra 32 bytes of zeros padded in the end:
                https://github.com/ethereum/solidity/issues/10170
                because of that we can't check for equality and instead check
                that string length + extra 68 bytes is equal or greater than overall data length
            */
            if (data.length >= 68 + bytes(reason).length) {
                return string.concat(prefix, "Error(", reason, ")");
            }
        }
        // 36 = 4-byte selector + 32 bytes integer
        else if (selector == _PANIC_SELECTOR && data.length == 36) {
            uint256 code;
            assembly ("memory-safe") { // solhint-disable-line no-inline-assembly
                // 36 = 32 bytes data length + 4-byte selector
                code := mload(add(data, 36))
            }
            return string.concat(prefix, "Panic(", code.toHex(), ")");
        }
        return string.concat(prefix, "Unknown(", data.toHex(), ")");
    }
}

File 3 of 19 : StringUtil.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @title Library with gas-efficient string operations
library StringUtil {
    function toHex(uint256 value) internal pure returns (string memory) {
        return toHex(abi.encodePacked(value));
    }

    function toHex(address value) internal pure returns (string memory) {
        return toHex(abi.encodePacked(value));
    }

    /// @dev this is the assembly adaptation of highly optimized toHex16 code from Mikhail Vladimirov
    /// https://stackoverflow.com/a/69266989
    function toHex(bytes memory data) internal pure returns (string memory result) {
        assembly ("memory-safe") { // solhint-disable-line no-inline-assembly
            function _toHex16(input) -> output {
                output := or(
                    and(input, 0xFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000),
                    shr(64, and(input, 0x0000000000000000FFFFFFFFFFFFFFFF00000000000000000000000000000000))
                )
                output := or(
                    and(output, 0xFFFFFFFF000000000000000000000000FFFFFFFF000000000000000000000000),
                    shr(32, and(output, 0x00000000FFFFFFFF000000000000000000000000FFFFFFFF0000000000000000))
                )
                output := or(
                    and(output, 0xFFFF000000000000FFFF000000000000FFFF000000000000FFFF000000000000),
                    shr(16, and(output, 0x0000FFFF000000000000FFFF000000000000FFFF000000000000FFFF00000000))
                )
                output := or(
                    and(output, 0xFF000000FF000000FF000000FF000000FF000000FF000000FF000000FF000000),
                    shr(8, and(output, 0x00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000))
                )
                output := or(
                    shr(4, and(output, 0xF000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000)),
                    shr(8, and(output, 0x0F000F000F000F000F000F000F000F000F000F000F000F000F000F000F000F00))
                )
                output := add(
                    add(0x3030303030303030303030303030303030303030303030303030303030303030, output),
                    mul(
                        and(
                            shr(4, add(output, 0x0606060606060606060606060606060606060606060606060606060606060606)),
                            0x0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F0F
                        ),
                        7 // Change 7 to 39 for lower case output
                    )
                )
            }

            result := mload(0x40)
            let length := mload(data)
            let resultLength := shl(1, length)
            let toPtr := add(result, 0x22) // 32 bytes for length + 2 bytes for '0x'
            mstore(0x40, add(toPtr, resultLength)) // move free memory pointer
            mstore(add(result, 2), 0x3078) // 0x3078 is right aligned so we write to `result + 2`
            // to store the last 2 bytes in the beginning of the string
            mstore(result, add(resultLength, 2)) // extra 2 bytes for '0x'

            for {
                let fromPtr := add(data, 0x20)
                let endPtr := add(fromPtr, length)
            } lt(fromPtr, endPtr) {
                fromPtr := add(fromPtr, 0x20)
            } {
                let rawData := mload(fromPtr)
                let hexData := _toHex16(rawData)
                mstore(toPtr, hexData)
                toPtr := add(toPtr, 0x20)
                hexData := _toHex16(shl(128, rawData))
                mstore(toPtr, hexData)
                toPtr := add(toPtr, 0x20)
            }
        }
    }
}

File 4 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

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

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

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

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

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

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

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

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

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

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

File 5 of 19 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;

import {Ownable} from "./Ownable.sol";

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

File 6 of 19 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.20;

/**
 * @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.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

File 7 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

File 8 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC20Permit} from "../extensions/IERC20Permit.sol";
import {Address} from "../../../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;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

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

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

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

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

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

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

File 9 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

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

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

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

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

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

File 10 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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

File 11 of 19 : Errors.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
pragma abicoder v1;

enum EnumType {
    SourceTokenInteraction,
    TargetTokenInteraction,
    CallType
}

enum UniswapV3LikeProtocol {
    Uniswap,
    Kyber,
    Maverick,
    MaverickV2,
    Pancake,
    Camelot
}

error EthValueAmountMismatch();
error EthValueSourceTokenMismatch();
error MinReturnError(uint256, uint256);
error EmptySwapOnExecutor();
error EmptySwap();
error ZeroInput();
error ZeroRecipient();
error TransactionExpired(uint256, uint256);
error PermitNotAllowedForEthSwap();
error SwapTotalAmountCannotBeZero();
error SwapAmountCannotBeZero();
error DirectEthDepositIsForbidden();
error MStableInvalidSwapType(uint256);
error AddressCannotBeZero();
error TransferFromNotAllowed();
error EnumOutOfRangeValue(EnumType, uint256);
error BadUniswapV3LikePool(UniswapV3LikeProtocol);
error ERC1820InterfactionForbidden();
error SingleOutputTokenAllowed(address, address);
error TransferCallbackCallerIsNotOrderBook();
error UnknownPoolType(uint256);

File 12 of 19 : ContractOnlyEthRecipient.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
pragma abicoder v1;

import "../Errors.sol";

/**
 * @title ContractOnlyEthRecipient
 * @notice Base contract that rejects any direct ethereum deposits. This is a failsafe against users who can accidentaly send ether
 */
abstract contract ContractOnlyEthRecipient {
    receive() external payable {
        // solhint-disable-next-line avoid-tx-origin
        if (msg.sender == tx.origin) {
            revert DirectEthDepositIsForbidden();
        }
    }
}

File 13 of 19 : ISwapExecutor.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

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

/**
 * @title ISwapExecutor
 * @notice Interface for executing low level swaps, including all relevant structs and enums
 */
interface ISwapExecutor {
    struct TokenTransferInfo {
        IERC20 token;
        uint256 exactAmount;
        address payable recipient;
    }

    struct TargetSwapDescription {
        uint256 tokenRatio;
        address target;
        bytes data;
        // uint8 callType; first 8 bits
        // uint8 sourceInteraction; next 8 bits
        // uint32 amountOffset; next 32 bits
        // address sourceTokenInteractionTarget; last 160 bits
        uint256 params;
    }

    struct SwapDescription {
        IERC20 sourceToken;
        TargetSwapDescription[] swaps;
    }

    function executeSwap(TokenTransferInfo[] calldata targetTokenTransferInfos, SwapDescription[] calldata swapDescriptions) external payable;
}

uint8 constant CALL_TYPE_DIRECT = 0;
uint8 constant CALL_TYPE_CALCULATED = 1;
uint8 constant SOURCE_TOKEN_INTERACTION_NONE = 0;
uint8 constant SOURCE_TOKEN_INTERACTION_TRANSFER = 1;
uint8 constant SOURCE_TOKEN_INTERACTION_APPROVE = 2;

File 14 of 19 : SafeERC20Ext.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
pragma abicoder v1;

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

library SafeERC20Ext {
    error SafeERC20FailedOperationBarter(address token);

    using Address for address;

    /// @notice Overwrites current allowance to new value. This might be unsafe for some uses so be careful
    function setAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, value)));
    }

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

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperationBarter(address(token));
        }
    }
}

File 15 of 19 : TokenLibrary.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;
pragma abicoder v1;

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

/**
 * @title TokenLibrary
 * @notice Library for basic interactions with tokens (such as deposits, withdrawals, transfers)
 */
library TokenLibrary {
    using SafeERC20 for IERC20;

    function isEth(IERC20 token) internal pure returns(bool) {
        return address(token) == address(0) || address(token) == address(0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE);
    }

    function universalBalanceOf(IERC20 token, address account) internal view returns (uint256) {
        if (isEth(token)) {
            return account.balance;
        } else {
            return token.balanceOf(account);
        }
    }

    function universalTransfer(IERC20 token, address payable to, uint256 amount) internal {
        if (amount == 0) {
            return;
        }
        if (isEth(token)) {
            to.transfer(amount);
        } else {
            token.safeTransfer(to, amount);
        }
    }
}

File 16 of 19 : ReactorStructs.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import {IReactor} from "../interfaces/IReactor.sol";
import {IValidationCallback} from "../interfaces/IValidationCallback.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

/// @dev generic order information
///  should be included as the first field in any concrete order types
struct OrderInfo {
    // The address of the reactor that this order is targeting
    // Note that this must be included in every order so the swapper
    // signature commits to the specific reactor that they trust to fill their order properly
    IReactor reactor;
    // The address of the user which created the order
    // Note that this must be included so that order hashes are unique by swapper
    address swapper;
    // The nonce of the order, allowing for signature replay protection and cancellation
    uint256 nonce;
    // The timestamp after which this order is no longer valid
    uint256 deadline;
    // Custom validation contract
    IValidationCallback additionalValidationContract;
    // Encoded validation params for additionalValidationContract
    bytes additionalValidationData;
}

/// @dev tokens that need to be sent from the swapper in order to satisfy an order
struct InputToken {
    IERC20 token;
    uint256 amount;
    // Needed for dutch decaying inputs
    uint256 maxAmount;
}

/// @dev tokens that need to be received by the recipient in order to satisfy an order
struct OutputToken {
    IERC20 token;
    uint256 amount;
    address recipient;
}

/// @dev generic concrete order that specifies exact tokens which need to be sent and received
struct ResolvedOrder {
    OrderInfo info;
    InputToken input;
    OutputToken[] outputs;
    bytes sig;
    bytes32 hash;
}

/// @dev external struct including a generic encoded order and swapper signature
///  The order bytes will be parsed and mapped to a ResolvedOrder in the concrete reactor contract
struct SignedOrder {
    bytes order;
    bytes sig;
}

File 17 of 19 : IReactor.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import {ResolvedOrder, SignedOrder} from "../base/ReactorStructs.sol";
import {IReactorCallback} from "./IReactorCallback.sol";

/// @notice Interface for order execution reactors
interface IReactor {
    /// @notice Execute a single order
    /// @param order The order definition and valid signature to execute
    function execute(SignedOrder calldata order) external payable;

    /// @notice Execute a single order using the given callback data
    /// @param order The order definition and valid signature to execute
    function executeWithCallback(SignedOrder calldata order, bytes calldata callbackData) external payable;

    /// @notice Execute the given orders at once
    /// @param orders The order definitions and valid signatures to execute
    function executeBatch(SignedOrder[] calldata orders) external payable;

    /// @notice Execute the given orders at once using a callback with the given callback data
    /// @param orders The order definitions and valid signatures to execute
    /// @param callbackData The callbackData to pass to the callback
    function executeBatchWithCallback(SignedOrder[] calldata orders, bytes calldata callbackData) external payable;
}

File 18 of 19 : IReactorCallback.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import {ResolvedOrder} from "../base/ReactorStructs.sol";

/// @notice Callback for executing orders through a reactor.
interface IReactorCallback {
    /// @notice Called by the reactor during the execution of an order
    /// @param resolvedOrders Has inputs and outputs
    /// @param callbackData The callbackData specified for an order execution
    /// @dev Must have approved each token and amount in outputs to the msg.sender
    function reactorCallback(ResolvedOrder[] memory resolvedOrders, bytes memory callbackData) external;
}

File 19 of 19 : IValidationCallback.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.24;

import {OrderInfo, ResolvedOrder} from "../base/ReactorStructs.sol";

/// @notice Callback to validate an order
interface IValidationCallback {
    /// @notice Called by the reactor for custom validation of an order. Will revert if validation fails
    /// @param filler The filler of the order
    /// @param resolvedOrder The resolved order to fill
    function validate(address filler, ResolvedOrder calldata resolvedOrder) external view;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IReactor","name":"_reactor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"MsgSenderIsNotReactor","type":"error"},{"inputs":[],"name":"OnlyExecuteSwapIsAllowed","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperationBarter","type":"error"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"SingleOutputTokenAllowed","type":"error"},{"inputs":[{"components":[{"internalType":"bytes","name":"order","type":"bytes"},{"internalType":"bytes","name":"sig","type":"bytes"}],"internalType":"struct SignedOrder[]","name":"orders","type":"tuple[]"},{"internalType":"bytes","name":"callbackData","type":"bytes"}],"name":"executeBatchEntry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bytes","name":"order","type":"bytes"},{"internalType":"bytes","name":"sig","type":"bytes"}],"internalType":"struct SignedOrder","name":"order","type":"tuple"},{"internalType":"bytes","name":"callbackData","type":"bytes"}],"name":"executeEntry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"contract IReactor","name":"reactor","type":"address"},{"internalType":"address","name":"swapper","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"contract IValidationCallback","name":"additionalValidationContract","type":"address"},{"internalType":"bytes","name":"additionalValidationData","type":"bytes"}],"internalType":"struct OrderInfo","name":"info","type":"tuple"},{"components":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"maxAmount","type":"uint256"}],"internalType":"struct InputToken","name":"input","type":"tuple"},{"components":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"internalType":"struct OutputToken[]","name":"outputs","type":"tuple[]"},{"internalType":"bytes","name":"sig","type":"bytes"},{"internalType":"bytes32","name":"hash","type":"bytes32"}],"internalType":"struct ResolvedOrder[]","name":"resolvedOrders","type":"tuple[]"},{"internalType":"bytes","name":"callbackData","type":"bytes"}],"name":"reactorCallback","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b50604051611e1a380380611e1a83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b608051611d826100986000396000818160be0152818161016b01526101f60152611d826000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634738bd38146100465780634ff7784f1461005b578063585da6281461006e575b600080fd5b61005961005436600461115d565b610081565b005b6100596100693660046111ce565b61012e565b61005961007c3660046115dc565b6101de565b6040517f0d33588400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690630d335884906100f790869086908690600401611857565b600060405180830381600087803b15801561011157600080fd5b505af1158015610125573d6000803e3d6000fd5b50505050505050565b6040517f13fb72c700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906313fb72c7906101a690879087908790879060040161187d565b600060405180830381600087803b1580156101c057600080fd5b505af11580156101d4573d6000803e3d6000fd5b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461024d576040517f251dc8e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080828060200190518101906102649190611963565b9150915060005b81518110156105a857600082828151811061028857610288611aeb565b6020908102919091018101516060810151918201519092507fffffffff00000000000000000000000000000000000000000000000000000000167f92b1274500000000000000000000000000000000000000000000000000000000811461031b576040517f69539e5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060019050600089868151811061033557610335611aeb565b60200260200101516040015160008151811061035357610353611aeb565b602002602001015160000151905060005b8a878151811061037657610376611aeb565b602002602001015160400151518110156104685760008b888151811061039e5761039e611aeb565b60200260200101516040015182815181106103bb576103bb611aeb565b60200260200101519050806020015184019350806000015173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461045f5780516040517f50b4563b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808616600483015290911660248201526044015b60405180910390fd5b50600101610364565b50845167ffffffffffffffff16848101839052604086015160208701516104a99173ffffffffffffffffffffffffffffffffffffffff909116908b90610752565b6000808a73ffffffffffffffffffffffffffffffffffffffff16876040516104d19190611b1a565b6000604051808303816000865af19150503d806000811461050e576040519150601f19603f3d011682016040523d82523d6000602084013e610513565b606091505b50915091508161059457600061055e826040518060400160405280600681526020017f554e49583a2000000000000000000000000000000000000000000000000000008152506107e4565b9050806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104569190611b36565b50506001909601955061026b945050505050565b5060005b845181101561074b5760005b8582815181106105ca576105ca611aeb565b60200260200101516040015151811015610742578582815181106105f0576105f0611aeb565b602002602001015160400151818151811061060d5761060d611aeb565b6020908102919091010151516040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063dd62ed3e90604401602060405180830381865afa15801561068a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ae9190611b87565b60000361073a5761073a337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8885815181106106ec576106ec611aeb565b602002602001015160400151848151811061070957610709611aeb565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff166109469092919063ffffffff16565b6001016105b8565b506001016105ac565b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526107df9084906109d3565b505050565b6060600060048451106107f8575060208301515b7fffffffff0000000000000000000000000000000000000000000000000000000081167f08c379a00000000000000000000000000000000000000000000000000000000014801561084b57506044845110155b1561089b576044848101805190916108639190611ba0565b85511061089557838160405160200161087d929190611bda565b60405160208183030381529060405292505050610940565b50610912565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e487b71000000000000000000000000000000000000000000000000000000001480156108ed575083516024145b156109125760248401518361090182610a69565b60405160200161087d929190611c5c565b8261091c85610a91565b60405160200161092d929190611ca8565b6040516020818303038152906040529150505b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526107df908490610eca565b60006109f573ffffffffffffffffffffffffffffffffffffffff841683610f68565b90508051600014158015610a1a575080806020019051810190610a189190611d2a565b155b156107df576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602401610456565b606061094082604051602001610a8191815260200190565b6040516020818303038152906040525b6060604051905081518060011b6022830181810160405261307860028501526002820184526020850191508282015b80831015610ec1578251610cb681600077ffffffffffffffff00000000000000000000000000000000821660401c7fffffffffffffffff00000000000000000000000000000000000000000000000083161790507bffffffff000000000000000000000000ffffffff0000000000000000811660201c7fffffffff000000000000000000000000ffffffff00000000000000000000000082161790507dffff000000000000ffff000000000000ffff000000000000ffff00000000811660101c7fffff000000000000ffff000000000000ffff000000000000ffff00000000000082161790507eff000000ff000000ff000000ff000000ff000000ff000000ff000000ff0000811660081c7fff000000ff000000ff000000ff000000ff000000ff000000ff000000ff00000082161790507f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00811660081c7ff000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000821660041c17905060077f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f7f0606060606060606060606060606060606060606060606060606060606060606830160041c1602817f303030303030303030303030303030303030303030303030303030303030303001019050919050565b808452602084019350610eae8260801b600077ffffffffffffffff00000000000000000000000000000000821660401c7fffffffffffffffff00000000000000000000000000000000000000000000000083161790507bffffffff000000000000000000000000ffffffff0000000000000000811660201c7fffffffff000000000000000000000000ffffffff00000000000000000000000082161790507dffff000000000000ffff000000000000ffff000000000000ffff00000000811660101c7fffff000000000000ffff000000000000ffff000000000000ffff00000000000082161790507eff000000ff000000ff000000ff000000ff000000ff000000ff000000ff0000811660081c7fff000000ff000000ff000000ff000000ff000000ff000000ff000000ff00000082161790507f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00811660081c7ff000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000821660041c17905060077f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f7f0606060606060606060606060606060606060606060606060606060606060606830160041c1602817f303030303030303030303030303030303030303030303030303030303030303001019050919050565b8452505060209283019290910190610ac0565b50505050919050565b6000610eec73ffffffffffffffffffffffffffffffffffffffff841683610f68565b90508051600014158015610f145750808060200190516020811015610f1057600080fd5b5051155b156107df57604080517fb12cca1f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015290519081900360240190fd5b6060610f7683836000610f7d565b9392505050565b606081471015610fbb576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610456565b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051610fe49190611b1a565b60006040518083038185875af1925050503d8060008114611021576040519150601f19603f3d011682016040523d82523d6000602084013e611026565b606091505b5091509150611036868383611040565b9695505050505050565b60608261105557611050826110cf565b610f76565b8151158015611079575073ffffffffffffffffffffffffffffffffffffffff84163b155b156110c8576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610456565b5080610f76565b8051156110df5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60008083601f84011261112657600080fd5b50813567ffffffffffffffff81111561113e57600080fd5b60208301915083602082850101111561115657600080fd5b9250929050565b60008060006040848603121561117257600080fd5b833567ffffffffffffffff8082111561118a57600080fd5b908501906040828803121561119e57600080fd5b909350602085013590808211156111b457600080fd5b506111c186828701611114565b9497909650939450505050565b600080600080604085870312156111e457600080fd5b843567ffffffffffffffff808211156111fc57600080fd5b818701915087601f83011261121057600080fd5b81358181111561121f57600080fd5b8860208260051b850101111561123457600080fd5b60209283019650945090860135908082111561124f57600080fd5b5061125c87828801611114565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff811182821017156112ba576112ba611268565b60405290565b60405160a0810167ffffffffffffffff811182821017156112ba576112ba611268565b6040516080810167ffffffffffffffff811182821017156112ba576112ba611268565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561134d5761134d611268565b604052919050565b600067ffffffffffffffff82111561136f5761136f611268565b5060051b60200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461111157600080fd5b600067ffffffffffffffff8211156113b5576113b5611268565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f8301126113f257600080fd5b81356114056114008261139b565b611306565b81815284602083860101111561141a57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561144957600080fd5b60405160c0810167ffffffffffffffff828210818311171561146d5761146d611268565b816040528293508435915061148182611379565b90825260208401359061149382611379565b8160208401526040850135604084015260608501356060840152608085013591506114bd82611379565b81608084015260a08501359150808211156114d757600080fd5b506114e4858286016113e1565b60a0830152505092915050565b60006060828403121561150357600080fd5b61150b611297565b9050813561151881611379565b80825250602082013560208201526040820135604082015292915050565b600082601f83011261154757600080fd5b8135602061155761140083611355565b8281526060928302850182019282820191908785111561157657600080fd5b8387015b858110156115cf5781818a0312156115925760008081fd5b61159a611297565b81356115a581611379565b815281860135868201526040808301356115be81611379565b90820152845292840192810161157a565b5090979650505050505050565b600080604083850312156115ef57600080fd5b823567ffffffffffffffff8082111561160757600080fd5b818501915085601f83011261161b57600080fd5b8135602061162b61140083611355565b82815260059290921b8401810191818101908984111561164a57600080fd5b8286015b8481101561173b578035868111156116665760008081fd5b870160e0818d037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181131561169c5760008081fd5b6116a46112c0565b86830135898111156116b65760008081fd5b6116c48f8983870101611437565b8252506116d48e604085016114f1565b8782015260a0830135898111156116eb5760008081fd5b6116f98f8983870101611536565b60408301525060c0830135898111156117125760008081fd5b6117208f89838701016113e1565b6060830152509101356080820152835291830191830161164e565b509650508601359250508082111561175257600080fd5b5061175f858286016113e1565b9150509250929050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261179e57600080fd5b830160208101925035905067ffffffffffffffff8111156117be57600080fd5b80360382131561115657600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60006118228283611769565b604085526118346040860182846117cd565b9150506118446020840184611769565b85830360208701526110368382846117cd565b60408152600061186a6040830186611816565b82810360208401526110368185876117cd565b6040808252810184905260006060600586901b830181019083018783805b8981101561191d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa087860301845282357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc18c36030181126118fb578283fd5b611907868d8301611816565b955050602093840193929092019160010161189b565b5050505082810360208401526119348185876117cd565b979650505050505050565b60005b8381101561195a578181015183820152602001611942565b50506000910152565b600080604080848603121561197757600080fd5b835161198281611379565b8093505060208085015167ffffffffffffffff808211156119a257600080fd5b818701915087601f8301126119b657600080fd5b81516119c461140082611355565b81815260059190911b8301840190848101908a8311156119e357600080fd5b8585015b83811015611ad9578051858111156119fe57600080fd5b86016080818e037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0011215611a3257600080fd5b611a3a6112e3565b888201518781168114611a4c57600080fd5b8152818a0151611a5b81611379565b818a015260608201518a820152608082015187811115611a7b5760008081fd5b8083019250508d603f830112611a915760008081fd5b88820151611aa16114008261139b565b8181528f8c838601011115611ab65760008081fd5b611ac5828c83018e870161193f565b6060830152508452509186019186016119e7565b50809750505050505050509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008251611b2c81846020870161193f565b9190910192915050565b6020815260008251806020840152611b5581604085016020870161193f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600060208284031215611b9957600080fd5b5051919050565b80820180821115610940577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008351611bec81846020880161193f565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351611c2681600684016020880161193f565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b60008351611c6e81846020880161193f565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351611c2681600684016020880161193f565b60008351611cba81846020880161193f565b7f556e6b6e6f776e280000000000000000000000000000000000000000000000009083019081528351611cf481600884016020880161193f565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b600060208284031215611d3c57600080fd5b81518015158114610f7657600080fdfea2646970667358221220a210283ae42213dcc2f3d2b1ba191d5a14d945d39951e25235641f22f39802e164736f6c6343000818003300000000000000000000000000000011f84b9aa48e5f8aa8b9897600006289be

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634738bd38146100465780634ff7784f1461005b578063585da6281461006e575b600080fd5b61005961005436600461115d565b610081565b005b6100596100693660046111ce565b61012e565b61005961007c3660046115dc565b6101de565b6040517f0d33588400000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000011f84b9aa48e5f8aa8b9897600006289be1690630d335884906100f790869086908690600401611857565b600060405180830381600087803b15801561011157600080fd5b505af1158015610125573d6000803e3d6000fd5b50505050505050565b6040517f13fb72c700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000011f84b9aa48e5f8aa8b9897600006289be16906313fb72c7906101a690879087908790879060040161187d565b600060405180830381600087803b1580156101c057600080fd5b505af11580156101d4573d6000803e3d6000fd5b5050505050505050565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000011f84b9aa48e5f8aa8b9897600006289be161461024d576040517f251dc8e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080828060200190518101906102649190611963565b9150915060005b81518110156105a857600082828151811061028857610288611aeb565b6020908102919091018101516060810151918201519092507fffffffff00000000000000000000000000000000000000000000000000000000167f92b1274500000000000000000000000000000000000000000000000000000000811461031b576040517f69539e5500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600060019050600089868151811061033557610335611aeb565b60200260200101516040015160008151811061035357610353611aeb565b602002602001015160000151905060005b8a878151811061037657610376611aeb565b602002602001015160400151518110156104685760008b888151811061039e5761039e611aeb565b60200260200101516040015182815181106103bb576103bb611aeb565b60200260200101519050806020015184019350806000015173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461045f5780516040517f50b4563b00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808616600483015290911660248201526044015b60405180910390fd5b50600101610364565b50845167ffffffffffffffff16848101839052604086015160208701516104a99173ffffffffffffffffffffffffffffffffffffffff909116908b90610752565b6000808a73ffffffffffffffffffffffffffffffffffffffff16876040516104d19190611b1a565b6000604051808303816000865af19150503d806000811461050e576040519150601f19603f3d011682016040523d82523d6000602084013e610513565b606091505b50915091508161059457600061055e826040518060400160405280600681526020017f554e49583a2000000000000000000000000000000000000000000000000000008152506107e4565b9050806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104569190611b36565b50506001909601955061026b945050505050565b5060005b845181101561074b5760005b8582815181106105ca576105ca611aeb565b60200260200101516040015151811015610742578582815181106105f0576105f0611aeb565b602002602001015160400151818151811061060d5761060d611aeb565b6020908102919091010151516040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015233602482015273ffffffffffffffffffffffffffffffffffffffff9091169063dd62ed3e90604401602060405180830381865afa15801561068a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106ae9190611b87565b60000361073a5761073a337fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8885815181106106ec576106ec611aeb565b602002602001015160400151848151811061070957610709611aeb565b60200260200101516000015173ffffffffffffffffffffffffffffffffffffffff166109469092919063ffffffff16565b6001016105b8565b506001016105ac565b5050505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526107df9084906109d3565b505050565b6060600060048451106107f8575060208301515b7fffffffff0000000000000000000000000000000000000000000000000000000081167f08c379a00000000000000000000000000000000000000000000000000000000014801561084b57506044845110155b1561089b576044848101805190916108639190611ba0565b85511061089557838160405160200161087d929190611bda565b60405160208183030381529060405292505050610940565b50610912565b7fffffffff0000000000000000000000000000000000000000000000000000000081167f4e487b71000000000000000000000000000000000000000000000000000000001480156108ed575083516024145b156109125760248401518361090182610a69565b60405160200161087d929190611c5c565b8261091c85610a91565b60405160200161092d929190611ca8565b6040516020818303038152906040529150505b92915050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526107df908490610eca565b60006109f573ffffffffffffffffffffffffffffffffffffffff841683610f68565b90508051600014158015610a1a575080806020019051810190610a189190611d2a565b155b156107df576040517f5274afe700000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff84166004820152602401610456565b606061094082604051602001610a8191815260200190565b6040516020818303038152906040525b6060604051905081518060011b6022830181810160405261307860028501526002820184526020850191508282015b80831015610ec1578251610cb681600077ffffffffffffffff00000000000000000000000000000000821660401c7fffffffffffffffff00000000000000000000000000000000000000000000000083161790507bffffffff000000000000000000000000ffffffff0000000000000000811660201c7fffffffff000000000000000000000000ffffffff00000000000000000000000082161790507dffff000000000000ffff000000000000ffff000000000000ffff00000000811660101c7fffff000000000000ffff000000000000ffff000000000000ffff00000000000082161790507eff000000ff000000ff000000ff000000ff000000ff000000ff000000ff0000811660081c7fff000000ff000000ff000000ff000000ff000000ff000000ff000000ff00000082161790507f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00811660081c7ff000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000821660041c17905060077f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f7f0606060606060606060606060606060606060606060606060606060606060606830160041c1602817f303030303030303030303030303030303030303030303030303030303030303001019050919050565b808452602084019350610eae8260801b600077ffffffffffffffff00000000000000000000000000000000821660401c7fffffffffffffffff00000000000000000000000000000000000000000000000083161790507bffffffff000000000000000000000000ffffffff0000000000000000811660201c7fffffffff000000000000000000000000ffffffff00000000000000000000000082161790507dffff000000000000ffff000000000000ffff000000000000ffff00000000811660101c7fffff000000000000ffff000000000000ffff000000000000ffff00000000000082161790507eff000000ff000000ff000000ff000000ff000000ff000000ff000000ff0000811660081c7fff000000ff000000ff000000ff000000ff000000ff000000ff000000ff00000082161790507f0f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f00811660081c7ff000f000f000f000f000f000f000f000f000f000f000f000f000f000f000f000821660041c17905060077f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f7f0606060606060606060606060606060606060606060606060606060606060606830160041c1602817f303030303030303030303030303030303030303030303030303030303030303001019050919050565b8452505060209283019290910190610ac0565b50505050919050565b6000610eec73ffffffffffffffffffffffffffffffffffffffff841683610f68565b90508051600014158015610f145750808060200190516020811015610f1057600080fd5b5051155b156107df57604080517fb12cca1f00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8516600482015290519081900360240190fd5b6060610f7683836000610f7d565b9392505050565b606081471015610fbb576040517fcd786059000000000000000000000000000000000000000000000000000000008152306004820152602401610456565b6000808573ffffffffffffffffffffffffffffffffffffffff168486604051610fe49190611b1a565b60006040518083038185875af1925050503d8060008114611021576040519150601f19603f3d011682016040523d82523d6000602084013e611026565b606091505b5091509150611036868383611040565b9695505050505050565b60608261105557611050826110cf565b610f76565b8151158015611079575073ffffffffffffffffffffffffffffffffffffffff84163b155b156110c8576040517f9996b31500000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85166004820152602401610456565b5080610f76565b8051156110df5780518082602001fd5b6040517f1425ea4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b60008083601f84011261112657600080fd5b50813567ffffffffffffffff81111561113e57600080fd5b60208301915083602082850101111561115657600080fd5b9250929050565b60008060006040848603121561117257600080fd5b833567ffffffffffffffff8082111561118a57600080fd5b908501906040828803121561119e57600080fd5b909350602085013590808211156111b457600080fd5b506111c186828701611114565b9497909650939450505050565b600080600080604085870312156111e457600080fd5b843567ffffffffffffffff808211156111fc57600080fd5b818701915087601f83011261121057600080fd5b81358181111561121f57600080fd5b8860208260051b850101111561123457600080fd5b60209283019650945090860135908082111561124f57600080fd5b5061125c87828801611114565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff811182821017156112ba576112ba611268565b60405290565b60405160a0810167ffffffffffffffff811182821017156112ba576112ba611268565b6040516080810167ffffffffffffffff811182821017156112ba576112ba611268565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561134d5761134d611268565b604052919050565b600067ffffffffffffffff82111561136f5761136f611268565b5060051b60200190565b73ffffffffffffffffffffffffffffffffffffffff8116811461111157600080fd5b600067ffffffffffffffff8211156113b5576113b5611268565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b600082601f8301126113f257600080fd5b81356114056114008261139b565b611306565b81815284602083860101111561141a57600080fd5b816020850160208301376000918101602001919091529392505050565b600060c0828403121561144957600080fd5b60405160c0810167ffffffffffffffff828210818311171561146d5761146d611268565b816040528293508435915061148182611379565b90825260208401359061149382611379565b8160208401526040850135604084015260608501356060840152608085013591506114bd82611379565b81608084015260a08501359150808211156114d757600080fd5b506114e4858286016113e1565b60a0830152505092915050565b60006060828403121561150357600080fd5b61150b611297565b9050813561151881611379565b80825250602082013560208201526040820135604082015292915050565b600082601f83011261154757600080fd5b8135602061155761140083611355565b8281526060928302850182019282820191908785111561157657600080fd5b8387015b858110156115cf5781818a0312156115925760008081fd5b61159a611297565b81356115a581611379565b815281860135868201526040808301356115be81611379565b90820152845292840192810161157a565b5090979650505050505050565b600080604083850312156115ef57600080fd5b823567ffffffffffffffff8082111561160757600080fd5b818501915085601f83011261161b57600080fd5b8135602061162b61140083611355565b82815260059290921b8401810191818101908984111561164a57600080fd5b8286015b8481101561173b578035868111156116665760008081fd5b870160e0818d037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe00181131561169c5760008081fd5b6116a46112c0565b86830135898111156116b65760008081fd5b6116c48f8983870101611437565b8252506116d48e604085016114f1565b8782015260a0830135898111156116eb5760008081fd5b6116f98f8983870101611536565b60408301525060c0830135898111156117125760008081fd5b6117208f89838701016113e1565b6060830152509101356080820152835291830191830161164e565b509650508601359250508082111561175257600080fd5b5061175f858286016113e1565b9150509250929050565b60008083357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe184360301811261179e57600080fd5b830160208101925035905067ffffffffffffffff8111156117be57600080fd5b80360382131561115657600080fd5b8183528181602085013750600060208284010152600060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f840116840101905092915050565b60006118228283611769565b604085526118346040860182846117cd565b9150506118446020840184611769565b85830360208701526110368382846117cd565b60408152600061186a6040830186611816565b82810360208401526110368185876117cd565b6040808252810184905260006060600586901b830181019083018783805b8981101561191d577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffa087860301845282357fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc18c36030181126118fb578283fd5b611907868d8301611816565b955050602093840193929092019160010161189b565b5050505082810360208401526119348185876117cd565b979650505050505050565b60005b8381101561195a578181015183820152602001611942565b50506000910152565b600080604080848603121561197757600080fd5b835161198281611379565b8093505060208085015167ffffffffffffffff808211156119a257600080fd5b818701915087601f8301126119b657600080fd5b81516119c461140082611355565b81815260059190911b8301840190848101908a8311156119e357600080fd5b8585015b83811015611ad9578051858111156119fe57600080fd5b86016080818e037fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0011215611a3257600080fd5b611a3a6112e3565b888201518781168114611a4c57600080fd5b8152818a0151611a5b81611379565b818a015260608201518a820152608082015187811115611a7b5760008081fd5b8083019250508d603f830112611a915760008081fd5b88820151611aa16114008261139b565b8181528f8c838601011115611ab65760008081fd5b611ac5828c83018e870161193f565b6060830152508452509186019186016119e7565b50809750505050505050509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008251611b2c81846020870161193f565b9190910192915050565b6020815260008251806020840152611b5581604085016020870161193f565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600060208284031215611b9957600080fd5b5051919050565b80820180821115610940577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60008351611bec81846020880161193f565b7f4572726f722800000000000000000000000000000000000000000000000000009083019081528351611c2681600684016020880161193f565b7f290000000000000000000000000000000000000000000000000000000000000060069290910191820152600701949350505050565b60008351611c6e81846020880161193f565b7f50616e69632800000000000000000000000000000000000000000000000000009083019081528351611c2681600684016020880161193f565b60008351611cba81846020880161193f565b7f556e6b6e6f776e280000000000000000000000000000000000000000000000009083019081528351611cf481600884016020880161193f565b7f290000000000000000000000000000000000000000000000000000000000000060089290910191820152600901949350505050565b600060208284031215611d3c57600080fd5b81518015158114610f7657600080fdfea2646970667358221220a210283ae42213dcc2f3d2b1ba191d5a14d945d39951e25235641f22f39802e164736f6c63430008180033

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

00000000000000000000000000000011f84b9aa48e5f8aa8b9897600006289be

-----Decoded View---------------
Arg [0] : _reactor (address): 0x00000011F84B9aa48e5f8aA8B9897600006289Be

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000011f84b9aa48e5f8aa8b9897600006289be


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  ]

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.