ETH Price: $4,014.82 (+3.88%)

Contract

0x8845B2d99995C0D93260b15c46f92d4d34833b21

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw1233218512024-07-29 8:41:19130 days ago1722242479IN
0x8845B2d9...d34833b21
0.000001 ETH0.0000000558450.00130369
Send Message1213581092024-06-13 21:43:15176 days ago1718314995IN
0x8845B2d9...d34833b21
0.000164798591784 ETH0.000000069860.00010075
Send Message1208412512024-06-01 22:34:39188 days ago1717281279IN
0x8845B2d9...d34833b21
0.000112610241118 ETH0.0000007516040.0031608
Send Message1206054552024-05-27 11:34:47193 days ago1716809687IN
0x8845B2d9...d34833b21
0.000253349821737 ETH0.0000161529740.0702154
Send Message1199760722024-05-12 21:55:21208 days ago1715550921IN
0x8845B2d9...d34833b21
0.000116276850991 ETH0.0000140092710.0614277
Send Message1199760632024-05-12 21:55:03208 days ago1715550903IN
0x8845B2d9...d34833b21
0.000115404475275 ETH0.0000146652820.0643051
Send Message1198341712024-05-09 15:05:19211 days ago1715267119IN
0x8845B2d9...d34833b21
0.000115840402974 ETH0.0000140523760.06147853
Send Message1197079472024-05-06 16:57:51214 days ago1715014671IN
0x8845B2d9...d34833b21
0.000200794816229 ETH0.0000142533840.06194479
Send Message1196212642024-05-04 16:48:25216 days ago1714841305IN
0x8845B2d9...d34833b21
0.000144880206994 ETH0.0000019760120.0084495
Send Message1194974562024-05-01 20:01:29219 days ago1714593689IN
0x8845B2d9...d34833b21
0.000116035769612 ETH0.0000145531840.0633356
Send Message1194535442024-04-30 19:37:45220 days ago1714505865IN
0x8845B2d9...d34833b21
0.000133436487129 ETH0.0000142156280.06178166
Send Message1194399702024-04-30 12:05:17220 days ago1714478717IN
0x8845B2d9...d34833b21
0.000116035769612 ETH0.0000170594540.0728927
Send Message1194359632024-04-30 9:51:43220 days ago1714470703IN
0x8845B2d9...d34833b21
0.000109710842739 ETH0.0000143864660.06122285
Send Message1194093662024-04-29 19:05:09221 days ago1714417509IN
0x8845B2d9...d34833b21
0.000115019475494 ETH0.0000142694240.06207486
Send Message1193635342024-04-28 17:37:25222 days ago1714325845IN
0x8845B2d9...d34833b21
0.000187847349135 ETH0.0000142703960.06233641
Send Message1193518652024-04-28 11:08:27222 days ago1714302507IN
0x8845B2d9...d34833b21
0.000254554861113 ETH0.0000147742320.06252552
Send Message1193471362024-04-28 8:30:49222 days ago1714293049IN
0x8845B2d9...d34833b21
0.000117839786232 ETH0.0000142891720.06089832
Send Message1193285322024-04-27 22:10:41223 days ago1714255841IN
0x8845B2d9...d34833b21
0.00028383034681 ETH0.0000140754890.061368
Send Message1193277762024-04-27 21:45:29223 days ago1714254329IN
0x8845B2d9...d34833b21
0.000104661542935 ETH0.000014299910.0609695
Send Message1193229682024-04-27 19:05:13223 days ago1714244713IN
0x8845B2d9...d34833b21
0.000115142771831 ETH0.0000159210020.0693945
Send Message1192744662024-04-26 16:08:29224 days ago1714147709IN
0x8845B2d9...d34833b21
0.000122697130471 ETH0.0000154662340.0658423
Send Message1192452002024-04-25 23:52:57225 days ago1714089177IN
0x8845B2d9...d34833b21
0.000122697130471 ETH0.0000146915230.06262624
Send Message1192304152024-04-25 15:40:07225 days ago1714059607IN
0x8845B2d9...d34833b21
0.000212951049458 ETH0.0000145401210.0624453
Send Message1192180972024-04-25 8:49:31225 days ago1714034971IN
0x8845B2d9...d34833b21
0.000159840393914 ETH0.0000139800130.060955
Send Message1192142302024-04-25 6:40:37225 days ago1714027237IN
0x8845B2d9...d34833b21
0.000114294095941 ETH0.0000141930830.06208935
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
1233218512024-07-29 8:41:19130 days ago1722242479
0x8845B2d9...d34833b21
0.029101 ETH
1213581092024-06-13 21:43:15176 days ago1718314995
0x8845B2d9...d34833b21
0.000064798591784 ETH
1208412512024-06-01 22:34:39188 days ago1717281279
0x8845B2d9...d34833b21
0.000012610241118 ETH
1206054552024-05-27 11:34:47193 days ago1716809687
0x8845B2d9...d34833b21
0.000153349821737 ETH
1199760722024-05-12 21:55:21208 days ago1715550921
0x8845B2d9...d34833b21
0.000016276850991 ETH
1199760632024-05-12 21:55:03208 days ago1715550903
0x8845B2d9...d34833b21
0.000015404475275 ETH
1198341712024-05-09 15:05:19211 days ago1715267119
0x8845B2d9...d34833b21
0.000015840402974 ETH
1197079472024-05-06 16:57:51214 days ago1715014671
0x8845B2d9...d34833b21
0.000100794816229 ETH
1196212642024-05-04 16:48:25216 days ago1714841305
0x8845B2d9...d34833b21
0.000044880206994 ETH
1194974562024-05-01 20:01:29219 days ago1714593689
0x8845B2d9...d34833b21
0.000016035769612 ETH
1194535442024-04-30 19:37:45220 days ago1714505865
0x8845B2d9...d34833b21
0.000033436487129 ETH
1194399702024-04-30 12:05:17220 days ago1714478717
0x8845B2d9...d34833b21
0.000016035769612 ETH
1194359632024-04-30 9:51:43220 days ago1714470703
0x8845B2d9...d34833b21
0.000009710842739 ETH
1194093662024-04-29 19:05:09221 days ago1714417509
0x8845B2d9...d34833b21
0.000015019475494 ETH
1193635342024-04-28 17:37:25222 days ago1714325845
0x8845B2d9...d34833b21
0.000087847349135 ETH
1193518652024-04-28 11:08:27222 days ago1714302507
0x8845B2d9...d34833b21
0.000154554861113 ETH
1193471362024-04-28 8:30:49222 days ago1714293049
0x8845B2d9...d34833b21
0.000017839786232 ETH
1193285322024-04-27 22:10:41223 days ago1714255841
0x8845B2d9...d34833b21
0.00018383034681 ETH
1193277762024-04-27 21:45:29223 days ago1714254329
0x8845B2d9...d34833b21
0.000004661542935 ETH
1193229682024-04-27 19:05:13223 days ago1714244713
0x8845B2d9...d34833b21
0.000015142771831 ETH
1192744662024-04-26 16:08:29224 days ago1714147709
0x8845B2d9...d34833b21
0.000022697130471 ETH
1192452002024-04-25 23:52:57225 days ago1714089177
0x8845B2d9...d34833b21
0.000022697130471 ETH
1192304152024-04-25 15:40:07225 days ago1714059607
0x8845B2d9...d34833b21
0.000112951049458 ETH
1192180972024-04-25 8:49:31225 days ago1714034971
0x8845B2d9...d34833b21
0.000059840393914 ETH
1192142302024-04-25 6:40:37225 days ago1714027237
0x8845B2d9...d34833b21
0.000014294095941 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
WhaleSendMessage

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : WhaleSendMessage.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.12;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/ILayerZeroEndpoint.sol";
import "./interfaces/ILayerZeroReceiver.sol";

