ETH Price: $3,713.35 (-7.33%)

Contract

0x36225733276425f5DbA88977Aef45f042BACB953
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
146287892022-04-21 14:20:52963 days ago1650550852
0x36225733...42BACB953
0.01715138 ETH
146287892022-04-21 14:20:52963 days ago1650550852
0x36225733...42BACB953
0.01715138 ETH
146286102022-04-21 13:41:35963 days ago1650548495
0x36225733...42BACB953
0.01412527 ETH
146286102022-04-21 13:41:35963 days ago1650548495
0x36225733...42BACB953
0.01412527 ETH
146285532022-04-21 13:26:53963 days ago1650547613
0x36225733...42BACB953
0.01114174 ETH
146285532022-04-21 13:26:53963 days ago1650547613
0x36225733...42BACB953
0.01114174 ETH
146285162022-04-21 13:18:24963 days ago1650547104
0x36225733...42BACB953
0.01122325 ETH
146285162022-04-21 13:18:24963 days ago1650547104
0x36225733...42BACB953
0.01122325 ETH
146285082022-04-21 13:17:31963 days ago1650547051
0x36225733...42BACB953
0.01203898 ETH
146285082022-04-21 13:17:31963 days ago1650547051
0x36225733...42BACB953
0.01203898 ETH
146283182022-04-21 12:36:49963 days ago1650544609
0x36225733...42BACB953
0.01259551 ETH
146283182022-04-21 12:36:49963 days ago1650544609
0x36225733...42BACB953
0.01259551 ETH
146282842022-04-21 12:28:11963 days ago1650544091
0x36225733...42BACB953
0.01205002 ETH
146282842022-04-21 12:28:11963 days ago1650544091
0x36225733...42BACB953
0.01205002 ETH
146282562022-04-21 12:23:22963 days ago1650543802
0x36225733...42BACB953
0.01457688 ETH
146282562022-04-21 12:23:22963 days ago1650543802
0x36225733...42BACB953
0.01457688 ETH
146281022022-04-21 11:44:46963 days ago1650541486
0x36225733...42BACB953
0.01123006 ETH
146281022022-04-21 11:44:46963 days ago1650541486
0x36225733...42BACB953
0.01123006 ETH
146280912022-04-21 11:42:16963 days ago1650541336
0x36225733...42BACB953
0.01070609 ETH
146280912022-04-21 11:42:16963 days ago1650541336
0x36225733...42BACB953
0.01070609 ETH
146280152022-04-21 11:22:52963 days ago1650540172
0x36225733...42BACB953
0.01044798 ETH
146280152022-04-21 11:22:52963 days ago1650540172
0x36225733...42BACB953
0.01044798 ETH
146279412022-04-21 11:06:18963 days ago1650539178
0x36225733...42BACB953
0.01196818 ETH
146279412022-04-21 11:06:18963 days ago1650539178
0x36225733...42BACB953
0.01196818 ETH
146278482022-04-21 10:42:59963 days ago1650537779
0x36225733...42BACB953
0.01146229 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RelayTransit

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 6 : RelayTransit.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;

import {ETH} from "./constants/Tokens.sol";
import {GelatoBytes} from "./gelato/GelatoBytes.sol";

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

contract RelayTransit {
    using GelatoBytes for bytes;

    address payable public immutable gelato;

    modifier onlyGelato() {
        require(msg.sender == gelato, "Only gelato");
        _;
    }

    // solhint-disable-next-line no-empty-blocks
    constructor(address payable _gelato) {
        gelato = _gelato;
    }

    // solhint-disable-next-line no-empty-blocks
    receive() external payable {}

    function execTransit(
        address _dest,
        bytes calldata _data,
        uint256 _minFee,
        address _token
    ) external onlyGelato {
        (bool success, bytes memory returndata) = _dest.call(_data);
        if (!success) returndata.revertWithError("RelayTransit.execTransit:");

        uint256 receivedFee = _getBalance(_token, address(this));
        require(
            receivedFee >= _minFee,
            "RelayTransit.execTransit: Insufficient receivedFee"
        );

        _transferToGelato(_token, receivedFee);
    }

    function _transferToGelato(address _token, uint256 _amount) private {
        if (_amount == 0) return;

        if (_token == ETH) {
            (bool success, ) = gelato.call{value: _amount}("");
            require(
                success,
                "RelayTransit._transferGelato: Gelato ETH transfer failed"
            );
        } else {
            SafeERC20.safeTransfer(IERC20(_token), gelato, _amount);
        }
    }

    function _getBalance(address token, address user)
        private
        view
        returns (uint256)
    {
        return token == ETH ? user.balance : IERC20(token).balanceOf(user);
    }
}

