CELO Price: $0.452621 (-0.19%)
Gas: 5 GWei

Contract

0xE49f67b8B7c8F261fc4b594fb545202f6d52D36f

Overview

CELO Balance

Celo Chain LogoCelo Chain LogoCelo Chain Logo0 CELO

CELO Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw269142592024-07-29 8:54:08203 days ago1722243248IN
0xE49f67b8...f6d52D36f
0.000001 CELO0.0003031210
Send Message258046442024-05-26 3:31:25267 days ago1716694285IN
0xE49f67b8...f6d52D36f
0.54496778 CELO0.0026539710
Send Message254806792024-05-07 9:31:09286 days ago1715074269IN
0xE49f67b8...f6d52D36f
0.42132865 CELO0.0023198910
Send Message254633872024-05-06 9:29:54287 days ago1714987794IN
0xE49f67b8...f6d52D36f
0.42800612 CELO0.0022682710
Send Message254448222024-05-05 7:42:38288 days ago1714894958IN
0xE49f67b8...f6d52D36f
1.10226093 CELO0.0022683910
Send Message254306062024-05-04 11:57:50289 days ago1714823870IN
0xE49f67b8...f6d52D36f
1.10226093 CELO0.0022683910
Send Message254153492024-05-03 14:46:07289 days ago1714747567IN
0xE49f67b8...f6d52D36f
0.72372635 CELO0.0022738510
Send Message254143352024-05-03 13:21:37290 days ago1714742497IN
0xE49f67b8...f6d52D36f
0.42133882 CELO0.0023198910
Send Message254026942024-05-02 21:11:19290 days ago1714684279IN
0xE49f67b8...f6d52D36f
0.40754547 CELO0.0022281510
Send Message253456952024-04-29 14:00:15293 days ago1714399215IN
0xE49f67b8...f6d52D36f
0.78857545 CELO0.0022685110
Send Message253175312024-04-27 22:52:47295 days ago1714258367IN
0xE49f67b8...f6d52D36f
0.7962416 CELO0.0022683910
Send Message253165942024-04-27 21:34:42295 days ago1714253682IN
0xE49f67b8...f6d52D36f
0.42583019 CELO0.0023198910
Send Message252827742024-04-25 22:35:28297 days ago1714084528IN
0xE49f67b8...f6d52D36f
0.74843828 CELO0.0022683910
Send Message252326692024-04-23 0:59:27300 days ago1713833967IN
0xE49f67b8...f6d52D36f
0.42149799 CELO0.0023100510
Send Message252223742024-04-22 10:41:27301 days ago1713782487IN
0xE49f67b8...f6d52D36f
0.42149819 CELO0.0023198910
Send Message251055532024-04-15 16:25:34307 days ago1713198334IN
0xE49f67b8...f6d52D36f
0.42145897 CELO0.0023198910
Send Message250912082024-04-14 20:30:09308 days ago1713126609IN
0xE49f67b8...f6d52D36f
0.82090314 CELO0.0022683910
Send Message250892622024-04-14 17:47:59308 days ago1713116879IN
0xE49f67b8...f6d52D36f
0.42150719 CELO0.0023198910
Send Message250681362024-04-13 12:27:26310 days ago1713011246IN
0xE49f67b8...f6d52D36f
1.08900376 CELO0.0022683910
Send Message250374752024-04-11 17:52:19311 days ago1712857939IN
0xE49f67b8...f6d52D36f
0.40939813 CELO0.0023106710.01
Send Message249809732024-04-08 11:23:42315 days ago1712575422IN
0xE49f67b8...f6d52D36f
0.66298284 CELO0.0022738510
Send Message249192742024-04-04 21:41:56318 days ago1712266916IN
0xE49f67b8...f6d52D36f
0.41551 CELO0.0022568710
Send Message248839382024-04-02 20:37:12320 days ago1712090232IN
0xE49f67b8...f6d52D36f
0.40484027 CELO0.002322210.01
Send Message248762192024-04-02 9:53:56321 days ago1712051636IN
0xE49f67b8...f6d52D36f
0.70723678 CELO0.0022706510.01
Send Message248736382024-04-02 6:18:51321 days ago1712038731IN
0xE49f67b8...f6d52D36f
0.42030582 CELO0.0022705310.01
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
269142592024-07-29 8:54:08203 days ago1722243248
0xE49f67b8...f6d52D36f
39.960001 CELO
258046442024-05-26 3:31:25267 days ago1716694285
0xE49f67b8...f6d52D36f
0.17496778 CELO
254806792024-05-07 9:31:09286 days ago1715074269
0xE49f67b8...f6d52D36f
0.05132865 CELO
254633872024-05-06 9:29:54287 days ago1714987794
0xE49f67b8...f6d52D36f
0.05800612 CELO
254448222024-05-05 7:42:38288 days ago1714894958
0xE49f67b8...f6d52D36f
0.73226093 CELO
254306062024-05-04 11:57:50289 days ago1714823870
0xE49f67b8...f6d52D36f
0.73226093 CELO
254153492024-05-03 14:46:07289 days ago1714747567
0xE49f67b8...f6d52D36f
0.35372635 CELO
254143352024-05-03 13:21:37290 days ago1714742497
0xE49f67b8...f6d52D36f
0.05133882 CELO
254026942024-05-02 21:11:19290 days ago1714684279
0xE49f67b8...f6d52D36f
0.03754547 CELO
253456952024-04-29 14:00:15293 days ago1714399215
0xE49f67b8...f6d52D36f
0.41857545 CELO
253175312024-04-27 22:52:47295 days ago1714258367
0xE49f67b8...f6d52D36f
0.4262416 CELO
253165942024-04-27 21:34:42295 days ago1714253682
0xE49f67b8...f6d52D36f
0.05583019 CELO
252827742024-04-25 22:35:28297 days ago1714084528
0xE49f67b8...f6d52D36f
0.37843828 CELO
252326692024-04-23 0:59:27300 days ago1713833967
0xE49f67b8...f6d52D36f
0.05149799 CELO
252223742024-04-22 10:41:27301 days ago1713782487
0xE49f67b8...f6d52D36f
0.05149819 CELO
251055532024-04-15 16:25:34307 days ago1713198334
0xE49f67b8...f6d52D36f
0.05145897 CELO
250912082024-04-14 20:30:09308 days ago1713126609
0xE49f67b8...f6d52D36f
0.45090314 CELO
250892622024-04-14 17:47:59308 days ago1713116879
0xE49f67b8...f6d52D36f
0.05150719 CELO
250681362024-04-13 12:27:26310 days ago1713011246
0xE49f67b8...f6d52D36f
0.71900376 CELO
250374752024-04-11 17:52:19311 days ago1712857939
0xE49f67b8...f6d52D36f
0.03939813 CELO
249809732024-04-08 11:23:42315 days ago1712575422
0xE49f67b8...f6d52D36f
0.29298284 CELO
249192742024-04-04 21:41:56318 days ago1712266916
0xE49f67b8...f6d52D36f
0.04551 CELO
248839382024-04-02 20:37:12320 days ago1712090232
0xE49f67b8...f6d52D36f
0.03484027 CELO
248762192024-04-02 9:53:56321 days ago1712051636
0xE49f67b8...f6d52D36f
0.33723678 CELO
248736382024-04-02 6:18:51321 days ago1712038731
0xE49f67b8...f6d52D36f
0.05030582 CELO
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"}]

