ETH Price: $1,811.00 (+10.75%)

Contract

0x0000c74e9931C7D6c1a6e811fE96a8a808E06969
 

Overview

ETH Balance

0.000044198843369927 ETH

ETH Value

$0.08 (@ $1,811.00/ETH)
Transaction Hash
Method
Block
From
To
Use Gas Station129792402024-12-21 8:04:55123 days ago1734768295IN
0x0000c74e...808E06969
0.00025077 ETH0.000000120.00048264
Use Gas Station129471662024-12-20 14:15:47123 days ago1734704147IN
0x0000c74e...808E06969
0.00102391 ETH0.000000370.0014254
Use Gas Station108867472024-11-02 21:35:09171 days ago1730583309IN
0x0000c74e...808E06969
0.00364666 ETH0.000000920.00354686
Use Gas Station103879832024-10-22 8:29:41183 days ago1729585781IN
0x0000c74e...808E06969
0.00144572 ETH0.000000460.00180236
Use Gas Station61653762024-07-16 14:36:07280 days ago1721140567IN
0x0000c74e...808E06969
0.00052688 ETH0.000002620.0101
Use Gas Station60725232024-07-14 11:01:01283 days ago1720954861IN
0x0000c74e...808E06969
0.00389488 ETH0.000000630.00242747
Use Gas Station58144352024-07-08 11:38:05289 days ago1720438685IN
0x0000c74e...808E06969
0.00525066 ETH0.000001960.00734304
Use Gas Station54875142024-06-30 22:00:43296 days ago1719784843IN
0x0000c74e...808E06969
0.00008438 ETH0.000002670.0103
Use Gas Station53509992024-06-27 18:10:13299 days ago1719511813IN
0x0000c74e...808E06969
0.00069727 ETH0.000002530.00973273
Use Gas Station52472972024-06-25 8:33:29302 days ago1719304409IN
0x0000c74e...808E06969
0.00028906 ETH0.000003750.014
Use Gas Station50420212024-06-20 14:30:57306 days ago1718893857IN
0x0000c74e...808E06969
0.00105947 ETH0.000088020.32841563
Use Gas Station50419742024-06-20 14:29:23306 days ago1718893763IN
0x0000c74e...808E06969
0.00112714 ETH0.000086810.32389022
Use Gas Station50418772024-06-20 14:26:09306 days ago1718893569IN
0x0000c74e...808E06969
0.00112714 ETH0.000082350.30724606
Use Gas Station48443522024-06-16 0:41:59311 days ago1718498519IN
0x0000c74e...808E06969
0.00123539 ETH0.000002710.01044605
Use Gas Station48440072024-06-16 0:30:29311 days ago1718497829IN
0x0000c74e...808E06969
0.00257283 ETH0.000002710.0101205
Use Gas Station48435552024-06-16 0:15:25311 days ago1718496925IN
0x0000c74e...808E06969
0.0013724 ETH0.000002960.01104847
Use Gas Station46850052024-06-12 8:10:25315 days ago1718179825IN
0x0000c74e...808E06969
0.00123634 ETH0.000002880.0111
Use Gas Station46670192024-06-11 22:10:53315 days ago1718143853IN
0x0000c74e...808E06969
0.00066895 ETH0.000002840.01093244
Use Gas Station46659412024-06-11 21:34:57315 days ago1718141697IN
0x0000c74e...808E06969
0.00091437 ETH0.000002690.01003085
Use Gas Station46657152024-06-11 21:27:25315 days ago1718141245IN
0x0000c74e...808E06969
0.00170559 ETH0.000003890.00994523
Use Gas Station46653292024-06-11 21:14:33315 days ago1718140473IN
0x0000c74e...808E06969
0.00112641 ETH0.000002590.00998017
Use Gas Station43783562024-06-05 5:48:47322 days ago1717566527IN
0x0000c74e...808E06969
0.01049844 ETH0.000005080.00971534
Use Gas Station41663652024-05-31 8:02:25327 days ago1717142545IN
0x0000c74e...808E06969
0.00052859 ETH0.000004830.0186
Use Gas Station40790152024-05-29 7:30:45329 days ago1716967845IN
0x0000c74e...808E06969
0.00028811 ETH0.000003050.0114
Use Gas Station38208502024-05-23 8:05:15335 days ago1716451515IN
0x0000c74e...808E06969
0.00096125 ETH0.0000030.0112
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
129792402024-12-21 8:04:55123 days ago1734768295
0x0000c74e...808E06969
0.00025077 ETH
129471662024-12-20 14:15:47123 days ago1734704147
0x0000c74e...808E06969
0.00102391 ETH
108867472024-11-02 21:35:09171 days ago1730583309
0x0000c74e...808E06969
0.00364666 ETH
103879832024-10-22 8:29:41183 days ago1729585781
0x0000c74e...808E06969
0.00144572 ETH
61653762024-07-16 14:36:07280 days ago1721140567
0x0000c74e...808E06969
0.00052688 ETH
60725232024-07-14 11:01:01283 days ago1720954861
0x0000c74e...808E06969
0.00389488 ETH
58144352024-07-08 11:38:05289 days ago1720438685
0x0000c74e...808E06969
0.00525066 ETH
54875142024-06-30 22:00:43296 days ago1719784843
0x0000c74e...808E06969
0.00008438 ETH
53509992024-06-27 18:10:13299 days ago1719511813
0x0000c74e...808E06969
0.00069727 ETH
52472972024-06-25 8:33:29302 days ago1719304409
0x0000c74e...808E06969
0.00028906 ETH
50420212024-06-20 14:30:57306 days ago1718893857
0x0000c74e...808E06969
0.00105947 ETH
50419742024-06-20 14:29:23306 days ago1718893763
0x0000c74e...808E06969
0.00112714 ETH
50418772024-06-20 14:26:09306 days ago1718893569
0x0000c74e...808E06969
0.00112714 ETH
48443522024-06-16 0:41:59311 days ago1718498519
0x0000c74e...808E06969
0.00123539 ETH
48440072024-06-16 0:30:29311 days ago1718497829
0x0000c74e...808E06969
0.00257283 ETH
48435552024-06-16 0:15:25311 days ago1718496925
0x0000c74e...808E06969
0.0013724 ETH
46850052024-06-12 8:10:25315 days ago1718179825
0x0000c74e...808E06969
0.00123634 ETH
46670192024-06-11 22:10:53315 days ago1718143853
0x0000c74e...808E06969
0.00066895 ETH
46659412024-06-11 21:34:57315 days ago1718141697
0x0000c74e...808E06969
0.00091437 ETH
46657152024-06-11 21:27:25315 days ago1718141245
0x0000c74e...808E06969
0.00057918 ETH
46657152024-06-11 21:27:25315 days ago1718141245
0x0000c74e...808E06969
0.00112641 ETH
46653292024-06-11 21:14:33315 days ago1718140473
0x0000c74e...808E06969
0.00112641 ETH
43783562024-06-05 5:48:47322 days ago1717566527
0x0000c74e...808E06969
0.00483539 ETH
43783562024-06-05 5:48:47322 days ago1717566527
0x0000c74e...808E06969
0.00201918 ETH
43783562024-06-05 5:48:47322 days ago1717566527
0x0000c74e...808E06969
0.00364386 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GasStation

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : GasStation.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