File 2 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

File 3 of 6 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

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

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

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

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

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

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

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

File 4 of 6 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 5 of 6 : Tokens.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.12;

address constant ETH = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

File 6 of 6 : GelatoBytes.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.12;

library GelatoBytes {
    function calldataSliceSelector(bytes calldata _bytes)
        internal
        pure
        returns (bytes4 selector)
    {
        selector =
            _bytes[0] |
            (bytes4(_bytes[1]) >> 8) |
            (bytes4(_bytes[2]) >> 16) |
            (bytes4(_bytes[3]) >> 24);
    }

    function memorySliceSelector(bytes memory _bytes)
        internal
        pure
        returns (bytes4 selector)
    {
        selector =
            _bytes[0] |
            (bytes4(_bytes[1]) >> 8) |
            (bytes4(_bytes[2]) >> 16) |
            (bytes4(_bytes[3]) >> 24);
    }

    function revertWithError(bytes memory _bytes, string memory _tracingInfo)
        internal
        pure
    {
        // 68: 32-location, 32-length, 4-ErrorSelector, UTF-8 err
        if (_bytes.length % 32 == 4) {
            bytes4 selector;
            assembly {
                selector := mload(add(0x20, _bytes))
            }
            if (selector == 0x08c379a0) {
                // Function selector for Error(string)
                assembly {
                    _bytes := add(_bytes, 68)
                }
                revert(string(abi.encodePacked(_tracingInfo, string(_bytes))));
            } else {
                revert(
                    string(abi.encodePacked(_tracingInfo, "NoErrorSelector"))
                );
            }
        } else {
            revert(
                string(abi.encodePacked(_tracingInfo, "UnexpectedReturndata"))
            );
        }
    }

    function returnError(bytes memory _bytes, string memory _tracingInfo)
        internal
        pure
        returns (string memory)
    {
        // 68: 32-location, 32-length, 4-ErrorSelector, UTF-8 err
        if (_bytes.length % 32 == 4) {
            bytes4 selector;
            assembly {
                selector := mload(add(0x20, _bytes))
            }
            if (selector == 0x08c379a0) {
                // Function selector for Error(string)
                assembly {
                    _bytes := add(_bytes, 68)
                }
                return string(abi.encodePacked(_tracingInfo, string(_bytes)));
            } else {
                return
                    string(abi.encodePacked(_tracingInfo, "NoErrorSelector"));
            }
        } else {
            return
                string(abi.encodePacked(_tracingInfo, "UnexpectedReturndata"));
        }
    }
}