contract WhaleSendMessage is Ownable, ILayerZeroReceiver {
    ILayerZeroEndpoint public endpoint;
    uint256 public cost = 0.00025 ether;
    mapping(address => string) public lastMessage;

    uint256 gas = 220000;

    // When just deploying, mint a certain number of tokens for the owner
    constructor(address _endpoint) {
        endpoint = ILayerZeroEndpoint(_endpoint);
    }

    function lzReceive(
        uint16 _dstChainId,
        bytes memory _from,
        uint64,
        bytes memory _payload
    ) external override {
        require(msg.sender == address(endpoint));
        address from;

        assembly {
            from := mload(add(_from, 20))
        }
        (address toAddress, string memory message) = abi.decode(_payload, (address, string));
        // mint the tokens
        lastMessage[toAddress] = message;
    }

    function estimateFees(
        uint16 _dstChainId,
        address _userApplication,
        bytes calldata _payload,
        bool _payInZRO,
        bytes calldata _adapterParams
    ) external view returns (uint256 nativeFee, uint256 zroFee) {
        return endpoint.estimateFees(_dstChainId, _userApplication, _payload, _payInZRO, _adapterParams);
    }

    function sendMessage(
        string memory message,
        uint16 destChainId,
        bytes calldata _destination
    ) public payable {
        bytes memory payload = abi.encode(msg.sender, message);

        uint16 version = 2;
        bytes memory adapterParams = abi.encodePacked(version, gas);

        (uint256 messageFee, ) = endpoint.estimateFees(destChainId, address(this), payload, false, adapterParams);
        require(msg.value >= messageFee, "Must send enough value to cover messageFee");
        endpoint.send{value: msg.value - cost}(
            destChainId,
            _destination,
            payload,
            payable(msg.sender),
            address(0x0),
            adapterParams
        );
    }

    function setCost(uint256 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}("");
        require(success);
    }
}

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