contract GasStation is SimpleLzApp {
    struct SendInfo {
        uint16 dstChainId;
        uint256 nativeAmount;
    }

    constructor(address _lzEndpoint) SimpleLzApp(_lzEndpoint) {}

    uint256 _commonStationFee;
    mapping(uint16 => uint256) _stationFee;

    function useGasStation(
        SendInfo[] calldata sendInfos,
        address to
    ) external payable {
        uint256 fee;
        for (uint256 i = 0; i < sendInfos.length; i++) {
            fee += _sendNative(sendInfos[i], to);
        }
        require(msg.value >= fee, "Fee Not Met");
    }

    function estimateFees(
        uint16 _dstChainId,
        bytes memory _adapterParams
    ) public view returns (uint256 nativeFee) {
        (nativeFee, ) = lzEndpoint.estimateFees(
            _dstChainId,
            address(this),
            "",
            false,
            _adapterParams
        );
        nativeFee += _stationFee[_dstChainId] + _commonStationFee;
    }

    function _sendNative(
        SendInfo memory sendInfo,
        address _to
    ) internal returns (uint256 fee) {
        bytes memory adapterParams = createAdapterParams(
            sendInfo.dstChainId,
            sendInfo.nativeAmount,
            _to
        );

        fee = estimateFees(sendInfo.dstChainId, adapterParams);
        _lzSend(sendInfo.dstChainId, "", payable(this), adapterParams, fee);
    }

    function createAdapterParams(
        uint16 dstChainId,
        uint256 nativeAmount,
        address to
    ) public view returns (bytes memory) {
        return
            abi.encodePacked(
                uint16(2),
                getGasLimit(dstChainId),
                nativeAmount,
                to
            );
    }

    function withdraw(address token, uint256 amount) external onlyOwner {
        bool s;
        if (token == address(0)) {
            (s, ) = msg.sender.call{value: amount}("");
        } else {
            (s, ) = token.call(
                abi.encodeWithSignature(
                    "transfer(address,uint256)",
                    msg.sender,
                    amount
                )
            );
        }
        require(s, "Withdraw Failed");
    }

    function setStationFee(
        uint256 commonFee,
        uint16[] calldata chainIds,
        uint256[] calldata fees
    ) external onlyOwner {
        _commonStationFee = commonFee;
        for (uint256 i = 0; i < chainIds.length; i++) {
            _stationFee[chainIds[i]] = fees[i];
        }
    }

    receive() external payable {}
}