Settings
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"_gelato","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_dest","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"},{"internalType":"uint256","name":"_minFee","type":"uint256"},{"internalType":"address","name":"_token","type":"address"}],"name":"execTransit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gelato","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a060405234801561001057600080fd5b50604051610a6a380380610a6a83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516109cc61009e60003960008181604b0152818160b6015281816103c201526104b501526109cc6000f3fe60806040526004361061002d5760003560e01c8063573ea575146100395780638f0c9a031461008957600080fd5b3661003457005b600080fd5b34801561004557600080fd5b5061006d7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b34801561009557600080fd5b506100a96100a4366004610772565b6100ab565b005b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146101165760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792067656c61746f60a81b60448201526064015b60405180910390fd5b600080866001600160a01b03168686604051610133929190610810565b6000604051808303816000865af19150503d8060008114610170576040519150601f19603f3d011682016040523d82523d6000602084013e610175565b606091505b5091509150816101be5760408051808201909152601981527f52656c61795472616e7369742e657865635472616e7369743a0000000000000060208201526101be90829061024b565b60006101ca84306102e8565b9050848110156102375760405162461bcd60e51b815260206004820152603260248201527f52656c61795472616e7369742e657865635472616e7369743a20496e73756666604482015271696369656e7420726563656976656446656560701b606482015260840161010d565b6102418482610390565b5050505050505050565b602082516102599190610820565b600414156102d357602082015162461bcd60e51b6001600160e01b0319821614156102bd576044830192508183604051602001610297929190610872565b60408051601f198184030181529082905262461bcd60e51b825261010d916004016108a1565b8160405160200161029791906108d4565b505050565b806040516020016102979190610907565b5050565b60006001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461037d576040516370a0823160e01b81526001600160a01b0383811660048301528416906370a0823190602401602060405180830381865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610378919061093f565b610389565b816001600160a01b0316315b9392505050565b80610399575050565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156104a75760007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03168260405160006040518083038185875af1925050503d806000811461042b576040519150601f19603f3d011682016040523d82523d6000602084013e610430565b606091505b50509050806102ce5760405162461bcd60e51b815260206004820152603860248201527f52656c61795472616e7369742e5f7472616e7366657247656c61746f3a20476560448201527f6c61746f20455448207472616e73666572206661696c65640000000000000000606482015260840161010d565b604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000818116602484015260448084018690528451808503909101815260649093018452602080840180516001600160e01b031663a9059cbb60e01b17905284518086019095528085527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908501526102e4938693919286926102ce9286926000916105619185169084906105de565b8051909150156102ce578080602001905181019061057f9190610958565b6102ce5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161010d565b60606105ed84846000856105f5565b949350505050565b6060824710156106565760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161010d565b843b6106a45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161010d565b600080866001600160a01b031685876040516106c0919061097a565b60006040518083038185875af1925050503d80600081146106fd576040519150601f19603f3d011682016040523d82523d6000602084013e610702565b606091505b509150915061071282828661071d565b979650505050505050565b6060831561072c575081610389565b82511561073c5782518084602001fd5b8160405162461bcd60e51b815260040161010d91906108a1565b80356001600160a01b038116811461076d57600080fd5b919050565b60008060008060006080868803121561078a57600080fd5b61079386610756565b9450602086013567ffffffffffffffff808211156107b057600080fd5b818801915088601f8301126107c457600080fd5b8135818111156107d357600080fd5b8960208285010111156107e557600080fd5b6020830196508095505050506040860135915061080460608701610756565b90509295509295909350565b8183823760009101908152919050565b60008261083d57634e487b7160e01b600052601260045260246000fd5b500690565b60005b8381101561085d578181015183820152602001610845565b8381111561086c576000848401525b50505050565b60008351610884818460208801610842565b835190830190610898818360208801610842565b01949350505050565b60208152600082518060208401526108c0816040850160208701610842565b601f01601f19169190910160400192915050565b600082516108e6818460208701610842565b6e2737a2b93937b929b2b632b1ba37b960891b920191825250600f01919050565b60008251610919818460208701610842565b73556e657870656374656452657475726e6461746160601b920191825250601401919050565b60006020828403121561095157600080fd5b5051919050565b60006020828403121561096a57600080fd5b8151801515811461038957600080fd5b6000825161098c818460208701610842565b919091019291505056fea264697066735822122005a18d600d6ebc5ed0a45494050aea8903c241e5811b2ece2f13f570ff5a315364736f6c634300080c00330000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b6

Deployed Bytecode