pragma solidity >=0.5.0;

import "./ILayerZeroUserApplicationConfig.sol";

interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig {
    // @notice send a LayerZero message to the specified address at a LayerZero endpoint.
    // @param _dstChainId - the destination chain identifier
    // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains
    // @param _payload - a custom bytes payload to send to the destination contract
    // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address
    // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction
    // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination
    function send(
        uint16 _dstChainId,
        bytes calldata _destination,
        bytes calldata _payload,
        address payable _refundAddress,
        address _zroPaymentAddress,
        bytes calldata _adapterParams
    ) external payable;

    // @notice used by the messaging library to publish verified payload
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source contract (as bytes) at the source chain
    // @param _dstAddress - the address on destination chain
    // @param _nonce - the unbound message ordering nonce
    // @param _gasLimit - the gas limit for external contract execution
    // @param _payload - verified payload to send to the destination contract
    function receivePayload(
        uint16 _srcChainId,
        bytes calldata _srcAddress,
        address _dstAddress,
        uint64 _nonce,
        uint256 _gasLimit,
        bytes calldata _payload
    ) external;

    // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64);

    // @notice get the outboundNonce from this source chain which, consequently, is always an EVM
    // @param _srcAddress - the source chain contract address
    function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64);

    // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery
    // @param _dstChainId - the destination chain identifier
    // @param _userApplication - the user app address on this EVM chain
    // @param _payload - the custom message to send over LayerZero
    // @param _payInZRO - if false, user app pays the protocol fee in native token
    // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain
    function estimateFees(
        uint16 _dstChainId,
        address _userApplication,
        bytes calldata _payload,
        bool _payInZRO,
        bytes calldata _adapterParam
    ) external view returns (uint256 nativeFee, uint256 zroFee);

    // @notice get this Endpoint's immutable source identifier
    function getChainId() external view returns (uint16);

    // @notice the interface to retry failed message on this Endpoint destination
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    // @param _payload - the payload to be retried
    function retryPayload(
        uint16 _srcChainId,
        bytes calldata _srcAddress,
        bytes calldata _payload
    ) external;

    // @notice query if any STORED payload (message blocking) at the endpoint.
    // @param _srcChainId - the source chain identifier
    // @param _srcAddress - the source chain contract address
    function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool);

    // @notice query if the _libraryAddress is valid for sending msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getSendLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the _libraryAddress is valid for receiving msgs.
    // @param _userApplication - the user app address on this EVM chain
    function getReceiveLibraryAddress(address _userApplication) external view returns (address);

    // @notice query if the non-reentrancy guard for send() is on
    // @return true if the guard is on. false otherwise
    function isSendingPayload() external view returns (bool);

    // @notice query if the non-reentrancy guard for receive() is on
    // @return true if the guard is on. false otherwise
    function isReceivingPayload() external view returns (bool);

    // @notice get the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _userApplication - the contract address of the user application
    // @param _configType - type of configuration. every messaging library has its own convention.
    function getConfig(
        uint16 _version,
        uint16 _chainId,
        address _userApplication,
        uint256 _configType
    ) external view returns (bytes memory);

    // @notice get the send() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getSendVersion(address _userApplication) external view returns (uint16);

    // @notice get the lzReceive() LayerZero messaging library version
    // @param _userApplication - the contract address of the user application
    function getReceiveVersion(address _userApplication) external view returns (uint16);
}

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