File 2 of 7 : 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,
        uint _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 (uint nativeFee, uint 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,
        uint _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 7 : 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 7 : 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,
        uint _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 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        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 6 of 7 : 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;
    }
}

File 7 of 7 : SimpleLzApp.sol
// SPDX-License-Identifier: BUSL-1.1
pragma solidity ^0.8.17;

import {ILayerZeroEndpoint} from "@layerzerolabs/solidity-examples/contracts/lzApp/interfaces/ILayerZeroEndpoint.sol";
import {ILayerZeroReceiver} from "@layerzerolabs/solidity-examples/contracts/lzApp/interfaces/ILayerZeroReceiver.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";

abstract contract SimpleLzApp is Ownable, ILayerZeroReceiver {
    ILayerZeroEndpoint public immutable lzEndpoint;

    mapping(uint16 => bytes) public trustedRemoteLookup;
    mapping(uint16 => uint256) public gasLimitLookup;

    uint256 public defaultGasLimit = 20_000;

    constructor(address _endpoint) {
        lzEndpoint = ILayerZeroEndpoint(_endpoint);
    }

    function lzReceive(
        uint16,
        bytes calldata,
        uint64,
        bytes calldata
    ) external virtual override {
        return;
    }

    function _lzSend(
        uint16 _dstChainId,
        bytes memory _payload,
        address payable _refundAddress,
        bytes memory _adapterParams,
        uint _nativeFee
    ) internal virtual {
        bytes memory trustedRemote = getTrusted(_dstChainId);
        lzEndpoint.send{value: _nativeFee}(
            _dstChainId,
            trustedRemote,
            _payload,
            _refundAddress,
            address(0),
            _adapterParams
        );
    }

    function getTrusted(
        uint16 _dstChainId
    ) internal view returns (bytes memory) {
        bytes memory trustedRemote = trustedRemoteLookup[_dstChainId];
        if (trustedRemote.length == 0) {
            return abi.encodePacked(address(this), address(this));
        } else {
            return trustedRemote;
        }
    }

    function getGasLimit(uint16 _dstChainId) internal view returns (uint256) {
        uint256 gasLimit = gasLimitLookup[_dstChainId];
        if (gasLimit == 0) {
            return defaultGasLimit;
        } else {
            return gasLimit;
        }
    }

    function setTrusted(
        uint16[] calldata _remoteChainIds,
        address[] calldata _remoteAddresses
    ) external onlyOwner {
        require(
            _remoteChainIds.length == _remoteAddresses.length,
            "Length Mismatch"
        );

        for (uint i; i < _remoteChainIds.length; i++) {
            trustedRemoteLookup[_remoteChainIds[i]] = abi.encodePacked(
                _remoteAddresses[i],
                address(this)
            );
        }
    }

    function setGasLimit(
        uint16[] calldata _remoteChainIds,
        uint256[] calldata _gasLimits
    ) external onlyOwner {
        require(_remoteChainIds.length == _gasLimits.length, "Length Mismatch");

        for (uint i; i < _remoteChainIds.length; i++) {
            gasLimitLookup[_remoteChainIds[i]] = _gasLimits[i];
        }
    }

    function setDefaultGasLimit(uint256 _defaultGasLimit) external onlyOwner {
        defaultGasLimit = _defaultGasLimit;
    }

    function setConfig(
        uint16 _version,
        uint16 _chainId,
        uint _configType,
        bytes calldata _config
    ) external onlyOwner {
        lzEndpoint.setConfig(_version, _chainId, _configType, _config);
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_lzEndpoint","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":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"uint256","name":"nativeAmount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"createAdapterParams","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultGasLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateFees","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"gasLimitLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"bytes","name":"","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":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_defaultGasLimit","type":"uint256"}],"name":"setDefaultGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_remoteChainIds","type":"uint16[]"},{"internalType":"uint256[]","name":"_gasLimits","type":"uint256[]"}],"name":"setGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"commonFee","type":"uint256"},{"internalType":"uint16[]","name":"chainIds","type":"uint16[]"},{"internalType":"uint256[]","name":"fees","type":"uint256[]"}],"name":"setStationFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"_remoteChainIds","type":"uint16[]"},{"internalType":"address[]","name":"_remoteAddresses","type":"address[]"}],"name":"setTrusted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"uint256","name":"nativeAmount","type":"uint256"}],"internalType":"struct GasStation.SendInfo[]","name":"sendInfos","type":"tuple[]"},{"internalType":"address","name":"to","type":"address"}],"name":"useGasStation","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052614e2060035534801561001657600080fd5b506040516116c33803806116c3833981016040819052610035916100a1565b8061003f33610051565b6001600160a01b0316608052506100d1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100b357600080fd5b81516001600160a01b03811681146100ca57600080fd5b9392505050565b6080516115c2610101600039600081816102840152818161061c015281816106eb0152610bd501526115c26000f3fe6080604052600436106101005760003560e01c80639753df2c11610095578063d191f54911610064578063d191f549146102c6578063d2f1e34b146102e6578063e32bb67b14610306578063f2fde38b14610326578063f3fef3a31461034657600080fd5b80639753df2c14610225578063b0bf07c614610245578063b353aaa714610272578063cbed8b9c146102a657600080fd5b8063715018a6116100d1578063715018a6146101845780637533d788146101995780638da5cb5b146101cf57806395368d2e1461020157600080fd5b80621d35671461010c578062528fbf1461013157806330821c821461014457806352b0896a1461016457600080fd5b3661010757005b600080fd5b34801561011857600080fd5b5061012f610127366004610da8565b505050505050565b005b61012f61013f366004610e59565b610366565b34801561015057600080fd5b5061012f61015f366004610f22565b61040b565b34801561017057600080fd5b5061012f61017f366004610f9c565b61048e565b34801561019057600080fd5b5061012f610554565b3480156101a557600080fd5b506101b96101b4366004611008565b610568565b6040516101c69190611073565b60405180910390f35b3480156101db57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101c6565b34801561020d57600080fd5b5061021760035481565b6040519081526020016101c6565b34801561023157600080fd5b506102176102403660046110cd565b610602565b34801561025157600080fd5b50610217610260366004611008565b60026020526000908152604090205481565b34801561027e57600080fd5b506101e97f000000000000000000000000000000000000000000000000000000000000000081565b3480156102b257600080fd5b5061012f6102c1366004611173565b6106cc565b3480156102d257600080fd5b506101b96102e13660046111d1565b610761565b3480156102f257600080fd5b5061012f610301366004610f9c565b6107c1565b34801561031257600080fd5b5061012f610321366004611204565b6108cf565b34801561033257600080fd5b5061012f61034136600461121d565b6108dc565b34801561035257600080fd5b5061012f610361366004611238565b610955565b6000805b838110156103c1576103a385858381811061038757610387611262565b90506040020180360381019061039d9190611278565b84610a9c565b6103ad90836112e5565b9150806103b9816112f8565b91505061036a565b50803410156104055760405162461bcd60e51b815260206004820152600b60248201526a11995948139bdd0813595d60aa1b60448201526064015b60405180910390fd5b50505050565b610413610aeb565b600485905560005b838110156101275782828281811061043557610435611262565b905060200201356005600087878581811061045257610452611262565b90506020020160208101906104679190611008565b61ffff16815260208101919091526040016000205580610486816112f8565b91505061041b565b610496610aeb565b8281146104d75760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d0409ad2e6dac2e8c6d608b1b60448201526064016103fc565b60005b8381101561054d578282828181106104f4576104f4611262565b905060200201356002600087878581811061051157610511611262565b90506020020160208101906105269190611008565b61ffff16815260208101919091526040016000205580610545816112f8565b9150506104da565b5050505050565b61055c610aeb565b6105666000610b45565b565b6001602052600090815260409020805461058190611311565b80601f01602080910402602001604051908101604052809291908181526020018280546105ad90611311565b80156105fa5780601f106105cf576101008083540402835291602001916105fa565b820191906000526020600020905b8154815290600101906020018083116105dd57829003601f168201915b505050505081565b60405163040a7bb160e41b81526000906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090610657908690309086908890600401611345565b6040805180830381865afa158015610673573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106979190611390565b5060045461ffff85166000908152600560205260409020549192506106bb916112e5565b6106c590826112e5565b9392505050565b6106d4610aeb565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061072890889088908890889088906004016113b4565b600060405180830381600087803b15801561074257600080fd5b505af1158015610756573d6000803e3d6000fd5b505050505050505050565b6060600261076e85610b95565b60405160f09290921b6001600160f01b0319166020830152602282015260428101849052606083901b6001600160601b031916606282015260760160405160208183030381529060405290509392505050565b6107c9610aeb565b82811461080a5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d0409ad2e6dac2e8c6d608b1b60448201526064016103fc565b60005b8381101561054d5782828281811061082757610827611262565b905060200201602081019061083c919061121d565b6040516001600160601b0319606092831b811660208301523090921b90911660348201526048016040516020818303038152906040526001600087878581811061088857610888611262565b905060200201602081019061089d9190611008565b61ffff1681526020810191909152604001600020906108bc9082611449565b50806108c7816112f8565b91505061080d565b6108d7610aeb565b600355565b6108e4610aeb565b6001600160a01b0381166109495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fc565b61095281610b45565b50565b61095d610aeb565b60006001600160a01b0383166109bd5760405133908390600081818185875af1925050503d80600081146109ad576040519150601f19603f3d011682016040523d82523d6000602084013e6109b2565b606091505b505080915050610a58565b604051336024820152604481018390526001600160a01b0384169060640160408051601f198184030181529181526020820180516001600160e01b031663a9059cbb60e01b17905251610a109190611509565b6000604051808303816000865af19150503d8060008114610a4d576040519150601f19603f3d011682016040523d82523d6000602084013e610a52565b606091505b50909150505b80610a975760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc811985a5b1959608a1b60448201526064016103fc565b505050565b600080610ab28460000151856020015185610761565b9050610ac2846000015182610602565b9150610ae4846000015160405180602001604052806000815250308486610bc6565b5092915050565b6000546001600160a01b031633146105665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61ffff8116600090815260026020526040812054808203610bba575050600354919050565b92915050565b50919050565b6000610bd186610c65565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c5803100838884898960008a6040518863ffffffff1660e01b8152600401610c2b96959493929190611525565b6000604051808303818588803b158015610c4457600080fd5b505af1158015610c58573d6000803e3d6000fd5b5050505050505050505050565b61ffff8116600090815260016020526040812080546060929190610c8890611311565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb490611311565b8015610d015780601f10610cd657610100808354040283529160200191610d01565b820191906000526020600020905b815481529060010190602001808311610ce457829003601f168201915b505050505090508051600003610bba576040516001600160601b03193060601b16602082018190526034820152604801604051602081830303815290604052915050919050565b803561ffff81168114610d5a57600080fd5b919050565b60008083601f840112610d7157600080fd5b50813567ffffffffffffffff811115610d8957600080fd5b602083019150836020828501011115610da157600080fd5b9250929050565b60008060008060008060808789031215610dc157600080fd5b610dca87610d48565b9550602087013567ffffffffffffffff80821115610de757600080fd5b610df38a838b01610d5f565b9097509550604089013591508082168214610e0d57600080fd5b90935060608801359080821115610e2357600080fd5b50610e3089828a01610d5f565b979a9699509497509295939492505050565b80356001600160a01b0381168114610d5a57600080fd5b600080600060408486031215610e6e57600080fd5b833567ffffffffffffffff80821115610e8657600080fd5b818601915086601f830112610e9a57600080fd5b813581811115610ea957600080fd5b8760208260061b8501011115610ebe57600080fd5b602092830195509350610ed49186019050610e42565b90509250925092565b60008083601f840112610eef57600080fd5b50813567ffffffffffffffff811115610f0757600080fd5b6020830191508360208260051b8501011115610da157600080fd5b600080600080600060608688031215610f3a57600080fd5b85359450602086013567ffffffffffffffff80821115610f5957600080fd5b610f6589838a01610edd565b90965094506040880135915080821115610f7e57600080fd5b50610f8b88828901610edd565b969995985093965092949392505050565b60008060008060408587031215610fb257600080fd5b843567ffffffffffffffff80821115610fca57600080fd5b610fd688838901610edd565b90965094506020870135915080821115610fef57600080fd5b50610ffc87828801610edd565b95989497509550505050565b60006020828403121561101a57600080fd5b6106c582610d48565b60005b8381101561103e578181015183820152602001611026565b50506000910152565b6000815180845261105f816020860160208601611023565b601f01601f19169290920160200192915050565b6020815260006106c56020830184611047565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156110c5576110c5611086565b604052919050565b600080604083850312156110e057600080fd5b6110e983610d48565b915060208084013567ffffffffffffffff8082111561110757600080fd5b818601915086601f83011261111b57600080fd5b81358181111561112d5761112d611086565b61113f601f8201601f1916850161109c565b9150808252878482850101111561115557600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060006080868803121561118b57600080fd5b61119486610d48565b94506111a260208701610d48565b935060408601359250606086013567ffffffffffffffff8111156111c557600080fd5b610f8b88828901610d5f565b6000806000606084860312156111e657600080fd5b6111ef84610d48565b925060208401359150610ed460408501610e42565b60006020828403121561121657600080fd5b5035919050565b60006020828403121561122f57600080fd5b6106c582610e42565b6000806040838503121561124b57600080fd5b61125483610e42565b946020939093013593505050565b634e487b7160e01b600052603260045260246000fd5b60006040828403121561128a57600080fd5b6040516040810181811067ffffffffffffffff821117156112ad576112ad611086565b6040526112b983610d48565b8152602083013560208201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610bba57610bba6112cf565b60006001820161130a5761130a6112cf565b5060010190565b600181811c9082168061132557607f821691505b602082108103610bc057634e487b7160e01b600052602260045260246000fd5b61ffff8516815260018060a01b038416602082015260a06040820152600060a0820152821515606082015260c06080820152600061138660c0830184611047565b9695505050505050565b600080604083850312156113a357600080fd5b505080516020909101519092909150565b600061ffff808816835280871660208401525084604083015260806060830152826080830152828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b601f821115610a9757600081815260208120601f850160051c8101602086101561142a5750805b601f850160051c820191505b8181101561012757828155600101611436565b815167ffffffffffffffff81111561146357611463611086565b611477816114718454611311565b84611403565b602080601f8311600181146114ac57600084156114945750858301515b600019600386901b1c1916600185901b178555610127565b600085815260208120601f198616915b828110156114db578886015182559484019460019091019084016114bc565b50858210156114f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161151b818460208701611023565b9190910192915050565b61ffff8716815260c06020820152600061154260c0830188611047565b82810360408401526115548188611047565b6001600160a01b0387811660608601528616608085015283810360a0850152905061157f8185611047565b999850505050505050505056fea2646970667358221220bc64294c4cf4d8ea8868f204467969bf489305dc881846faed9327004b25387b64736f6c63430008130033000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7

