Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Don’t invest unless you’re prepared to lose all the money you invest.
3000+ Slots, 20+ Cryptos, 75K Raffle, Sports Promos - World's largest Crypto Casino & Sportsbook - Provably Fair!
Play in crypto to make deposits and withdrawals easy! Register and get a free daily shot at a 100 000 $ jackpot.
Monthly Wagering Contest - $500,000+ rewards. Provably Fair, Low House Edge and best VIP Program!
Daily free Spin 50000 Matic ,760% Deposit Bonus, 20%Rakeback, And Get 1000000 Matic free bonus on BC.Game
Deposit BONUS 300% and Cashbacks. without verification!
Holidays are coming soon! Start betting on 1xBit and get a secret gift from Santa!
Overview
POL Balance
POL Value
$4.09 (@ $0.63/POL)Token Holdings
Could not find any matches!
- ERC-20 Tokens (16)80,000 nft.bitconnect666.comERC-20: Free NFT ... (nft.bi...)80,000 pepe-erc.vipERC-20: Free PEPE... (pepe-e...)888ERC20 ***1,000 WWW.POOFERS.FUNERC-20: WWW.POOFE... (WWW.PO...)1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Suspicious]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]777 TokenERC-20 TOKEN*[Spam]88,888 TokenERC-20 TOKEN*[Spam]777 TokenERC-20 TOKEN*[Spam]7,777 TokenERC-20 TOKEN*[Spam]1 TokenERC-20 TOKEN*[Spam]NFT Tokens (17)http://usdcash.xyz/1000$ AirDropERC-1155Vouchers5 stETH EventERC-1155Vouchers50M $SHIB VoucherERC-1155APE COINAPE NFT TICKETSERC-1155APE COINAPE NFT TICKETSERC-1155APE COINAPE NFT TICKETSERC-1155UNI-V3-PoSUniswap V3 Positions NFT-V1ERC-1155ERC-1155 TOKEN*[Spam]
- Transactions
- Internal Transactions
- Token Transfers (ERC-20)
- NFT Transfers
- Contract
- Events
- Multichain Portfolio
Advanced Filter- Filter by Tx Type:
- Tx
- Internal Tx
- ERC-20
- NFTs
Latest 25 from a total of 108,611 transactions
Transaction Hash MethodBlockFromToSend Message 56443905 2024-05-01 3:26:59 224 days ago 1714534019 IN 1.3801155 POL$0.87 0.01075518 46.59351469 Send Message 56442721 2024-05-01 2:40:47 224 days ago 1714531247 IN 1.92243885 POL$1.21 0.01407668 60.41989266 Send Message 56442712 2024-05-01 2:40:27 224 days ago 1714531227 IN 1.3795242 POL$0.87 0.01352694 59.16469174 Send Message 56442707 2024-05-01 2:40:17 224 days ago 1714531217 IN 1.92157911 POL$1.21 0.01131203 49.49784026 Send Message 56442704 2024-05-01 2:40:11 224 days ago 1714531211 IN 1.3795242 POL$0.87 0.01183835 51.77907629 Send Message 56441566 2024-05-01 1:55:03 224 days ago 1714528503 IN 1.37939248 POL$0.87 0.00926026 40.53270952 Send Message 56441523 2024-05-01 1:53:09 224 days ago 1714528389 IN 1.92157911 POL$1.21 0.00959185 42.01721687 Send Message 56441519 2024-05-01 1:52:51 224 days ago 1714528371 IN 1.92157911 POL$1.21 0.00957865 41.95936204 Send Message 56441512 2024-05-01 1:52:37 224 days ago 1714528357 IN 1.92157911 POL$1.21 0.00965706 42.30285834 Send Message 56441507 2024-05-01 1:52:27 224 days ago 1714528347 IN 1.37995575 POL$0.87 0.00777242 33.91006056 Send Message 56441505 2024-05-01 1:52:23 224 days ago 1714528343 IN 1.92157911 POL$1.21 0.00847253 37.11401344 Send Message 56441392 2024-05-01 1:46:47 224 days ago 1714528007 IN 1.92200898 POL$1.21 0.00771453 33.4208397 Send Message 56441392 2024-05-01 1:46:47 224 days ago 1714528007 IN 1.38235818 POL$0.87 0.00773576 33.74131166 Send Message 56441277 2024-05-01 1:42:09 224 days ago 1714527729 IN 1.92200898 POL$1.21 0.00864628 37.45736538 Send Message 56441210 2024-05-01 1:39:47 224 days ago 1714527587 IN 1.92200898 POL$1.21 0.01088012 47.19861238 Send Message 55390398 2024-04-03 7:38:18 252 days ago 1712129898 IN 0.26 POL$0.16 0.00341663 116.08959862 Send Message 55322047 2024-04-01 11:59:21 254 days ago 1711972761 IN 0.26 POL$0.16 0.00470233 159.6447763 Send Message 55320731 2024-04-01 11:07:43 254 days ago 1711969663 IN 0.26 POL$0.16 0.00398836 134.62820562 Send Message 55304368 2024-04-01 0:04:32 254 days ago 1711929872 IN 0.26 POL$0.16 0.00222305 75.07012165 Send Message 55300856 2024-03-31 21:32:37 254 days ago 1711920757 IN 0.26 POL$0.16 0.00122924 41.80122525 Send Message 55258401 2024-03-30 17:28:05 255 days ago 1711819685 IN 0.26 POL$0.16 0.00275407 92.81429694 Claim Fees 54729469 2024-03-16 13:54:46 270 days ago 1710597286 IN 0 POL$0.00 0.00392796 128.86616331 Transfer Ownersh... 54655133 2024-03-14 16:50:49 271 days ago 1710435049 IN 0 POL$0.00 0.00771214 268.7440561 Send Message 54487571 2024-03-10 10:41:23 276 days ago 1710067283 IN 1.82587505 POL$1.15 0.02416963 106.88238793 Send Message 54487189 2024-03-10 10:27:51 276 days ago 1710066471 IN 1.82587505 POL$1.15 0.02639534 116.76824693 Latest 25 internal transactions (View All)
Parent Transaction Hash Block From To 56443905 2024-05-01 3:26:59 224 days ago 1714534019 0.8801155 POL$0.55 56442721 2024-05-01 2:40:47 224 days ago 1714531247 1.42243885 POL$0.90 56442712 2024-05-01 2:40:27 224 days ago 1714531227 0.8795242 POL$0.55 56442707 2024-05-01 2:40:17 224 days ago 1714531217 1.42157911 POL$0.90 56442704 2024-05-01 2:40:11 224 days ago 1714531211 0.8795242 POL$0.55 56441566 2024-05-01 1:55:03 224 days ago 1714528503 0.87939248 POL$0.55 56441523 2024-05-01 1:53:09 224 days ago 1714528389 1.42157911 POL$0.90 56441519 2024-05-01 1:52:51 224 days ago 1714528371 1.42157911 POL$0.90 56441512 2024-05-01 1:52:37 224 days ago 1714528357 1.42157911 POL$0.90 56441507 2024-05-01 1:52:27 224 days ago 1714528347 0.87995575 POL$0.55 56441505 2024-05-01 1:52:23 224 days ago 1714528343 1.42157911 POL$0.90 56441392 2024-05-01 1:46:47 224 days ago 1714528007 1.42200898 POL$0.90 56441392 2024-05-01 1:46:47 224 days ago 1714528007 0.88235818 POL$0.56 56441277 2024-05-01 1:42:09 224 days ago 1714527729 1.42200898 POL$0.90 56441210 2024-05-01 1:39:47 224 days ago 1714527587 1.42200898 POL$0.90 54729469 2024-03-16 13:54:46 270 days ago 1710597286 297.5 POL$187.42 54487571 2024-03-10 10:41:23 276 days ago 1710067283 1.32587505 POL$0.84 54487189 2024-03-10 10:27:51 276 days ago 1710066471 1.32587505 POL$0.84 54487178 2024-03-10 10:27:27 276 days ago 1710066447 1.32587505 POL$0.84 54478869 2024-03-10 5:21:03 276 days ago 1710048063 1.35634728 POL$0.85 54478842 2024-03-10 5:20:05 276 days ago 1710048005 1.3569672 POL$0.85 54478827 2024-03-10 5:19:33 276 days ago 1710047973 1.3569672 POL$0.85 54478758 2024-03-10 5:17:07 276 days ago 1710047827 1.3569672 POL$0.85 54478749 2024-03-10 5:16:47 276 days ago 1710047807 1.3569672 POL$0.85 54478735 2024-03-10 5:16:17 276 days ago 1710047777 1.3569672 POL$0.85 Loading...LoadingContract Name:LzMailer
Compiler Versionv0.8.18+commit.87f61d96
Optimization Enabled:Yes with 200 runs
Other Settings:default evmVersionContract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IZKBridgeEntrypoint.sol"; import "./interfaces/ILayerZeroEndpoint.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /// @title Mailer /// @notice An example contract for sending messages to other chains, using the ZKBridgeEntrypoint. contract LzMailer is Ownable { /// @notice The ZKBridgeEntrypoint contract, which sends messages to other chains. IZKBridgeEntrypoint public zkBridgeEntrypoint; ILayerZeroEndpoint public immutable lzEndpoint; bool public zkBridgePaused = false; bool public layerZeroPaused = false; uint256 public maxLength = 200; /// @notice Fee for each chain. mapping(uint16 => uint256) public fees; event MessageSend( uint64 indexed sequence, uint32 indexed dstChainId, address indexed dstAddress, address sender, address recipient, string message ); event LzMessageSend( uint64 indexed sequence, uint32 indexed dstChainId, address indexed dstAddress, address sender, address recipient, string message ); event NewFee(uint16 chainId, uint256 fee); /// @notice Event emitted when an action is paused/unpaused event PauseSendAction( address account, bool zkBridgePaused, bool layerZeroPaused ); constructor(address _zkBridgeEntrypoint, address _lzEndpoint) { zkBridgeEntrypoint = IZKBridgeEntrypoint(_zkBridgeEntrypoint); lzEndpoint = ILayerZeroEndpoint(_lzEndpoint); } /// @notice Sends a message to a destination MessageBridge. /// @param dstChainId The chain ID where the destination MessageBridge. /// @param dstAddress The address of the destination MessageBridge. /// @param recipient Recipient of the target chain message. /// @param message The message to send. function sendMessage( uint16 dstChainId, address dstAddress, uint16 lzChainId, address lzDstAddress, uint256 nativeFee, address recipient, string memory message ) external payable { if (layerZeroPaused && zkBridgePaused) { revert("Nothing to do"); } uint256 zkFee = fees[dstChainId]; if (zkBridgePaused) { zkFee = 0; } if (layerZeroPaused) { require(nativeFee == 0, "Invalid native fee"); } require(msg.value >= nativeFee + zkFee, "Insufficient Fee"); require( bytes(message).length <= maxLength, "Maximum message length exceeded." ); if (!zkBridgePaused) { _sendMessage(dstChainId, dstAddress, recipient, message); } if (!layerZeroPaused) { _sendToLayerZero( lzChainId, lzDstAddress, recipient, nativeFee, message ); } } function zkSendMessage( uint16 dstChainId, address dstAddress, address recipient, string memory message ) external payable { if (zkBridgePaused) { revert("Paused"); } require(msg.value >= fees[dstChainId], "Insufficient Fee"); require( bytes(message).length <= maxLength, "Maximum message length exceeded." ); _sendMessage(dstChainId, dstAddress, recipient, message); } function lzSendMessage( uint16 lzChainId, address lzDstAddress, address recipient, string memory message ) external payable { if (layerZeroPaused) { revert("Paused"); } require( bytes(message).length <= maxLength, "Maximum message length exceeded." ); _sendToLayerZero( lzChainId, lzDstAddress, recipient, msg.value, message ); } function _sendMessage( uint16 dstChainId, address dstAddress, address recipient, string memory message ) private { bytes memory payload = abi.encode(msg.sender, recipient, message); uint64 _sequence = zkBridgeEntrypoint.send( dstChainId, dstAddress, payload ); emit MessageSend( _sequence, dstChainId, dstAddress, msg.sender, recipient, message ); } function _sendToLayerZero( uint16 _dstChainId, address _dstAddress, address _recipient, uint256 _nativeFee, string memory _message ) private { bytes memory payload = abi.encode(msg.sender, _recipient, _message); bytes memory path = abi.encodePacked(_dstAddress, address(this)); lzEndpoint.send{value: _nativeFee}( _dstChainId, path, payload, payable(msg.sender), msg.sender, bytes("") ); uint64 _sequence = lzEndpoint.outboundNonce(_dstChainId, address(this)); emit LzMessageSend( _sequence, _dstChainId, _dstAddress, msg.sender, _recipient, _message ); } /// @notice Allows owner to set a new msg length. /// @param _maxLength new msg length. function setMsgLength(uint256 _maxLength) external onlyOwner { maxLength = _maxLength; } /// @notice Allows owner to claim all fees sent to this contract. /// @notice Allows owner to set a new fee. /// @param _dstChainId The chain ID where the destination MessageBridge. /// @param _fee The new fee to use. function setFee(uint16 _dstChainId, uint256 _fee) external onlyOwner { require(fees[_dstChainId] != _fee, "Fee has already been set."); fees[_dstChainId] = _fee; emit NewFee(_dstChainId, _fee); } /** * @notice Pauses different actions * @dev Changes the owner address. * @param zkBridgePaused_ Boolean for zkBridge send * @param layerZeroPaused_ Boolean for layer zero send */ function pause( bool zkBridgePaused_, bool layerZeroPaused_ ) external onlyOwner { zkBridgePaused = zkBridgePaused_; layerZeroPaused = layerZeroPaused_; emit PauseSendAction(msg.sender, zkBridgePaused, layerZeroPaused); } /// @notice Allows owner to claim all fees sent to this contract. function claimFees() external onlyOwner { payable(owner()).transfer(address(this).balance); } function estimateLzFee( uint16 _dstChainId, address _recipient, string memory _message ) public view returns (uint256 nativeFee) { if (layerZeroPaused) { return 0; } bytes memory payload = abi.encode(msg.sender, _recipient, _message); (nativeFee, ) = lzEndpoint.estimateFees( _dstChainId, address(this), payload, false, bytes("") ); } /** * @notice set the configuration of the LayerZero messaging library of the specified version * @param _version - messaging library version * @param _dstChainId - 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 _dstChainId, uint _configType, bytes calldata _config ) external onlyOwner { lzEndpoint.setConfig(_version, _dstChainId, _configType, _config); } function setSendVersion(uint16 _version) external onlyOwner { lzEndpoint.setSendVersion(_version); } function setReceiveVersion(uint16 _version) external onlyOwner { lzEndpoint.setReceiveVersion(_version); } function forceResumeReceive( uint16 _srcChainId, bytes calldata _srcAddress ) external onlyOwner { lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress); } /// @notice get the send() LayerZero messaging library version function getSendVersion() external view returns (uint16) { return lzEndpoint.getSendVersion(address(this)); } /** * @notice get the configuration of the LayerZero messaging library of the specified version * @param _version - messaging library version * @param _dstChainId - the chainId for the pending config change * @param _configType - type of configuration. every messaging library has its own convention. */ function getConfig( uint16 _version, uint16 _dstChainId, uint _configType ) external view returns (bytes memory) { return lzEndpoint.getConfig( _version, _dstChainId, address(this), _configType ); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "./ILayerZeroUserApplicationConfig.sol"; interface ILayerZeroEndpoint is ILayerZeroUserApplicationConfig { // @notice send a LayerZero message to the specified address at a LayerZero endpoint. // @param _dstChainId - the destination chain identifier // @param _destination - the address on destination chain (in bytes). address length/format may vary by chains // @param _payload - a custom bytes payload to send to the destination contract // @param _refundAddress - if the source transaction is cheaper than the amount of value passed, refund the additional amount to this address // @param _zroPaymentAddress - the address of the ZRO token holder who would pay for the transaction // @param _adapterParams - parameters for custom functionality. e.g. receive airdropped native gas from the relayer on destination function send( uint16 _dstChainId, bytes calldata _destination, bytes calldata _payload, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams ) external payable; // @notice used by the messaging library to publish verified payload // @param _srcChainId - the source chain identifier // @param _srcAddress - the source contract (as bytes) at the source chain // @param _dstAddress - the address on destination chain // @param _nonce - the unbound message ordering nonce // @param _gasLimit - the gas limit for external contract execution // @param _payload - verified payload to send to the destination contract function receivePayload( uint16 _srcChainId, bytes calldata _srcAddress, address _dstAddress, uint64 _nonce, uint _gasLimit, bytes calldata _payload ) external; // @notice get the inboundNonce of a lzApp from a source chain which could be EVM or non-EVM chain // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function getInboundNonce( uint16 _srcChainId, bytes calldata _srcAddress ) external view returns (uint64); // @notice get the outboundNonce from this source chain which, consequently, is always an EVM // @param _srcAddress - the source chain contract address function getOutboundNonce( uint16 _dstChainId, address _srcAddress ) external view returns (uint64); // @notice gets a quote in source native gas, for the amount that send() requires to pay for message delivery // @param _dstChainId - the destination chain identifier // @param _userApplication - the user app address on this EVM chain // @param _payload - the custom message to send over LayerZero // @param _payInZRO - if false, user app pays the protocol fee in native token // @param _adapterParam - parameters for the adapter service, e.g. send some dust native token to dstChain function estimateFees( uint16 _dstChainId, address _userApplication, bytes calldata _payload, bool _payInZRO, bytes calldata _adapterParam ) external view returns (uint nativeFee, uint zroFee); // @notice get this Endpoint's immutable source identifier function getChainId() external view returns (uint16); // @notice the interface to retry failed message on this Endpoint destination // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address // @param _payload - the payload to be retried function retryPayload( uint16 _srcChainId, bytes calldata _srcAddress, bytes calldata _payload ) external; // @notice query if any STORED payload (message blocking) at the endpoint. // @param _srcChainId - the source chain identifier // @param _srcAddress - the source chain contract address function hasStoredPayload( uint16 _srcChainId, bytes calldata _srcAddress ) external view returns (bool); // @notice query if the _libraryAddress is valid for sending msgs. // @param _userApplication - the user app address on this EVM chain function getSendLibraryAddress( address _userApplication ) external view returns (address); // @notice query if the _libraryAddress is valid for receiving msgs. // @param _userApplication - the user app address on this EVM chain function getReceiveLibraryAddress( address _userApplication ) external view returns (address); // @notice query if the non-reentrancy guard for send() is on // @return true if the guard is on. false otherwise function isSendingPayload() external view returns (bool); // @notice query if the non-reentrancy guard for receive() is on // @return true if the guard is on. false otherwise function isReceivingPayload() external view returns (bool); // @notice get the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _userApplication - the contract address of the user application // @param _configType - type of configuration. every messaging library has its own convention. function getConfig( uint16 _version, uint16 _chainId, address _userApplication, uint _configType ) external view returns (bytes memory); // @notice get the send() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getSendVersion( address _userApplication ) external view returns (uint16); // @notice get the lzReceive() LayerZero messaging library version // @param _userApplication - the contract address of the user application function getReceiveVersion( address _userApplication ) external view returns (uint16); function defaultSendLibrary() external view returns (address); function outboundNonce( uint16 _chainId, address _userApplication ) external view returns (uint64); }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; interface ILayerZeroUserApplicationConfig { // @notice set the configuration of the LayerZero messaging library of the specified version // @param _version - messaging library version // @param _chainId - the chainId for the pending config change // @param _configType - type of configuration. every messaging library has its own convention. // @param _config - configuration in the bytes. can encode arbitrary content. function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external; // @notice set the send() LayerZero messaging library version to _version // @param _version - new messaging library version function setSendVersion(uint16 _version) external; // @notice set the lzReceive() LayerZero messaging library version to _version // @param _version - new messaging library version function setReceiveVersion(uint16 _version) external; // @notice Only when the UA needs to resume the message flow in blocking mode and clear the stored payload // @param _srcChainId - the chainId of the source chain // @param _srcAddress - the contract address of the source contract at the source chain function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IZKBridgeEntrypoint { /// @notice send a ZKBridge message to the specified address at a ZKBridge endpoint. /// @param dstChainId - the destination chain identifier /// @param dstAddress - the address on destination chain /// @param payload - a custom bytes payload to send to the destination contract function send( uint16 dstChainId, address dstAddress, bytes memory payload ) external payable returns (uint64 sequence); /// @return Current chain id. function chainId() external view returns (uint16); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// 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; } }
{ "remappings": [ "@ensdomains/=node_modules/@ensdomains/", "@openzeppelin/=node_modules/@openzeppelin/", "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "hardhat/=node_modules/hardhat/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"address","name":"_zkBridgeEntrypoint","type":"address"},{"internalType":"address","name":"_lzEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"sequence","type":"uint64"},{"indexed":true,"internalType":"uint32","name":"dstChainId","type":"uint32"},{"indexed":true,"internalType":"address","name":"dstAddress","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"LzMessageSend","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint64","name":"sequence","type":"uint64"},{"indexed":true,"internalType":"uint32","name":"dstChainId","type":"uint32"},{"indexed":true,"internalType":"address","name":"dstAddress","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"string","name":"message","type":"string"}],"name":"MessageSend","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"chainId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"NewFee","type":"event"},{"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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"zkBridgePaused","type":"bool"},{"indexed":false,"internalType":"bool","name":"layerZeroPaused","type":"bool"}],"name":"PauseSendAction","type":"event"},{"inputs":[],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"string","name":"_message","type":"string"}],"name":"estimateLzFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"fees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"forceResumeReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSendVersion","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"layerZeroPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lzEndpoint","outputs":[{"internalType":"contract ILayerZeroEndpoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"lzChainId","type":"uint16"},{"internalType":"address","name":"lzDstAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"string","name":"message","type":"string"}],"name":"lzSendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"maxLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"zkBridgePaused_","type":"bool"},{"internalType":"bool","name":"layerZeroPaused_","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"address","name":"dstAddress","type":"address"},{"internalType":"uint16","name":"lzChainId","type":"uint16"},{"internalType":"address","name":"lzDstAddress","type":"address"},{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"string","name":"message","type":"string"}],"name":"sendMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxLength","type":"uint256"}],"name":"setMsgLength","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setReceiveVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"}],"name":"setSendVersion","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"zkBridgeEntrypoint","outputs":[{"internalType":"contract IZKBridgeEntrypoint","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"zkBridgePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"dstChainId","type":"uint16"},{"internalType":"address","name":"dstAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"string","name":"message","type":"string"}],"name":"zkSendMessage","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60a06040526001805461ffff60a01b1916905560c86002553480156200002457600080fd5b5060405162001a6738038062001a678339810160408190526200004791620000e5565b620000523362000078565b600180546001600160a01b0319166001600160a01b03938416179055166080526200011d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620000e057600080fd5b919050565b60008060408385031215620000f957600080fd5b6200010483620000c8565b91506200011460208401620000c8565b90509250929050565b6080516118ef62000178600039600081816103400152818161047b015281816105040152818161055a015281816105e20152818161068b0152818161085801528181610bc101528181610fa9015261103b01526118ef6000f3fe6080604052600436106101405760003560e01c80638da5cb5b116100b6578063c7f0da131161006f578063c7f0da13146103a2578063cbed8b9c146103c2578063d06a89a4146103e2578063d294f093146103f8578063ddeb50941461040d578063f2fde38b1461042d57600080fd5b80638da5cb5b146102c9578063904c8116146102fb57806390c9a42f1461031b578063b353aaa71461032e578063bc22e4bc14610362578063bd74df721461038f57600080fd5b80635e3615b3116101085780635e3615b3146101f45780635f6716f7146102255780636d0e90f014610252578063715018a6146102655780637e68cb7d1461027a5780638602ad161461029b57600080fd5b8063011ea0d01461014557806307e0db171461016757806310ddb1371461018757806342d65a8d146101a757806354a5beda146101c7575b600080fd5b34801561015157600080fd5b50610165610160366004611111565b61044d565b005b34801561017357600080fd5b5061016561018236600461113a565b61045a565b34801561019357600080fd5b506101656101a236600461113a565b6104e3565b3480156101b357600080fd5b506101656101c23660046111a0565b61053b565b3480156101d357600080fd5b506101dc6105ca565b60405161ffff90911681526020015b60405180910390f35b34801561020057600080fd5b5060015461021590600160a01b900460ff1681565b60405190151581526020016101eb565b34801561023157600080fd5b506102456102403660046111f5565b61065a565b6040516101eb9190611286565b61016561026036600461137a565b61070c565b34801561027157600080fd5b506101656107df565b34801561028657600080fd5b5060015461021590600160a81b900460ff1681565b3480156102a757600080fd5b506102bb6102b63660046113eb565b6107f3565b6040519081526020016101eb565b3480156102d557600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101eb565b34801561030757600080fd5b506001546102e3906001600160a01b031681565b61016561032936600461144b565b6108de565b34801561033a57600080fd5b506102e37f000000000000000000000000000000000000000000000000000000000000000081565b34801561036e57600080fd5b506102bb61037d36600461113a565b60036020526000908152604090205481565b61016561039d36600461137a565b610a70565b3480156103ae57600080fd5b506101656103bd3660046114e9565b610ae3565b3480156103ce57600080fd5b506101656103dd366004611515565b610ba2565b3480156103ee57600080fd5b506102bb60025481565b34801561040457600080fd5b50610165610c37565b34801561041957600080fd5b50610165610428366004611598565b610c7c565b34801561043957600080fd5b506101656104483660046115cb565b610d06565b610455610d7c565b600255565b610462610d7c565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b5050505050565b6104eb610d7c565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb137906024016104ae565b610543610d7c565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d906105939086908690869060040161160f565b600060405180830381600087803b1580156105ad57600080fd5b505af11580156105c1573d6000803e3d6000fd5b50505050505050565b6040516304b2b47b60e11b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063096568f690602401602060405180830381865afa158015610631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106559190611636565b905090565b604051633d7b2f6f60e21b815261ffff808516600483015283166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611653565b90505b9392505050565b600154600160a01b900460ff16156107545760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064015b60405180910390fd5b61ffff84166000908152600360205260409020543410156107aa5760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742046656560801b604482015260640161074b565b600254815111156107cd5760405162461bcd60e51b815260040161074b906116c1565b6107d984848484610dd6565b50505050565b6107e7610d7c565b6107f16000610ed7565b565b600154600090600160a81b900460ff161561081057506000610705565b6000338484604051602001610827939291906116f6565b60408051601f198184030181526020830182526000808452915163040a7bb160e41b81529093506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016926340a7bb1092610894928a9230928892909190600401611722565b6040805180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d49190611776565b5095945050505050565b600154600160a81b900460ff1680156109005750600154600160a01b900460ff165b1561093d5760405162461bcd60e51b815260206004820152600d60248201526c4e6f7468696e6720746f20646f60981b604482015260640161074b565b61ffff8716600090815260036020526040902054600154600160a01b900460ff1615610967575060005b600154600160a81b900460ff16156109bc5783156109bc5760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964206e61746976652066656560701b604482015260640161074b565b6109c6818561179a565b341015610a085760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742046656560801b604482015260640161074b565b60025482511115610a2b5760405162461bcd60e51b815260040161074b906116c1565b600154600160a01b900460ff16610a4857610a4888888585610dd6565b600154600160a81b900460ff16610a6657610a668686858786610f27565b5050505050505050565b600154600160a81b900460ff1615610ab35760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b604482015260640161074b565b60025481511115610ad65760405162461bcd60e51b815260040161074b906116c1565b6107d98484843485610f27565b610aeb610d7c565b61ffff8216600090815260036020526040902054819003610b4e5760405162461bcd60e51b815260206004820152601960248201527f4665652068617320616c7265616479206265656e207365742e00000000000000604482015260640161074b565b61ffff8216600081815260036020908152604091829020849055815192835282018390527f3d9a6222528a5f37fccacff9e85c30a4b687e85338f74940f018b70c4f7461d791015b60405180910390a15050565b610baa610d7c565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c90610bfe90889088908890889088906004016117c1565b600060405180830381600087803b158015610c1857600080fd5b505af1158015610c2c573d6000803e3d6000fd5b505050505050505050565b610c3f610d7c565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610c79573d6000803e3d6000fd5b50565b610c84610d7c565b6001805461ffff60a01b1916600160a01b841515810260ff60a81b191691909117600160a81b841515810291909117928390556040805133815260ff938504841615156020820152919093049091161515918101919091527f1e604a5995069a4b688afcb151bf8edeee16900586d860975c1d6c0de712320190606001610b96565b610d0e610d7c565b6001600160a01b038116610d735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161074b565b610c7981610ed7565b6000546001600160a01b031633146107f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6000338383604051602001610ded939291906116f6565b60408051601f198184030181529082905260015463b1d995dd60e01b83529092506000916001600160a01b039091169063b1d995dd90610e35908990899087906004016117fa565b6020604051808303816000875af1158015610e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e789190611828565b9050846001600160a01b03168661ffff168267ffffffffffffffff167fbdb4daeca4a1c274318631b2e6569f5609c49b073f20d5925b06f069b71c84d4338888604051610ec7939291906116f6565b60405180910390a4505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000338483604051602001610f3e939291906116f6565b60408051601f19818403018152908290526bffffffffffffffffffffffff19606088811b8216602085015230901b166034830152915060009060480160408051601f1981840301815260208301825260008352905162c5803160e81b81529092506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163c5803100918791610fe9918c91879189913391829190600401611852565b6000604051808303818588803b15801561100257600080fd5b505af1158015611016573d6000803e3d6000fd5b505060405163b208649960e01b815261ffff8b166004820152306024820152600093507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316925063b20864999150604401602060405180830381865afa15801561108c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b09190611828565b9050866001600160a01b03168861ffff168267ffffffffffffffff167ff2ba73dbc39474c758d416a884a139e36ab0cd5ed2001986f79cabc6c85f548a338a896040516110ff939291906116f6565b60405180910390a45050505050505050565b60006020828403121561112357600080fd5b5035919050565b61ffff81168114610c7957600080fd5b60006020828403121561114c57600080fd5b81356107058161112a565b60008083601f84011261116957600080fd5b50813567ffffffffffffffff81111561118157600080fd5b60208301915083602082850101111561119957600080fd5b9250929050565b6000806000604084860312156111b557600080fd5b83356111c08161112a565b9250602084013567ffffffffffffffff8111156111dc57600080fd5b6111e886828701611157565b9497909650939450505050565b60008060006060848603121561120a57600080fd5b83356112158161112a565b925060208401356112258161112a565b929592945050506040919091013590565b60005b83811015611251578181015183820152602001611239565b50506000910152565b60008151808452611272816020860160208601611236565b601f01601f19169290920160200192915050565b602081526000610705602083018461125a565b80356001600160a01b03811681146112b057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156112f4576112f46112b5565b604052919050565b600067ffffffffffffffff821115611316576113166112b5565b50601f01601f191660200190565b600082601f83011261133557600080fd5b8135611348611343826112fc565b6112cb565b81815284602083860101111561135d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561139057600080fd5b843561139b8161112a565b93506113a960208601611299565b92506113b760408601611299565b9150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611324565b91505092959194509250565b60008060006060848603121561140057600080fd5b833561140b8161112a565b925061141960208501611299565b9150604084013567ffffffffffffffff81111561143557600080fd5b61144186828701611324565b9150509250925092565b600080600080600080600060e0888a03121561146657600080fd5b87356114718161112a565b965061147f60208901611299565b9550604088013561148f8161112a565b945061149d60608901611299565b9350608088013592506114b260a08901611299565b915060c088013567ffffffffffffffff8111156114ce57600080fd5b6114da8a828b01611324565b91505092959891949750929550565b600080604083850312156114fc57600080fd5b82356115078161112a565b946020939093013593505050565b60008060008060006080868803121561152d57600080fd5b85356115388161112a565b945060208601356115488161112a565b935060408601359250606086013567ffffffffffffffff81111561156b57600080fd5b61157788828901611157565b969995985093965092949392505050565b803580151581146112b057600080fd5b600080604083850312156115ab57600080fd5b6115b483611588565b91506115c260208401611588565b90509250929050565b6000602082840312156115dd57600080fd5b61070582611299565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff8416815260406020820152600061162d6040830184866115e6565b95945050505050565b60006020828403121561164857600080fd5b81516107058161112a565b60006020828403121561166557600080fd5b815167ffffffffffffffff81111561167c57600080fd5b8201601f8101841361168d57600080fd5b805161169b611343826112fc565b8181528560208385010111156116b057600080fd5b61162d826020830160208601611236565b6020808252818101527f4d6178696d756d206d657373616765206c656e6774682065786365656465642e604082015260600190565b6001600160a01b0384811682528316602082015260606040820181905260009061162d9083018461125a565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906117509083018661125a565b8415156060840152828103608084015261176a818561125a565b98975050505050505050565b6000806040838503121561178957600080fd5b505080516020909101519092909150565b808201808211156117bb57634e487b7160e01b600052601160045260246000fd5b92915050565b600061ffff8088168352808716602084015250846040830152608060608301526117ef6080830184866115e6565b979650505050505050565b61ffff841681526001600160a01b038316602082015260606040820181905260009061162d9083018461125a565b60006020828403121561183a57600080fd5b815167ffffffffffffffff8116811461070557600080fd5b61ffff8716815260c06020820152600061186f60c083018861125a565b8281036040840152611881818861125a565b6001600160a01b0387811660608601528616608085015283810360a085015290506118ac818561125a565b999850505050505050505056fea26469706673582212209163a0d317816e82ae51fdd4b8542f4cf7ab36173a00e9337763eaacc793f2b764736f6c63430008120033000000000000000000000000a25be50be65070c2ad96d5ed639061de31c45e120000000000000000000000003c2269811836af69497e5f486a85d7316753cf62Deployed Bytecode
0x6080604052600436106101405760003560e01c80638da5cb5b116100b6578063c7f0da131161006f578063c7f0da13146103a2578063cbed8b9c146103c2578063d06a89a4146103e2578063d294f093146103f8578063ddeb50941461040d578063f2fde38b1461042d57600080fd5b80638da5cb5b146102c9578063904c8116146102fb57806390c9a42f1461031b578063b353aaa71461032e578063bc22e4bc14610362578063bd74df721461038f57600080fd5b80635e3615b3116101085780635e3615b3146101f45780635f6716f7146102255780636d0e90f014610252578063715018a6146102655780637e68cb7d1461027a5780638602ad161461029b57600080fd5b8063011ea0d01461014557806307e0db171461016757806310ddb1371461018757806342d65a8d146101a757806354a5beda146101c7575b600080fd5b34801561015157600080fd5b50610165610160366004611111565b61044d565b005b34801561017357600080fd5b5061016561018236600461113a565b61045a565b34801561019357600080fd5b506101656101a236600461113a565b6104e3565b3480156101b357600080fd5b506101656101c23660046111a0565b61053b565b3480156101d357600080fd5b506101dc6105ca565b60405161ffff90911681526020015b60405180910390f35b34801561020057600080fd5b5060015461021590600160a01b900460ff1681565b60405190151581526020016101eb565b34801561023157600080fd5b506102456102403660046111f5565b61065a565b6040516101eb9190611286565b61016561026036600461137a565b61070c565b34801561027157600080fd5b506101656107df565b34801561028657600080fd5b5060015461021590600160a81b900460ff1681565b3480156102a757600080fd5b506102bb6102b63660046113eb565b6107f3565b6040519081526020016101eb565b3480156102d557600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016101eb565b34801561030757600080fd5b506001546102e3906001600160a01b031681565b61016561032936600461144b565b6108de565b34801561033a57600080fd5b506102e37f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6281565b34801561036e57600080fd5b506102bb61037d36600461113a565b60036020526000908152604090205481565b61016561039d36600461137a565b610a70565b3480156103ae57600080fd5b506101656103bd3660046114e9565b610ae3565b3480156103ce57600080fd5b506101656103dd366004611515565b610ba2565b3480156103ee57600080fd5b506102bb60025481565b34801561040457600080fd5b50610165610c37565b34801561041957600080fd5b50610165610428366004611598565b610c7c565b34801561043957600080fd5b506101656104483660046115cb565b610d06565b610455610d7c565b600255565b610462610d7c565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906307e0db17906024015b600060405180830381600087803b1580156104c857600080fd5b505af11580156104dc573d6000803e3d6000fd5b5050505050565b6104eb610d7c565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316906310ddb137906024016104ae565b610543610d7c565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6216906342d65a8d906105939086908690869060040161160f565b600060405180830381600087803b1580156105ad57600080fd5b505af11580156105c1573d6000803e3d6000fd5b50505050505050565b6040516304b2b47b60e11b81523060048201526000907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b03169063096568f690602401602060405180830381865afa158015610631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106559190611636565b905090565b604051633d7b2f6f60e21b815261ffff808516600483015283166024820152306044820152606481018290526060907f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b03169063f5ecbdbc90608401600060405180830381865afa1580156106da573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107029190810190611653565b90505b9392505050565b600154600160a01b900460ff16156107545760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b60448201526064015b60405180910390fd5b61ffff84166000908152600360205260409020543410156107aa5760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742046656560801b604482015260640161074b565b600254815111156107cd5760405162461bcd60e51b815260040161074b906116c1565b6107d984848484610dd6565b50505050565b6107e7610d7c565b6107f16000610ed7565b565b600154600090600160a81b900460ff161561081057506000610705565b6000338484604051602001610827939291906116f6565b60408051601f198184030181526020830182526000808452915163040a7bb160e41b81529093506001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf6216926340a7bb1092610894928a9230928892909190600401611722565b6040805180830381865afa1580156108b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108d49190611776565b5095945050505050565b600154600160a81b900460ff1680156109005750600154600160a01b900460ff165b1561093d5760405162461bcd60e51b815260206004820152600d60248201526c4e6f7468696e6720746f20646f60981b604482015260640161074b565b61ffff8716600090815260036020526040902054600154600160a01b900460ff1615610967575060005b600154600160a81b900460ff16156109bc5783156109bc5760405162461bcd60e51b8152602060048201526012602482015271496e76616c6964206e61746976652066656560701b604482015260640161074b565b6109c6818561179a565b341015610a085760405162461bcd60e51b815260206004820152601060248201526f496e73756666696369656e742046656560801b604482015260640161074b565b60025482511115610a2b5760405162461bcd60e51b815260040161074b906116c1565b600154600160a01b900460ff16610a4857610a4888888585610dd6565b600154600160a81b900460ff16610a6657610a668686858786610f27565b5050505050505050565b600154600160a81b900460ff1615610ab35760405162461bcd60e51b815260206004820152600660248201526514185d5cd95960d21b604482015260640161074b565b60025481511115610ad65760405162461bcd60e51b815260040161074b906116c1565b6107d98484843485610f27565b610aeb610d7c565b61ffff8216600090815260036020526040902054819003610b4e5760405162461bcd60e51b815260206004820152601960248201527f4665652068617320616c7265616479206265656e207365742e00000000000000604482015260640161074b565b61ffff8216600081815260036020908152604091829020849055815192835282018390527f3d9a6222528a5f37fccacff9e85c30a4b687e85338f74940f018b70c4f7461d791015b60405180910390a15050565b610baa610d7c565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169063cbed8b9c90610bfe90889088908890889088906004016117c1565b600060405180830381600087803b158015610c1857600080fd5b505af1158015610c2c573d6000803e3d6000fd5b505050505050505050565b610c3f610d7c565b600080546040516001600160a01b03909116914780156108fc02929091818181858888f19350505050158015610c79573d6000803e3d6000fd5b50565b610c84610d7c565b6001805461ffff60a01b1916600160a01b841515810260ff60a81b191691909117600160a81b841515810291909117928390556040805133815260ff938504841615156020820152919093049091161515918101919091527f1e604a5995069a4b688afcb151bf8edeee16900586d860975c1d6c0de712320190606001610b96565b610d0e610d7c565b6001600160a01b038116610d735760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161074b565b610c7981610ed7565b6000546001600160a01b031633146107f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161074b565b6000338383604051602001610ded939291906116f6565b60408051601f198184030181529082905260015463b1d995dd60e01b83529092506000916001600160a01b039091169063b1d995dd90610e35908990899087906004016117fa565b6020604051808303816000875af1158015610e54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e789190611828565b9050846001600160a01b03168661ffff168267ffffffffffffffff167fbdb4daeca4a1c274318631b2e6569f5609c49b073f20d5925b06f069b71c84d4338888604051610ec7939291906116f6565b60405180910390a4505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000338483604051602001610f3e939291906116f6565b60408051601f19818403018152908290526bffffffffffffffffffffffff19606088811b8216602085015230901b166034830152915060009060480160408051601f1981840301815260208301825260008352905162c5803160e81b81529092506001600160a01b037f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62169163c5803100918791610fe9918c91879189913391829190600401611852565b6000604051808303818588803b15801561100257600080fd5b505af1158015611016573d6000803e3d6000fd5b505060405163b208649960e01b815261ffff8b166004820152306024820152600093507f0000000000000000000000003c2269811836af69497e5f486a85d7316753cf626001600160a01b0316925063b20864999150604401602060405180830381865afa15801561108c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b09190611828565b9050866001600160a01b03168861ffff168267ffffffffffffffff167ff2ba73dbc39474c758d416a884a139e36ab0cd5ed2001986f79cabc6c85f548a338a896040516110ff939291906116f6565b60405180910390a45050505050505050565b60006020828403121561112357600080fd5b5035919050565b61ffff81168114610c7957600080fd5b60006020828403121561114c57600080fd5b81356107058161112a565b60008083601f84011261116957600080fd5b50813567ffffffffffffffff81111561118157600080fd5b60208301915083602082850101111561119957600080fd5b9250929050565b6000806000604084860312156111b557600080fd5b83356111c08161112a565b9250602084013567ffffffffffffffff8111156111dc57600080fd5b6111e886828701611157565b9497909650939450505050565b60008060006060848603121561120a57600080fd5b83356112158161112a565b925060208401356112258161112a565b929592945050506040919091013590565b60005b83811015611251578181015183820152602001611239565b50506000910152565b60008151808452611272816020860160208601611236565b601f01601f19169290920160200192915050565b602081526000610705602083018461125a565b80356001600160a01b03811681146112b057600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156112f4576112f46112b5565b604052919050565b600067ffffffffffffffff821115611316576113166112b5565b50601f01601f191660200190565b600082601f83011261133557600080fd5b8135611348611343826112fc565b6112cb565b81815284602083860101111561135d57600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000806080858703121561139057600080fd5b843561139b8161112a565b93506113a960208601611299565b92506113b760408601611299565b9150606085013567ffffffffffffffff8111156113d357600080fd5b6113df87828801611324565b91505092959194509250565b60008060006060848603121561140057600080fd5b833561140b8161112a565b925061141960208501611299565b9150604084013567ffffffffffffffff81111561143557600080fd5b61144186828701611324565b9150509250925092565b600080600080600080600060e0888a03121561146657600080fd5b87356114718161112a565b965061147f60208901611299565b9550604088013561148f8161112a565b945061149d60608901611299565b9350608088013592506114b260a08901611299565b915060c088013567ffffffffffffffff8111156114ce57600080fd5b6114da8a828b01611324565b91505092959891949750929550565b600080604083850312156114fc57600080fd5b82356115078161112a565b946020939093013593505050565b60008060008060006080868803121561152d57600080fd5b85356115388161112a565b945060208601356115488161112a565b935060408601359250606086013567ffffffffffffffff81111561156b57600080fd5b61157788828901611157565b969995985093965092949392505050565b803580151581146112b057600080fd5b600080604083850312156115ab57600080fd5b6115b483611588565b91506115c260208401611588565b90509250929050565b6000602082840312156115dd57600080fd5b61070582611299565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff8416815260406020820152600061162d6040830184866115e6565b95945050505050565b60006020828403121561164857600080fd5b81516107058161112a565b60006020828403121561166557600080fd5b815167ffffffffffffffff81111561167c57600080fd5b8201601f8101841361168d57600080fd5b805161169b611343826112fc565b8181528560208385010111156116b057600080fd5b61162d826020830160208601611236565b6020808252818101527f4d6178696d756d206d657373616765206c656e6774682065786365656465642e604082015260600190565b6001600160a01b0384811682528316602082015260606040820181905260009061162d9083018461125a565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906117509083018661125a565b8415156060840152828103608084015261176a818561125a565b98975050505050505050565b6000806040838503121561178957600080fd5b505080516020909101519092909150565b808201808211156117bb57634e487b7160e01b600052601160045260246000fd5b92915050565b600061ffff8088168352808716602084015250846040830152608060608301526117ef6080830184866115e6565b979650505050505050565b61ffff841681526001600160a01b038316602082015260606040820181905260009061162d9083018461125a565b60006020828403121561183a57600080fd5b815167ffffffffffffffff8116811461070557600080fd5b61ffff8716815260c06020820152600061186f60c083018861125a565b8281036040840152611881818861125a565b6001600160a01b0387811660608601528616608085015283810360a085015290506118ac818561125a565b999850505050505050505056fea26469706673582212209163a0d317816e82ae51fdd4b8542f4cf7ab36173a00e9337763eaacc793f2b764736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a25be50be65070c2ad96d5ed639061de31c45e120000000000000000000000003c2269811836af69497e5f486a85d7316753cf62
-----Decoded View---------------
Arg [0] : _zkBridgeEntrypoint (address): 0xa25bE50be65070c2Ad96d5eD639061de31c45e12
Arg [1] : _lzEndpoint (address): 0x3c2269811836af69497E5F486A85D7316753cf62
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a25be50be65070c2ad96d5ed639061de31c45e12
Arg [1] : 0000000000000000000000003c2269811836af69497e5f486a85d7316753cf62Loading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingMultichain Portfolio | 30 Chains
Chain Token Portfolio % Price Amount Value POL Polygon (POL)100.00% $0.629984 6.5 $4.09 [ 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.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to VerbatimInvalidDeduplication (low-severity), FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.