ETH Price: $3,350.17 (-2.41%)

Contract

0x3d8A283b6826Eb69b7526fb4344258627b9711B1

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Set OF Ts139875202025-10-17 19:45:3120 days ago1760730331IN
0x3d8A283b...27b9711B1
0 ETH0.000001470.00100026
Set OF Ts94184282025-08-25 22:33:5973 days ago1756161239IN
0x3d8A283b...27b9711B1
0 ETH0.00000140.00100026
Set OF Ts64893982025-07-23 0:56:49107 days ago1753232209IN
0x3d8A283b...27b9711B1
0 ETH0.000000070.0010425
Set OF Ts64049492025-07-22 1:29:20108 days ago1753147760IN
0x3d8A283b...27b9711B1
0 ETH0.000072091.50004217

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
63888282025-07-21 21:00:39108 days ago1753131639  Contract Creation0 ETH

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LayerZeroReceiver

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion, GNU GPLv3 license
// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.24;

import { IEnsoRouter, Token, TokenType } from "../interfaces/IEnsoRouter.sol";
import { IPool } from "./interfaces/layerzero/IPool.sol";
import { OFTComposeMsgCodec } from "@layerzerolabs/lz-evm-oapp-v2/contracts/oft/libs/OFTComposeMsgCodec.sol";
import { ILayerZeroComposer } from "@layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroComposer.sol";
import { Ownable } from "openzeppelin-contracts/access/Ownable.sol";
import { IERC20, SafeERC20 } from "openzeppelin-contracts/token/ERC20/utils/SafeERC20.sol";