Deployed Bytecode

0x6080604052600436106101005760003560e01c80639753df2c11610095578063d191f54911610064578063d191f549146102c6578063d2f1e34b146102e6578063e32bb67b14610306578063f2fde38b14610326578063f3fef3a31461034657600080fd5b80639753df2c14610225578063b0bf07c614610245578063b353aaa714610272578063cbed8b9c146102a657600080fd5b8063715018a6116100d1578063715018a6146101845780637533d788146101995780638da5cb5b146101cf57806395368d2e1461020157600080fd5b80621d35671461010c578062528fbf1461013157806330821c821461014457806352b0896a1461016457600080fd5b3661010757005b600080fd5b34801561011857600080fd5b5061012f610127366004610da8565b505050505050565b005b61012f61013f366004610e59565b610366565b34801561015057600080fd5b5061012f61015f366004610f22565b61040b565b34801561017057600080fd5b5061012f61017f366004610f9c565b61048e565b34801561019057600080fd5b5061012f610554565b3480156101a557600080fd5b506101b96101b4366004611008565b610568565b6040516101c69190611073565b60405180910390f35b3480156101db57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101c6565b34801561020d57600080fd5b5061021760035481565b6040519081526020016101c6565b34801561023157600080fd5b506102176102403660046110cd565b610602565b34801561025157600080fd5b50610217610260366004611008565b60026020526000908152604090205481565b34801561027e57600080fd5b506101e97f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd781565b3480156102b257600080fd5b5061012f6102c1366004611173565b6106cc565b3480156102d257600080fd5b506101b96102e13660046111d1565b610761565b3480156102f257600080fd5b5061012f610301366004610f9c565b6107c1565b34801561031257600080fd5b5061012f610321366004611204565b6108cf565b34801561033257600080fd5b5061012f61034136600461121d565b6108dc565b34801561035257600080fd5b5061012f610361366004611238565b610955565b6000805b838110156103c1576103a385858381811061038757610387611262565b90506040020180360381019061039d9190611278565b84610a9c565b6103ad90836112e5565b9150806103b9816112f8565b91505061036a565b50803410156104055760405162461bcd60e51b815260206004820152600b60248201526a11995948139bdd0813595d60aa1b60448201526064015b60405180910390fd5b50505050565b610413610aeb565b600485905560005b838110156101275782828281811061043557610435611262565b905060200201356005600087878581811061045257610452611262565b90506020020160208101906104679190611008565b61ffff16815260208101919091526040016000205580610486816112f8565b91505061041b565b610496610aeb565b8281146104d75760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d0409ad2e6dac2e8c6d608b1b60448201526064016103fc565b60005b8381101561054d578282828181106104f4576104f4611262565b905060200201356002600087878581811061051157610511611262565b90506020020160208101906105269190611008565b61ffff16815260208101919091526040016000205580610545816112f8565b9150506104da565b5050505050565b61055c610aeb565b6105666000610b45565b565b6001602052600090815260409020805461058190611311565b80601f01602080910402602001604051908101604052809291908181526020018280546105ad90611311565b80156105fa5780601f106105cf576101008083540402835291602001916105fa565b820191906000526020600020905b8154815290600101906020018083116105dd57829003601f168201915b505050505081565b60405163040a7bb160e41b81526000906001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd716906340a7bb1090610657908690309086908890600401611345565b6040805180830381865afa158015610673573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106979190611390565b5060045461ffff85166000908152600560205260409020549192506106bb916112e5565b6106c590826112e5565b9392505050565b6106d4610aeb565b6040516332fb62e760e21b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7169063cbed8b9c9061072890889088908890889088906004016113b4565b600060405180830381600087803b15801561074257600080fd5b505af1158015610756573d6000803e3d6000fd5b505050505050505050565b6060600261076e85610b95565b60405160f09290921b6001600160f01b0319166020830152602282015260428101849052606083901b6001600160601b031916606282015260760160405160208183030381529060405290509392505050565b6107c9610aeb565b82811461080a5760405162461bcd60e51b815260206004820152600f60248201526e098cadccee8d0409ad2e6dac2e8c6d608b1b60448201526064016103fc565b60005b8381101561054d5782828281811061082757610827611262565b905060200201602081019061083c919061121d565b6040516001600160601b0319606092831b811660208301523090921b90911660348201526048016040516020818303038152906040526001600087878581811061088857610888611262565b905060200201602081019061089d9190611008565b61ffff1681526020810191909152604001600020906108bc9082611449565b50806108c7816112f8565b91505061080d565b6108d7610aeb565b600355565b6108e4610aeb565b6001600160a01b0381166109495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fc565b61095281610b45565b50565b61095d610aeb565b60006001600160a01b0383166109bd5760405133908390600081818185875af1925050503d80600081146109ad576040519150601f19603f3d011682016040523d82523d6000602084013e6109b2565b606091505b505080915050610a58565b604051336024820152604481018390526001600160a01b0384169060640160408051601f198184030181529181526020820180516001600160e01b031663a9059cbb60e01b17905251610a109190611509565b6000604051808303816000865af19150503d8060008114610a4d576040519150601f19603f3d011682016040523d82523d6000602084013e610a52565b606091505b50909150505b80610a975760405162461bcd60e51b815260206004820152600f60248201526e15da5d1a191c985dc811985a5b1959608a1b60448201526064016103fc565b505050565b600080610ab28460000151856020015185610761565b9050610ac2846000015182610602565b9150610ae4846000015160405180602001604052806000815250308486610bc6565b5092915050565b6000546001600160a01b031633146105665760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103fc565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b61ffff8116600090815260026020526040812054808203610bba575050600354919050565b92915050565b50919050565b6000610bd186610c65565b90507f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b031663c5803100838884898960008a6040518863ffffffff1660e01b8152600401610c2b96959493929190611525565b6000604051808303818588803b158015610c4457600080fd5b505af1158015610c58573d6000803e3d6000fd5b5050505050505050505050565b61ffff8116600090815260016020526040812080546060929190610c8890611311565b80601f0160208091040260200160405190810160405280929190818152602001828054610cb490611311565b8015610d015780601f10610cd657610100808354040283529160200191610d01565b820191906000526020600020905b815481529060010190602001808311610ce457829003601f168201915b505050505090508051600003610bba576040516001600160601b03193060601b16602082018190526034820152604801604051602081830303815290604052915050919050565b803561ffff81168114610d5a57600080fd5b919050565b60008083601f840112610d7157600080fd5b50813567ffffffffffffffff811115610d8957600080fd5b602083019150836020828501011115610da157600080fd5b9250929050565b60008060008060008060808789031215610dc157600080fd5b610dca87610d48565b9550602087013567ffffffffffffffff80821115610de757600080fd5b610df38a838b01610d5f565b9097509550604089013591508082168214610e0d57600080fd5b90935060608801359080821115610e2357600080fd5b50610e3089828a01610d5f565b979a9699509497509295939492505050565b80356001600160a01b0381168114610d5a57600080fd5b600080600060408486031215610e6e57600080fd5b833567ffffffffffffffff80821115610e8657600080fd5b818601915086601f830112610e9a57600080fd5b813581811115610ea957600080fd5b8760208260061b8501011115610ebe57600080fd5b602092830195509350610ed49186019050610e42565b90509250925092565b60008083601f840112610eef57600080fd5b50813567ffffffffffffffff811115610f0757600080fd5b6020830191508360208260051b8501011115610da157600080fd5b600080600080600060608688031215610f3a57600080fd5b85359450602086013567ffffffffffffffff80821115610f5957600080fd5b610f6589838a01610edd565b90965094506040880135915080821115610f7e57600080fd5b50610f8b88828901610edd565b969995985093965092949392505050565b60008060008060408587031215610fb257600080fd5b843567ffffffffffffffff80821115610fca57600080fd5b610fd688838901610edd565b90965094506020870135915080821115610fef57600080fd5b50610ffc87828801610edd565b95989497509550505050565b60006020828403121561101a57600080fd5b6106c582610d48565b60005b8381101561103e578181015183820152602001611026565b50506000910152565b6000815180845261105f816020860160208601611023565b601f01601f19169290920160200192915050565b6020815260006106c56020830184611047565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156110c5576110c5611086565b604052919050565b600080604083850312156110e057600080fd5b6110e983610d48565b915060208084013567ffffffffffffffff8082111561110757600080fd5b818601915086601f83011261111b57600080fd5b81358181111561112d5761112d611086565b61113f601f8201601f1916850161109c565b9150808252878482850101111561115557600080fd5b80848401858401376000848284010152508093505050509250929050565b60008060008060006080868803121561118b57600080fd5b61119486610d48565b94506111a260208701610d48565b935060408601359250606086013567ffffffffffffffff8111156111c557600080fd5b610f8b88828901610d5f565b6000806000606084860312156111e657600080fd5b6111ef84610d48565b925060208401359150610ed460408501610e42565b60006020828403121561121657600080fd5b5035919050565b60006020828403121561122f57600080fd5b6106c582610e42565b6000806040838503121561124b57600080fd5b61125483610e42565b946020939093013593505050565b634e487b7160e01b600052603260045260246000fd5b60006040828403121561128a57600080fd5b6040516040810181811067ffffffffffffffff821117156112ad576112ad611086565b6040526112b983610d48565b8152602083013560208201528091505092915050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610bba57610bba6112cf565b60006001820161130a5761130a6112cf565b5060010190565b600181811c9082168061132557607f821691505b602082108103610bc057634e487b7160e01b600052602260045260246000fd5b61ffff8516815260018060a01b038416602082015260a06040820152600060a0820152821515606082015260c06080820152600061138660c0830184611047565b9695505050505050565b600080604083850312156113a357600080fd5b505080516020909101519092909150565b600061ffff808816835280871660208401525084604083015260806060830152826080830152828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b601f821115610a9757600081815260208120601f850160051c8101602086101561142a5750805b601f850160051c820191505b8181101561012757828155600101611436565b815167ffffffffffffffff81111561146357611463611086565b611477816114718454611311565b84611403565b602080601f8311600181146114ac57600084156114945750858301515b600019600386901b1c1916600185901b178555610127565b600085815260208120601f198616915b828110156114db578886015182559484019460019091019084016114bc565b50858210156114f95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000825161151b818460208701611023565b9190910192915050565b61ffff8716815260c06020820152600061154260c0830188611047565b82810360408401526115548188611047565b6001600160a01b0387811660608601528616608085015283810360a0850152905061157f8185611047565b999850505050505050505056fea2646970667358221220bc64294c4cf4d8ea8868f204467969bf489305dc881846faed9327004b25387b64736f6c63430008130033

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

000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7

-----Decoded View---------------
Arg [0] : _lzEndpoint (address): 0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7


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
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.