Contract Creation Code

608060405265e35fa931a00060025562035b6060045534801561002157600080fd5b50604051610f64380380610f64833981016040819052610040916100be565b6100493361006e565b600180546001600160a01b0319166001600160a01b03929092169190911790556100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610e67806100fd6000396000f3fe60806040526004361061009b5760003560e01c80635e280f11116100645780635e280f111461014857806365f0f5c214610180578063715018a6146101935780638da5cb5b146101a8578063b18dfd3d146101c6578063f2fde38b146101f357600080fd5b80621d3567146100a057806313faede6146100c25780633ccfd60b146100eb57806340a7bb10146100f357806344a0d68a14610128575b600080fd5b3480156100ac57600080fd5b506100c06100bb3660046107f4565b610213565b005b3480156100ce57600080fd5b506100d860025481565b6040519081526020015b60405180910390f35b6100c061027b565b3480156100ff57600080fd5b5061011361010e3660046108e0565b6102db565b604080519283526020830191909152016100e2565b34801561013457600080fd5b506100c061014336600461098d565b61036c565b34801561015457600080fd5b50600154610168906001600160a01b031681565b6040516001600160a01b0390911681526020016100e2565b6100c061018e3660046109a6565b610379565b34801561019f57600080fd5b506100c061053b565b3480156101b457600080fd5b506000546001600160a01b0316610168565b3480156101d257600080fd5b506101e66101e1366004610a34565b61054f565b6040516100e29190610aa1565b3480156101ff57600080fd5b506100c061020e366004610a34565b6105e9565b6001546001600160a01b0316331461022a57600080fd5b6000601484015190506000808380602001905181019061024a9190610ab4565b6001600160a01b038216600090815260036020526040902091935091506102718282610bca565b5050505050505050565b61028361065f565b604051600090339047908381818185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50509050806102d857600080fd5b50565b60015460405163040a7bb160e41b815260009182916001600160a01b03909116906340a7bb109061031c908c908c908c908c908c908c908c90600401610cb3565b6040805180830381865afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c9190610d0b565b9150915097509795505050505050565b61037461065f565b600255565b6000338560405160200161038e929190610d2f565b60408051601f1981840301815290829052600454600160f11b60208401526022830152915060029060009060420160408051601f198184030181529082905260015463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090610408908a903090899087908990600401610d5b565b6040805180830381865afa158015610424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104489190610d0b565b509050803410156104b35760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420656e6f7567682076616c756520746f20636f766572206044820152696d65737361676546656560b01b60648201526084015b60405180910390fd5b6001546002546001600160a01b039091169063c5803100906104d59034610daf565b898989893360008a6040518963ffffffff1660e01b81526004016104ff9796959493929190610dd6565b6000604051808303818588803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b50505050505050505050505050565b61054361065f565b61054d60006106b9565b565b6003602052600090815260409020805461056890610b41565b80601f016020809104026020016040519081016040528092919081815260200182805461059490610b41565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b505050505081565b6105f161065f565b6001600160a01b0381166106565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104aa565b6102d8816106b9565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff8116811461071b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561075f5761075f610720565b604052919050565b600067ffffffffffffffff82111561078157610781610720565b50601f01601f191660200190565b60006107a261079d84610767565b610736565b90508281528383830111156107b657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126107de57600080fd5b6107ed8383356020850161078f565b9392505050565b6000806000806080858703121561080a57600080fd5b61081385610709565b9350602085013567ffffffffffffffff8082111561083057600080fd5b61083c888389016107cd565b945060408701359150808216821461085357600080fd5b9092506060860135908082111561086957600080fd5b50610876878288016107cd565b91505092959194509250565b6001600160a01b03811681146102d857600080fd5b60008083601f8401126108a957600080fd5b50813567ffffffffffffffff8111156108c157600080fd5b6020830191508360208285010111156108d957600080fd5b9250929050565b600080600080600080600060a0888a0312156108fb57600080fd5b61090488610709565b9650602088013561091481610882565b9550604088013567ffffffffffffffff8082111561093157600080fd5b61093d8b838c01610897565b909750955060608a01359150811515821461095757600080fd5b9093506080890135908082111561096d57600080fd5b5061097a8a828b01610897565b989b979a50959850939692959293505050565b60006020828403121561099f57600080fd5b5035919050565b600080600080606085870312156109bc57600080fd5b843567ffffffffffffffff808211156109d457600080fd5b818701915087601f8301126109e857600080fd5b6109f78883356020850161078f565b9550610a0560208801610709565b94506040870135915080821115610a1b57600080fd5b50610a2887828801610897565b95989497509550505050565b600060208284031215610a4657600080fd5b81356107ed81610882565b60005b83811015610a6c578181015183820152602001610a54565b50506000910152565b60008151808452610a8d816020860160208601610a51565b601f01601f19169290920160200192915050565b6020815260006107ed6020830184610a75565b60008060408385031215610ac757600080fd5b8251610ad281610882565b602084015190925067ffffffffffffffff811115610aef57600080fd5b8301601f81018513610b0057600080fd5b8051610b0e61079d82610767565b818152866020838501011115610b2357600080fd5b610b34826020830160208601610a51565b8093505050509250929050565b600181811c90821680610b5557607f821691505b602082108103610b7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610bc557600081815260208120601f850160051c81016020861015610ba25750805b601f850160051c820191505b81811015610bc157828155600101610bae565b5050505b505050565b815167ffffffffffffffff811115610be457610be4610720565b610bf881610bf28454610b41565b84610b7b565b602080601f831160018114610c2d5760008415610c155750858301515b600019600386901b1c1916600185901b178555610bc1565b600085815260208120601f198616915b82811015610c5c57888601518255948401946001909101908401610c3d565b5085821015610c7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff881681526001600160a01b038716602082015260a060408201819052600090610ce29083018789610c8a565b85151560608401528281036080840152610cfd818587610c8a565b9a9950505050505050505050565b60008060408385031215610d1e57600080fd5b505080516020909101519092909150565b6001600160a01b0383168152604060208201819052600090610d5390830184610a75565b949350505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090610d8990830186610a75565b84151560608401528281036080840152610da38185610a75565b98975050505050505050565b81810381811115610dd057634e487b7160e01b600052601160045260246000fd5b92915050565b61ffff8816815260c060208201526000610df460c08301888a610c8a565b8281036040840152610e068188610a75565b6001600160a01b0387811660608601528616608085015283810360a08501529050610cfd8185610a7556fea26469706673582212209b4d6941b661153baff5485704fa81fb89d3c182ce2f8718e61c98302f922e1e64736f6c634300081300330000000000000000000000003a73033c0b1407574c76bdbac67f126f6b4a9aa9