pragma solidity >=0.5.0;

interface ILayerZeroReceiver {
    // @notice LayerZero endpoint will invoke this function to deliver the message on the destination
    // @param _srcChainId - the source endpoint identifier
    // @param _srcAddress - the source sending contract address from the source chain
    // @param _nonce - the ordered message nonce
    // @param _payload - the signed payload is the UA bytes has encoded to be sent
    function lzReceive(
        uint16 _srcChainId,
        bytes calldata _srcAddress,
        uint64 _nonce,
        bytes calldata _payload
    ) external;
}

File 4 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 5 of 6 : ILayerZeroUserApplicationConfig.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

interface ILayerZeroUserApplicationConfig {
    // @notice set the configuration of the LayerZero messaging library of the specified version
    // @param _version - messaging library version
    // @param _chainId - the chainId for the pending config change
    // @param _configType - type of configuration. every messaging library has its own convention.
    // @param _config - configuration in the bytes. can encode arbitrary content.
    function setConfig(
        uint16 _version,
        uint16 _chainId,
        uint256 _configType,
        bytes calldata _config
    ) external;

    // @notice set the send() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setSendVersion(uint16 _version) external;

    // @notice set the lzReceive() LayerZero messaging library version to _version
    // @param _version - new messaging library version
    function setReceiveVersion(uint16 _version) external;

    // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload
    // @param _srcChainId - the chainId of the source chain
    // @param _srcAddress - the contract address of the source contract at the source chain
    function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external;
}