0x60806040526004361061002d5760003560e01c8063573ea575146100395780638f0c9a031461008957600080fd5b3661003457005b600080fd5b34801561004557600080fd5b5061006d7f0000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b681565b6040516001600160a01b03909116815260200160405180910390f35b34801561009557600080fd5b506100a96100a4366004610772565b6100ab565b005b336001600160a01b037f0000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b616146101165760405162461bcd60e51b815260206004820152600b60248201526a4f6e6c792067656c61746f60a81b60448201526064015b60405180910390fd5b600080866001600160a01b03168686604051610133929190610810565b6000604051808303816000865af19150503d8060008114610170576040519150601f19603f3d011682016040523d82523d6000602084013e610175565b606091505b5091509150816101be5760408051808201909152601981527f52656c61795472616e7369742e657865635472616e7369743a0000000000000060208201526101be90829061024b565b60006101ca84306102e8565b9050848110156102375760405162461bcd60e51b815260206004820152603260248201527f52656c61795472616e7369742e657865635472616e7369743a20496e73756666604482015271696369656e7420726563656976656446656560701b606482015260840161010d565b6102418482610390565b5050505050505050565b602082516102599190610820565b600414156102d357602082015162461bcd60e51b6001600160e01b0319821614156102bd576044830192508183604051602001610297929190610872565b60408051601f198184030181529082905262461bcd60e51b825261010d916004016108a1565b8160405160200161029791906108d4565b505050565b806040516020016102979190610907565b5050565b60006001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461037d576040516370a0823160e01b81526001600160a01b0383811660048301528416906370a0823190602401602060405180830381865afa158015610354573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610378919061093f565b610389565b816001600160a01b0316315b9392505050565b80610399575050565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14156104a75760007f0000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b66001600160a01b03168260405160006040518083038185875af1925050503d806000811461042b576040519150601f19603f3d011682016040523d82523d6000602084013e610430565b606091505b50509050806102ce5760405162461bcd60e51b815260206004820152603860248201527f52656c61795472616e7369742e5f7472616e7366657247656c61746f3a20476560448201527f6c61746f20455448207472616e73666572206661696c65640000000000000000606482015260840161010d565b604080516001600160a01b037f0000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b6818116602484015260448084018690528451808503909101815260649093018452602080840180516001600160e01b031663a9059cbb60e01b17905284518086019095528085527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564908501526102e4938693919286926102ce9286926000916105619185169084906105de565b8051909150156102ce578080602001905181019061057f9190610958565b6102ce5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161010d565b60606105ed84846000856105f5565b949350505050565b6060824710156106565760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161010d565b843b6106a45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161010d565b600080866001600160a01b031685876040516106c0919061097a565b60006040518083038185875af1925050503d80600081146106fd576040519150601f19603f3d011682016040523d82523d6000602084013e610702565b606091505b509150915061071282828661071d565b979650505050505050565b6060831561072c575081610389565b82511561073c5782518084602001fd5b8160405162461bcd60e51b815260040161010d91906108a1565b80356001600160a01b038116811461076d57600080fd5b919050565b60008060008060006080868803121561078a57600080fd5b61079386610756565b9450602086013567ffffffffffffffff808211156107b057600080fd5b818801915088601f8301126107c457600080fd5b8135818111156107d357600080fd5b8960208285010111156107e557600080fd5b6020830196508095505050506040860135915061080460608701610756565b90509295509295909350565b8183823760009101908152919050565b60008261083d57634e487b7160e01b600052601260045260246000fd5b500690565b60005b8381101561085d578181015183820152602001610845565b8381111561086c576000848401525b50505050565b60008351610884818460208801610842565b835190830190610898818360208801610842565b01949350505050565b60208152600082518060208401526108c0816040850160208701610842565b601f01601f19169190910160400192915050565b600082516108e6818460208701610842565b6e2737a2b93937b929b2b632b1ba37b960891b920191825250600f01919050565b60008251610919818460208701610842565b73556e657870656374656452657475726e6461746160601b920191825250601401919050565b60006020828403121561095157600080fd5b5051919050565b60006020828403121561096a57600080fd5b8151801515811461038957600080fd5b6000825161098c818460208701610842565b919091019291505056fea264697066735822122005a18d600d6ebc5ed0a45494050aea8903c241e5811b2ece2f13f570ff5a315364736f6c634300080c0033

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

0000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b6

-----Decoded View---------------
Arg [0] : _gelato (address): 0x3CACa7b48D0573D793d3b0279b5F0029180E83b6

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003caca7b48d0573d793d3b0279b5f0029180e83b6


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.