Deployed Bytecode

0x60806040526004361061009b5760003560e01c80635e280f11116100645780635e280f111461014857806365f0f5c214610180578063715018a6146101935780638da5cb5b146101a8578063b18dfd3d146101c6578063f2fde38b146101f357600080fd5b80621d3567146100a057806313faede6146100c25780633ccfd60b146100eb57806340a7bb10146100f357806344a0d68a14610128575b600080fd5b3480156100ac57600080fd5b506100c06100bb3660046107f4565b610213565b005b3480156100ce57600080fd5b506100d860025481565b6040519081526020015b60405180910390f35b6100c061027b565b3480156100ff57600080fd5b5061011361010e3660046108e0565b6102db565b604080519283526020830191909152016100e2565b34801561013457600080fd5b506100c061014336600461098d565b61036c565b34801561015457600080fd5b50600154610168906001600160a01b031681565b6040516001600160a01b0390911681526020016100e2565b6100c061018e3660046109a6565b610379565b34801561019f57600080fd5b506100c061053b565b3480156101b457600080fd5b506000546001600160a01b0316610168565b3480156101d257600080fd5b506101e66101e1366004610a34565b61054f565b6040516100e29190610aa1565b3480156101ff57600080fd5b506100c061020e366004610a34565b6105e9565b6001546001600160a01b0316331461022a57600080fd5b6000601484015190506000808380602001905181019061024a9190610ab4565b6001600160a01b038216600090815260036020526040902091935091506102718282610bca565b5050505050505050565b61028361065f565b604051600090339047908381818185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50509050806102d857600080fd5b50565b60015460405163040a7bb160e41b815260009182916001600160a01b03909116906340a7bb109061031c908c908c908c908c908c908c908c90600401610cb3565b6040805180830381865afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c9190610d0b565b9150915097509795505050505050565b61037461065f565b600255565b6000338560405160200161038e929190610d2f565b60408051601f1981840301815290829052600454600160f11b60208401526022830152915060029060009060420160408051601f198184030181529082905260015463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090610408908a903090899087908990600401610d5b565b6040805180830381865afa158015610424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104489190610d0b565b509050803410156104b35760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420656e6f7567682076616c756520746f20636f766572206044820152696d65737361676546656560b01b60648201526084015b60405180910390fd5b6001546002546001600160a01b039091169063c5803100906104d59034610daf565b898989893360008a6040518963ffffffff1660e01b81526004016104ff9796959493929190610dd6565b6000604051808303818588803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b50505050505050505050505050565b61054361065f565b61054d60006106b9565b565b6003602052600090815260409020805461056890610b41565b80601f016020809104026020016040519081016040528092919081815260200182805461059490610b41565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b505050505081565b6105f161065f565b6001600160a01b0381166106565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104aa565b6102d8816106b9565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff8116811461071b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561075f5761075f610720565b604052919050565b600067ffffffffffffffff82111561078157610781610720565b50601f01601f191660200190565b60006107a261079d84610767565b610736565b90508281528383830111156107b657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126107de57600080fd5b6107ed8383356020850161078f565b9392505050565b6000806000806080858703121561080a57600080fd5b61081385610709565b9350602085013567ffffffffffffffff8082111561083057600080fd5b61083c888389016107cd565b945060408701359150808216821461085357600080fd5b9092506060860135908082111561086957600080fd5b50610876878288016107cd565b91505092959194509250565b6001600160a01b03811681146102d857600080fd5b60008083601f8401126108a957600080fd5b50813567ffffffffffffffff8111156108c157600080fd5b6020830191508360208285010111156108d957600080fd5b9250929050565b600080600080600080600060a0888a0312156108fb57600080fd5b61090488610709565b9650602088013561091481610882565b9550604088013567ffffffffffffffff8082111561093157600080fd5b61093d8b838c01610897565b909750955060608a01359150811515821461095757600080fd5b9093506080890135908082111561096d57600080fd5b5061097a8a828b01610897565b989b979a50959850939692959293505050565b60006020828403121561099f57600080fd5b5035919050565b600080600080606085870312156109bc57600080fd5b843567ffffffffffffffff808211156109d457600080fd5b818701915087601f8301126109e857600080fd5b6109f78883356020850161078f565b9550610a0560208801610709565b94506040870135915080821115610a1b57600080fd5b50610a2887828801610897565b95989497509550505050565b600060208284031215610a4657600080fd5b81356107ed81610882565b60005b83811015610a6c578181015183820152602001610a54565b50506000910152565b60008151808452610a8d816020860160208601610a51565b601f01601f19169290920160200192915050565b6020815260006107ed6020830184610a75565b60008060408385031215610ac757600080fd5b8251610ad281610882565b602084015190925067ffffffffffffffff811115610aef57600080fd5b8301601f81018513610b0057600080fd5b8051610b0e61079d82610767565b818152866020838501011115610b2357600080fd5b610b34826020830160208601610a51565b8093505050509250929050565b600181811c90821680610b5557607f821691505b602082108103610b7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610bc557600081815260208120601f850160051c81016020861015610ba25750805b601f850160051c820191505b81811015610bc157828155600101610bae565b5050505b505050565b815167ffffffffffffffff811115610be457610be4610720565b610bf881610bf28454610b41565b84610b7b565b602080601f831160018114610c2d5760008415610c155750858301515b600019600386901b1c1916600185901b178555610bc1565b600085815260208120601f198616915b82811015610c5c57888601518255948401946001909101908401610c3d565b5085821015610c7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff881681526001600160a01b038716602082015260a060408201819052600090610ce29083018789610c8a565b85151560608401528281036080840152610cfd818587610c8a565b9a9950505050505050505050565b60008060408385031215610d1e57600080fd5b505080516020909101519092909150565b6001600160a01b0383168152604060208201819052600090610d5390830184610a75565b949350505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090610d8990830186610a75565b84151560608401528281036080840152610da38185610a75565b98975050505050505050565b81810381811115610dd057634e487b7160e01b600052601160045260246000fd5b92915050565b61ffff8816815260c060208201526000610df460c08301888a610c8a565b8281036040840152610e068188610a75565b6001600160a01b0387811660608601528616608085015283810360a08501529050610cfd8185610a7556fea26469706673582212209b4d6941b661153baff5485704fa81fb89d3c182ce2f8718e61c98302f922e1e64736f6c63430008130033

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

0000000000000000000000003a73033c0b1407574c76bdbac67f126f6b4a9aa9

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

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


Block Transaction Gas Used Reward
view all blocks validated

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.