File 6 of 6 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address","name":"_userApplication","type":"address"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"bool","name":"_payInZRO","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateFees","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastMessage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_from","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"message","type":"string"},{"internalType":"uint16","name":"destChainId","type":"uint16"},{"internalType":"bytes","name":"_destination","type":"bytes"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

608060405265e35fa931a00060025562035b6060045534801561002157600080fd5b50604051610f64380380610f64833981016040819052610040916100be565b6100493361006e565b600180546001600160a01b0319166001600160a01b03929092169190911790556100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610e67806100fd6000396000f3fe60806040526004361061009b5760003560e01c80635e280f11116100645780635e280f111461014857806365f0f5c214610180578063715018a6146101935780638da5cb5b146101a8578063b18dfd3d146101c6578063f2fde38b146101f357600080fd5b80621d3567146100a057806313faede6146100c25780633ccfd60b146100eb57806340a7bb10146100f357806344a0d68a14610128575b600080fd5b3480156100ac57600080fd5b506100c06100bb3660046107f4565b610213565b005b3480156100ce57600080fd5b506100d860025481565b6040519081526020015b60405180910390f35b6100c061027b565b3480156100ff57600080fd5b5061011361010e3660046108e0565b6102db565b604080519283526020830191909152016100e2565b34801561013457600080fd5b506100c061014336600461098d565b61036c565b34801561015457600080fd5b50600154610168906001600160a01b031681565b6040516001600160a01b0390911681526020016100e2565b6100c061018e3660046109a6565b610379565b34801561019f57600080fd5b506100c061053b565b3480156101b457600080fd5b506000546001600160a01b0316610168565b3480156101d257600080fd5b506101e66101e1366004610a34565b61054f565b6040516100e29190610aa1565b3480156101ff57600080fd5b506100c061020e366004610a34565b6105e9565b6001546001600160a01b0316331461022a57600080fd5b6000601484015190506000808380602001905181019061024a9190610ab4565b6001600160a01b038216600090815260036020526040902091935091506102718282610bca565b5050505050505050565b61028361065f565b604051600090339047908381818185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50509050806102d857600080fd5b50565b60015460405163040a7bb160e41b815260009182916001600160a01b03909116906340a7bb109061031c908c908c908c908c908c908c908c90600401610cb3565b6040805180830381865afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c9190610d0b565b9150915097509795505050505050565b61037461065f565b600255565b6000338560405160200161038e929190610d2f565b60408051601f1981840301815290829052600454600160f11b60208401526022830152915060029060009060420160408051601f198184030181529082905260015463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090610408908a903090899087908990600401610d5b565b6040805180830381865afa158015610424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104489190610d0b565b509050803410156104b35760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420656e6f7567682076616c756520746f20636f766572206044820152696d65737361676546656560b01b60648201526084015b60405180910390fd5b6001546002546001600160a01b039091169063c5803100906104d59034610daf565b898989893360008a6040518963ffffffff1660e01b81526004016104ff9796959493929190610dd6565b6000604051808303818588803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b50505050505050505050505050565b61054361065f565b61054d60006106b9565b565b6003602052600090815260409020805461056890610b41565b80601f016020809104026020016040519081016040528092919081815260200182805461059490610b41565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b505050505081565b6105f161065f565b6001600160a01b0381166106565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104aa565b6102d8816106b9565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff8116811461071b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561075f5761075f610720565b604052919050565b600067ffffffffffffffff82111561078157610781610720565b50601f01601f191660200190565b60006107a261079d84610767565b610736565b90508281528383830111156107b657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126107de57600080fd5b6107ed8383356020850161078f565b9392505050565b6000806000806080858703121561080a57600080fd5b61081385610709565b9350602085013567ffffffffffffffff8082111561083057600080fd5b61083c888389016107cd565b945060408701359150808216821461085357600080fd5b9092506060860135908082111561086957600080fd5b50610876878288016107cd565b91505092959194509250565b6001600160a01b03811681146102d857600080fd5b60008083601f8401126108a957600080fd5b50813567ffffffffffffffff8111156108c157600080fd5b6020830191508360208285010111156108d957600080fd5b9250929050565b600080600080600080600060a0888a0312156108fb57600080fd5b61090488610709565b9650602088013561091481610882565b9550604088013567ffffffffffffffff8082111561093157600080fd5b61093d8b838c01610897565b909750955060608a01359150811515821461095757600080fd5b9093506080890135908082111561096d57600080fd5b5061097a8a828b01610897565b989b979a50959850939692959293505050565b60006020828403121561099f57600080fd5b5035919050565b600080600080606085870312156109bc57600080fd5b843567ffffffffffffffff808211156109d457600080fd5b818701915087601f8301126109e857600080fd5b6109f78883356020850161078f565b9550610a0560208801610709565b94506040870135915080821115610a1b57600080fd5b50610a2887828801610897565b95989497509550505050565b600060208284031215610a4657600080fd5b81356107ed81610882565b60005b83811015610a6c578181015183820152602001610a54565b50506000910152565b60008151808452610a8d816020860160208601610a51565b601f01601f19169290920160200192915050565b6020815260006107ed6020830184610a75565b60008060408385031215610ac757600080fd5b8251610ad281610882565b602084015190925067ffffffffffffffff811115610aef57600080fd5b8301601f81018513610b0057600080fd5b8051610b0e61079d82610767565b818152866020838501011115610b2357600080fd5b610b34826020830160208601610a51565b8093505050509250929050565b600181811c90821680610b5557607f821691505b602082108103610b7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610bc557600081815260208120601f850160051c81016020861015610ba25750805b601f850160051c820191505b81811015610bc157828155600101610bae565b5050505b505050565b815167ffffffffffffffff811115610be457610be4610720565b610bf881610bf28454610b41565b84610b7b565b602080601f831160018114610c2d5760008415610c155750858301515b600019600386901b1c1916600185901b178555610bc1565b600085815260208120601f198616915b82811015610c5c57888601518255948401946001909101908401610c3d565b5085821015610c7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff881681526001600160a01b038716602082015260a060408201819052600090610ce29083018789610c8a565b85151560608401528281036080840152610cfd818587610c8a565b9a9950505050505050505050565b60008060408385031215610d1e57600080fd5b505080516020909101519092909150565b6001600160a01b0383168152604060208201819052600090610d5390830184610a75565b949350505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090610d8990830186610a75565b84151560608401528281036080840152610da38185610a75565b98975050505050505050565b81810381811115610dd057634e487b7160e01b600052601160045260246000fd5b92915050565b61ffff8816815260c060208201526000610df460c08301888a610c8a565b8281036040840152610e068188610a75565b6001600160a01b0387811660608601528616608085015283810360a08501529050610cfd8185610a7556fea26469706673582212209b4d6941b661153baff5485704fa81fb89d3c182ce2f8718e61c98302f922e1e64736f6c634300081300330000000000000000000000003c2269811836af69497e5f486a85d7316753cf62

Deployed Bytecode

0x60806040526004361061009b5760003560e01c80635e280f11116100645780635e280f111461014857806365f0f5c214610180578063715018a6146101935780638da5cb5b146101a8578063b18dfd3d146101c6578063f2fde38b146101f357600080fd5b80621d3567146100a057806313faede6146100c25780633ccfd60b146100eb57806340a7bb10146100f357806344a0d68a14610128575b600080fd5b3480156100ac57600080fd5b506100c06100bb3660046107f4565b610213565b005b3480156100ce57600080fd5b506100d860025481565b6040519081526020015b60405180910390f35b6100c061027b565b3480156100ff57600080fd5b5061011361010e3660046108e0565b6102db565b604080519283526020830191909152016100e2565b34801561013457600080fd5b506100c061014336600461098d565b61036c565b34801561015457600080fd5b50600154610168906001600160a01b031681565b6040516001600160a01b0390911681526020016100e2565b6100c061018e3660046109a6565b610379565b34801561019f57600080fd5b506100c061053b565b3480156101b457600080fd5b506000546001600160a01b0316610168565b3480156101d257600080fd5b506101e66101e1366004610a34565b61054f565b6040516100e29190610aa1565b3480156101ff57600080fd5b506100c061020e366004610a34565b6105e9565b6001546001600160a01b0316331461022a57600080fd5b6000601484015190506000808380602001905181019061024a9190610ab4565b6001600160a01b038216600090815260036020526040902091935091506102718282610bca565b5050505050505050565b61028361065f565b604051600090339047908381818185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50509050806102d857600080fd5b50565b60015460405163040a7bb160e41b815260009182916001600160a01b03909116906340a7bb109061031c908c908c908c908c908c908c908c90600401610cb3565b6040805180830381865afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c9190610d0b565b9150915097509795505050505050565b61037461065f565b600255565b6000338560405160200161038e929190610d2f565b60408051601f1981840301815290829052600454600160f11b60208401526022830152915060029060009060420160408051601f198184030181529082905260015463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090610408908a903090899087908990600401610d5b565b6040805180830381865afa158015610424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104489190610d0b565b509050803410156104b35760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420656e6f7567682076616c756520746f20636f766572206044820152696d65737361676546656560b01b60648201526084015b60405180910390fd5b6001546002546001600160a01b039091169063c5803100906104d59034610daf565b898989893360008a6040518963ffffffff1660e01b81526004016104ff9796959493929190610dd6565b6000604051808303818588803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b50505050505050505050505050565b61054361065f565b61054d60006106b9565b565b6003602052600090815260409020805461056890610b41565b80601f016020809104026020016040519081016040528092919081815260200182805461059490610b41565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b505050505081565b6105f161065f565b6001600160a01b0381166106565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104aa565b6102d8816106b9565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff8116811461071b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561075f5761075f610720565b604052919050565b600067ffffffffffffffff82111561078157610781610720565b50601f01601f191660200190565b60006107a261079d84610767565b610736565b90508281528383830111156107b657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126107de57600080fd5b6107ed8383356020850161078f565b9392505050565b6000806000806080858703121561080a57600080fd5b61081385610709565b9350602085013567ffffffffffffffff8082111561083057600080fd5b61083c888389016107cd565b945060408701359150808216821461085357600080fd5b9092506060860135908082111561086957600080fd5b50610876878288016107cd565b91505092959194509250565b6001600160a01b03811681146102d857600080fd5b60008083601f8401126108a957600080fd5b50813567ffffffffffffffff8111156108c157600080fd5b6020830191508360208285010111156108d957600080fd5b9250929050565b600080600080600080600060a0888a0312156108fb57600080fd5b61090488610709565b9650602088013561091481610882565b9550604088013567ffffffffffffffff8082111561093157600080fd5b61093d8b838c01610897565b909750955060608a01359150811515821461095757600080fd5b9093506080890135908082111561096d57600080fd5b5061097a8a828b01610897565b989b979a50959850939692959293505050565b60006020828403121561099f57600080fd5b5035919050565b600080600080606085870312156109bc57600080fd5b843567ffffffffffffffff808211156109d457600080fd5b818701915087601f8301126109e857600080fd5b6109f78883356020850161078f565b9550610a0560208801610709565b94506040870135915080821115610a1b57600080fd5b50610a2887828801610897565b95989497509550505050565b600060208284031215610a4657600080fd5b81356107ed81610882565b60005b83811015610a6c578181015183820152602001610a54565b50506000910152565b60008151808452610a8d816020860160208601610a51565b601f01601f19169290920160200192915050565b6020815260006107ed6020830184610a75565b60008060408385031215610ac757600080fd5b8251610ad281610882565b602084015190925067ffffffffffffffff811115610aef57600080fd5b8301601f81018513610b0057600080fd5b8051610b0e61079d82610767565b818152866020838501011115610b2357600080fd5b610b34826020830160208601610a51565b8093505050509250929050565b600181811c90821680610b5557607f821691505b602082108103610b7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610bc557600081815260208120601f850160051c81016020861015610ba25750805b601f850160051c820191505b81811015610bc157828155600101610bae565b5050505b505050565b815167ffffffffffffffff811115610be457610be4610720565b610bf881610bf28454610b41565b84610b7b565b602080601f831160018114610c2d5760008415610c155750858301515b600019600386901b1c1916600185901b178555610bc1565b600085815260208120601f198616915b82811015610c5c57888601518255948401946001909101908401610c3d565b5085821015610c7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff881681526001600160a01b038716602082015260a060408201819052600090610ce29083018789610c8a565b85151560608401528281036080840152610cfd818587610c8a565b9a9950505050505050505050565b60008060408385031215610d1e57600080fd5b505080516020909101519092909150565b6001600160a01b0383168152604060208201819052600090610d5390830184610a75565b949350505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090610d8990830186610a75565b84151560608401528281036080840152610da38185610a75565b98975050505050505050565b81810381811115610dd057634e487b7160e01b600052601160045260246000fd5b92915050565b61ffff8816815260c060208201526000610df460c08301888a610c8a565b8281036040840152610e068188610a75565b6001600160a01b0387811660608601528616608085015283810360a08501529050610cfd8185610a7556fea26469706673582212209b4d6941b661153baff5485704fa81fb89d3c182ce2f8718e61c98302f922e1e64736f6c63430008130033

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

0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62

-----Decoded View---------------
Arg [0] : _endpoint (address): 0x3c2269811836af69497E5F486A85D7316753cf62

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


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
[ 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.