contract LayerZeroReceiver is Ownable, ILayerZeroComposer {
    using OFTComposeMsgCodec for bytes;
    using SafeERC20 for IERC20;

    address private constant _NATIVE_ASSET = address(0);
    uint256 private constant _TRY_CATCH_GAS = 2000;

    address public immutable endpoint;
    IEnsoRouter public immutable router;

    uint256 public reserveGas;

    mapping(address => bool) public validOFT;
    mapping(address => bool) public validRegistrar;

    event ShortcutExecutionSuccessful(bytes32 guid);
    event ShortcutExecutionFailed(bytes32 guid, bytes error);
    event OFTAdded(address oft);
    event OFTRemoved(address oft);
    event RegistrarAdded(address account);
    event RegistrarRemoved(address account);
    event ReserveGasUpdated(uint256 amount);
    event FundsCollected(address token, uint256 amount);

    error InsufficientGas(bytes32 guid);
    error NotEndpoint(address sender);
    error NotRegistrar(address sender);
    error NotSelf();
    error TransferFailed(address receiver);
    error InvalidOFT(address oft);
    error EndpointNotSet();
    error RouterNotSet();
    error InvalidArrayLength();

    constructor(address _endpoint, address _router, address _owner, uint256 _reserveGas) Ownable(_owner) {
        if (_endpoint == address(0)) revert EndpointNotSet();
        if (_router == address(0)) revert RouterNotSet();
        endpoint = _endpoint;
        router = IEnsoRouter(_router);
        validRegistrar[_owner] = true;
        reserveGas = _reserveGas;
        emit ReserveGasUpdated(_reserveGas);
    }

    // layer zero callback
    function lzCompose(
        address _from,
        bytes32 _guid,
        bytes calldata _message,
        address, // _executor, we don't restrict who can execute composed messages to this contract
        bytes calldata // _extraData, we don't use any extra data from the executor
    )
        external
        payable
    {
        if (msg.sender != endpoint) revert NotEndpoint(msg.sender);
        if (!validOFT[_from]) revert InvalidOFT(_from);

        address token = IPool(_from).token();

        uint256 amount = _message.amountLD();
        bytes memory composeMsg = _message.composeMsg();
        (address receiver, bytes memory shortcutData) = abi.decode(composeMsg, (address, bytes));

        uint256 availableGas = gasleft();
        if (availableGas < reserveGas) revert InsufficientGas(_guid);
        // try to execute shortcut
        try this.execute{ gas: availableGas - reserveGas }(token, amount, shortcutData, msg.value) {
            emit ShortcutExecutionSuccessful(_guid);
        } catch (bytes memory err) {
            if (err.length == 0 && gasleft() < reserveGas - _TRY_CATCH_GAS) {
                // assume that the shortcut failed due to an out of gas error,
                // to discourage griefing we will revert instead of transferring funds.
                revert InsufficientGas(_guid);
            }
            // if shortcut fails send funds to receiver
            emit ShortcutExecutionFailed(_guid, err);
            _transfer(token, receiver, amount);
            if (msg.value > 0) {
                _transfer(_NATIVE_ASSET, receiver, msg.value);
            }
        }
    }

    // execute shortcut using router
    function execute(address token, uint256 amount, bytes calldata data, uint256 value) external {
        if (msg.sender != address(this)) revert NotSelf();
        Token memory tokenIn;
        if (token == _NATIVE_ASSET) {
            // calls shouldn't be built so that they do both an lzReceive deposit of the native token
            // and a native drop, but just in case, we add both amounts for our call to the router
            value += amount;
            // support older versions of the router by including amount data for native token
            tokenIn = Token(TokenType.Native, abi.encode(value));
        } else {
            tokenIn = Token(TokenType.ERC20, abi.encode(token, amount));
            IERC20(token).forceApprove(address(router), amount);
        }
        if (value > 0 && token != _NATIVE_ASSET) {
            // since this call will use token + native asset, setup a routeMulti call
            Token[] memory tokensIn = new Token[](2);
            tokensIn[0] = tokenIn;
            // support older versions of the router by including amount data for native token
            tokensIn[1] = Token(TokenType.Native, abi.encode(value));
            router.routeMulti{ value: value }(tokensIn, data);
        } else {
            // setup a routeSingle call
            router.routeSingle{ value: value }(tokenIn, data);
        }
    }

    function setOFTs(address[] calldata ofts) external {
        if (!validRegistrar[msg.sender]) revert NotRegistrar(msg.sender);
        for (uint256 i = 0; i < ofts.length; ++i) {
            validOFT[ofts[i]] = true;
            emit OFTAdded(ofts[i]);
        }
    }

    function removeOFTs(address[] calldata ofts) external {
        if (!validRegistrar[msg.sender]) revert NotRegistrar(msg.sender);
        for (uint256 i = 0; i < ofts.length; ++i) {
            delete validOFT[ofts[i]];
            emit OFTRemoved(ofts[i]);
        }
    }

    function setRegistrar(address account) external onlyOwner {
        validRegistrar[account] = true;
        emit RegistrarAdded(account);
    }

    function removeRegistrar(address account) external onlyOwner {
        delete validRegistrar[account];
        emit RegistrarRemoved(account);
    }

    function setReserveGas(uint256 amount) external onlyOwner {
        reserveGas = amount;
        emit ReserveGasUpdated(amount);
    }

    // sweep funds to the contract owner in order to refund user
    function sweep(address[] memory tokens, uint256[] memory amounts) external onlyOwner {
        if (tokens.length != amounts.length) revert InvalidArrayLength();
        address receiver = owner();
        for (uint256 i = 0; i < tokens.length; ++i) {
            _transfer(tokens[i], receiver, amounts[i]);
            emit FundsCollected(tokens[i], amounts[i]);
        }
    }

    function _transfer(address token, address receiver, uint256 amount) internal {
        if (token == _NATIVE_ASSET) {
            (bool success,) = receiver.call{ value: amount }("");
            if (!success) revert TransferFailed(receiver);
        } else {
            IERC20(token).safeTransfer(receiver, amount);
        }
    }

    receive() external payable {
        // receive all native transfers
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

library OFTComposeMsgCodec {
    // Offset constants for decoding composed messages
    uint8 private constant NONCE_OFFSET = 8;
    uint8 private constant SRC_EID_OFFSET = 12;
    uint8 private constant AMOUNT_LD_OFFSET = 44;
    uint8 private constant COMPOSE_FROM_OFFSET = 76;

    /**
     * @dev Encodes a OFT composed message.
     * @param _nonce The nonce value.
     * @param _srcEid The source endpoint ID.
     * @param _amountLD The amount in local decimals.
     * @param _composeMsg The composed message.
     * @return _msg The encoded Composed message.
     */
    function encode(
        uint64 _nonce,
        uint32 _srcEid,
        uint256 _amountLD,
        bytes memory _composeMsg // 0x[composeFrom][composeMsg]
    ) internal pure returns (bytes memory _msg) {
        _msg = abi.encodePacked(_nonce, _srcEid, _amountLD, _composeMsg);
    }

    /**
     * @dev Retrieves the nonce from the composed message.
     * @param _msg The message.
     * @return The nonce value.
     */
    function nonce(bytes calldata _msg) internal pure returns (uint64) {
        return uint64(bytes8(_msg[:NONCE_OFFSET]));
    }

    /**
     * @dev Retrieves the source endpoint ID from the composed message.
     * @param _msg The message.
     * @return The source endpoint ID.
     */
    function srcEid(bytes calldata _msg) internal pure returns (uint32) {
        return uint32(bytes4(_msg[NONCE_OFFSET:SRC_EID_OFFSET]));
    }

    /**
     * @dev Retrieves the amount in local decimals from the composed message.
     * @param _msg The message.
     * @return The amount in local decimals.
     */
    function amountLD(bytes calldata _msg) internal pure returns (uint256) {
        return uint256(bytes32(_msg[SRC_EID_OFFSET:AMOUNT_LD_OFFSET]));
    }

    /**
     * @dev Retrieves the composeFrom value from the composed message.
     * @param _msg The message.
     * @return The composeFrom value.
     */
    function composeFrom(bytes calldata _msg) internal pure returns (bytes32) {
        return bytes32(_msg[AMOUNT_LD_OFFSET:COMPOSE_FROM_OFFSET]);
    }

    /**
     * @dev Retrieves the composed message.
     * @param _msg The message.
     * @return The composed message.
     */
    function composeMsg(bytes calldata _msg) internal pure returns (bytes memory) {
        return _msg[COMPOSE_FROM_OFFSET:];
    }

    /**
     * @dev Converts an address to bytes32.
     * @param _addr The address to convert.
     * @return The bytes32 representation of the address.
     */
    function addressToBytes32(address _addr) internal pure returns (bytes32) {
        return bytes32(uint256(uint160(_addr)));
    }

    /**
     * @dev Converts bytes32 to an address.
     * @param _b The bytes32 value to convert.
     * @return The address representation of bytes32.
     */
    function bytes32ToAddress(bytes32 _b) internal pure returns (address) {
        return address(uint160(uint256(_b)));
    }
}

File 3 of 13 : ILayerZeroComposer.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.8.0;

/**
 * @title ILayerZeroComposer
 */
interface ILayerZeroComposer {
    /**
     * @notice Composes a LayerZero message from an OApp.
     * @param _from The address initiating the composition, typically the OApp where the lzReceive was called.
     * @param _guid The unique identifier for the corresponding LayerZero src/dst tx.
     * @param _message The composed message payload in bytes. NOT necessarily the same payload passed via lzReceive.
     * @param _executor The address of the executor for the composed message.
     * @param _extraData Additional arbitrary data in bytes passed by the entity who executes the lzCompose.
     */
    function lzCompose(
        address _from,
        bytes32 _guid,
        bytes calldata _message,
        address _executor,
        bytes calldata _extraData
    ) external payable;
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

File 6 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;

import {IERC165} from "../utils/introspection/IERC165.sol";

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

pragma solidity ^0.8.20;

import {IERC20} from "../token/ERC20/IERC20.sol";

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.2.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 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 {
    /**
     * @dev An operation with an ERC-20 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.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    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.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    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.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    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 Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            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 {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            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 silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 12 of 13 : IPool.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IPool {
    function token() external view returns (address);
}

// SPDX-License-Identifier: GPL-3.0-only
pragma solidity ^0.8.0;

enum TokenType {
    Native,
    ERC20,
    ERC721,
    ERC1155
}

struct Token {
    TokenType tokenType;
    bytes data;
}

interface IEnsoRouter {
    function routeSingle(
        Token calldata tokenIn,
        bytes calldata data
    )
        external
        payable
        returns (bytes memory response);

    function routeMulti(
        Token[] calldata tokensIn,
        bytes calldata data
    )
        external
        payable
        returns (bytes memory response);

    function safeRouteSingle(
        Token calldata tokenIn,
        Token calldata tokenOut,
        address receiver,
        bytes calldata data
    )
        external
        payable
        returns (bytes memory response);

    function safeRouteMulti(
        Token[] calldata tokensIn,
        Token[] calldata tokensOut,
        address receiver,
        bytes calldata data
    )
        external
        payable
        returns (bytes memory response);
}

Settings
{
  "evmVersion": "cancun",
  "metadata": {
    "appendCBOR": false,
    "bytecodeHash": "none",
    "useLiteralContent": false
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": [
    "@layerzerolabs/oapp-evm/=lib/devtools/packages/oapp-evm/",
    "@layerzerolabs/lz-evm-protocol-v2/=lib/layerzero-v2/packages/layerzero-v2/evm/protocol/",
    "@layerzerolabs/lz-evm-oapp-v2/=lib/layerzero-v2/packages/layerzero-v2/evm/oapp/",
    "@uniswap/v4-core/=lib/v4-core/",
    "@uniswap/v4-periphery/=lib/v4-periphery/",
    "devtools/=lib/devtools/packages/toolbox-foundry/src/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "enso-weiroll/=lib/enso-weiroll/contracts/",
    "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/",
    "layerzero-v2/=lib/layerzero-v2/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/",
    "safe-contracts/=lib/safe-tools/lib/safe-contracts/contracts/",
    "safe-tools/=lib/safe-tools/src/",
    "solady/=lib/solady/src/",
    "solmate/=lib/solady/lib/solmate/src/",
    "@ensdomains/=lib/v4-core/node_modules/@ensdomains/",
    "@openzeppelin/=lib/v4-core/lib/openzeppelin-contracts/",
    "forge-gas-snapshot/=lib/v4-periphery/lib/permit2/lib/forge-gas-snapshot/src/",
    "hardhat/=lib/v4-core/node_modules/hardhat/",
    "permit2/=lib/v4-periphery/lib/permit2/",
    "v4-core/=lib/v4-core/src/",
    "v4-periphery/=lib/v4-periphery/"
  ],
  "viaIR": true
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_reserveGas","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EndpointNotSet","type":"error"},{"inputs":[{"internalType":"bytes32","name":"guid","type":"bytes32"}],"name":"InsufficientGas","type":"error"},{"inputs":[],"name":"InvalidArrayLength","type":"error"},{"inputs":[{"internalType":"address","name":"oft","type":"address"}],"name":"InvalidOFT","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"NotEndpoint","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"NotRegistrar","type":"error"},{"inputs":[],"name":"NotSelf","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"RouterNotSet","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"TransferFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FundsCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oft","type":"address"}],"name":"OFTAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oft","type":"address"}],"name":"OFTRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"RegistrarAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"RegistrarRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReserveGasUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"guid","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"error","type":"bytes"}],"name":"ShortcutExecutionFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"guid","type":"bytes32"}],"name":"ShortcutExecutionSuccessful","type":"event"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"","type":"address"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"lzCompose","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"ofts","type":"address[]"}],"name":"removeOFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeRegistrar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IEnsoRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"ofts","type":"address[]"}],"name":"setOFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setRegistrar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setReserveGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"validOFT","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"validRegistrar","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c03461018a57601f61141138819003918201601f19168301916001600160401b0383118484101761018e5780849260809460405283398101031261018a57610047816101a2565b610053602083016101a2565b6060610061604085016101a2565b9301516001600160a01b03909316928315610177575f80546001600160a01b0319811686178255604051939186916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09080a36001600160a01b03841615610168576001600160a01b0316938415610159577fd2bec6948fb6e242b1e0f93ff7a9f0afaad89256508e933aabdf64034f1857b29460209460805260a0525f526003835260405f20600160ff19825416179055806001558152a160405161125a90816101b782396080518181816102910152610d31015260a05181818161015901528181610aa00152610bed0152f35b63179ce99f60e01b5f5260045ffd5b639da787ad60e01b5f5260045ffd5b631e4fbdf760e01b5f525f60045260245ffd5b5f80fd5b634e487b7160e01b5f52604160045260245ffd5b51906001600160a01b038216820361018a5756fe608080604052600436101561001c575b50361561001a575f80fd5b005b5f905f3560e01c908163135d88f114610e4d575080633713c87614610dac57806348d677e814610d605780635e280f1114610d1c578063715018a614610cc557806374420f4c146109195780638d5e861c146108dc5780638da5cb5b146108b55780639ed6c6f6146106f4578063ba904eed1461068a578063c8fdb604146105cf578063d0a102601461022c578063eae895f11461020e578063f2fde38b14610188578063f887ea40146101435763faab9d390361000f5734610140576020366003190112610140577f5c38ce8ff8864a9d2a5ff5aec72a88770e38d181dea59173fde1247cdaa1aea36020610110610e86565b610118611152565b6001600160a01b0316808452600382526040808520805460ff1916600117905551908152a180f35b80fd5b50346101405780600319360112610140576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b5034610140576020366003190112610140576101a2610e86565b6101aa611152565b6001600160a01b031680156101fa5781546001600160a01b03198116821783556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b631e4fbdf760e01b82526004829052602482fd5b50346101405780600319360112610140576020600154604051908152f35b60a036600319011261053257610240610e86565b6024356044356001600160401b03811161053257610262903690600401610f04565b91909261026d610e9c565b506084356001600160401b0381116105325761028d903690600401610f04565b50507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633036105bc576001600160a01b03165f8181526002602052604090205460ff16156105aa57602060049160405192838092637e062a3560e11b82525afa90811561059f575f9161055d575b5082602c1161053257600c8401602090359284604c11610532575f95604b198601604c820161033282610fe9565b97610340604051998a610f60565b828952858901933690820111610532575f9286928537880101604b190152855186019060408783031261053257516001600160a01b0381169690879003610532576040810151916001600160401b038311610532576103a59285809201920101611004565b5a60015480821061054a57810390811161053657303b1561053257604051631d1083d360e21b81526001600160a01b03861660048201526024810187905260806044820152915f918391829084908290610403906084830190611072565b34606483015203923090f1908161051d575b506104ec57610422611123565b805115806104bf575b6104ab57859261047a9594926104727f52a455caf6b7d55115eb8e33cf29187a4d25b89f36b958ced33427f91756fa22936040805194859485528401526040830190611072565b0390a1611178565b34610484575b5080f35b8180808034855af1610494611123565b50610480576339f1c8d960e01b8252600452602490fd5b6308f7de6f60e21b87526004829052602487fd5b505a6001546107cf198101919082116104d8571061042b565b634e487b7160e01b89526011600452602489fd5b915091507f846efe8e8b99273df7db28675a7c9db91cd5af16ef4a3425e926455e5f9eb19a9250604051908152a180f35b61052a9197505f90610f60565b5f9587610415565b5f80fd5b634e487b7160e01b5f52601160045260245ffd5b836308f7de6f60e21b5f5260045260245ffd5b90506020813d602011610597575b8161057860209383610f60565b8101031261053257516001600160a01b03811681036105325784610304565b3d915061056b565b6040513d5f823e3d90fd5b636984deed60e11b5f5260045260245ffd5b6339e7e94b60e01b5f523360045260245ffd5b34610532576105dd36610eb2565b90335f52600360205260ff60405f20541615610677575f5b8281106105fe57005b6001906001600160a01b0361061c610617838787610f98565b610fbc565b165f52600260205260405f208260ff198254161790557fbcb78a9c79d78d058ee8060b0e1ceeac57831c85594eb94bef7b3df3c2af79136020610663610617848888610f98565b60405190858060a01b03168152a1016105f5565b6353ac4f0760e01b5f523360045260245ffd5b34610532576020366003190112610532577f81cb97a294b3ff5f91ef4048b3173c7f8f6943d9750add2071199061165e5f5760206106c6610e86565b6106ce611152565b6001600160a01b03165f81815260038352604090819020805460ff1916905551908152a1005b34610532576040366003190112610532576004356001600160401b038111610532573660238201121561053257806004013561072f81610f81565b9161073d6040519384610f60565b8183526024602084019260051b8201019036821161053257602401915b81831061089557836024356001600160401b03811161053257366023820112156105325780600401359061078d82610f81565b9161079b6040519384610f60565b8083526024602084019160051b8301019136831161053257602401905b828210610885575050506107ca611152565b8151815103610876575f80546001600160a01b0316905b835181101561001a576001906108166001600160a01b03610802838861110f565b51168461080f848861110f565b5191611178565b7f067e335270006737485da9eba56ed0753a5339fffc5dc1b53ea849447c98db54828060a01b03610847838861110f565b5116610853838761110f565b51604080516001600160a01b03939093168352602083019190915290a1016107e1565b634ec4810560e11b5f5260045ffd5b81358152602091820191016107b8565b82356001600160a01b03811681036105325781526020928301920161075a565b34610532575f366003190112610532575f546040516001600160a01b039091168152602090f35b34610532576020366003190112610532576001600160a01b036108fd610e86565b165f526002602052602060ff60405f2054166040519015158152f35b3461053257608036600319011261053257610932610e86565b6024356044356001600160401b03811161053257610954903690600401610f04565b60649391933592303303610cb65761096a610fd0565b506001600160a01b0383168015938415610b8d57505083018093116105365782604051906020820152602081526109a2604082610f60565b604051906109af82610f31565b5f82526020820152915b8315159081610b84575b5015610b43579290604051906109da606083610f60565b6002825260405f5b818110610b245750506109f4826110f2565b526109fe816110f2565b5060405183602082015260208152610a17604082610f60565b60405190610a2482610f31565b5f82526020820152610a35826110ff565b52610a3f816110ff565b5060405193849263f52e33f560e01b8452604484016040600486015283518091526064850190602060648260051b8801019501915f905b828210610af15750505050610a9c5f9593859384936003198584030160248601526110d2565b03917f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03165af1801561059f57610ad657005b61001a903d805f833e610ae98183610f60565b81019061104a565b919394956001919397506020610b1281926063198d82030186528a51611096565b98019201920188969594939192610a76565b602090610b3397949597610fd0565b82828801015201959392956109e2565b9091610b725f93610a9c6040519687958694859463b94c360960e01b8652604060048701526044860190611096565b848103600319016024860152916110d2565b905015856109c3565b604080516001600160a01b039290921660208301528181018490528152919391610bb8606082610f60565b60405190610bc582610f31565b6001825260208083019190915260405163095ea7b360e01b8183019081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166024830181905260448084019990995297825292969390929091905f90610c35606486610f60565b84519082855af15f513d82610c9a575b505015610c55575b5050506109b9565b610c8d610c92936040519063095ea7b360e01b602083015260248201525f604482015260448152610c87606482610f60565b82611202565b611202565b858080610c4d565b909150610cae5750803b15155b8980610c45565b600114610ca7565b6314e1dbf760e11b5f5260045ffd5b34610532575f36600319011261053257610cdd611152565b5f80546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610532575f366003190112610532576040517f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168152602090f35b34610532576020366003190112610532577fd2bec6948fb6e242b1e0f93ff7a9f0afaad89256508e933aabdf64034f1857b26020600435610d9f611152565b80600155604051908152a1005b3461053257610dba36610eb2565b90335f52600360205260ff60405f20541615610677575f5b828110610ddb57005b6001906001600160a01b03610df4610617838787610f98565b165f52600260205260405f2060ff1981541690557f5a5568d0cf9b5032d843914c464f1e348579a972651287b936e8a4b68728ef8b6020610e39610617848888610f98565b60405190858060a01b03168152a101610dd2565b34610532576020366003190112610532576020906001600160a01b03610e71610e86565b165f526003825260ff60405f20541615158152f35b600435906001600160a01b038216820361053257565b606435906001600160a01b038216820361053257565b906020600319830112610532576004356001600160401b0381116105325782602382011215610532578060040135926001600160401b0384116105325760248460051b83010111610532576024019190565b9181601f84011215610532578235916001600160401b038311610532576020838186019501011161053257565b604081019081106001600160401b03821117610f4c57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117610f4c57604052565b6001600160401b038111610f4c5760051b60200190565b9190811015610fa85760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b03811681036105325790565b60405190610fdd82610f31565b60606020835f81520152565b6001600160401b038111610f4c57601f01601f191660200190565b81601f820112156105325780519061101b82610fe9565b926110296040519485610f60565b8284526020838301011161053257815f9260208093018386015e8301015290565b906020828203126105325781516001600160401b0381116105325761106f9201611004565b90565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9081519160048310156110be57602060409161106f9484520151918160208201520190611072565b634e487b7160e01b5f52602160045260245ffd5b908060209392818452848401375f828201840152601f01601f1916010190565b805115610fa85760200190565b805160011015610fa85760400190565b8051821015610fa85760209160051b010190565b3d1561114d573d9061113482610fe9565b916111426040519384610f60565b82523d5f602084013e565b606090565b5f546001600160a01b0316330361116557565b63118cdaa760e01b5f523360045260245ffd5b9091906001600160a01b0316806111c357505f80808093855af161119a611123565b50156111a35750565b6339f1c8d960e01b5f9081526001600160a01b0391909116600452602490fd5b60405163a9059cbb60e01b60208201526001600160a01b039390931660248401526044808401929092529082526112009190610c8d606483610f60565b565b905f602091828151910182855af11561059f575f513d61125157506001600160a01b0381163b155b6112315750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561122a560000000000000000000000006f475642a6e85809b1c36fa62763669b1b48dd5b0000000000000000000000003067bdba0e6628497d527bef511c22da8b32ca3f000000000000000000000000826e0bb2276271efdf2a500597f37b94f6c153ba00000000000000000000000000000000000000000000000000000000000186a0

Deployed Bytecode

0x608080604052600436101561001c575b50361561001a575f80fd5b005b5f905f3560e01c908163135d88f114610e4d575080633713c87614610dac57806348d677e814610d605780635e280f1114610d1c578063715018a614610cc557806374420f4c146109195780638d5e861c146108dc5780638da5cb5b146108b55780639ed6c6f6146106f4578063ba904eed1461068a578063c8fdb604146105cf578063d0a102601461022c578063eae895f11461020e578063f2fde38b14610188578063f887ea40146101435763faab9d390361000f5734610140576020366003190112610140577f5c38ce8ff8864a9d2a5ff5aec72a88770e38d181dea59173fde1247cdaa1aea36020610110610e86565b610118611152565b6001600160a01b0316808452600382526040808520805460ff1916600117905551908152a180f35b80fd5b50346101405780600319360112610140576040517f0000000000000000000000003067bdba0e6628497d527bef511c22da8b32ca3f6001600160a01b03168152602090f35b5034610140576020366003190112610140576101a2610e86565b6101aa611152565b6001600160a01b031680156101fa5781546001600160a01b03198116821783556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08380a380f35b631e4fbdf760e01b82526004829052602482fd5b50346101405780600319360112610140576020600154604051908152f35b60a036600319011261053257610240610e86565b6024356044356001600160401b03811161053257610262903690600401610f04565b91909261026d610e9c565b506084356001600160401b0381116105325761028d903690600401610f04565b50507f0000000000000000000000006f475642a6e85809b1c36fa62763669b1b48dd5b6001600160a01b031633036105bc576001600160a01b03165f8181526002602052604090205460ff16156105aa57602060049160405192838092637e062a3560e11b82525afa90811561059f575f9161055d575b5082602c1161053257600c8401602090359284604c11610532575f95604b198601604c820161033282610fe9565b97610340604051998a610f60565b828952858901933690820111610532575f9286928537880101604b190152855186019060408783031261053257516001600160a01b0381169690879003610532576040810151916001600160401b038311610532576103a59285809201920101611004565b5a60015480821061054a57810390811161053657303b1561053257604051631d1083d360e21b81526001600160a01b03861660048201526024810187905260806044820152915f918391829084908290610403906084830190611072565b34606483015203923090f1908161051d575b506104ec57610422611123565b805115806104bf575b6104ab57859261047a9594926104727f52a455caf6b7d55115eb8e33cf29187a4d25b89f36b958ced33427f91756fa22936040805194859485528401526040830190611072565b0390a1611178565b34610484575b5080f35b8180808034855af1610494611123565b50610480576339f1c8d960e01b8252600452602490fd5b6308f7de6f60e21b87526004829052602487fd5b505a6001546107cf198101919082116104d8571061042b565b634e487b7160e01b89526011600452602489fd5b915091507f846efe8e8b99273df7db28675a7c9db91cd5af16ef4a3425e926455e5f9eb19a9250604051908152a180f35b61052a9197505f90610f60565b5f9587610415565b5f80fd5b634e487b7160e01b5f52601160045260245ffd5b836308f7de6f60e21b5f5260045260245ffd5b90506020813d602011610597575b8161057860209383610f60565b8101031261053257516001600160a01b03811681036105325784610304565b3d915061056b565b6040513d5f823e3d90fd5b636984deed60e11b5f5260045260245ffd5b6339e7e94b60e01b5f523360045260245ffd5b34610532576105dd36610eb2565b90335f52600360205260ff60405f20541615610677575f5b8281106105fe57005b6001906001600160a01b0361061c610617838787610f98565b610fbc565b165f52600260205260405f208260ff198254161790557fbcb78a9c79d78d058ee8060b0e1ceeac57831c85594eb94bef7b3df3c2af79136020610663610617848888610f98565b60405190858060a01b03168152a1016105f5565b6353ac4f0760e01b5f523360045260245ffd5b34610532576020366003190112610532577f81cb97a294b3ff5f91ef4048b3173c7f8f6943d9750add2071199061165e5f5760206106c6610e86565b6106ce611152565b6001600160a01b03165f81815260038352604090819020805460ff1916905551908152a1005b34610532576040366003190112610532576004356001600160401b038111610532573660238201121561053257806004013561072f81610f81565b9161073d6040519384610f60565b8183526024602084019260051b8201019036821161053257602401915b81831061089557836024356001600160401b03811161053257366023820112156105325780600401359061078d82610f81565b9161079b6040519384610f60565b8083526024602084019160051b8301019136831161053257602401905b828210610885575050506107ca611152565b8151815103610876575f80546001600160a01b0316905b835181101561001a576001906108166001600160a01b03610802838861110f565b51168461080f848861110f565b5191611178565b7f067e335270006737485da9eba56ed0753a5339fffc5dc1b53ea849447c98db54828060a01b03610847838861110f565b5116610853838761110f565b51604080516001600160a01b03939093168352602083019190915290a1016107e1565b634ec4810560e11b5f5260045ffd5b81358152602091820191016107b8565b82356001600160a01b03811681036105325781526020928301920161075a565b34610532575f366003190112610532575f546040516001600160a01b039091168152602090f35b34610532576020366003190112610532576001600160a01b036108fd610e86565b165f526002602052602060ff60405f2054166040519015158152f35b3461053257608036600319011261053257610932610e86565b6024356044356001600160401b03811161053257610954903690600401610f04565b60649391933592303303610cb65761096a610fd0565b506001600160a01b0383168015938415610b8d57505083018093116105365782604051906020820152602081526109a2604082610f60565b604051906109af82610f31565b5f82526020820152915b8315159081610b84575b5015610b43579290604051906109da606083610f60565b6002825260405f5b818110610b245750506109f4826110f2565b526109fe816110f2565b5060405183602082015260208152610a17604082610f60565b60405190610a2482610f31565b5f82526020820152610a35826110ff565b52610a3f816110ff565b5060405193849263f52e33f560e01b8452604484016040600486015283518091526064850190602060648260051b8801019501915f905b828210610af15750505050610a9c5f9593859384936003198584030160248601526110d2565b03917f0000000000000000000000003067bdba0e6628497d527bef511c22da8b32ca3f6001600160a01b03165af1801561059f57610ad657005b61001a903d805f833e610ae98183610f60565b81019061104a565b919394956001919397506020610b1281926063198d82030186528a51611096565b98019201920188969594939192610a76565b602090610b3397949597610fd0565b82828801015201959392956109e2565b9091610b725f93610a9c6040519687958694859463b94c360960e01b8652604060048701526044860190611096565b848103600319016024860152916110d2565b905015856109c3565b604080516001600160a01b039290921660208301528181018490528152919391610bb8606082610f60565b60405190610bc582610f31565b6001825260208083019190915260405163095ea7b360e01b8183019081526001600160a01b037f0000000000000000000000003067bdba0e6628497d527bef511c22da8b32ca3f166024830181905260448084019990995297825292969390929091905f90610c35606486610f60565b84519082855af15f513d82610c9a575b505015610c55575b5050506109b9565b610c8d610c92936040519063095ea7b360e01b602083015260248201525f604482015260448152610c87606482610f60565b82611202565b611202565b858080610c4d565b909150610cae5750803b15155b8980610c45565b600114610ca7565b6314e1dbf760e11b5f5260045ffd5b34610532575f36600319011261053257610cdd611152565b5f80546001600160a01b0319811682556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610532575f366003190112610532576040517f0000000000000000000000006f475642a6e85809b1c36fa62763669b1b48dd5b6001600160a01b03168152602090f35b34610532576020366003190112610532577fd2bec6948fb6e242b1e0f93ff7a9f0afaad89256508e933aabdf64034f1857b26020600435610d9f611152565b80600155604051908152a1005b3461053257610dba36610eb2565b90335f52600360205260ff60405f20541615610677575f5b828110610ddb57005b6001906001600160a01b03610df4610617838787610f98565b165f52600260205260405f2060ff1981541690557f5a5568d0cf9b5032d843914c464f1e348579a972651287b936e8a4b68728ef8b6020610e39610617848888610f98565b60405190858060a01b03168152a101610dd2565b34610532576020366003190112610532576020906001600160a01b03610e71610e86565b165f526003825260ff60405f20541615158152f35b600435906001600160a01b038216820361053257565b606435906001600160a01b038216820361053257565b906020600319830112610532576004356001600160401b0381116105325782602382011215610532578060040135926001600160401b0384116105325760248460051b83010111610532576024019190565b9181601f84011215610532578235916001600160401b038311610532576020838186019501011161053257565b604081019081106001600160401b03821117610f4c57604052565b634e487b7160e01b5f52604160045260245ffd5b90601f801991011681019081106001600160401b03821117610f4c57604052565b6001600160401b038111610f4c5760051b60200190565b9190811015610fa85760051b0190565b634e487b7160e01b5f52603260045260245ffd5b356001600160a01b03811681036105325790565b60405190610fdd82610f31565b60606020835f81520152565b6001600160401b038111610f4c57601f01601f191660200190565b81601f820112156105325780519061101b82610fe9565b926110296040519485610f60565b8284526020838301011161053257815f9260208093018386015e8301015290565b906020828203126105325781516001600160401b0381116105325761106f9201611004565b90565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b9081519160048310156110be57602060409161106f9484520151918160208201520190611072565b634e487b7160e01b5f52602160045260245ffd5b908060209392818452848401375f828201840152601f01601f1916010190565b805115610fa85760200190565b805160011015610fa85760400190565b8051821015610fa85760209160051b010190565b3d1561114d573d9061113482610fe9565b916111426040519384610f60565b82523d5f602084013e565b606090565b5f546001600160a01b0316330361116557565b63118cdaa760e01b5f523360045260245ffd5b9091906001600160a01b0316806111c357505f80808093855af161119a611123565b50156111a35750565b6339f1c8d960e01b5f9081526001600160a01b0391909116600452602490fd5b60405163a9059cbb60e01b60208201526001600160a01b039390931660248401526044808401929092529082526112009190610c8d606483610f60565b565b905f602091828151910182855af11561059f575f513d61125157506001600160a01b0381163b155b6112315750565b635274afe760e01b5f9081526001600160a01b0391909116600452602490fd5b6001141561122a56

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

0000000000000000000000006f475642a6e85809b1c36fa62763669b1b48dd5b0000000000000000000000003067bdba0e6628497d527bef511c22da8b32ca3f000000000000000000000000826e0bb2276271efdf2a500597f37b94f6c153ba00000000000000000000000000000000000000000000000000000000000186a0

-----Decoded View---------------
Arg [0] : _endpoint (address): 0x6F475642a6e85809B1c36Fa62763669b1b48DD5B
Arg [1] : _router (address): 0x3067BDBa0e6628497d527bEF511c22DA8b32cA3F
Arg [2] : _owner (address): 0x826e0BB2276271eFdF2a500597f37b94f6c153bA
Arg [3] : _reserveGas (uint256): 100000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000006f475642a6e85809b1c36fa62763669b1b48dd5b
Arg [1] : 0000000000000000000000003067bdba0e6628497d527bef511c22da8b32ca3f
Arg [2] : 000000000000000000000000826e0bb2276271efdf2a500597f37b94f6c153ba
Arg [3] : 00000000000000000000000000000000000000000000000000000000000186a0


Deployed Bytecode Sourcemap

592:6490:10:-:0;;;;;;;;;;-1:-1:-1;592:6490:10;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;5889:23;592:6490;;;:::i;:::-;1500:62:2;;:::i;:::-;-1:-1:-1;;;;;592:6490:10;;;;5844:14;592:6490;;;;;;;;-1:-1:-1;;592:6490:10;;;;;;;;;5889:23;592:6490;;;;;;;;;;;;;;;;;;;;878:35;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;;;:::i;:::-;1500:62:2;;:::i;:::-;-1:-1:-1;;;;;592:6490:10;2627:22:2;;2623:91;;592:6490:10;;-1:-1:-1;;;;;;592:6490:10;;;;;;-1:-1:-1;;;;;592:6490:10;3052:40:2;592:6490:10;;3052:40:2;592:6490:10;;2623:91:2;-1:-1:-1;;;2672:31:2;;592:6490:10;;;;;2672:31:2;;592:6490:10;;;;;;;;;;;;;;920:25;592:6490;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;:::i;:::-;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;:::i;:::-;-1:-1:-1;;2534:8:10;-1:-1:-1;;;;;592:6490:10;2520:10;:22;2516:58;;-1:-1:-1;;;;;592:6490:10;;;;;2589:8;592:6490;;;;;;;;2588:16;2584:46;;592:6490;;;;;770:10;;;;;;;2657:20;;;;;;;;;592:6490;2657:20;;;592:6490;1782:37:0;282:2;592:6490:10;282:2:0;;;592:6490:10;282:2:0;;592:6490:10;1774:46:0;282:2;2370:26;282:2;592:6490:10;282:2:0;;;592:6490:10;;-1:-1:-1;;282:2:0;;592:6490:10;282:2:0;;335;282;335;:::i;:::-;592:6490:10;;;;;;;:::i;:::-;335:2:0;;;;;;;592:6490:10;335:2:0;;;;;;-1:-1:-1;770:10:10;;;;;;;;-1:-1:-1;;770:10:10;;;;2839:40;;;592:6490;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;2839:40;;;;;592:6490;;;;:::i;:::-;2913:9;592:6490;;2936:25;;;2932:60;;592:6490;;;;;;;3041:4;:86;;;;592:6490;;-1:-1:-1;;;3041:86:10;;-1:-1:-1;;;;;592:6490:10;;;3041:86;;592:6490;;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;-1:-1:-1;;592:6490:10;;;;;;;;;:::i;:::-;3117:9;592:6490;;;;3041:86;:4;;:86;;;;;;592:6490;-1:-1:-1;3037:766:10;;3193:610;;:::i;:::-;770:10;;3236:15;:58;;;3037:766;3232:293;;592:6490;;3675:6;592:6490;;;828:4;3599:35;592:6490;;;;;;;;;828:4;;;592:6490;828:4;;;;:::i;:::-;3599:35;;;3675:6;:::i;:::-;3117:9;3696:97;;3037:766;;592:6490;;3696:97;3117:9;;;;;6815:34;;;;;:::i;:::-;;3696:97;6863:45;-1:-1:-1;;;6884:24:10;;592:6490;;;;6884:24;3232:293;-1:-1:-1;;;3488:22:10;;592:6490;;;;;2970:22;3488;3236:58;3255:9;;592:6490;;-1:-1:-1;;592:6490:10;;;;;;;;3255:39;3236:58;;592:6490;-1:-1:-1;;;770:10:10;;;592:6490;770:10;592:6490;770:10;;3037:766;592:6490;;;;3147:34;592:6490;;;;;;;3147:34;592:6490;;3041:86;;;;;-1:-1:-1;3041:86:10;;:::i;:::-;-1:-1:-1;3041:86:10;;;;;-1:-1:-1;592:6490:10;;;770:10;;;-1:-1:-1;770:10:10;;592:6490;770:10;592:6490;-1:-1:-1;770:10:10;2932:60;2970:22;;;;-1:-1:-1;2970:22:10;592:6490;;;-1:-1:-1;2970:22:10;2657:20;;;592:6490;2657:20;;592:6490;2657:20;;;;;;592:6490;2657:20;;;:::i;:::-;;;592:6490;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;2657:20;;;;;;-1:-1:-1;2657:20:10;;;592:6490;;770:10;592:6490;770:10;;;;;2584:46;2613:17;;;592:6490;2613:17;592:6490;;;;2613:17;2516:58;2551:23;;;592:6490;2551:23;2520:10;592:6490;;;;2551:23;592:6490;;;;;;;:::i;:::-;5304:10;;592:6490;;5289:14;592:6490;;;;;;;;5288:27;5284:64;;592:6490;5378:15;;;;;;592:6490;5395:3;592:6490;;-1:-1:-1;;;;;5423:7:10;;592:6490;5423:7;;;:::i;:::-;;:::i;:::-;592:6490;;;5414:8;592:6490;;;;;;;;;;;;;;5457:17;592:6490;5466:7;;;;;;:::i;:::-;592:6490;;;;;;;;;;;5457:17;592:6490;5363:13;;5284:64;5601:24;;;592:6490;5324:24;5304:10;592:6490;;;;5324:24;592:6490;;;;;;-1:-1:-1;;592:6490:10;;;;6041:25;592:6490;;;:::i;:::-;1500:62:2;;:::i;:::-;-1:-1:-1;;;;;592:6490:10;;;;;6003:14;592:6490;;;;;;;;;-1:-1:-1;;592:6490:10;;;;;;;6041:25;592:6490;;;;;;;-1:-1:-1;;592:6490:10;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1500:62:2;;;;;:::i;:::-;770:10:10;;;;6383:31;6379:64;;592:6490;;;-1:-1:-1;;;;;592:6490:10;;6528:3;770:10;;6509:17;;;;;592:6490;;6578:10;-1:-1:-1;;;;;6557:9:10;592:6490;6557:9;;:::i;:::-;592:6490;;6578:10;;;;;:::i;:::-;592:6490;6578:10;;:::i;:::-;6608:37;592:6490;;;;;6623:9;;;;:::i;:::-;592:6490;;6634:10;;;;:::i;:::-;592:6490;;;;-1:-1:-1;;;;;592:6490:10;;;;;;770:10;;;592:6490;;;;;6608:37;592:6490;6494:13;;6379:64;6423:20;;;592:6490;6423:20;592:6490;;6423:20;592:6490;;;;;;;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;-1:-1:-1;;;;;592:6490:10;;:::i;:::-;;;;952:40;592:6490;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;;;:::i;:::-;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;:::i;:::-;;;;;;3981:4;;3959:10;:27;3955:49;;592:6490;;:::i;:::-;-1:-1:-1;;;;;;592:6490:10;;4048:22;;;4044:584;;;;770:10;;;;;;;;;4287:15;592:6490;;4444:17;592:6490;4444:17;;592:6490;;4444:17;;;592:6490;4444:17;;:::i;:::-;592:6490;;;;;;:::i;:::-;;770:10;;592:6490;4420:42;;770:10;4044:584;;4641:9;;;:35;;;;4044:584;-1:-1:-1;4637:574:10;;;770:10;;592:6490;;;;;;;:::i;:::-;4816:1;770:10;;;592:6490;770:10;;;;;;4832:21;;;;;:::i;:::-;;;;;:::i;:::-;;592:6490;;4999:17;592:6490;4999:17;;592:6490;;4999:17;;;592:6490;4999:17;;:::i;:::-;592:6490;;;;;;:::i;:::-;;770:10;;592:6490;4975:42;;770:10;4961:56;;;:::i;:::-;;;;;:::i;:::-;;592:6490;;770:10;;;;;;5031:49;;592:6490;770:10;;592:6490;;5031:49;;770:10;;;;;;592:6490;770:10;;;592:6490;;770:10;;;;;;;;;592:6490;770:10;;;;;;;592:6490;;;;770:10;592:6490;;;;;;;;;770:10;;;;592:6490;770:10;;;;:::i;:::-;5031:49;;:6;-1:-1:-1;;;;;592:6490:10;5031:49;;;;;;;;592:6490;5031:49;;;;;592:6490;5031:49;;;;;;:::i;:::-;;;;;:::i;770:10::-;;;;;592:6490;770:10;;;;592:6490;770:10;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;592:6490;;;;;;;;:::i;:::-;770:10;;;;;;;;;;;;;4637:574;592:6490;;770:10;592:6490;;770:10;592:6490;;770:10;;;;;;;;;;5151:49;;592:6490;;5151:49;;770:10;592:6490;770:10;;;;:::i;:::-;;;;-1:-1:-1;;770:10:10;592:6490;770:10;;;592:6490;770:10;:::i;4641:35::-;4654:22;;;4641:35;;;4044:584;592:6490;;;-1:-1:-1;;;;;592:6490:10;;;;;4526:25;;592:6490;770:10;;;592:6490;;;4526:25;;592:6490;;;4526:25;770:10;592:6490;4526:25;:::i;:::-;592:6490;;;;;;:::i;:::-;;770:10;;592:6490;4503:49;;;770:10;;;;592:6490;;-1:-1:-1;;;4515:47:7;;;;;;-1:-1:-1;;;;;4601:6:10;592:6490;;4515:47:7;;592:6490:10;;;770:10;;;;592:6490;;;;4515:47:7;;;770:10:10;;592:6490;;;;;;-1:-1:-1;;4515:47:7;770:10:10;592:6490;4515:47:7;:::i;:::-;9086:199;;;;;;;592:6490:10;9086:199:7;;9301:80;;;4044:584:10;4577:45:7;;;4573:201;;4044:584:10;;;;;;4573:201:7;4665:43;4750:12;592:6490:10;;;770:10;;;;592:6490;4665:43:7;;;592:6490:10;4665:43:7;;592:6490:10;;;;;;;4665:43:7;;;592:6490:10;4665:43:7;;:::i;:::-;;;:::i;:::-;4750:12;:::i;:::-;4573:201;;;;;9301:80;9313:67;;-1:-1:-1;9313:15:7;;9331:26;;;:30;;9313:67;9301:80;;;;9313:67;592:6490:10;9364:16:7;9313:67;;3955:49:10;3995:9;;;592:6490;3995:9;592:6490;;3995:9;592:6490;;;;;;-1:-1:-1;;592:6490:10;;;;1500:62:2;;:::i;:::-;592:6490:10;;;-1:-1:-1;;;;;;592:6490:10;;;;-1:-1:-1;;;;;592:6490:10;3052:40:2;592:6490:10;;3052:40:2;592:6490:10;;;;;;;-1:-1:-1;;592:6490:10;;;;;;839:33;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;-1:-1:-1;;592:6490:10;;;;6181:25;592:6490;;;1500:62:2;;:::i;:::-;592:6490:10;;;;;;;;6181:25;592:6490;;;;;;;;:::i;:::-;5581:10;;592:6490;;5566:14;592:6490;;;;;;;;5565:27;5561:64;;592:6490;5655:15;;;;;;592:6490;5672:3;592:6490;;-1:-1:-1;;;;;5707:7:10;;592:6490;5707:7;;;:::i;:::-;592:6490;;;5698:8;592:6490;;;;;;;;;;;;5734:19;592:6490;5745:7;;;;;;:::i;:::-;592:6490;;;;;;;;;;;5734:19;592:6490;5640:13;;592:6490;;;;;;-1:-1:-1;;592:6490:10;;;;;;-1:-1:-1;;;;;592:6490:10;;:::i;:::-;;;;998:46;592:6490;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;:::o;:::-;;;;-1:-1:-1;;;;;592:6490:10;;;;;;:::o;:::-;;;-1:-1:-1;;592:6490:10;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;;;;;;;;;:::o;:::-;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;:::o;:::-;770:10;;;-1:-1:-1;592:6490:10;;;;;-1:-1:-1;592:6490:10;;;;4526:25;;592:6490;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;:::o;:::-;-1:-1:-1;;;;;592:6490:10;;;;;;;;;:::o;:::-;;;;;;;;;;;;:::o;:::-;770:10;;;592:6490;;;;;;;;;;-1:-1:-1;;;;;592:6490:10;;;;;;;:::o;:::-;;;;;;;:::i;:::-;;;;-1:-1:-1;592:6490:10;;;;:::o;770:10::-;-1:-1:-1;;;;;770:10:10;;;;592:6490;;-1:-1:-1;;592:6490:10;770:10;;;:::o;:::-;;;;;;;;;;;;;;;:::i;:::-;592:6490;;;;;;;:::i;:::-;770:10;;;;;;;;;;;;-1:-1:-1;770:10:10;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;-1:-1:-1;;;;;770:10:10;;;;;;;;:::i;:::-;;:::o;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;770:10:10;;;;;;592:6490;;-1:-1:-1;;592:6490:10;770:10;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;770:10:10;;;;;-1:-1:-1;770:10:10;;;;;;;;;;;;;;-1:-1:-1;770:10:10;;;;;;592:6490;;-1:-1:-1;;592:6490:10;770:10;;;:::o;:::-;;;;;;;;;:::o;:::-;;;4970:1;770:10;;;;;;;:::o;:::-;;;;;;;;;;;;;;;:::o;592:6490::-;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;-1:-1:-1;592:6490:10;;;;:::o;:::-;;;:::o;1796:162:2:-;1710:6;592:6490:10;-1:-1:-1;;;;;592:6490:10;735:10:8;1855:23:2;1851:101;;1796:162::o;1851:101::-;1901:40;;;1710:6;1901:40;735:10:8;1901:40:2;592:6490:10;;1710:6:2;1901:40;6668:332:10;;;;-1:-1:-1;;;;;592:6490:10;6759:22;592:6490;;6815:34;778:1;6815:34;;;;;;;;;:::i;:::-;;6867:8;6863:45;;6755:239;6668:332::o;6863:45::-;-1:-1:-1;;;778:1:10;6884:24;;;-1:-1:-1;;;;;592:6490:10;;;;6884:24;592:6490;;;6884:24;6755:239;592:6490;;-1:-1:-1;;;1328:43:7;;;;-1:-1:-1;;;;;592:6490:10;;;;1328:43:7;;;592:6490:10;770:10;;;;592:6490;;;;1328:43:7;;;;;592:6490:10;1328:43:7;770:10:10;592:6490;1328:43:7;:::i;:::-;6668:332:10:o;7686:720:7:-;;-1:-1:-1;7823:421:7;7686:720;7823:421;;;;;;;;;;;;-1:-1:-1;7823:421:7;;8258:15;;-1:-1:-1;;;;;;592:6490:10;;8276:26:7;:31;8258:68;8254:146;;7686:720;:::o;8254:146::-;-1:-1:-1;;;;8349:40:7;;;-1:-1:-1;;;;;592:6490:10;;;;8349:40:7;592:6490:10;;;8349:40:7;8258:68;8325:1;8310:16;;8258:68;

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
0x3d8A283b6826Eb69b7526fb4344258627b9711B1
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.