More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 210,763 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Bridge Gas | 60983698 | 27 days ago | IN | 0.12684554 POL | 0.00301395 | ||||
Bridge Gas | 60983698 | 27 days ago | IN | 0.14950477 POL | 0.00979439 | ||||
Bridge Gas | 60912032 | 29 days ago | IN | 0.12822852 POL | 0.00301395 | ||||
Withdraw | 59677136 | 60 days ago | IN | 0 POL | 0.0009087 | ||||
Bridge Gas | 58956889 | 78 days ago | IN | 0.93185939 POL | 0.00636027 | ||||
Withdraw | 58946673 | 78 days ago | IN | 0 POL | 0.00070935 | ||||
Withdraw | 58946625 | 78 days ago | IN | 0 POL | 0.0009087 | ||||
Bridge Gas | 58941165 | 78 days ago | IN | 1.50572372 POL | 0.00719796 | ||||
Bridge Gas | 58940209 | 78 days ago | IN | 2.97454195 POL | 0.00700208 | ||||
Bridge Gas | 58939869 | 78 days ago | IN | 0.31132959 POL | 0.00635991 | ||||
Bridge Gas | 58939867 | 78 days ago | IN | 0.31132959 POL | 0.00635991 | ||||
Bridge Gas | 58939866 | 78 days ago | IN | 0.31132959 POL | 0.00635991 | ||||
Bridge Gas | 58939864 | 78 days ago | IN | 0.31132959 POL | 0.00635991 | ||||
Bridge Gas | 58935117 | 78 days ago | IN | 3.4487942 POL | 0.00717085 | ||||
Bridge Gas | 58933926 | 78 days ago | IN | 3.53754018 POL | 0.00717205 | ||||
Bridge Gas | 58933830 | 78 days ago | IN | 3.56892333 POL | 0.00717325 | ||||
Bridge Gas | 58932955 | 78 days ago | IN | 3.55889631 POL | 0.00719175 | ||||
Bridge Gas | 58932871 | 78 days ago | IN | 3.51191353 POL | 0.00719781 | ||||
Bridge Gas | 58932220 | 78 days ago | IN | 3.62621961 POL | 0.00750497 | ||||
Bridge Gas | 58932144 | 78 days ago | IN | 3.57040481 POL | 0.00752957 | ||||
Bridge Gas | 58931951 | 78 days ago | IN | 3.58506511 POL | 0.00765376 | ||||
Bridge Gas | 58931678 | 78 days ago | IN | 3.65857459 POL | 0.00807628 | ||||
Bridge Gas | 58921297 | 79 days ago | IN | 1.11140819 POL | 0.00890387 | ||||
Bridge Gas | 58907439 | 79 days ago | IN | 3.76630745 POL | 0.00717124 | ||||
Bridge Gas | 58907339 | 79 days ago | IN | 3.73559063 POL | 0.00717124 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
60983698 | 27 days ago | 0.12684554 POL | ||||
60983698 | 27 days ago | 0.14950477 POL | ||||
60912032 | 29 days ago | 0.12822852 POL | ||||
59677136 | 60 days ago | 0.07650133 POL | ||||
58956889 | 78 days ago | 0.07650133 POL | ||||
58956889 | 78 days ago | 0.93185939 POL | ||||
58946625 | 78 days ago | 11.43407172 POL | ||||
58941165 | 78 days ago | 0.07650133 POL | ||||
58941165 | 78 days ago | 1.50572372 POL | ||||
58940209 | 78 days ago | 0.07650133 POL | ||||
58940209 | 78 days ago | 2.97454195 POL | ||||
58939869 | 78 days ago | 0.07650133 POL | ||||
58939869 | 78 days ago | 0.31132959 POL | ||||
58939867 | 78 days ago | 0.07650133 POL | ||||
58939867 | 78 days ago | 0.31132959 POL | ||||
58939866 | 78 days ago | 0.07650133 POL | ||||
58939866 | 78 days ago | 0.31132959 POL | ||||
58939864 | 78 days ago | 0.07650133 POL | ||||
58939864 | 78 days ago | 0.31132959 POL | ||||
58935117 | 78 days ago | 0.07650133 POL | ||||
58935117 | 78 days ago | 3.4487942 POL | ||||
58933926 | 78 days ago | 0.07650133 POL | ||||
58933926 | 78 days ago | 3.53754018 POL | ||||
58933830 | 78 days ago | 0.12121838 POL | ||||
58933830 | 78 days ago | 3.56892333 POL |
Loading...
Loading
Contract Name:
MerklyRefuel
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2024-02-01 */ // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingContext.sol pragma solidity >=0.8.0; interface IMessagingContext { function isSendingMessage() external view returns (bool); function getSendContext() external view returns (uint32 dstEid, address sender); } // File: @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingChannel.sol pragma solidity >=0.8.0; interface IMessagingChannel { event InboundNonceSkipped(uint32 srcEid, bytes32 sender, address receiver, uint64 nonce); event PacketNilified(uint32 srcEid, bytes32 sender, address receiver, uint64 nonce, bytes32 payloadHash); event PacketBurnt(uint32 srcEid, bytes32 sender, address receiver, uint64 nonce, bytes32 payloadHash); function eid() external view returns (uint32); // this is an emergency function if a message cannot be verified for some reasons // required to provide _nextNonce to avoid race condition function skip(address _oapp, uint32 _srcEid, bytes32 _sender, uint64 _nonce) external; function nilify(address _oapp, uint32 _srcEid, bytes32 _sender, uint64 _nonce, bytes32 _payloadHash) external; function burn(address _oapp, uint32 _srcEid, bytes32 _sender, uint64 _nonce, bytes32 _payloadHash) external; function nextGuid(address _sender, uint32 _dstEid, bytes32 _receiver) external view returns (bytes32); function inboundNonce(address _receiver, uint32 _srcEid, bytes32 _sender) external view returns (uint64); function outboundNonce(address _sender, uint32 _dstEid, bytes32 _receiver) external view returns (uint64); function inboundPayloadHash( address _receiver, uint32 _srcEid, bytes32 _sender, uint64 _nonce ) external view returns (bytes32); function lazyInboundNonce(address _receiver, uint32 _srcEid, bytes32 _sender) external view returns (uint64); } // File: @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessagingComposer.sol pragma solidity >=0.8.0; interface IMessagingComposer { event ComposeSent(address from, address to, bytes32 guid, uint16 index, bytes message); event ComposeDelivered(address from, address to, bytes32 guid, uint16 index); event LzComposeAlert( address indexed from, address indexed to, address indexed executor, bytes32 guid, uint16 index, uint256 gas, uint256 value, bytes message, bytes extraData, bytes reason ); function composeQueue( address _from, address _to, bytes32 _guid, uint16 _index ) external view returns (bytes32 messageHash); function sendCompose(address _to, bytes32 _guid, uint16 _index, bytes calldata _message) external; function lzCompose( address _from, address _to, bytes32 _guid, uint16 _index, bytes calldata _message, bytes calldata _extraData ) external payable; } // File: @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/IMessageLibManager.sol pragma solidity >=0.8.0; struct SetConfigParam { uint32 eid; uint32 configType; bytes config; } interface IMessageLibManager { struct Timeout { address lib; uint256 expiry; } event LibraryRegistered(address newLib); event DefaultSendLibrarySet(uint32 eid, address newLib); event DefaultReceiveLibrarySet(uint32 eid, address newLib); event DefaultReceiveLibraryTimeoutSet(uint32 eid, address oldLib, uint256 expiry); event SendLibrarySet(address sender, uint32 eid, address newLib); event ReceiveLibrarySet(address receiver, uint32 eid, address newLib); event ReceiveLibraryTimeoutSet(address receiver, uint32 eid, address oldLib, uint256 timeout); function registerLibrary(address _lib) external; function isRegisteredLibrary(address _lib) external view returns (bool); function getRegisteredLibraries() external view returns (address[] memory); function setDefaultSendLibrary(uint32 _eid, address _newLib) external; function defaultSendLibrary(uint32 _eid) external view returns (address); function setDefaultReceiveLibrary(uint32 _eid, address _newLib, uint256 _timeout) external; function defaultReceiveLibrary(uint32 _eid) external view returns (address); function setDefaultReceiveLibraryTimeout(uint32 _eid, address _lib, uint256 _expiry) external; function defaultReceiveLibraryTimeout(uint32 _eid) external view returns (address lib, uint256 expiry); function isSupportedEid(uint32 _eid) external view returns (bool); function isValidReceiveLibrary(address _receiver, uint32 _eid, address _lib) external view returns (bool); /// ------------------- OApp interfaces ------------------- function setSendLibrary(address _oapp, uint32 _eid, address _newLib) external; function getSendLibrary(address _sender, uint32 _eid) external view returns (address lib); function isDefaultSendLibrary(address _sender, uint32 _eid) external view returns (bool); function setReceiveLibrary(address _oapp, uint32 _eid, address _newLib, uint256 _gracePeriod) external; function getReceiveLibrary(address _receiver, uint32 _eid) external view returns (address lib, bool isDefault); function setReceiveLibraryTimeout(address _oapp, uint32 _eid, address _lib, uint256 _gracePeriod) external; function receiveLibraryTimeout(address _receiver, uint32 _eid) external view returns (address lib, uint256 expiry); function setConfig(address _oapp, address _lib, SetConfigParam[] calldata _params) external; function getConfig( address _oapp, address _lib, uint32 _eid, uint32 _configType ) external view returns (bytes memory config); } // File: @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroEndpointV2.sol pragma solidity >=0.8.0; struct MessagingParams { uint32 dstEid; bytes32 receiver; bytes message; bytes options; bool payInLzToken; } struct MessagingReceipt { bytes32 guid; uint64 nonce; MessagingFee fee; } struct MessagingFee { uint256 nativeFee; uint256 lzTokenFee; } struct Origin { uint32 srcEid; bytes32 sender; uint64 nonce; } interface ILayerZeroEndpointV2 is IMessageLibManager, IMessagingComposer, IMessagingChannel, IMessagingContext { event PacketSent(bytes encodedPayload, bytes options, address sendLibrary); event PacketVerified(Origin origin, address receiver, bytes32 payloadHash); event PacketDelivered(Origin origin, address receiver); event LzReceiveAlert( address indexed receiver, address indexed executor, Origin origin, bytes32 guid, uint256 gas, uint256 value, bytes message, bytes extraData, bytes reason ); event LzTokenSet(address token); event DelegateSet(address sender, address delegate); function quote(MessagingParams calldata _params, address _sender) external view returns (MessagingFee memory); function send( MessagingParams calldata _params, address _refundAddress ) external payable returns (MessagingReceipt memory); function verify(Origin calldata _origin, address _receiver, bytes32 _payloadHash) external; function verifiable(Origin calldata _origin, address _receiver) external view returns (bool); function initializable(Origin calldata _origin, address _receiver) external view returns (bool); function lzReceive( Origin calldata _origin, address _receiver, bytes32 _guid, bytes calldata _message, bytes calldata _extraData ) external payable; // oapp can burn messages partially by calling this function with its own business logic if messages are verified in order function clear(address _oapp, Origin calldata _origin, bytes32 _guid, bytes calldata _message) external; function setLzToken(address _lzToken) external; function lzToken() external view returns (address); function nativeToken() external view returns (address); function setDelegate(address _delegate) external; } // File: @layerzerolabs/lz-evm-protocol-v2/contracts/interfaces/ILayerZeroReceiver.sol pragma solidity >=0.8.0; interface ILayerZeroReceiver { function allowInitializePath(Origin calldata _origin) external view returns (bool); function nextNonce(uint32 _eid, bytes32 _sender) external view returns (uint64); function lzReceive( Origin calldata _origin, bytes32 _guid, bytes calldata _message, address _executor, bytes calldata _extraData ) external payable; } // File: oapp/contracts/oapp/interfaces/IOAppCore.sol pragma solidity ^0.8.20; /** * @title IOAppCore */ interface IOAppCore { // Custom error messages error OnlyPeer(uint32 eid, bytes32 sender); error NoPeer(uint32 eid); error InvalidEndpointCall(); // Event emitted when a peer (OApp) is set for a corresponding endpoint event PeerSet(uint32 eid, bytes32 peer); /** * @notice Retrieves the OApp version information. * @return senderVersion The version of the OAppSender.sol contract. * @return receiverVersion The version of the OAppReceiver.sol contract. */ function oAppVersion() external view returns (uint64 senderVersion, uint64 receiverVersion); /** * @notice Retrieves the LayerZero endpoint associated with the OApp. * @return iEndpoint The LayerZero endpoint as an interface. */ function endpoint() external view returns (ILayerZeroEndpointV2 iEndpoint); /** * @notice Retrieves the peer (OApp) associated with a corresponding endpoint. * @param _eid The endpoint ID. * @return peer The peer address (OApp instance) associated with the corresponding endpoint. */ function peers(uint32 _eid) external view returns (bytes32 peer); /** * @notice Sets the peer address (OApp instance) for a corresponding endpoint. * @param _eid The endpoint ID. * @param _peer The address of the peer to be associated with the corresponding endpoint. */ function setPeer(uint32 _eid, bytes32 _peer) external; /** * @notice Sets the delegate address for the OApp Core. * @param _delegate The address of the delegate to be set. */ function setDelegate(address _delegate) external; } // File: oapp/contracts/oapp/OAppCore.sol pragma solidity ^0.8.20; /** * @title OAppCore * @dev Abstract contract implementing the IOAppCore interface with basic OApp configurations. */ abstract contract OAppCore is IOAppCore, Ownable { // The LayerZero endpoint associated with the given OApp ILayerZeroEndpointV2 public immutable endpoint; // Mapping to store peers associated with corresponding endpoints mapping(uint32 eid => bytes32 peer) public peers; /** * @dev Constructor to initialize the OAppCore with the provided endpoint and owner. * @param _endpoint The address of the LOCAL Layer Zero endpoint. * @param _owner The address of the owner of the OAppCore. */ constructor(address _endpoint, address _owner) Ownable(_owner) { _transferOwnership(_owner); endpoint = ILayerZeroEndpointV2(_endpoint); endpoint.setDelegate(_owner); // @dev By default, the owner is the delegate } /** * @notice Sets the peer address (OApp instance) for a corresponding endpoint. * @param _eid The endpoint ID. * @param _peer The address of the peer to be associated with the corresponding endpoint. * * @dev Only the owner/admin of the OApp can call this function. * @dev Indicates that the peer is trusted to send LayerZero messages to this OApp. * @dev Set this to bytes32(0) to remove the peer address. * @dev Peer is a bytes32 to accommodate non-evm chains. */ function setPeer(uint32 _eid, bytes32 _peer) public virtual onlyOwner { peers[_eid] = _peer; emit PeerSet(_eid, _peer); } /** * @notice Internal function to get the peer address associated with a specific endpoint; reverts if NOT set. * ie. the peer is set to bytes32(0). * @param _eid The endpoint ID. * @return peer The address of the peer associated with the specified endpoint. */ function _getPeerOrRevert(uint32 _eid) internal view virtual returns (bytes32) { bytes32 peer = peers[_eid]; if (peer == bytes32(0)) revert NoPeer(_eid); return peer; } /** * @notice Sets the delegate address for the OApp. * @param _delegate The address of the delegate to be set. * * @dev Only the owner/admin of the OApp can call this function. * @dev Provides the ability for a delegate to set configs, on behalf of the OApp, directly on the Endpoint contract. * @dev Defaults to the owner of the OApp. */ function setDelegate(address _delegate) public onlyOwner { endpoint.setDelegate(_delegate); } } // File: oapp/contracts/oapp/OAppReceiver.sol pragma solidity ^0.8.20; /** * @title OAppReceiver * @dev Abstract contract implementing the ILayerZeroReceiver interface and extending OAppCore for OApp receivers. */ abstract contract OAppReceiver is ILayerZeroReceiver, OAppCore { // Custom error message for when the caller is not the registered endpoint/ error OnlyEndpoint(address addr); // @dev The version of the OAppReceiver implementation. // @dev Version is bumped when changes are made to this contract. uint64 internal constant RECEIVER_VERSION = 1; /** * @notice Retrieves the OApp version information. * @return senderVersion The version of the OAppSender.sol contract. * @return receiverVersion The version of the OAppReceiver.sol contract. * * @dev Providing 0 as the default for OAppSender version. Indicates that the OAppSender is not implemented. * ie. this is a SEND only OApp. * @dev If the OApp uses both OAppSender and OAppReceiver, then this needs to be override returning the correct versions. */ function oAppVersion() public view virtual returns (uint64 senderVersion, uint64 receiverVersion) { return (0, RECEIVER_VERSION); } /** * @notice Checks if the path initialization is allowed based on the provided origin. * @param origin The origin information containing the source endpoint and sender address. * @return Whether the path has been initialized. * * @dev This indicates to the endpoint that the OApp has enabled msgs for this particular path to be received. * @dev This defaults to assuming if a peer has been set, its initialized. * Can be overridden by the OApp if there is other logic to determine this. */ function allowInitializePath(Origin calldata origin) public view virtual returns (bool) { return peers[origin.srcEid] == origin.sender; } /** * @notice Retrieves the next nonce for a given source endpoint and sender address. * @dev _srcEid The source endpoint ID. * @dev _sender The sender address. * @return nonce The next nonce. * * @dev The path nonce starts from 1. If 0 is returned it means that there is NO nonce ordered enforcement. * @dev Is required by the off-chain executor to determine the OApp expects msg execution is ordered. * @dev This is also enforced by the OApp. * @dev By default this is NOT enabled. ie. nextNonce is hardcoded to return 0. */ function nextNonce(uint32 /*_srcEid*/, bytes32 /*_sender*/) public view virtual returns (uint64 nonce) { return 0; } /** * @dev Entry point for receiving messages or packets from the endpoint. * @param _origin The origin information containing the source endpoint and sender address. * - srcEid: The source chain endpoint ID. * - sender: The sender address on the src chain. * - nonce: The nonce of the message. * @param _guid The unique identifier for the received LayerZero message. * @param _message The payload of the received message. * @param _executor The address of the executor for the received message. * @param _extraData Additional arbitrary data provided by the corresponding executor. * * @dev Entry point for receiving msg/packet from the LayerZero endpoint. */ function lzReceive( Origin calldata _origin, bytes32 _guid, bytes calldata _message, address _executor, bytes calldata _extraData ) public payable virtual { // Ensures that only the endpoint can attempt to lzReceive() messages to this OApp. if (address(endpoint) != msg.sender) revert OnlyEndpoint(msg.sender); // Ensure that the sender matches the expected peer for the source endpoint. if (_getPeerOrRevert(_origin.srcEid) != _origin.sender) revert OnlyPeer(_origin.srcEid, _origin.sender); // Call the internal OApp implementation of lzReceive. _lzReceive(_origin, _guid, _message, _executor, _extraData); } /** * @dev Internal function to implement lzReceive logic without needing to copy the basic parameter validation. */ function _lzReceive( Origin calldata _origin, bytes32 _guid, bytes calldata _message, address _executor, bytes calldata _extraData ) internal virtual; } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert FailedInnerCall(); } } } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.20; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets a `value` amount of tokens as the allowance of `spender` over the * caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.20; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev An operation with an ERC20 token failed. */ error SafeERC20FailedOperation(address token); /** * @dev Indicates a failed `decreaseAllowance` request. */ error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease); /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value))); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value))); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); forceApprove(token, spender, oldAllowance + value); } /** * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no * value, non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal { unchecked { uint256 currentAllowance = token.allowance(address(this), spender); if (currentAllowance < requestedDecrease) { revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease); } forceApprove(token, spender, currentAllowance - requestedDecrease); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value)); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0))); _callOptionalReturn(token, approvalCall); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data); if (returndata.length != 0 && !abi.decode(returndata, (bool))) { revert SafeERC20FailedOperation(address(token)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0; } } // File: oapp/contracts/oapp/OAppSender.sol pragma solidity ^0.8.20; /** * @title OAppSender * @dev Abstract contract implementing the OAppSender functionality for sending messages to a LayerZero endpoint. */ abstract contract OAppSender is OAppCore { using SafeERC20 for IERC20; // Custom error messages error NotEnoughNative(uint256 msgValue); error LzTokenUnavailable(); // @dev The version of the OAppSender implementation. // @dev Version is bumped when changes are made to this contract. uint64 internal constant SENDER_VERSION = 1; /** * @notice Retrieves the OApp version information. * @return senderVersion The version of the OAppSender.sol contract. * @return receiverVersion The version of the OAppReceiver.sol contract. * * @dev Providing 0 as the default for OAppReceiver version. Indicates that the OAppReceiver is not implemented. * ie. this is a RECEIVE only OApp. * @dev If the OApp uses both OAppSender and OAppReceiver, then this needs to be override returning the correct versions */ function oAppVersion() public view virtual returns (uint64 senderVersion, uint64 receiverVersion) { return (SENDER_VERSION, 0); } /** * @dev Internal function to interact with the LayerZero EndpointV2.quote() for fee calculation. * @param _dstEid The destination endpoint ID. * @param _message The message payload. * @param _options Additional options for the message. * @param _payInLzToken Flag indicating whether to pay the fee in LZ tokens. * @return fee The calculated MessagingFee for the message. * - nativeFee: The native fee for the message. * - lzTokenFee: The LZ token fee for the message. */ function _quote( uint32 _dstEid, bytes memory _message, bytes memory _options, bool _payInLzToken ) internal view virtual returns (MessagingFee memory fee) { return endpoint.quote( MessagingParams(_dstEid, _getPeerOrRevert(_dstEid), _message, _options, _payInLzToken), address(this) ); } /** * @dev Internal function to interact with the LayerZero EndpointV2.send() for sending a message. * @param _dstEid The destination endpoint ID. * @param _message The message payload. * @param _options Additional options for the message. * @param _fee The calculated LayerZero fee for the message. * - nativeFee: The native fee. * - lzTokenFee: The lzToken fee. * @param _refundAddress The address to receive any excess fee values sent to the endpoint. * @return receipt The receipt for the sent message. * - guid: The unique identifier for the sent message. * - nonce: The nonce of the sent message. * - fee: The LayerZero fee incurred for the message. */ function _lzSend( uint32 _dstEid, bytes memory _message, bytes memory _options, MessagingFee memory _fee, address _refundAddress ) internal virtual returns (MessagingReceipt memory receipt) { // @dev Push corresponding fees to the endpoint, any excess is sent back to the _refundAddress from the endpoint. uint256 messageValue = _payNative(_fee.nativeFee); if (_fee.lzTokenFee > 0) _payLzToken(_fee.lzTokenFee); return // solhint-disable-next-line check-send-result endpoint.send{ value: messageValue }( MessagingParams(_dstEid, _getPeerOrRevert(_dstEid), _message, _options, _fee.lzTokenFee > 0), _refundAddress ); } /** * @dev Internal function to pay the native fee associated with the message. * @param _nativeFee The native fee to be paid. * @return nativeFee The amount of native currency paid. * * @dev If the OApp needs to initiate MULTIPLE LayerZero messages in a single transaction, * this will need to be overridden because msg.value would contain multiple lzFees. * @dev Should be overridden in the event the LayerZero endpoint requires a different native currency. * @dev Some EVMs use an ERC20 as a method for paying transactions/gasFees. * @dev The endpoint is EITHER/OR, ie. it will NOT support both types of native payment at a time. */ function _payNative(uint256 _nativeFee) internal virtual returns (uint256 nativeFee) { if (msg.value != _nativeFee) revert NotEnoughNative(msg.value); return _nativeFee; } /** * @dev Internal function to pay the LZ token fee associated with the message. * @param _lzTokenFee The LZ token fee to be paid. * * @dev If the caller is trying to pay in the specified lzToken, then the lzTokenFee is passed to the endpoint. * @dev Any excess sent, is passed back to the specified _refundAddress in the _lzSend(). */ function _payLzToken(uint256 _lzTokenFee) internal virtual { // @dev Cannot cache the token because it is not immutable in the endpoint. address lzToken = endpoint.lzToken(); if (lzToken == address(0)) revert LzTokenUnavailable(); // Pay LZ token fee by sending tokens to the endpoint. IERC20(lzToken).safeTransferFrom(msg.sender, address(endpoint), _lzTokenFee); } } // File: oapp/contracts/oapp/OApp.sol pragma solidity ^0.8.20; contract MerklyRefuel is OAppSender, OAppReceiver { constructor(address _endpoint) OAppCore(_endpoint, msg.sender) {} function bridgeGas(uint32 _dstEid, string memory _message, bytes calldata _options) external payable { bytes memory _payload = abi.encodePacked(_message); // Encodes message as bytes. _lzSend( _dstEid, // Destination chain's endpoint ID. _payload, // Encoded message payload being sent. _options, // Message execution options (e.g., gas to use on destination). MessagingFee(msg.value, 0), // Fee struct containing native gas and ZRO token. payable(address(this)) // The refund address in case the send call reverts. ); } function quote( uint32 _dstEid, // Destination chain's endpoint ID. string memory _message, // The message to send. bytes calldata _options, // Message execution options bool _payInLzToken // boolean for which token to return fee in ) public view returns (uint256 nativeFee, uint256 lzTokenFee) { bytes memory _payload = abi.encodePacked(_message); MessagingFee memory fee = _quote(_dstEid, _payload, _options, _payInLzToken); return (fee.nativeFee, fee.lzTokenFee); } function _lzReceive( Origin calldata _origin, // struct containing info about the message sender bytes32 _guid, // global packet identifier bytes calldata payload, // encoded message payload being received address _executor, // the Executor address. bytes calldata _extraData // arbitrary data appended by the Executor ) internal override { } function oAppVersion() public pure virtual override(OAppSender, OAppReceiver) returns (uint64 senderVersion, uint64 receiverVersion) { return (SENDER_VERSION, RECEIVER_VERSION); } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } fallback() external payable {} receive() external payable {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"InvalidEndpointCall","type":"error"},{"inputs":[],"name":"LzTokenUnavailable","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"NoPeer","type":"error"},{"inputs":[{"internalType":"uint256","name":"msgValue","type":"uint256"}],"name":"NotEnoughNative","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"OnlyEndpoint","type":"error"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"}],"name":"OnlyPeer","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint32","name":"eid","type":"uint32"},{"indexed":false,"internalType":"bytes32","name":"peer","type":"bytes32"}],"name":"PeerSet","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"origin","type":"tuple"}],"name":"allowInitializePath","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_dstEid","type":"uint32"},{"internalType":"string","name":"_message","type":"string"},{"internalType":"bytes","name":"_options","type":"bytes"}],"name":"bridgeGas","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpointV2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint32","name":"srcEid","type":"uint32"},{"internalType":"bytes32","name":"sender","type":"bytes32"},{"internalType":"uint64","name":"nonce","type":"uint64"}],"internalType":"struct Origin","name":"_origin","type":"tuple"},{"internalType":"bytes32","name":"_guid","type":"bytes32"},{"internalType":"bytes","name":"_message","type":"bytes"},{"internalType":"address","name":"_executor","type":"address"},{"internalType":"bytes","name":"_extraData","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"nextNonce","outputs":[{"internalType":"uint64","name":"nonce","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oAppVersion","outputs":[{"internalType":"uint64","name":"senderVersion","type":"uint64"},{"internalType":"uint64","name":"receiverVersion","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"eid","type":"uint32"}],"name":"peers","outputs":[{"internalType":"bytes32","name":"peer","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"_dstEid","type":"uint32"},{"internalType":"string","name":"_message","type":"string"},{"internalType":"bytes","name":"_options","type":"bytes"},{"internalType":"bool","name":"_payInLzToken","type":"bool"}],"name":"quote","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"lzTokenFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_delegate","type":"address"}],"name":"setDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_eid","type":"uint32"},{"internalType":"bytes32","name":"_peer","type":"bytes32"}],"name":"setPeer","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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60a060405234801561001057600080fd5b50604051620013953803806200139583398101604081905261003191610125565b8033808061005957604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b610062816100d5565b5061006c816100d5565b6001600160a01b03828116608081905260405163ca5eb5e160e01b815291831660048301529063ca5eb5e190602401600060405180830381600087803b1580156100b557600080fd5b505af11580156100c9573d6000803e3d6000fd5b50505050505050610155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561013757600080fd5b81516001600160a01b038116811461014e57600080fd5b9392505050565b6080516111fa6200019b60003960008181610164015281816102ef0152818161051501528181610706015281816108440152818161093b01526109f401526111fa6000f3fe6080604052600436106100d55760003560e01c80637d25a05e11610079578063ca5eb5e111610056578063ca5eb5e114610248578063f2fde38b14610268578063f77e5dd314610288578063ff7bd03d146102bd57005b80637d25a05e146101b35780638da5cb5b146101ef578063bb0b6a531461020d57005b80633ccfd60b116100b25780633ccfd60b1461013757806352b94e4d1461013f5780635e280f1114610152578063715018a61461019e57005b806313137d65146100de57806317442b70146100f15780633400288b1461011757005b366100dc57005b005b6100dc6100ec366004610cda565b6102ed565b3480156100fd57600080fd5b506040805160018082526020820152015b60405180910390f35b34801561012357600080fd5b506100dc610132366004610d93565b61039e565b6100dc6103fb565b6100dc61014d366004610e60565b61045b565b34801561015e57600080fd5b506101867f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161010e565b3480156101aa57600080fd5b506100dc6104da565b3480156101bf57600080fd5b506101d66101ce366004610d93565b600092915050565b60405167ffffffffffffffff909116815260200161010e565b3480156101fb57600080fd5b506000546001600160a01b0316610186565b34801561021957600080fd5b5061023a610228366004610ed7565b60016020526000908152604090205481565b60405190815260200161010e565b34801561025457600080fd5b506100dc610263366004610ef2565b6104ee565b34801561027457600080fd5b506100dc610283366004610ef2565b610574565b34801561029457600080fd5b506102a86102a3366004610f1d565b6105af565b6040805192835260208301919091520161010e565b3480156102c957600080fd5b506102dd6102d8366004610fac565b61062e565b604051901515815260200161010e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331461033d576040516391ac5e4f60e01b81523360048201526024015b60405180910390fd5b6020870180359061035790610352908a610ed7565b610664565b14610395576103696020880188610ed7565b60405163309afaf360e21b815263ffffffff909116600482015260208801356024820152604401610334565b50505050505050565b6103a66106a6565b63ffffffff8216600081815260016020908152604091829020849055815192835282018390527f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b910160405180910390a15050565b6104036106a6565b604051600090339047908381818185875af1925050503d8060008114610445576040519150601f19603f3d011682016040523d82523d6000602084013e61044a565b606091505b505090508061045857600080fd5b50565b60008360405160200161046e9190610fec565b60408051601f198184030181526020601f860181900481028401810190925284835292506104d29187918491908790879081908401838280828437600092018290525060408051808201909152348152602081019190915292503091506106d39050565b505050505050565b6104e26106a6565b6104ec60006107de565b565b6104f66106a6565b60405163ca5eb5e160e01b81526001600160a01b0382811660048301527f0000000000000000000000000000000000000000000000000000000000000000169063ca5eb5e190602401600060405180830381600087803b15801561055957600080fd5b505af115801561056d573d6000803e3d6000fd5b5050505050565b61057c6106a6565b6001600160a01b0381166105a657604051631e4fbdf760e01b815260006004820152602401610334565b610458816107de565b6000806000866040516020016105c59190610fec565b60408051601f198184030181526020601f89018190048102840181019092528783529250600091610616918b9185918b908b90819084018382808284376000920191909152508b925061082e915050565b8051602090910151909a909950975050505050505050565b60006020820180359060019083906106469086610ed7565b63ffffffff1681526020810191909152604001600020541492915050565b63ffffffff8116600090815260016020526040812054806106a05760405163f6ff4fb760e01b815263ffffffff84166004820152602401610334565b92915050565b6000546001600160a01b031633146104ec5760405163118cdaa760e01b8152336004820152602401610334565b6106db610c1c565b60006106ea846000015161090f565b602085015190915015610704576107048460200151610937565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016107548c610664565b81526020018a815260200189815260200160008960200151111515815250866040518463ffffffff1660e01b8152600401610790929190611034565b60806040518083038185885af11580156107ae573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107d391906110fc565b979650505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051808201909152600080825260208201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ddc28c586040518060a001604052808863ffffffff16815260200161089189610664565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b81526004016108c6929190611034565b6040805180830381865afa1580156108e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610906919061116e565b95945050505050565b6000813414610933576040516304fb820960e51b8152346004820152602401610334565b5090565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb919061118a565b90506001600160a01b0381166109e4576040516329b99a9560e11b815260040160405180910390fd5b610a196001600160a01b038216337f000000000000000000000000000000000000000000000000000000000000000085610a1d565b5050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610a77908590610a7d565b50505050565b6000610a926001600160a01b03841683610ae5565b90508051600014158015610ab7575080806020019051810190610ab591906111a7565b155b15610ae057604051635274afe760e01b81526001600160a01b0384166004820152602401610334565b505050565b6060610af383836000610afa565b9392505050565b606081471015610b1f5760405163cd78605960e01b8152306004820152602401610334565b600080856001600160a01b03168486604051610b3b9190610fec565b60006040518083038185875af1925050503d8060008114610b78576040519150601f19603f3d011682016040523d82523d6000602084013e610b7d565b606091505b5091509150610b8d868383610b97565b9695505050505050565b606082610bac57610ba782610bf3565b610af3565b8151158015610bc357506001600160a01b0384163b155b15610bec57604051639996b31560e01b81526001600160a01b0385166004820152602401610334565b5080610af3565b805115610c035780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b604051806060016040528060008019168152602001600067ffffffffffffffff168152602001610c5f604051806040016040528060008152602001600081525090565b905290565b600060608284031215610c7657600080fd5b50919050565b60008083601f840112610c8e57600080fd5b50813567ffffffffffffffff811115610ca657600080fd5b602083019150836020828501011115610cbe57600080fd5b9250929050565b6001600160a01b038116811461045857600080fd5b600080600080600080600060e0888a031215610cf557600080fd5b610cff8989610c64565b965060608801359550608088013567ffffffffffffffff80821115610d2357600080fd5b610d2f8b838c01610c7c565b909750955060a08a01359150610d4482610cc5565b90935060c08901359080821115610d5a57600080fd5b50610d678a828b01610c7c565b989b979a50959850939692959293505050565b803563ffffffff81168114610d8e57600080fd5b919050565b60008060408385031215610da657600080fd5b610daf83610d7a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610de457600080fd5b813567ffffffffffffffff80821115610dff57610dff610dbd565b604051601f8301601f19908116603f01168101908282118183101715610e2757610e27610dbd565b81604052838152866020858801011115610e4057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060608587031215610e7657600080fd5b610e7f85610d7a565b9350602085013567ffffffffffffffff80821115610e9c57600080fd5b610ea888838901610dd3565b94506040870135915080821115610ebe57600080fd5b50610ecb87828801610c7c565b95989497509550505050565b600060208284031215610ee957600080fd5b610af382610d7a565b600060208284031215610f0457600080fd5b8135610af381610cc5565b801515811461045857600080fd5b600080600080600060808688031215610f3557600080fd5b610f3e86610d7a565b9450602086013567ffffffffffffffff80821115610f5b57600080fd5b610f6789838a01610dd3565b95506040880135915080821115610f7d57600080fd5b50610f8a88828901610c7c565b9094509250506060860135610f9e81610f0f565b809150509295509295909350565b600060608284031215610fbe57600080fd5b610af38383610c64565b60005b83811015610fe3578181015183820152602001610fcb565b50506000910152565b60008251610ffe818460208701610fc8565b9190910192915050565b60008151808452611020816020860160208601610fc8565b601f01601f19169290920160200192915050565b6040815263ffffffff8351166040820152602083015160608201526000604084015160a0608084015261106a60e0840182611008565b90506060850151603f198483030160a08501526110878282611008565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b6000604082840312156110bf57600080fd5b6040516040810181811067ffffffffffffffff821117156110e2576110e2610dbd565b604052825181526020928301519281019290925250919050565b60006080828403121561110e57600080fd5b6040516060810167ffffffffffffffff828210818311171561113257611132610dbd565b816040528451835260208501519150808216821461114f57600080fd5b50602082015261116284604085016110ad565b60408201529392505050565b60006040828403121561118057600080fd5b610af383836110ad565b60006020828403121561119c57600080fd5b8151610af381610cc5565b6000602082840312156111b957600080fd5b8151610af381610f0f56fea2646970667358221220094f5824259d162af10aec0b74f5b9ab33c7c3253b39f1fb545f9ed5e415c3cc64736f6c634300081600330000000000000000000000001a44076050125825900e736c501f859c50fe728c
Deployed Bytecode
0x6080604052600436106100d55760003560e01c80637d25a05e11610079578063ca5eb5e111610056578063ca5eb5e114610248578063f2fde38b14610268578063f77e5dd314610288578063ff7bd03d146102bd57005b80637d25a05e146101b35780638da5cb5b146101ef578063bb0b6a531461020d57005b80633ccfd60b116100b25780633ccfd60b1461013757806352b94e4d1461013f5780635e280f1114610152578063715018a61461019e57005b806313137d65146100de57806317442b70146100f15780633400288b1461011757005b366100dc57005b005b6100dc6100ec366004610cda565b6102ed565b3480156100fd57600080fd5b506040805160018082526020820152015b60405180910390f35b34801561012357600080fd5b506100dc610132366004610d93565b61039e565b6100dc6103fb565b6100dc61014d366004610e60565b61045b565b34801561015e57600080fd5b506101867f0000000000000000000000001a44076050125825900e736c501f859c50fe728c81565b6040516001600160a01b03909116815260200161010e565b3480156101aa57600080fd5b506100dc6104da565b3480156101bf57600080fd5b506101d66101ce366004610d93565b600092915050565b60405167ffffffffffffffff909116815260200161010e565b3480156101fb57600080fd5b506000546001600160a01b0316610186565b34801561021957600080fd5b5061023a610228366004610ed7565b60016020526000908152604090205481565b60405190815260200161010e565b34801561025457600080fd5b506100dc610263366004610ef2565b6104ee565b34801561027457600080fd5b506100dc610283366004610ef2565b610574565b34801561029457600080fd5b506102a86102a3366004610f1d565b6105af565b6040805192835260208301919091520161010e565b3480156102c957600080fd5b506102dd6102d8366004610fac565b61062e565b604051901515815260200161010e565b7f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b0316331461033d576040516391ac5e4f60e01b81523360048201526024015b60405180910390fd5b6020870180359061035790610352908a610ed7565b610664565b14610395576103696020880188610ed7565b60405163309afaf360e21b815263ffffffff909116600482015260208801356024820152604401610334565b50505050505050565b6103a66106a6565b63ffffffff8216600081815260016020908152604091829020849055815192835282018390527f238399d427b947898edb290f5ff0f9109849b1c3ba196a42e35f00c50a54b98b910160405180910390a15050565b6104036106a6565b604051600090339047908381818185875af1925050503d8060008114610445576040519150601f19603f3d011682016040523d82523d6000602084013e61044a565b606091505b505090508061045857600080fd5b50565b60008360405160200161046e9190610fec565b60408051601f198184030181526020601f860181900481028401810190925284835292506104d29187918491908790879081908401838280828437600092018290525060408051808201909152348152602081019190915292503091506106d39050565b505050505050565b6104e26106a6565b6104ec60006107de565b565b6104f66106a6565b60405163ca5eb5e160e01b81526001600160a01b0382811660048301527f0000000000000000000000001a44076050125825900e736c501f859c50fe728c169063ca5eb5e190602401600060405180830381600087803b15801561055957600080fd5b505af115801561056d573d6000803e3d6000fd5b5050505050565b61057c6106a6565b6001600160a01b0381166105a657604051631e4fbdf760e01b815260006004820152602401610334565b610458816107de565b6000806000866040516020016105c59190610fec565b60408051601f198184030181526020601f89018190048102840181019092528783529250600091610616918b9185918b908b90819084018382808284376000920191909152508b925061082e915050565b8051602090910151909a909950975050505050505050565b60006020820180359060019083906106469086610ed7565b63ffffffff1681526020810191909152604001600020541492915050565b63ffffffff8116600090815260016020526040812054806106a05760405163f6ff4fb760e01b815263ffffffff84166004820152602401610334565b92915050565b6000546001600160a01b031633146104ec5760405163118cdaa760e01b8152336004820152602401610334565b6106db610c1c565b60006106ea846000015161090f565b602085015190915015610704576107048460200151610937565b7f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b0316632637a450826040518060a001604052808b63ffffffff1681526020016107548c610664565b81526020018a815260200189815260200160008960200151111515815250866040518463ffffffff1660e01b8152600401610790929190611034565b60806040518083038185885af11580156107ae573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906107d391906110fc565b979650505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051808201909152600080825260208201527f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b031663ddc28c586040518060a001604052808863ffffffff16815260200161089189610664565b8152602001878152602001868152602001851515815250306040518363ffffffff1660e01b81526004016108c6929190611034565b6040805180830381865afa1580156108e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610906919061116e565b95945050505050565b6000813414610933576040516304fb820960e51b8152346004820152602401610334565b5090565b60007f0000000000000000000000001a44076050125825900e736c501f859c50fe728c6001600160a01b031663e4fe1d946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610997573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109bb919061118a565b90506001600160a01b0381166109e4576040516329b99a9560e11b815260040160405180910390fd5b610a196001600160a01b038216337f0000000000000000000000001a44076050125825900e736c501f859c50fe728c85610a1d565b5050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610a77908590610a7d565b50505050565b6000610a926001600160a01b03841683610ae5565b90508051600014158015610ab7575080806020019051810190610ab591906111a7565b155b15610ae057604051635274afe760e01b81526001600160a01b0384166004820152602401610334565b505050565b6060610af383836000610afa565b9392505050565b606081471015610b1f5760405163cd78605960e01b8152306004820152602401610334565b600080856001600160a01b03168486604051610b3b9190610fec565b60006040518083038185875af1925050503d8060008114610b78576040519150601f19603f3d011682016040523d82523d6000602084013e610b7d565b606091505b5091509150610b8d868383610b97565b9695505050505050565b606082610bac57610ba782610bf3565b610af3565b8151158015610bc357506001600160a01b0384163b155b15610bec57604051639996b31560e01b81526001600160a01b0385166004820152602401610334565b5080610af3565b805115610c035780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b604051806060016040528060008019168152602001600067ffffffffffffffff168152602001610c5f604051806040016040528060008152602001600081525090565b905290565b600060608284031215610c7657600080fd5b50919050565b60008083601f840112610c8e57600080fd5b50813567ffffffffffffffff811115610ca657600080fd5b602083019150836020828501011115610cbe57600080fd5b9250929050565b6001600160a01b038116811461045857600080fd5b600080600080600080600060e0888a031215610cf557600080fd5b610cff8989610c64565b965060608801359550608088013567ffffffffffffffff80821115610d2357600080fd5b610d2f8b838c01610c7c565b909750955060a08a01359150610d4482610cc5565b90935060c08901359080821115610d5a57600080fd5b50610d678a828b01610c7c565b989b979a50959850939692959293505050565b803563ffffffff81168114610d8e57600080fd5b919050565b60008060408385031215610da657600080fd5b610daf83610d7a565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610de457600080fd5b813567ffffffffffffffff80821115610dff57610dff610dbd565b604051601f8301601f19908116603f01168101908282118183101715610e2757610e27610dbd565b81604052838152866020858801011115610e4057600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060008060608587031215610e7657600080fd5b610e7f85610d7a565b9350602085013567ffffffffffffffff80821115610e9c57600080fd5b610ea888838901610dd3565b94506040870135915080821115610ebe57600080fd5b50610ecb87828801610c7c565b95989497509550505050565b600060208284031215610ee957600080fd5b610af382610d7a565b600060208284031215610f0457600080fd5b8135610af381610cc5565b801515811461045857600080fd5b600080600080600060808688031215610f3557600080fd5b610f3e86610d7a565b9450602086013567ffffffffffffffff80821115610f5b57600080fd5b610f6789838a01610dd3565b95506040880135915080821115610f7d57600080fd5b50610f8a88828901610c7c565b9094509250506060860135610f9e81610f0f565b809150509295509295909350565b600060608284031215610fbe57600080fd5b610af38383610c64565b60005b83811015610fe3578181015183820152602001610fcb565b50506000910152565b60008251610ffe818460208701610fc8565b9190910192915050565b60008151808452611020816020860160208601610fc8565b601f01601f19169290920160200192915050565b6040815263ffffffff8351166040820152602083015160608201526000604084015160a0608084015261106a60e0840182611008565b90506060850151603f198483030160a08501526110878282611008565b60809690960151151560c08501525050506001600160a01b039190911660209091015290565b6000604082840312156110bf57600080fd5b6040516040810181811067ffffffffffffffff821117156110e2576110e2610dbd565b604052825181526020928301519281019290925250919050565b60006080828403121561110e57600080fd5b6040516060810167ffffffffffffffff828210818311171561113257611132610dbd565b816040528451835260208501519150808216821461114f57600080fd5b50602082015261116284604085016110ad565b60408201529392505050565b60006040828403121561118057600080fd5b610af383836110ad565b60006020828403121561119c57600080fd5b8151610af381610cc5565b6000602082840312156111b957600080fd5b8151610af381610f0f56fea2646970667358221220094f5824259d162af10aec0b74f5b9ab33c7c3253b39f1fb545f9ed5e415c3cc64736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001a44076050125825900e736c501f859c50fe728c
-----Decoded View---------------
Arg [0] : _endpoint (address): 0x1a44076050125825900e736c501f859c50fE728c
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001a44076050125825900e736c501f859c50fe728c
Deployed Bytecode Sourcemap
46827:2215:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21133:723;;;;;;:::i;:::-;;:::i;48545:243::-;;;;;;;;;;-1:-1:-1;48545:243:0;;;41854:1;1920:34:1;;;1985:2;1970:18;;1963:43;1856:18;48545:243:0;;;;;;;;16521:144;;;;;;;;;;-1:-1:-1;16521:144:0;;;;;:::i;:::-;;:::i;48796:168::-;;;:::i;46957:620::-;;;;;;:::i;:::-;;:::i;15314:46::-;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4197:32:1;;;4179:51;;4167:2;4152:18;15314:46:0;4005:231:1;3361:103:0;;;;;;;;;;;;;:::i;20255:130::-;;;;;;;;;;-1:-1:-1;20255:130:0;;;;;:::i;:::-;20344:12;20255:130;;;;;;;;4415:18:1;4403:31;;;4385:50;;4373:2;4358:18;20255:130:0;4241:200:1;2686:87:0;;;;;;;;;;-1:-1:-1;2732:7:0;2759:6;-1:-1:-1;;;;;2759:6:0;2686:87;;15440:48;;;;;;;;;;-1:-1:-1;15440:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;4989:25:1;;;4977:2;4962:18;15440:48:0;4843:177:1;17566:107:0;;;;;;;;;;-1:-1:-1;17566:107:0;;;;;:::i;:::-;;:::i;3619:220::-;;;;;;;;;;-1:-1:-1;3619:220:0;;;;;:::i;:::-;;:::i;47585:541::-;;;;;;;;;;-1:-1:-1;47585:541:0;;;;;:::i;:::-;;:::i;:::-;;;;6411:25:1;;;6467:2;6452:18;;6445:34;;;;6384:18;47585:541:0;6237:248:1;19504:151:0;;;;;;;;;;-1:-1:-1;19504:151:0;;;;;:::i;:::-;;:::i;:::-;;;6895:14:1;;6888:22;6870:41;;6858:2;6843:18;19504:151:0;6730:187:1;21133:723:0;21454:8;-1:-1:-1;;;;;21446:31:0;21467:10;21446:31;21442:68;;21486:24;;-1:-1:-1;;;21486:24:0;;21499:10;21486:24;;;4179:51:1;4152:18;;21486:24:0;;;;;;;;21442:68;21649:14;;;;;;21613:32;;21630:14;;21649:7;21630:14;:::i;:::-;21613:16;:32::i;:::-;:50;21609:103;;21681:14;;;;:7;:14;:::i;:::-;21672:40;;-1:-1:-1;;;21672:40:0;;7124:10:1;7112:23;;;21672:40:0;;;7094:42:1;21697:14:0;;;;7152:18:1;;;7145:34;7067:18;;21672:40:0;6922:263:1;21609:103:0;21133:723;;;;;;;:::o;16521:144::-;2572:13;:11;:13::i;:::-;16602:11:::1;::::0;::::1;;::::0;;;:5:::1;:11;::::0;;;;;;;;:19;;;16637:20;;7094:42:1;;;7152:18;;7145:34;;;16637:20:0::1;::::0;7067:18:1;16637:20:0::1;;;;;;;16521:144:::0;;:::o;48796:168::-;2572:13;:11;:13::i;:::-;48871:58:::1;::::0;48853:12:::1;::::0;48879:10:::1;::::0;48903:21:::1;::::0;48853:12;48871:58;48853:12;48871:58;48903:21;48879:10;48871:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48852:77;;;48948:7;48940:16;;;::::0;::::1;;48841:123;48796:168::o:0;46957:620::-;47069:21;47110:8;47093:26;;;;;;;;:::i;:::-;;;;-1:-1:-1;;47093:26:0;;;;;;;47162:407;;;;;;;;;;;;;;;;;;47093:26;-1:-1:-1;47162:407:0;;47184:7;;47093:26;;;47304:8;;;;;;47162:407;;47304:8;;;;47162:407;;;;;;;;-1:-1:-1;47391:26:0;;;;;;;;;47404:9;47391:26;;;;;;;;;;-1:-1:-1;47499:4:0;;-1:-1:-1;47162:7:0;;-1:-1:-1;47162:407:0:i;:::-;;47058:519;46957:620;;;;:::o;3361:103::-;2572:13;:11;:13::i;:::-;3426:30:::1;3453:1;3426:18;:30::i;:::-;3361:103::o:0;17566:107::-;2572:13;:11;:13::i;:::-;17634:31:::1;::::0;-1:-1:-1;;;17634:31:0;;-1:-1:-1;;;;;4197:32:1;;;17634:31:0::1;::::0;::::1;4179:51:1::0;17634:8:0::1;:20;::::0;::::1;::::0;4152:18:1;;17634:31:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;17566:107:::0;:::o;3619:220::-;2572:13;:11;:13::i;:::-;-1:-1:-1;;;;;3704:22:0;::::1;3700:93;;3750:31;::::0;-1:-1:-1;;;3750:31:0;;3778:1:::1;3750:31;::::0;::::1;4179:51:1::0;4152:18;;3750:31:0::1;4005:231:1::0;3700:93:0::1;3803:28;3822:8;3803:18;:28::i;47585:541::-:0;47882:17;47901:18;47932:21;47973:8;47956:26;;;;;;;;:::i;:::-;;;;-1:-1:-1;;47956:26:0;;;;;;;48019:50;;;;;;;;;;;;;;;;;;47956:26;-1:-1:-1;47993:23:0;;48019:50;;48026:7;;47956:26;;48045:8;;;;;;48019:50;;48045:8;;;;48019:50;;;;;;;;;-1:-1:-1;48055:13:0;;-1:-1:-1;48019:6:0;;-1:-1:-1;;48019:50:0:i;:::-;48088:13;;48103:14;;;;;48088:13;;48103:14;;-1:-1:-1;47585:541:0;-1:-1:-1;;;;;;;;47585:541:0:o;19504:151::-;19586:4;19634:13;;;;;;19610:5;;19586:4;;19616:13;;19634:6;19616:13;:::i;:::-;19610:20;;;;;;;;;;;;;-1:-1:-1;19610:20:0;;:37;;19504:151;-1:-1:-1;;19504:151:0:o;16971:200::-;17076:11;;;17041:7;17076:11;;;:5;:11;;;;;;;17098:43;;17129:12;;-1:-1:-1;;;17129:12:0;;8123:10:1;8111:23;;17129:12:0;;;8093:42:1;8066:18;;17129:12:0;7949:192:1;17098:43:0;17159:4;16971:200;-1:-1:-1;;16971:200:0:o;2851:166::-;2732:7;2759:6;-1:-1:-1;;;;;2759:6:0;775:10;2911:23;2907:103;;2958:40;;-1:-1:-1;;;2958:40:0;;775:10;2958:40;;;4179:51:1;4152:18;;2958:40:0;4005:231:1;44254:783:0;44461:31;;:::i;:::-;44628:20;44651:26;44662:4;:14;;;44651:10;:26::i;:::-;44692:15;;;;44628:49;;-1:-1:-1;44692:19:0;44688:53;;44713:28;44725:4;:15;;;44713:11;:28::i;:::-;44834:8;-1:-1:-1;;;;;44834:13:0;;44856:12;44889:92;;;;;;;;44905:7;44889:92;;;;;;44914:25;44931:7;44914:16;:25::i;:::-;44889:92;;;;44941:8;44889:92;;;;44951:8;44889:92;;;;44979:1;44961:4;:15;;;:19;44889:92;;;;;45000:14;44834:195;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44754:275;44254:783;-1:-1:-1;;;;;;;44254:783:0:o;3999:191::-;4073:16;4092:6;;-1:-1:-1;;;;;4109:17:0;;;-1:-1:-1;;;;;;4109:17:0;;;;;;4142:40;;4092:6;;;;;;;4142:40;;4073:16;4142:40;4062:128;3999:191;:::o;43077:402::-;-1:-1:-1;;;;;;;;;;;;;;;;;43305:8:0;-1:-1:-1;;;;;43305:14:0;;43338:86;;;;;;;;43354:7;43338:86;;;;;;43363:25;43380:7;43363:16;:25::i;:::-;43338:86;;;;43390:8;43338:86;;;;43400:8;43338:86;;;;43410:13;43338:86;;;;;43451:4;43305:166;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43285:186;43077:402;-1:-1:-1;;;;;43077:402:0:o;45746:194::-;45812:17;45859:10;45846:9;:23;45842:62;;45878:26;;-1:-1:-1;;;45878:26:0;;45894:9;45878:26;;;4989:25:1;4962:18;;45878:26:0;4843:177:1;45842:62:0;-1:-1:-1;45922:10:0;45746:194::o;46326:417::-;46481:15;46499:8;-1:-1:-1;;;;;46499:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46481:36;-1:-1:-1;;;;;;46532:21:0;;46528:54;;46562:20;;-1:-1:-1;;;46562:20:0;;;;;;;;;;;46528:54;46659:76;-1:-1:-1;;;;;46659:32:0;;46692:10;46712:8;46723:11;46659:32;:76::i;:::-;46385:358;46326:417;:::o;37111:190::-;37239:53;;;-1:-1:-1;;;;;11486:15:1;;;37239:53:0;;;11468:34:1;11538:15;;11518:18;;;11511:43;11570:18;;;;11563:34;;;37239:53:0;;;;;;;;;;11403:18:1;;;;37239:53:0;;;;;;;;-1:-1:-1;;;;;37239:53:0;-1:-1:-1;;;37239:53:0;;;37212:81;;37232:5;;37212:19;:81::i;:::-;37111:190;;;;:::o;39515:638::-;39939:23;39965:33;-1:-1:-1;;;;;39965:27:0;;39993:4;39965:27;:33::i;:::-;39939:59;;40013:10;:17;40034:1;40013:22;;:57;;;;;40051:10;40040:30;;;;;;;;;;;;:::i;:::-;40039:31;40013:57;40009:137;;;40094:40;;-1:-1:-1;;;40094:40:0;;-1:-1:-1;;;;;4197:32:1;;40094:40:0;;;4179:51:1;4152:18;;40094:40:0;4005:231:1;40009:137:0;39585:568;39515:638;;:::o;25002:153::-;25077:12;25109:38;25131:6;25139:4;25145:1;25109:21;:38::i;:::-;25102:45;25002:153;-1:-1:-1;;;25002:153:0:o;25490:398::-;25589:12;25642:5;25618:21;:29;25614:110;;;25671:41;;-1:-1:-1;;;25671:41:0;;25706:4;25671:41;;;4179:51:1;4152:18;;25671:41:0;4005:231:1;25614:110:0;25735:12;25749:23;25776:6;-1:-1:-1;;;;;25776:11:0;25795:5;25802:4;25776:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25734:73;;;;25825:55;25852:6;25860:7;25869:10;25825:26;:55::i;:::-;25818:62;25490:398;-1:-1:-1;;;;;;25490:398:0:o;26966:597::-;27114:12;27144:7;27139:417;;27168:19;27176:10;27168:7;:19::i;:::-;27139:417;;;27396:17;;:22;:49;;;;-1:-1:-1;;;;;;27422:18:0;;;:23;27396:49;27392:121;;;27473:24;;-1:-1:-1;;;27473:24:0;;-1:-1:-1;;;;;4197:32:1;;27473:24:0;;;4179:51:1;4152:18;;27473:24:0;4005:231:1;27392:121:0;-1:-1:-1;27534:10:0;27527:17;;28116:528;28249:17;;:21;28245:392;;28481:10;28475:17;28538:15;28525:10;28521:2;28517:19;28510:44;28245:392;28608:17;;-1:-1:-1;;;28608:17:0;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:154:1:-;73:5;118:2;109:6;104:3;100:16;96:25;93:45;;;134:1;131;124:12;93:45;-1:-1:-1;156:6:1;14:154;-1:-1:-1;14:154:1:o;173:347::-;224:8;234:6;288:3;281:4;273:6;269:17;265:27;255:55;;306:1;303;296:12;255:55;-1:-1:-1;329:20:1;;372:18;361:30;;358:50;;;404:1;401;394:12;358:50;441:4;433:6;429:17;417:29;;493:3;486:4;477:6;469;465:19;461:30;458:39;455:59;;;510:1;507;500:12;455:59;173:347;;;;;:::o;525:131::-;-1:-1:-1;;;;;600:31:1;;590:42;;580:70;;646:1;643;636:12;661:1047;803:6;811;819;827;835;843;851;904:3;892:9;883:7;879:23;875:33;872:53;;;921:1;918;911:12;872:53;944;989:7;978:9;944:53;:::i;:::-;934:63;;1044:2;1033:9;1029:18;1016:32;1006:42;;1099:3;1088:9;1084:19;1071:33;1123:18;1164:2;1156:6;1153:14;1150:34;;;1180:1;1177;1170:12;1150:34;1219:58;1269:7;1260:6;1249:9;1245:22;1219:58;:::i;:::-;1296:8;;-1:-1:-1;1193:84:1;-1:-1:-1;1381:3:1;1366:19;;1353:33;;-1:-1:-1;1395:31:1;1353:33;1395:31;:::i;:::-;1445:5;;-1:-1:-1;1503:3:1;1488:19;;1475:33;;1520:16;;;1517:36;;;1549:1;1546;1539:12;1517:36;;1588:60;1640:7;1629:8;1618:9;1614:24;1588:60;:::i;:::-;661:1047;;;;-1:-1:-1;661:1047:1;;-1:-1:-1;661:1047:1;;;;1562:86;;-1:-1:-1;;;661:1047:1:o;2017:163::-;2084:20;;2144:10;2133:22;;2123:33;;2113:61;;2170:1;2167;2160:12;2113:61;2017:163;;;:::o;2185:252::-;2252:6;2260;2313:2;2301:9;2292:7;2288:23;2284:32;2281:52;;;2329:1;2326;2319:12;2281:52;2352:28;2370:9;2352:28;:::i;:::-;2342:38;2427:2;2412:18;;;;2399:32;;-1:-1:-1;;;2185:252:1:o;2442:127::-;2503:10;2498:3;2494:20;2491:1;2484:31;2534:4;2531:1;2524:15;2558:4;2555:1;2548:15;2574:719;2617:5;2670:3;2663:4;2655:6;2651:17;2647:27;2637:55;;2688:1;2685;2678:12;2637:55;2724:6;2711:20;2750:18;2787:2;2783;2780:10;2777:36;;;2793:18;;:::i;:::-;2868:2;2862:9;2836:2;2922:13;;-1:-1:-1;;2918:22:1;;;2942:2;2914:31;2910:40;2898:53;;;2966:18;;;2986:22;;;2963:46;2960:72;;;3012:18;;:::i;:::-;3052:10;3048:2;3041:22;3087:2;3079:6;3072:18;3133:3;3126:4;3121:2;3113:6;3109:15;3105:26;3102:35;3099:55;;;3150:1;3147;3140:12;3099:55;3214:2;3207:4;3199:6;3195:17;3188:4;3180:6;3176:17;3163:54;3261:1;3254:4;3249:2;3241:6;3237:15;3233:26;3226:37;3281:6;3272:15;;;;;;2574:719;;;;:::o;3298:702::-;3395:6;3403;3411;3419;3472:2;3460:9;3451:7;3447:23;3443:32;3440:52;;;3488:1;3485;3478:12;3440:52;3511:28;3529:9;3511:28;:::i;:::-;3501:38;;3590:2;3579:9;3575:18;3562:32;3613:18;3654:2;3646:6;3643:14;3640:34;;;3670:1;3667;3660:12;3640:34;3693:50;3735:7;3726:6;3715:9;3711:22;3693:50;:::i;:::-;3683:60;;3796:2;3785:9;3781:18;3768:32;3752:48;;3825:2;3815:8;3812:16;3809:36;;;3841:1;3838;3831:12;3809:36;;3880:60;3932:7;3921:8;3910:9;3906:24;3880:60;:::i;:::-;3298:702;;;;-1:-1:-1;3959:8:1;-1:-1:-1;;;;3298:702:1:o;4654:184::-;4712:6;4765:2;4753:9;4744:7;4740:23;4736:32;4733:52;;;4781:1;4778;4771:12;4733:52;4804:28;4822:9;4804:28;:::i;5025:247::-;5084:6;5137:2;5125:9;5116:7;5112:23;5108:32;5105:52;;;5153:1;5150;5143:12;5105:52;5192:9;5179:23;5211:31;5236:5;5211:31;:::i;5277:118::-;5363:5;5356:13;5349:21;5342:5;5339:32;5329:60;;5385:1;5382;5375:12;5400:832;5503:6;5511;5519;5527;5535;5588:3;5576:9;5567:7;5563:23;5559:33;5556:53;;;5605:1;5602;5595:12;5556:53;5628:28;5646:9;5628:28;:::i;:::-;5618:38;;5707:2;5696:9;5692:18;5679:32;5730:18;5771:2;5763:6;5760:14;5757:34;;;5787:1;5784;5777:12;5757:34;5810:50;5852:7;5843:6;5832:9;5828:22;5810:50;:::i;:::-;5800:60;;5913:2;5902:9;5898:18;5885:32;5869:48;;5942:2;5932:8;5929:16;5926:36;;;5958:1;5955;5948:12;5926:36;;5997:60;6049:7;6038:8;6027:9;6023:24;5997:60;:::i;:::-;6076:8;;-1:-1:-1;5971:86:1;-1:-1:-1;;6161:2:1;6146:18;;6133:32;6174:28;6133:32;6174:28;:::i;:::-;6221:5;6211:15;;;5400:832;;;;;;;;:::o;6490:235::-;6574:6;6627:2;6615:9;6606:7;6602:23;6598:32;6595:52;;;6643:1;6640;6633:12;6595:52;6666:53;6711:7;6700:9;6666:53;:::i;7400:250::-;7485:1;7495:113;7509:6;7506:1;7503:13;7495:113;;;7585:11;;;7579:18;7566:11;;;7559:39;7531:2;7524:10;7495:113;;;-1:-1:-1;;7642:1:1;7624:16;;7617:27;7400:250::o;7655:289::-;7786:3;7824:6;7818:13;7840:66;7899:6;7894:3;7887:4;7879:6;7875:17;7840:66;:::i;:::-;7922:16;;;;;7655:289;-1:-1:-1;;7655:289:1:o;8146:270::-;8187:3;8225:5;8219:12;8252:6;8247:3;8240:19;8268:76;8337:6;8330:4;8325:3;8321:14;8314:4;8307:5;8303:16;8268:76;:::i;:::-;8398:2;8377:15;-1:-1:-1;;8373:29:1;8364:39;;;;8405:4;8360:50;;8146:270;-1:-1:-1;;8146:270:1:o;8421:887::-;8642:2;8631:9;8624:21;8700:10;8691:6;8685:13;8681:30;8676:2;8665:9;8661:18;8654:58;8766:4;8758:6;8754:17;8748:24;8743:2;8732:9;8728:18;8721:52;8605:4;8820:2;8812:6;8808:15;8802:22;8861:4;8855:3;8844:9;8840:19;8833:33;8889:51;8935:3;8924:9;8920:19;8906:12;8889:51;:::i;:::-;8875:65;;8989:2;8981:6;8977:15;8971:22;9063:2;9059:7;9047:9;9039:6;9035:22;9031:36;9024:4;9013:9;9009:20;9002:66;9091:40;9124:6;9108:14;9091:40;:::i;:::-;9200:3;9188:16;;;;9182:23;9175:31;9168:39;9162:3;9147:19;;9140:68;-1:-1:-1;;;;;;;;9269:32:1;;;;9262:4;9247:20;;;9240:62;9077:54;8421:887::o;9313:478::-;9383:5;9431:4;9419:9;9414:3;9410:19;9406:30;9403:50;;;9449:1;9446;9439:12;9403:50;9482:4;9476:11;9526:4;9518:6;9514:17;9597:6;9585:10;9582:22;9561:18;9549:10;9546:34;9543:62;9540:88;;;9608:18;;:::i;:::-;9644:4;9637:24;9709:16;;9694:32;;9780:2;9765:18;;;9759:25;9742:15;;;9735:50;;;;-1:-1:-1;9679:6:1;9313:478;-1:-1:-1;9313:478:1:o;9796:726::-;9899:6;9952:3;9940:9;9931:7;9927:23;9923:33;9920:53;;;9969:1;9966;9959:12;9920:53;10002:2;9996:9;10044:4;10036:6;10032:17;10068:18;10136:6;10124:10;10121:22;10116:2;10104:10;10101:18;10098:46;10095:72;;;10147:18;;:::i;:::-;10187:10;10183:2;10176:22;10228:9;10222:16;10214:6;10207:32;10282:2;10271:9;10267:18;10261:25;10248:38;;10326:2;10319:5;10315:14;10308:5;10305:25;10295:53;;10344:1;10341;10334:12;10295:53;-1:-1:-1;10376:2:1;10364:15;;10357:30;10420:70;10482:7;10477:2;10462:18;;10420:70;:::i;:::-;10415:2;10403:15;;10396:95;10407:6;9796:726;-1:-1:-1;;;9796:726:1:o;10527:258::-;10626:6;10679:2;10667:9;10658:7;10654:23;10650:32;10647:52;;;10695:1;10692;10685:12;10647:52;10718:61;10771:7;10760:9;10718:61;:::i;10972:251::-;11042:6;11095:2;11083:9;11074:7;11070:23;11066:32;11063:52;;;11111:1;11108;11101:12;11063:52;11143:9;11137:16;11162:31;11187:5;11162:31;:::i;11608:245::-;11675:6;11728:2;11716:9;11707:7;11703:23;11699:32;11696:52;;;11744:1;11741;11734:12;11696:52;11776:9;11770:16;11795:28;11817:5;11795:28;:::i
Swarm Source
ipfs://094f5824259d162af10aec0b74f5b9ab33c7c3253b39f1fb545f9ed5e415c3cc
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.