More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 788 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 59942498 | 129 days ago | IN | 0.000001 POL | 0.00092618 | ||||
Send Message | 57993820 | 178 days ago | IN | 0.4842751 POL | 0.00688548 | ||||
Send Message | 57879464 | 181 days ago | IN | 0.39624027 POL | 0.0070236 | ||||
Send Message | 57826593 | 182 days ago | IN | 1.19477499 POL | 0.00847189 | ||||
Send Message | 57795625 | 183 days ago | IN | 0.44663805 POL | 0.0070236 | ||||
Send Message | 57521094 | 190 days ago | IN | 0.34607409 POL | 0.0071236 | ||||
Send Message | 57310020 | 195 days ago | IN | 1.1474377 POL | 0.01579893 | ||||
Send Message | 57068463 | 202 days ago | IN | 0.34572901 POL | 0.00819378 | ||||
Send Message | 56639105 | 213 days ago | IN | 0.43187828 POL | 0.00702361 | ||||
Send Message | 56638406 | 213 days ago | IN | 0.36400487 POL | 0.0068691 | ||||
Send Message | 56574012 | 215 days ago | IN | 0.69687141 POL | 0.00688548 | ||||
Send Message | 56435413 | 218 days ago | IN | 1.14789698 POL | 0.01076034 | ||||
Send Message | 56429313 | 218 days ago | IN | 1.14789698 POL | 0.01128042 | ||||
Send Message | 56424382 | 219 days ago | IN | 0.37119957 POL | 0.02934519 | ||||
Send Message | 56382700 | 220 days ago | IN | 0.32000341 POL | 0.00755127 | ||||
Send Message | 56369919 | 220 days ago | IN | 1.09888889 POL | 0.01357499 | ||||
Send Message | 56352856 | 221 days ago | IN | 0.36015633 POL | 0.01126074 | ||||
Send Message | 56340536 | 221 days ago | IN | 0.72971064 POL | 0.03465934 | ||||
Send Message | 56315680 | 222 days ago | IN | 0.95727483 POL | 0.01513256 | ||||
Send Message | 56315655 | 222 days ago | IN | 0.95727483 POL | 0.01623598 | ||||
Send Message | 56314034 | 222 days ago | IN | 0.43265686 POL | 0.01767251 | ||||
Send Message | 56313875 | 222 days ago | IN | 0.43265686 POL | 0.01677007 | ||||
Send Message | 56312831 | 222 days ago | IN | 0.37614033 POL | 0.02596074 | ||||
Send Message | 56289549 | 222 days ago | IN | 0.36222947 POL | 0.00965624 | ||||
Send Message | 56289526 | 222 days ago | IN | 0.36442427 POL | 0.01028958 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
59942498 | 129 days ago | 16.200001 POL | ||||
57993820 | 178 days ago | 0.1842751 POL | ||||
57879464 | 181 days ago | 0.09624027 POL | ||||
57826593 | 182 days ago | 0.89477499 POL | ||||
57795625 | 183 days ago | 0.14663805 POL | ||||
57521094 | 190 days ago | 0.04607409 POL | ||||
57310020 | 195 days ago | 0.8474377 POL | ||||
57068463 | 202 days ago | 0.04572901 POL | ||||
56639105 | 213 days ago | 0.13187828 POL | ||||
56638406 | 213 days ago | 0.06400487 POL | ||||
56574012 | 215 days ago | 0.39687141 POL | ||||
56435413 | 218 days ago | 0.84789698 POL | ||||
56429313 | 218 days ago | 0.84789698 POL | ||||
56424382 | 219 days ago | 0.07119957 POL | ||||
56382700 | 220 days ago | 0.02000341 POL | ||||
56369919 | 220 days ago | 0.79888889 POL | ||||
56352856 | 221 days ago | 0.06015633 POL | ||||
56340536 | 221 days ago | 0.42971064 POL | ||||
56315680 | 222 days ago | 0.65727483 POL | ||||
56315655 | 222 days ago | 0.65727483 POL | ||||
56314034 | 222 days ago | 0.13265686 POL | ||||
56313875 | 222 days ago | 0.13265686 POL | ||||
56312831 | 222 days ago | 0.07614033 POL | ||||
56289549 | 222 days ago | 0.06222947 POL | ||||
56289526 | 222 days ago | 0.06442427 POL |
Loading...
Loading
Contract Name:
WhaleSendMessage
Compiler Version
v0.8.19+commit.7dd6d404
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.12; import "@openzeppelin/contracts/access/Ownable.sol"; import "./interfaces/ILayerZeroEndpoint.sol"; import "./interfaces/ILayerZeroReceiver.sol"; contract WhaleSendMessage is Ownable, ILayerZeroReceiver { ILayerZeroEndpoint public endpoint; uint256 public cost = 0.00025 ether; mapping(address => string) public lastMessage; uint256 gas = 220000; // When just deploying, mint a certain number of tokens for the owner constructor(address _endpoint) { endpoint = ILayerZeroEndpoint(_endpoint); } function lzReceive( uint16 _dstChainId, bytes memory _from, uint64, bytes memory _payload ) external override { require(msg.sender == address(endpoint)); address from; assembly { from := mload(add(_from, 20)) } (address toAddress, string memory message) = abi.decode(_payload, (address, string)); // mint the tokens lastMessage[toAddress] = message; } function estimateFees( uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParams ) external view returns (uint256 nativeFee, uint256 zroFee) { return endpoint.estimateFees(_dstChainId, _userApplication, _payload, _payInZRO, _adapterParams); } function sendMessage( string memory message, uint16 destChainId, bytes calldata _destination ) public payable { bytes memory payload = abi.encode(msg.sender, message); uint16 version = 2; bytes memory adapterParams = abi.encodePacked(version, gas); (uint256 messageFee, ) = endpoint.estimateFees(destChainId, address(this), payload, false, adapterParams); require(msg.value >= messageFee, "Must send enough value to cover messageFee"); endpoint.send{value: msg.value - cost}( destChainId, _destination, payload, payable(msg.sender), address(0x0), adapterParams ); } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "./ILayerZeroUserApplicationConfig.sol"; interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig { // @notice send a LayerZero message to the specified address at a LayerZero endpoint. // @param _dstChainId - the destination chain identifier // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains // @param _payload - a custom bytes payload to send to the destination contract // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination function send( uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams ) external payable; // @notice used by the messaging library to publish verified payload // @param _srcChainId - the source chain identifier // @param _srcAddress - the source contract (as bytes) at the source chain // @param _dstAddress - the address on destination chain // @param _nonce - the unbound message ordering nonce // @param _gasLimit - the gas limit for external contract execution // @param _payload - verified payload to send to the destination contract function receivePayload( uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint256 _gasLimit, bytes calldata _payload ) external; // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function getInboundNonce(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (uint64); // @notice get the outboundNonce from this source chain which, consequently, is always an EVM // @param _srcAddress - the source chain contract address function getOutboundNonce(uint16 _dstChainId, address _srcAddress) external view returns (uint64); // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery // @param _dstChainId - the destination chain identifier // @param _userApplication - the user app address on this EVM chain // @param _payload - the custom message to send over LayerZero // @param _payInZRO - if false, user app pays the protocol fee in native token // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain function estimateFees( uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam ) external view returns (uint256 nativeFee, uint256 zroFee); // @notice get this Endpoint's immutable source identifier function getChainId() external view returns (uint16); // @notice the interface to retry failed message on this Endpoint destination // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address // @param _payload - the payload to be retried function retryPayload( uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload ) external; // @notice query if any STORED payload (message blocking) at the endpoint. // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function hasStoredPayload(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool); // @notice query if the _libraryAddress is valid for sending msgs. // @param _userApplication - the user app address on this EVM chain function getSendLibraryAddress(address _userApplication) external view returns (address); // @notice query if the _libraryAddress is valid for receiving msgs. // @param _userApplication - the user app address on this EVM chain function getReceiveLibraryAddress(address _userApplication) external view returns (address); // @notice query if the non-reentrancy guard for send() is on // @return true if the guard is on. false otherwise function isSendingPayload() external view returns (bool); // @notice query if the non-reentrancy guard for receive() is on // @return true if the guard is on. false otherwise function isReceivingPayload() external view returns (bool); // @notice get the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _userApplication - the contract address of the user application // @param _configType - type of configuration. every messaging library has its own convention. function getConfig( uint16 _version, uint16 _chainId, address _userApplication, uint256 _configType ) external view returns (bytes memory); // @notice get the send() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getSendVersion(address _userApplication) external view returns (uint16); // @notice get the lzReceive() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getReceiveVersion(address _userApplication) external view returns (uint16); }
// 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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface ILayerZeroUserApplicationConfig { // @notice set the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _configType - type of configuration. every messaging library has its own convention. // @param _config - configuration in the bytes. can encode arbitrary content. function setConfig( uint16 _version, uint16 _chainId, uint256 _configType, bytes calldata _config ) external; // @notice set the send() LayerZero messaging library version to _version // @param _version - new messaging library version function setSendVersion(uint16 _version) external; // @notice set the lzReceive() LayerZero messaging library version to _version // @param _version - new messaging library version function setReceiveVersion(uint16 _version) external; // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload // @param _srcChainId - the chainId of the source chain // @param _srcAddress - the contract address of the source contract at the source chain function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external; }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_endpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address","name":"_userApplication","type":"address"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"bool","name":"_payInZRO","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateFees","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastMessage","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_from","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"message","type":"string"},{"internalType":"uint16","name":"destChainId","type":"uint16"},{"internalType":"bytes","name":"_destination","type":"bytes"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405265e35fa931a00060025562035b6060045534801561002157600080fd5b50604051610f64380380610f64833981016040819052610040916100be565b6100493361006e565b600180546001600160a01b0319166001600160a01b03929092169190911790556100ee565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100d057600080fd5b81516001600160a01b03811681146100e757600080fd5b9392505050565b610e67806100fd6000396000f3fe60806040526004361061009b5760003560e01c80635e280f11116100645780635e280f111461014857806365f0f5c214610180578063715018a6146101935780638da5cb5b146101a8578063b18dfd3d146101c6578063f2fde38b146101f357600080fd5b80621d3567146100a057806313faede6146100c25780633ccfd60b146100eb57806340a7bb10146100f357806344a0d68a14610128575b600080fd5b3480156100ac57600080fd5b506100c06100bb3660046107f4565b610213565b005b3480156100ce57600080fd5b506100d860025481565b6040519081526020015b60405180910390f35b6100c061027b565b3480156100ff57600080fd5b5061011361010e3660046108e0565b6102db565b604080519283526020830191909152016100e2565b34801561013457600080fd5b506100c061014336600461098d565b61036c565b34801561015457600080fd5b50600154610168906001600160a01b031681565b6040516001600160a01b0390911681526020016100e2565b6100c061018e3660046109a6565b610379565b34801561019f57600080fd5b506100c061053b565b3480156101b457600080fd5b506000546001600160a01b0316610168565b3480156101d257600080fd5b506101e66101e1366004610a34565b61054f565b6040516100e29190610aa1565b3480156101ff57600080fd5b506100c061020e366004610a34565b6105e9565b6001546001600160a01b0316331461022a57600080fd5b6000601484015190506000808380602001905181019061024a9190610ab4565b6001600160a01b038216600090815260036020526040902091935091506102718282610bca565b5050505050505050565b61028361065f565b604051600090339047908381818185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50509050806102d857600080fd5b50565b60015460405163040a7bb160e41b815260009182916001600160a01b03909116906340a7bb109061031c908c908c908c908c908c908c908c90600401610cb3565b6040805180830381865afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c9190610d0b565b9150915097509795505050505050565b61037461065f565b600255565b6000338560405160200161038e929190610d2f565b60408051601f1981840301815290829052600454600160f11b60208401526022830152915060029060009060420160408051601f198184030181529082905260015463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090610408908a903090899087908990600401610d5b565b6040805180830381865afa158015610424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104489190610d0b565b509050803410156104b35760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420656e6f7567682076616c756520746f20636f766572206044820152696d65737361676546656560b01b60648201526084015b60405180910390fd5b6001546002546001600160a01b039091169063c5803100906104d59034610daf565b898989893360008a6040518963ffffffff1660e01b81526004016104ff9796959493929190610dd6565b6000604051808303818588803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b50505050505050505050505050565b61054361065f565b61054d60006106b9565b565b6003602052600090815260409020805461056890610b41565b80601f016020809104026020016040519081016040528092919081815260200182805461059490610b41565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b505050505081565b6105f161065f565b6001600160a01b0381166106565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104aa565b6102d8816106b9565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff8116811461071b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561075f5761075f610720565b604052919050565b600067ffffffffffffffff82111561078157610781610720565b50601f01601f191660200190565b60006107a261079d84610767565b610736565b90508281528383830111156107b657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126107de57600080fd5b6107ed8383356020850161078f565b9392505050565b6000806000806080858703121561080a57600080fd5b61081385610709565b9350602085013567ffffffffffffffff8082111561083057600080fd5b61083c888389016107cd565b945060408701359150808216821461085357600080fd5b9092506060860135908082111561086957600080fd5b50610876878288016107cd565b91505092959194509250565b6001600160a01b03811681146102d857600080fd5b60008083601f8401126108a957600080fd5b50813567ffffffffffffffff8111156108c157600080fd5b6020830191508360208285010111156108d957600080fd5b9250929050565b600080600080600080600060a0888a0312156108fb57600080fd5b61090488610709565b9650602088013561091481610882565b9550604088013567ffffffffffffffff8082111561093157600080fd5b61093d8b838c01610897565b909750955060608a01359150811515821461095757600080fd5b9093506080890135908082111561096d57600080fd5b5061097a8a828b01610897565b989b979a50959850939692959293505050565b60006020828403121561099f57600080fd5b5035919050565b600080600080606085870312156109bc57600080fd5b843567ffffffffffffffff808211156109d457600080fd5b818701915087601f8301126109e857600080fd5b6109f78883356020850161078f565b9550610a0560208801610709565b94506040870135915080821115610a1b57600080fd5b50610a2887828801610897565b95989497509550505050565b600060208284031215610a4657600080fd5b81356107ed81610882565b60005b83811015610a6c578181015183820152602001610a54565b50506000910152565b60008151808452610a8d816020860160208601610a51565b601f01601f19169290920160200192915050565b6020815260006107ed6020830184610a75565b60008060408385031215610ac757600080fd5b8251610ad281610882565b602084015190925067ffffffffffffffff811115610aef57600080fd5b8301601f81018513610b0057600080fd5b8051610b0e61079d82610767565b818152866020838501011115610b2357600080fd5b610b34826020830160208601610a51565b8093505050509250929050565b600181811c90821680610b5557607f821691505b602082108103610b7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610bc557600081815260208120601f850160051c81016020861015610ba25750805b601f850160051c820191505b81811015610bc157828155600101610bae565b5050505b505050565b815167ffffffffffffffff811115610be457610be4610720565b610bf881610bf28454610b41565b84610b7b565b602080601f831160018114610c2d5760008415610c155750858301515b600019600386901b1c1916600185901b178555610bc1565b600085815260208120601f198616915b82811015610c5c57888601518255948401946001909101908401610c3d565b5085821015610c7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff881681526001600160a01b038716602082015260a060408201819052600090610ce29083018789610c8a565b85151560608401528281036080840152610cfd818587610c8a565b9a9950505050505050505050565b60008060408385031215610d1e57600080fd5b505080516020909101519092909150565b6001600160a01b0383168152604060208201819052600090610d5390830184610a75565b949350505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090610d8990830186610a75565b84151560608401528281036080840152610da38185610a75565b98975050505050505050565b81810381811115610dd057634e487b7160e01b600052601160045260246000fd5b92915050565b61ffff8816815260c060208201526000610df460c08301888a610c8a565b8281036040840152610e068188610a75565b6001600160a01b0387811660608601528616608085015283810360a08501529050610cfd8185610a7556fea26469706673582212209b4d6941b661153baff5485704fa81fb89d3c182ce2f8718e61c98302f922e1e64736f6c634300081300330000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
Deployed Bytecode
0x60806040526004361061009b5760003560e01c80635e280f11116100645780635e280f111461014857806365f0f5c214610180578063715018a6146101935780638da5cb5b146101a8578063b18dfd3d146101c6578063f2fde38b146101f357600080fd5b80621d3567146100a057806313faede6146100c25780633ccfd60b146100eb57806340a7bb10146100f357806344a0d68a14610128575b600080fd5b3480156100ac57600080fd5b506100c06100bb3660046107f4565b610213565b005b3480156100ce57600080fd5b506100d860025481565b6040519081526020015b60405180910390f35b6100c061027b565b3480156100ff57600080fd5b5061011361010e3660046108e0565b6102db565b604080519283526020830191909152016100e2565b34801561013457600080fd5b506100c061014336600461098d565b61036c565b34801561015457600080fd5b50600154610168906001600160a01b031681565b6040516001600160a01b0390911681526020016100e2565b6100c061018e3660046109a6565b610379565b34801561019f57600080fd5b506100c061053b565b3480156101b457600080fd5b506000546001600160a01b0316610168565b3480156101d257600080fd5b506101e66101e1366004610a34565b61054f565b6040516100e29190610aa1565b3480156101ff57600080fd5b506100c061020e366004610a34565b6105e9565b6001546001600160a01b0316331461022a57600080fd5b6000601484015190506000808380602001905181019061024a9190610ab4565b6001600160a01b038216600090815260036020526040902091935091506102718282610bca565b5050505050505050565b61028361065f565b604051600090339047908381818185875af1925050503d80600081146102c5576040519150601f19603f3d011682016040523d82523d6000602084013e6102ca565b606091505b50509050806102d857600080fd5b50565b60015460405163040a7bb160e41b815260009182916001600160a01b03909116906340a7bb109061031c908c908c908c908c908c908c908c90600401610cb3565b6040805180830381865afa158015610338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061035c9190610d0b565b9150915097509795505050505050565b61037461065f565b600255565b6000338560405160200161038e929190610d2f565b60408051601f1981840301815290829052600454600160f11b60208401526022830152915060029060009060420160408051601f198184030181529082905260015463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090610408908a903090899087908990600401610d5b565b6040805180830381865afa158015610424573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104489190610d0b565b509050803410156104b35760405162461bcd60e51b815260206004820152602a60248201527f4d7573742073656e6420656e6f7567682076616c756520746f20636f766572206044820152696d65737361676546656560b01b60648201526084015b60405180910390fd5b6001546002546001600160a01b039091169063c5803100906104d59034610daf565b898989893360008a6040518963ffffffff1660e01b81526004016104ff9796959493929190610dd6565b6000604051808303818588803b15801561051857600080fd5b505af115801561052c573d6000803e3d6000fd5b50505050505050505050505050565b61054361065f565b61054d60006106b9565b565b6003602052600090815260409020805461056890610b41565b80601f016020809104026020016040519081016040528092919081815260200182805461059490610b41565b80156105e15780601f106105b6576101008083540402835291602001916105e1565b820191906000526020600020905b8154815290600101906020018083116105c457829003601f168201915b505050505081565b6105f161065f565b6001600160a01b0381166106565760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104aa565b6102d8816106b9565b6000546001600160a01b0316331461054d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104aa565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b803561ffff8116811461071b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561075f5761075f610720565b604052919050565b600067ffffffffffffffff82111561078157610781610720565b50601f01601f191660200190565b60006107a261079d84610767565b610736565b90508281528383830111156107b657600080fd5b828260208301376000602084830101529392505050565b600082601f8301126107de57600080fd5b6107ed8383356020850161078f565b9392505050565b6000806000806080858703121561080a57600080fd5b61081385610709565b9350602085013567ffffffffffffffff8082111561083057600080fd5b61083c888389016107cd565b945060408701359150808216821461085357600080fd5b9092506060860135908082111561086957600080fd5b50610876878288016107cd565b91505092959194509250565b6001600160a01b03811681146102d857600080fd5b60008083601f8401126108a957600080fd5b50813567ffffffffffffffff8111156108c157600080fd5b6020830191508360208285010111156108d957600080fd5b9250929050565b600080600080600080600060a0888a0312156108fb57600080fd5b61090488610709565b9650602088013561091481610882565b9550604088013567ffffffffffffffff8082111561093157600080fd5b61093d8b838c01610897565b909750955060608a01359150811515821461095757600080fd5b9093506080890135908082111561096d57600080fd5b5061097a8a828b01610897565b989b979a50959850939692959293505050565b60006020828403121561099f57600080fd5b5035919050565b600080600080606085870312156109bc57600080fd5b843567ffffffffffffffff808211156109d457600080fd5b818701915087601f8301126109e857600080fd5b6109f78883356020850161078f565b9550610a0560208801610709565b94506040870135915080821115610a1b57600080fd5b50610a2887828801610897565b95989497509550505050565b600060208284031215610a4657600080fd5b81356107ed81610882565b60005b83811015610a6c578181015183820152602001610a54565b50506000910152565b60008151808452610a8d816020860160208601610a51565b601f01601f19169290920160200192915050565b6020815260006107ed6020830184610a75565b60008060408385031215610ac757600080fd5b8251610ad281610882565b602084015190925067ffffffffffffffff811115610aef57600080fd5b8301601f81018513610b0057600080fd5b8051610b0e61079d82610767565b818152866020838501011115610b2357600080fd5b610b34826020830160208601610a51565b8093505050509250929050565b600181811c90821680610b5557607f821691505b602082108103610b7557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610bc557600081815260208120601f850160051c81016020861015610ba25750805b601f850160051c820191505b81811015610bc157828155600101610bae565b5050505b505050565b815167ffffffffffffffff811115610be457610be4610720565b610bf881610bf28454610b41565b84610b7b565b602080601f831160018114610c2d5760008415610c155750858301515b600019600386901b1c1916600185901b178555610bc1565b600085815260208120601f198616915b82811015610c5c57888601518255948401946001909101908401610c3d565b5085821015610c7a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff881681526001600160a01b038716602082015260a060408201819052600090610ce29083018789610c8a565b85151560608401528281036080840152610cfd818587610c8a565b9a9950505050505050505050565b60008060408385031215610d1e57600080fd5b505080516020909101519092909150565b6001600160a01b0383168152604060208201819052600090610d5390830184610a75565b949350505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090610d8990830186610a75565b84151560608401528281036080840152610da38185610a75565b98975050505050505050565b81810381811115610dd057634e487b7160e01b600052601160045260246000fd5b92915050565b61ffff8816815260c060208201526000610df460c08301888a610c8a565b8281036040840152610e068188610a75565b6001600160a01b0387811660608601528616608085015283810360a08501529050610cfd8185610a7556fea26469706673582212209b4d6941b661153baff5485704fa81fb89d3c182ce2f8718e61c98302f922e1e64736f6c63430008130033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
-----Decoded View---------------
Arg [0] : _endpoint (address): 0x3c2269811836af69497E5F486A85D7316753cf62
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.