This token is bridged from its native chain using Stargate.
Latest 25 from a total of 7,800 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 107246293 | 31 hrs ago | IN | 0 FTM | 0.00005976 | ||||
Approve | 107222880 | 41 hrs ago | IN | 0 FTM | 0.00011665 | ||||
Approve | 107187997 | 2 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 107187991 | 2 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 107187043 | 2 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 107181538 | 2 days ago | IN | 0 FTM | 0.00011665 | ||||
Approve | 107154298 | 3 days ago | IN | 0 FTM | 0.047129 | ||||
Approve | 107154198 | 3 days ago | IN | 0 FTM | 0.00014607 | ||||
Approve | 107130544 | 3 days ago | IN | 0 FTM | 0.00014698 | ||||
Approve | 107130508 | 3 days ago | IN | 0 FTM | 0.00014683 | ||||
Approve | 107099631 | 4 days ago | IN | 0 FTM | 0.00003321 | ||||
Approve | 107099602 | 4 days ago | IN | 0 FTM | 0.0000579 | ||||
Approve | 107050411 | 4 days ago | IN | 0 FTM | 0.00014604 | ||||
Approve | 107043453 | 5 days ago | IN | 0 FTM | 0.00014604 | ||||
Approve | 106940771 | 6 days ago | IN | 0 FTM | 0.00034076 | ||||
Approve | 106940628 | 6 days ago | IN | 0 FTM | 0.00034076 | ||||
Approve | 106903717 | 7 days ago | IN | 0 FTM | 0.00082601 | ||||
Approve | 106891635 | 7 days ago | IN | 0 FTM | 0.00029397 | ||||
Approve | 106840648 | 8 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 106840642 | 8 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 106840636 | 8 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 106840633 | 8 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 106840624 | 8 days ago | IN | 0 FTM | 0.00007751 | ||||
Approve | 106814761 | 9 days ago | IN | 0 FTM | 0.00009799 | ||||
Approve | 106772079 | 10 days ago | IN | 0 FTM | 0.00011665 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
107246308 | 31 hrs ago | 4.52604596 FTM | ||||
107246308 | 31 hrs ago | 4.52604596 FTM | ||||
107181544 | 2 days ago | 3.50053925 FTM | ||||
107181544 | 2 days ago | 3.50053925 FTM | ||||
107130577 | 3 days ago | 4.15263458 FTM | ||||
107130577 | 3 days ago | 4.15263458 FTM | ||||
106924802 | 7 days ago | 4.44426106 FTM | ||||
106924802 | 7 days ago | 4.44426106 FTM | ||||
106891639 | 7 days ago | 4.74761161 FTM | ||||
106891639 | 7 days ago | 4.74761161 FTM | ||||
105957344 | 21 days ago | 4.07846505 FTM | ||||
105957344 | 21 days ago | 4.07846505 FTM | ||||
105924999 | 22 days ago | 23.56471339 FTM | ||||
105924999 | 22 days ago | 23.56471339 FTM | ||||
105626873 | 27 days ago | 20.03055896 FTM | ||||
105626873 | 27 days ago | 20.03055896 FTM | ||||
105160666 | 34 days ago | 3.4614895 FTM | ||||
105160666 | 34 days ago | 3.4614895 FTM | ||||
105108472 | 35 days ago | 3.10143231 FTM | ||||
105108472 | 35 days ago | 3.10143231 FTM | ||||
104980557 | 37 days ago | 4.41638046 FTM | ||||
104980557 | 37 days ago | 4.41638046 FTM | ||||
104947236 | 38 days ago | 4.96360834 FTM | ||||
104947236 | 38 days ago | 4.96360834 FTM | ||||
104933671 | 38 days ago | 4.2314893 FTM |
Loading...
Loading
Contract Name:
WETH
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/OFT.sol"; /// @title A LayerZero OmnichainFungibleToken example contract WETH is OFT { constructor(address _layerZeroEndpoint) OFT("Wrapped Ether", "WETH", _layerZeroEndpoint) {} }
// 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); }
// 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 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; import "@openzeppelin/contracts/access/Ownable.sol"; import "../interfaces/ILayerZeroReceiver.sol"; import "../interfaces/ILayerZeroUserApplicationConfig.sol"; import "../interfaces/ILayerZeroEndpoint.sol"; import "../util/BytesLib.sol"; /* * a generic LzReceiver implementation */ abstract contract LzApp is Ownable, ILayerZeroReceiver, ILayerZeroUserApplicationConfig { using BytesLib for bytes; ILayerZeroEndpoint public immutable lzEndpoint; mapping(uint16 => bytes) public trustedRemoteLookup; mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup; address public precrime; event SetPrecrime(address precrime); event SetTrustedRemote(uint16 _remoteChainId, bytes _path); event SetTrustedRemoteAddress(uint16 _remoteChainId, bytes _remoteAddress); event SetMinDstGas(uint16 _dstChainId, uint16 _type, uint _minDstGas); constructor(address _endpoint) { lzEndpoint = ILayerZeroEndpoint(_endpoint); } function lzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual override { // lzReceive must be called by the endpoint for security require(_msgSender() == address(lzEndpoint), "LzApp: invalid endpoint caller"); bytes memory trustedRemote = trustedRemoteLookup[_srcChainId]; // if will still block the message pathway from (srcChainId, srcAddress). should not receive message from untrusted remote. require(_srcAddress.length == trustedRemote.length && trustedRemote.length > 0 && keccak256(_srcAddress) == keccak256(trustedRemote), "LzApp: invalid source sending contract"); _blockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } // abstract function - the default behaviour of LayerZero is blocking. See: NonblockingLzApp if you dont need to enforce ordered messaging function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual; function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams, uint _nativeFee) internal virtual { bytes memory trustedRemote = trustedRemoteLookup[_dstChainId]; require(trustedRemote.length != 0, "LzApp: destination chain is not a trusted source"); lzEndpoint.send{value: _nativeFee}(_dstChainId, trustedRemote, _payload, _refundAddress, _zroPaymentAddress, _adapterParams); } function _checkGasLimit(uint16 _dstChainId, uint16 _type, bytes memory _adapterParams, uint _extraGas) internal view virtual { uint providedGasLimit = _getGasLimit(_adapterParams); uint minGasLimit = minDstGasLookup[_dstChainId][_type] + _extraGas; require(minGasLimit > 0, "LzApp: minGasLimit not set"); require(providedGasLimit >= minGasLimit, "LzApp: gas limit is too low"); } function _getGasLimit(bytes memory _adapterParams) internal pure virtual returns (uint gasLimit) { require(_adapterParams.length >= 34, "LzApp: invalid adapterParams"); assembly { gasLimit := mload(add(_adapterParams, 34)) } } //---------------------------UserApplication config---------------------------------------- function getConfig(uint16 _version, uint16 _chainId, address, uint _configType) external view returns (bytes memory) { return lzEndpoint.getConfig(_version, _chainId, address(this), _configType); } // generic config for LayerZero user Application function setConfig(uint16 _version, uint16 _chainId, uint _configType, bytes calldata _config) external override onlyOwner { lzEndpoint.setConfig(_version, _chainId, _configType, _config); } function setSendVersion(uint16 _version) external override onlyOwner { lzEndpoint.setSendVersion(_version); } function setReceiveVersion(uint16 _version) external override onlyOwner { lzEndpoint.setReceiveVersion(_version); } function forceResumeReceive(uint16 _srcChainId, bytes calldata _srcAddress) external override onlyOwner { lzEndpoint.forceResumeReceive(_srcChainId, _srcAddress); } // _path = abi.encodePacked(remoteAddress, localAddress) // this function set the trusted path for the cross-chain communication function setTrustedRemote(uint16 _srcChainId, bytes calldata _path) external onlyOwner { trustedRemoteLookup[_srcChainId] = _path; emit SetTrustedRemote(_srcChainId, _path); } function setTrustedRemoteAddress(uint16 _remoteChainId, bytes calldata _remoteAddress) external onlyOwner { trustedRemoteLookup[_remoteChainId] = abi.encodePacked(_remoteAddress, address(this)); emit SetTrustedRemoteAddress(_remoteChainId, _remoteAddress); } function getTrustedRemoteAddress(uint16 _remoteChainId) external view returns (bytes memory) { bytes memory path = trustedRemoteLookup[_remoteChainId]; require(path.length != 0, "LzApp: no trusted path record"); return path.slice(0, path.length - 20); // the last 20 bytes should be address(this) } function setPrecrime(address _precrime) external onlyOwner { precrime = _precrime; emit SetPrecrime(_precrime); } function setMinDstGas(uint16 _dstChainId, uint16 _packetType, uint _minGas) external onlyOwner { require(_minGas > 0, "LzApp: invalid minGas"); minDstGasLookup[_dstChainId][_packetType] = _minGas; emit SetMinDstGas(_dstChainId, _packetType, _minGas); } //--------------------------- VIEW FUNCTION ---------------------------------------- function isTrustedRemote(uint16 _srcChainId, bytes calldata _srcAddress) external view returns (bool) { bytes memory trustedSource = trustedRemoteLookup[_srcChainId]; return keccak256(trustedSource) == keccak256(_srcAddress); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LzApp.sol"; import "../util/ExcessivelySafeCall.sol"; /* * the default LayerZero messaging behaviour is blocking, i.e. any failed message will block the channel * this abstract class try-catch all fail messages and store locally for future retry. hence, non-blocking * NOTE: if the srcAddress is not configured properly, it will still block the message pathway from (srcChainId, srcAddress) */ abstract contract NonblockingLzApp is LzApp { using ExcessivelySafeCall for address; constructor(address _endpoint) LzApp(_endpoint) {} mapping(uint16 => mapping(bytes => mapping(uint64 => bytes32))) public failedMessages; event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload, bytes _reason); event RetryMessageSuccess(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _payloadHash); // overriding the virtual function in LzReceiver function _blockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override { (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.nonblockingLzReceive.selector, _srcChainId, _srcAddress, _nonce, _payload)); // try-catch all errors/exceptions if (!success) { _storeFailedMessage(_srcChainId, _srcAddress, _nonce, _payload, reason); } } function _storeFailedMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload, bytes memory _reason) internal virtual { failedMessages[_srcChainId][_srcAddress][_nonce] = keccak256(_payload); emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload, _reason); } function nonblockingLzReceive(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public virtual { // only internal transaction require(_msgSender() == address(this), "NonblockingLzApp: caller must be LzApp"); _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } //@notice override this function function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual; function retryMessage(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes calldata _payload) public payable virtual { // assert there is message to retry bytes32 payloadHash = failedMessages[_srcChainId][_srcAddress][_nonce]; require(payloadHash != bytes32(0), "NonblockingLzApp: no stored message"); require(keccak256(_payload) == payloadHash, "NonblockingLzApp: invalid payload"); // clear the stored message failedMessages[_srcChainId][_srcAddress][_nonce] = bytes32(0); // execute the message. revert if it fails again _nonblockingLzReceive(_srcChainId, _srcAddress, _nonce, _payload); emit RetryMessageSuccess(_srcChainId, _srcAddress, _nonce, payloadHash); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../OFTCore.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract ProxyOFT is OFTCore { using SafeERC20 for IERC20; IERC20 internal immutable innerToken; constructor(address _lzEndpoint, address _token) OFTCore(_lzEndpoint) { innerToken = IERC20(_token); } function circulatingSupply() public view virtual override returns (uint) { unchecked { return innerToken.totalSupply() - innerToken.balanceOf(address(this)); } } function token() public view virtual override returns (address) { return address(innerToken); } function _debitFrom(address _from, uint16, bytes memory, uint _amount) internal virtual override returns(uint) { require(_from == _msgSender(), "ProxyOFT: owner is not send caller"); uint before = innerToken.balanceOf(address(this)); innerToken.safeTransferFrom(_from, address(this), _amount); return innerToken.balanceOf(address(this)) - before; } function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override returns(uint) { uint before = innerToken.balanceOf(_toAddress); innerToken.safeTransfer(_toAddress, _amount); return innerToken.balanceOf(_toAddress) - before; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "./IOFTCore.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; /** * @dev Interface of the OFT standard */ interface IOFT is IOFTCore, IERC20 { }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface of the IOFT core standard */ interface IOFTCore is IERC165 { /** * @dev estimate send token `_tokenId` to (`_dstChainId`, `_toAddress`) * _dstChainId - L0 defined chain id to send tokens too * _toAddress - dynamic bytes array which contains the address to whom you are sending tokens to on the dstChain * _amount - amount of the tokens to transfer * _useZro - indicates to use zro to pay L0 fees * _adapterParam - flexible bytes array to indicate messaging adapter services in L0 */ function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); /** * @dev send `_amount` amount of token to (`_dstChainId`, `_toAddress`) from `_from` * `_from` the owner of token * `_dstChainId` the destination chain identifier * `_toAddress` can be any size depending on the `dstChainId`. * `_amount` the quantity of tokens in wei * `_refundAddress` the address LayerZero refunds if too much message fee is sent * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token) * `_adapterParams` is a flexible bytes array to indicate messaging adapter services */ function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable; /** * @dev returns the circulating amount of tokens on current chain */ function circulatingSupply() external view returns (uint); /** * @dev returns the address of the ERC20 token */ function token() external view returns (address); /** * @dev Emitted when `_amount` tokens are moved from the `_sender` to (`_dstChainId`, `_toAddress`) * `_nonce` is the outbound nonce */ event SendToChain(uint16 indexed _dstChainId, address indexed _from, bytes _toAddress, uint _amount); /** * @dev Emitted when `_amount` tokens are received from `_srcChainId` into the `_toAddress` on the local chain. * `_nonce` is the inbound nonce. */ event ReceiveFromChain(uint16 indexed _srcChainId, address indexed _to, uint _amount); event SetUseCustomAdapterParams(bool _useCustomAdapterParams); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "./IOFT.sol"; import "./OFTCore.sol"; // override decimal() function is needed contract OFT is OFTCore, ERC20, IOFT { constructor(string memory _name, string memory _symbol, address _lzEndpoint) ERC20(_name, _symbol) OFTCore(_lzEndpoint) {} function supportsInterface(bytes4 interfaceId) public view virtual override(OFTCore, IERC165) returns (bool) { return interfaceId == type(IOFT).interfaceId || interfaceId == type(IERC20).interfaceId || super.supportsInterface(interfaceId); } function token() public view virtual override returns (address) { return address(this); } function circulatingSupply() public view virtual override returns (uint) { return totalSupply(); } function _debitFrom(address _from, uint16, bytes memory, uint _amount) internal virtual override returns(uint) { address spender = _msgSender(); if (_from != spender) _spendAllowance(_from, spender, _amount); _burn(_from, _amount); return _amount; } function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override returns(uint) { _mint(_toAddress, _amount); return _amount; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../lzApp/NonblockingLzApp.sol"; import "./IOFTCore.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract OFTCore is NonblockingLzApp, ERC165, IOFTCore { using BytesLib for bytes; uint public constant NO_EXTRA_GAS = 0; // packet type uint16 public constant PT_SEND = 0; bool public useCustomAdapterParams; constructor(address _lzEndpoint) NonblockingLzApp(_lzEndpoint) {} function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IOFTCore).interfaceId || super.supportsInterface(interfaceId); } function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { // mock the payload for sendFrom() bytes memory payload = abi.encode(PT_SEND, _toAddress, _amount); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function sendFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) public payable virtual override { _send(_from, _dstChainId, _toAddress, _amount, _refundAddress, _zroPaymentAddress, _adapterParams); } function setUseCustomAdapterParams(bool _useCustomAdapterParams) public virtual onlyOwner { useCustomAdapterParams = _useCustomAdapterParams; emit SetUseCustomAdapterParams(_useCustomAdapterParams); } function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override { uint16 packetType; assembly { packetType := mload(add(_payload, 32)) } if (packetType == PT_SEND) { _sendAck(_srcChainId, _srcAddress, _nonce, _payload); } else { revert("OFTCore: unknown packet type"); } } function _send(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual { _checkAdapterParams(_dstChainId, PT_SEND, _adapterParams, NO_EXTRA_GAS); uint amount = _debitFrom(_from, _dstChainId, _toAddress, _amount); bytes memory lzPayload = abi.encode(PT_SEND, _toAddress, amount); _lzSend(_dstChainId, lzPayload, _refundAddress, _zroPaymentAddress, _adapterParams, msg.value); emit SendToChain(_dstChainId, _from, _toAddress, amount); } function _sendAck(uint16 _srcChainId, bytes memory, uint64, bytes memory _payload) internal virtual { (, bytes memory toAddressBytes, uint amount) = abi.decode(_payload, (uint16, bytes, uint)); address to = toAddressBytes.toAddress(0); amount = _creditTo(_srcChainId, to, amount); emit ReceiveFromChain(_srcChainId, to, amount); } function _checkAdapterParams(uint16 _dstChainId, uint16 _pkType, bytes memory _adapterParams, uint _extraGas) internal virtual { if (useCustomAdapterParams) { _checkGasLimit(_dstChainId, _pkType, _adapterParams, _extraGas); } else { require(_adapterParams.length == 0, "OFTCore: _adapterParams must be empty."); } } function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _amount) internal virtual returns(uint); function _creditTo(uint16 _srcChainId, address _toAddress, uint _amount) internal virtual returns(uint); }
// SPDX-License-Identifier: Unlicense /* * @title Solidity Bytes Arrays Utils * @author Gonçalo Sá <[email protected]> * * @dev Bytes tightly packed arrays utility library for ethereum contracts written in Solidity. * The library lets you concatenate, slice and type cast bytes arrays both in memory and storage. */ pragma solidity >=0.8.0 <0.9.0; library BytesLib { function concat( bytes memory _preBytes, bytes memory _postBytes ) internal pure returns (bytes memory) { bytes memory tempBytes; assembly { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // Store the length of the first bytes array at the beginning of // the memory for tempBytes. let length := mload(_preBytes) mstore(tempBytes, length) // Maintain a memory counter for the current write location in the // temp bytes array by adding the 32 bytes for the array length to // the starting location. let mc := add(tempBytes, 0x20) // Stop copying when the memory counter reaches the length of the // first bytes array. let end := add(mc, length) for { // Initialize a copy counter to the start of the _preBytes data, // 32 bytes into its memory. let cc := add(_preBytes, 0x20) } lt(mc, end) { // Increase both counters by 32 bytes each iteration. mc := add(mc, 0x20) cc := add(cc, 0x20) } { // Write the _preBytes data into the tempBytes memory 32 bytes // at a time. mstore(mc, mload(cc)) } // Add the length of _postBytes to the current length of tempBytes // and store it as the new length in the first 32 bytes of the // tempBytes memory. length := mload(_postBytes) mstore(tempBytes, add(length, mload(tempBytes))) // Move the memory counter back from a multiple of 0x20 to the // actual end of the _preBytes data. mc := end // Stop copying when the memory counter reaches the new combined // length of the arrays. end := add(mc, length) for { let cc := add(_postBytes, 0x20) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } // Update the free-memory pointer by padding our last write location // to 32 bytes: add 31 bytes to the end of tempBytes to move to the // next 32 byte block, then round down to the nearest multiple of // 32. If the sum of the length of the two arrays is zero then add // one before rounding down to leave a blank 32 bytes (the length block with 0). mstore(0x40, and( add(add(end, iszero(add(length, mload(_preBytes)))), 31), not(31) // Round down to the nearest 32 bytes. )) } return tempBytes; } function concatStorage(bytes storage _preBytes, bytes memory _postBytes) internal { assembly { // Read the first 32 bytes of _preBytes storage, which is the length // of the array. (We don't need to use the offset into the slot // because arrays use the entire slot.) let fslot := sload(_preBytes.slot) // Arrays of 31 bytes or less have an even value in their slot, // while longer arrays have an odd value. The actual length is // the slot divided by two for odd values, and the lowest order // byte divided by two for even values. // If the slot is even, bitwise and the slot with 255 and divide by // two to get the length. If the slot is odd, bitwise and the slot // with -1 and divide by two. let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) let newlength := add(slength, mlength) // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage switch add(lt(slength, 32), lt(newlength, 32)) case 2 { // Since the new array still fits in the slot, we just need to // update the contents of the slot. // uint256(bytes_storage) = uint256(bytes_storage) + uint256(bytes_memory) + new_length sstore( _preBytes.slot, // all the modifications to the slot are inside this // next block add( // we can just add to the slot contents because the // bytes we want to change are the LSBs fslot, add( mul( div( // load the bytes from memory mload(add(_postBytes, 0x20)), // zero all bytes to the right exp(0x100, sub(32, mlength)) ), // and now shift left the number of bytes to // leave space for the length in the slot exp(0x100, sub(32, newlength)) ), // increase length by the double of the memory // bytes length mul(mlength, 2) ) ) ) } case 1 { // The stored value fits in the slot, but the combined value // will exceed it. // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // The contents of the _postBytes array start 32 bytes into // the structure. Our first read should obtain the `submod` // bytes that can fit into the unused space in the last word // of the stored array. To get this, we read 32 bytes starting // from `submod`, so the data we read overlaps with the array // contents by `submod` bytes. Masking the lowest-order // `submod` bytes allows us to add that value directly to the // stored value. let submod := sub(32, slength) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore( sc, add( and( fslot, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00 ), and(mload(mc), mask) ) ) for { mc := add(mc, 0x20) sc := add(sc, 1) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } default { // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) // Start copying to the last used word of the stored array. let sc := add(keccak256(0x0, 0x20), div(slength, 32)) // save new length sstore(_preBytes.slot, add(mul(newlength, 2), 1)) // Copy over the first `submod` bytes of the new data as in // case 1 above. let slengthmod := mod(slength, 32) let mlengthmod := mod(mlength, 32) let submod := sub(32, slengthmod) let mc := add(_postBytes, submod) let end := add(_postBytes, mlength) let mask := sub(exp(0x100, submod), 1) sstore(sc, add(sload(sc), and(mload(mc), mask))) for { sc := add(sc, 1) mc := add(mc, 0x20) } lt(mc, end) { sc := add(sc, 1) mc := add(mc, 0x20) } { sstore(sc, mload(mc)) } mask := exp(0x100, sub(mc, end)) sstore(sc, mul(div(mload(mc), mask), mask)) } } } function slice( bytes memory _bytes, uint256 _start, uint256 _length ) internal pure returns (bytes memory) { require(_length + 31 >= _length, "slice_overflow"); require(_bytes.length >= _start + _length, "slice_outOfBounds"); bytes memory tempBytes; assembly { switch iszero(_length) case 0 { // Get a location of some free memory and store it in tempBytes as // Solidity does for memory variables. tempBytes := mload(0x40) // The first word of the slice result is potentially a partial // word read from the original array. To read it, we calculate // the length of that partial word and start copying that many // bytes into the array. The first word we copy will start with // data we don't care about, but the last `lengthmod` bytes will // land at the beginning of the contents of the new array. When // we're done copying, we overwrite the full first word with // the actual length of the slice. let lengthmod := and(_length, 31) // The multiplication in the next line is necessary // because when slicing multiples of 32 bytes (lengthmod == 0) // the following copy loop was copying the origin's length // and then ending prematurely not copying everything it should. let mc := add(add(tempBytes, lengthmod), mul(0x20, iszero(lengthmod))) let end := add(mc, _length) for { // The multiplication in the next line has the same exact purpose // as the one above. let cc := add(add(add(_bytes, lengthmod), mul(0x20, iszero(lengthmod))), _start) } lt(mc, end) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { mstore(mc, mload(cc)) } mstore(tempBytes, _length) //update free-memory pointer //allocating the array padded to 32 bytes like the compiler does now mstore(0x40, and(add(mc, 31), not(31))) } //if we want a zero-length slice let's just return a zero-length array default { tempBytes := mload(0x40) //zero out the 32 bytes slice we are about to return //we need to do it because Solidity does not garbage collect mstore(tempBytes, 0) mstore(0x40, add(tempBytes, 0x20)) } } return tempBytes; } function toAddress(bytes memory _bytes, uint256 _start) internal pure returns (address) { require(_bytes.length >= _start + 20, "toAddress_outOfBounds"); address tempAddress; assembly { tempAddress := div(mload(add(add(_bytes, 0x20), _start)), 0x1000000000000000000000000) } return tempAddress; } function toUint8(bytes memory _bytes, uint256 _start) internal pure returns (uint8) { require(_bytes.length >= _start + 1 , "toUint8_outOfBounds"); uint8 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x1), _start)) } return tempUint; } function toUint16(bytes memory _bytes, uint256 _start) internal pure returns (uint16) { require(_bytes.length >= _start + 2, "toUint16_outOfBounds"); uint16 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x2), _start)) } return tempUint; } function toUint32(bytes memory _bytes, uint256 _start) internal pure returns (uint32) { require(_bytes.length >= _start + 4, "toUint32_outOfBounds"); uint32 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x4), _start)) } return tempUint; } function toUint64(bytes memory _bytes, uint256 _start) internal pure returns (uint64) { require(_bytes.length >= _start + 8, "toUint64_outOfBounds"); uint64 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x8), _start)) } return tempUint; } function toUint96(bytes memory _bytes, uint256 _start) internal pure returns (uint96) { require(_bytes.length >= _start + 12, "toUint96_outOfBounds"); uint96 tempUint; assembly { tempUint := mload(add(add(_bytes, 0xc), _start)) } return tempUint; } function toUint128(bytes memory _bytes, uint256 _start) internal pure returns (uint128) { require(_bytes.length >= _start + 16, "toUint128_outOfBounds"); uint128 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x10), _start)) } return tempUint; } function toUint256(bytes memory _bytes, uint256 _start) internal pure returns (uint256) { require(_bytes.length >= _start + 32, "toUint256_outOfBounds"); uint256 tempUint; assembly { tempUint := mload(add(add(_bytes, 0x20), _start)) } return tempUint; } function toBytes32(bytes memory _bytes, uint256 _start) internal pure returns (bytes32) { require(_bytes.length >= _start + 32, "toBytes32_outOfBounds"); bytes32 tempBytes32; assembly { tempBytes32 := mload(add(add(_bytes, 0x20), _start)) } return tempBytes32; } function equal(bytes memory _preBytes, bytes memory _postBytes) internal pure returns (bool) { bool success = true; assembly { let length := mload(_preBytes) // if lengths don't match the arrays are not equal switch eq(length, mload(_postBytes)) case 1 { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 let mc := add(_preBytes, 0x20) let end := add(mc, length) for { let cc := add(_postBytes, 0x20) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) } eq(add(lt(mc, end), cb), 2) { mc := add(mc, 0x20) cc := add(cc, 0x20) } { // if any of these checks fails then arrays are not equal if iszero(eq(mload(mc), mload(cc))) { // unsuccess: success := 0 cb := 0 } } } default { // unsuccess: success := 0 } } return success; } function equalStorage( bytes storage _preBytes, bytes memory _postBytes ) internal view returns (bool) { bool success = true; assembly { // we know _preBytes_offset is 0 let fslot := sload(_preBytes.slot) // Decode the length of the stored array like in concatStorage(). let slength := div(and(fslot, sub(mul(0x100, iszero(and(fslot, 1))), 1)), 2) let mlength := mload(_postBytes) // if lengths don't match the arrays are not equal switch eq(slength, mlength) case 1 { // slength can contain both the length and contents of the array // if length < 32 bytes so let's prepare for that // v. http://solidity.readthedocs.io/en/latest/miscellaneous.html#layout-of-state-variables-in-storage if iszero(iszero(slength)) { switch lt(slength, 32) case 1 { // blank the last byte which is the length fslot := mul(div(fslot, 0x100), 0x100) if iszero(eq(fslot, mload(add(_postBytes, 0x20)))) { // unsuccess: success := 0 } } default { // cb is a circuit breaker in the for loop since there's // no said feature for inline assembly loops // cb = 1 - don't breaker // cb = 0 - break let cb := 1 // get the keccak hash to get the contents of the array mstore(0x0, _preBytes.slot) let sc := keccak256(0x0, 0x20) let mc := add(_postBytes, 0x20) let end := add(mc, mlength) // the next line is the loop condition: // while(uint256(mc < end) + cb == 2) for {} eq(add(lt(mc, end), cb), 2) { sc := add(sc, 1) mc := add(mc, 0x20) } { if iszero(eq(sload(sc), mload(mc))) { // unsuccess: success := 0 cb := 0 } } } } } default { // unsuccess: success := 0 } } return success; } }
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity >=0.7.6; library ExcessivelySafeCall { uint256 constant LOW_28_MASK = 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff; /// @notice Use when you _really_ really _really_ don't trust the called /// contract. This prevents the called contract from causing reversion of /// the caller in as many ways as we can. /// @dev The main difference between this and a solidity low-level call is /// that we limit the number of bytes that the callee can cause to be /// copied to caller memory. This prevents stupid things like malicious /// contracts returning 10,000,000 bytes causing a local OOG when copying /// to memory. /// @param _target The address to call /// @param _gas The amount of gas to forward to the remote contract /// @param _maxCopy The maximum number of bytes of returndata to copy /// to memory. /// @param _calldata The data to send to the remote contract /// @return success and returndata, as `.call()`. Returndata is capped to /// `_maxCopy` bytes. function excessivelySafeCall( address _target, uint256 _gas, uint16 _maxCopy, bytes memory _calldata ) internal returns (bool, bytes memory) { // set up for assembly call uint256 _toCopy; bool _success; bytes memory _returnData = new bytes(_maxCopy); // dispatch message to recipient // by assembly calling "handle" function // we call via assembly to avoid memcopying a very large returndata // returned by a malicious contract assembly { _success := call( _gas, // gas _target, // recipient 0, // ether value add(_calldata, 0x20), // inloc mload(_calldata), // inlen 0, // outloc 0 // outlen ) // limit our copy to 256 bytes _toCopy := returndatasize() if gt(_toCopy, _maxCopy) { _toCopy := _maxCopy } // Store the length of the copied bytes mstore(_returnData, _toCopy) // copy the bytes from returndata[0:_toCopy] returndatacopy(add(_returnData, 0x20), 0, _toCopy) } return (_success, _returnData); } /// @notice Use when you _really_ really _really_ don't trust the called /// contract. This prevents the called contract from causing reversion of /// the caller in as many ways as we can. /// @dev The main difference between this and a solidity low-level call is /// that we limit the number of bytes that the callee can cause to be /// copied to caller memory. This prevents stupid things like malicious /// contracts returning 10,000,000 bytes causing a local OOG when copying /// to memory. /// @param _target The address to call /// @param _gas The amount of gas to forward to the remote contract /// @param _maxCopy The maximum number of bytes of returndata to copy /// to memory. /// @param _calldata The data to send to the remote contract /// @return success and returndata, as `.call()`. Returndata is capped to /// `_maxCopy` bytes. function excessivelySafeStaticCall( address _target, uint256 _gas, uint16 _maxCopy, bytes memory _calldata ) internal view returns (bool, bytes memory) { // set up for assembly call uint256 _toCopy; bool _success; bytes memory _returnData = new bytes(_maxCopy); // dispatch message to recipient // by assembly calling "handle" function // we call via assembly to avoid memcopying a very large returndata // returned by a malicious contract assembly { _success := staticcall( _gas, // gas _target, // recipient add(_calldata, 0x20), // inloc mload(_calldata), // inlen 0, // outloc 0 // outlen ) // limit our copy to 256 bytes _toCopy := returndatasize() if gt(_toCopy, _maxCopy) { _toCopy := _maxCopy } // Store the length of the copied bytes mstore(_returnData, _toCopy) // copy the bytes from returndata[0:_toCopy] returndatacopy(add(_returnData, 0x20), 0, _toCopy) } return (_success, _returnData); } /** * @notice Swaps function selectors in encoded contract calls * @dev Allows reuse of encoded calldata for functions with identical * argument types but different names. It simply swaps out the first 4 bytes * for the new selector. This function modifies memory in place, and should * only be used with caution. * @param _newSelector The new 4-byte selector * @param _buf The encoded contract args */ function swapSelector(bytes4 _newSelector, bytes memory _buf) internal pure { require(_buf.length >= 4); uint256 _mask = LOW_28_MASK; assembly { // load the first word of let _word := mload(add(_buf, 0x20)) // mask out the top 4 bytes // /x _word := and(_word, _mask) _word := or(_newSelector, _word) mstore(add(_buf, 0x20), _word) } } }
// 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 // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/extension/ProxyOFT.sol"; contract DAIProxyOFT is ProxyOFT { constructor(address _layerZeroEndpoint, address _token) ProxyOFT(_layerZeroEndpoint, _token){} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/extension/ProxyOFT.sol"; contract WETHProxyOFT is ProxyOFT { constructor(address _layerZeroEndpoint, address _token) ProxyOFT(_layerZeroEndpoint, _token){} }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_layerZeroEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","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":true,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":true,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ReceiveFromChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes32","name":"_payloadHash","type":"bytes32"}],"name":"RetryMessageSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"_type","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_minDstGas","type":"uint256"}],"name":"SetMinDstGas","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"precrime","type":"address"}],"name":"SetPrecrime","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_path","type":"bytes"}],"name":"SetTrustedRemote","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"SetTrustedRemoteAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"_useCustomAdapterParams","type":"bool"}],"name":"SetUseCustomAdapterParams","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"NO_EXTRA_GAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PT_SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"failedMessages","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"_chainId","type":"uint16"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_configType","type":"uint256"}],"name":"getConfig","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"}],"name":"getTrustedRemoteAddress","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"}],"name":"isTrustedRemote","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":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"lzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"name":"minDstGasLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"nonblockingLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"retryMessage","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_version","type":"uint16"},{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"_configType","type":"uint256"},{"internalType":"bytes","name":"_config","type":"bytes"}],"name":"setConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint16","name":"_packetType","type":"uint16"},{"internalType":"uint256","name":"_minGas","type":"uint256"}],"name":"setMinDstGas","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","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":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_path","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","type":"uint16"},{"internalType":"bytes","name":"_remoteAddress","type":"bytes"}],"name":"setTrustedRemoteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_useCustomAdapterParams","type":"bool"}],"name":"setUseCustomAdapterParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"useCustomAdapterParams","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b5060405162003595380380620035958339810160408190526200003491620001d7565b6040518060400160405280600d81526020016c2bb930b83832b21022ba3432b960991b815250604051806040016040528060048152602001630ae8aa8960e31b8152508282828280806200009762000091620000dd60201b60201c565b620000e1565b6001600160a01b031660805250508151620000ba90600990602085019062000131565b508051620000d090600a90602084019062000131565b5050505050505062000246565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200013f9062000209565b90600052602060002090601f016020900481019282620001635760008555620001ae565b82601f106200017e57805160ff1916838001178555620001ae565b82800160010185558215620001ae579182015b82811115620001ae57825182559160200191906001019062000191565b50620001bc929150620001c0565b5090565b5b80821115620001bc5760008155600101620001c1565b600060208284031215620001ea57600080fd5b81516001600160a01b03811681146200020257600080fd5b9392505050565b600181811c908216806200021e57607f821691505b602082108114156200024057634e487b7160e01b600052602260045260246000fd5b50919050565b6080516132fb6200029a6000396000818161068e015281816107f301528181610b1201528181610bb301528181610c5101528181610dee01528181611332015281816117dd015261220b01526132fb6000f3fe6080604052600436106102505760003560e01c80638cfd8f5c11610139578063baf3292d116100b6578063eab45d9c1161007a578063eab45d9c14610743578063eb8d72b714610763578063ed629c5c14610783578063f2fde38b1461079d578063f5ecbdbc146107bd578063fc0c546a146107dd57600080fd5b8063baf3292d146106b0578063cbed8b9c146106d0578063d1deba1f146106f0578063dd62ed3e14610703578063df2a5b3b1461072357600080fd5b80639f38369a116100fd5780639f38369a146105fc578063a457c2d71461061c578063a6c3d1651461063c578063a9059cbb1461065c578063b353aaa71461067c57600080fd5b80638cfd8f5c146105485780638da5cb5b146105805780639358928b146105b2578063950c8a74146105c757806395d89b41146105e757600080fd5b806339509351116101d25780635190563611610196578063519056361461045b5780635b8c41e61461046e57806366ad5c8a146104bd57806370a08231146104dd578063715018a6146105135780637533d7881461052857600080fd5b806339509351146103be5780633d8b38f6146103de57806342d65a8d146103fe578063447705151461041e5780634c42899a1461043357600080fd5b806310ddb1371161021957806310ddb1371461030e57806318160ddd1461032e57806323b872dd1461034d5780632a205e3d1461036d578063313ce567146103a257600080fd5b80621d35671461025557806301ffc9a71461027757806306fdde03146102ac57806307e0db17146102ce578063095ea7b3146102ee575b600080fd5b34801561026157600080fd5b5061027561027036600461283a565b6107f0565b005b34801561028357600080fd5b506102976102923660046128cf565b610a21565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610a5f565b6040516102a39190612951565b3480156102da57600080fd5b506102756102e9366004612964565b610af1565b3480156102fa57600080fd5b50610297610309366004612996565b610b7a565b34801561031a57600080fd5b50610275610329366004612964565b610b92565b34801561033a57600080fd5b506008545b6040519081526020016102a3565b34801561035957600080fd5b506102976103683660046129c2565b610bea565b34801561037957600080fd5b5061038d610388366004612a13565b610c0e565b604080519283526020830191909152016102a3565b3480156103ae57600080fd5b50604051601281526020016102a3565b3480156103ca57600080fd5b506102976103d9366004612996565b610ce1565b3480156103ea57600080fd5b506102976103f9366004612ab2565b610d03565b34801561040a57600080fd5b50610275610419366004612ab2565b610dcf565b34801561042a57600080fd5b5061033f600081565b34801561043f57600080fd5b50610448600081565b60405161ffff90911681526020016102a3565b610275610469366004612b06565b610e55565b34801561047a57600080fd5b5061033f610489366004612c3c565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104c957600080fd5b506102756104d836600461283a565b610eda565b3480156104e957600080fd5b5061033f6104f8366004612cde565b6001600160a01b031660009081526006602052604090205490565b34801561051f57600080fd5b50610275610fb6565b34801561053457600080fd5b506102c1610543366004612964565b610fca565b34801561055457600080fd5b5061033f610563366004612cfb565b600260209081526000928352604080842090915290825290205481565b34801561058c57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016102a3565b3480156105be57600080fd5b5061033f611064565b3480156105d357600080fd5b5060035461059a906001600160a01b031681565b3480156105f357600080fd5b506102c1611074565b34801561060857600080fd5b506102c1610617366004612964565b611083565b34801561062857600080fd5b50610297610637366004612996565b61119a565b34801561064857600080fd5b50610275610657366004612ab2565b611215565b34801561066857600080fd5b50610297610677366004612996565b6112a8565b34801561068857600080fd5b5061059a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106bc57600080fd5b506102756106cb366004612cde565b6112b6565b3480156106dc57600080fd5b506102756106eb366004612d34565b611313565b6102756106fe36600461283a565b61139d565b34801561070f57600080fd5b5061033f61071e366004612da6565b6115b3565b34801561072f57600080fd5b5061027561073e366004612dd4565b6115de565b34801561074f57600080fd5b5061027561075e366004612e04565b611690565b34801561076f57600080fd5b5061027561077e366004612ab2565b6116d9565b34801561078f57600080fd5b506005546102979060ff1681565b3480156107a957600080fd5b506102756107b8366004612cde565b611733565b3480156107c957600080fd5b506102c16107d8366004612e1f565b6117ac565b3480156107e957600080fd5b503061059a565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03161461086d5760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff86166000908152600160205260408120805461088b90612e70565b80601f01602080910402602001604051908101604052809291908181526020018280546108b790612e70565b80156109045780601f106108d957610100808354040283529160200191610904565b820191906000526020600020905b8154815290600101906020018083116108e757829003601f168201915b5050505050905080518686905014801561091f575060008151115b801561094757508051602082012060405161093d9088908890612eab565b6040518091039020145b6109a25760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610864565b610a188787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061185d92505050565b50505050505050565b60006001600160e01b031982161580610a4a57506001600160e01b031982166336372b0760e01b145b80610a595750610a59826118d6565b92915050565b606060098054610a6e90612e70565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90612e70565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b610af961190b565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610b5f57600080fd5b505af1158015610b73573d6000803e3d6000fd5b5050505050565b600033610b88818585611965565b5060019392505050565b610b9a61190b565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610b45565b600033610bf8858285611a89565b610c03858585611b03565b506001949350505050565b600080600080898989604051602001610c2a9493929190612ee4565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090610c90908d90309086908c908c908c90600401612f13565b6040805180830381865afa158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd09190612f69565b925092505097509795505050505050565b600033610b88818585610cf483836115b3565b610cfe9190612fa3565b611965565b61ffff831660009081526001602052604081208054829190610d2490612e70565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5090612e70565b8015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b505050505090508383604051610db4929190612eab565b60405180910390208180519060200120149150509392505050565b610dd761190b565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610e2790869086908690600401612fbb565b600060405180830381600087803b158015610e4157600080fd5b505af1158015610a18573d6000803e3d6000fd5b610ecf898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528c93508b92508a918a908a9081908401838280828437600092019190915250611cae92505050565b505050505050505050565b333014610f385760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610864565b610fae8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611d5592505050565b505050505050565b610fbe61190b565b610fc86000611dbc565b565b60016020526000908152604090208054610fe390612e70565b80601f016020809104026020016040519081016040528092919081815260200182805461100f90612e70565b801561105c5780601f106110315761010080835404028352916020019161105c565b820191906000526020600020905b81548152906001019060200180831161103f57829003601f168201915b505050505081565b600061106f60085490565b905090565b6060600a8054610a6e90612e70565b61ffff81166000908152600160205260408120805460609291906110a690612e70565b80601f01602080910402602001604051908101604052809291908181526020018280546110d290612e70565b801561111f5780601f106110f45761010080835404028352916020019161111f565b820191906000526020600020905b81548152906001019060200180831161110257829003601f168201915b505050505090508051600014156111785760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610864565b61119360006014835161118b9190612fd9565b839190611e0c565b9392505050565b600033816111a882866115b3565b9050838110156112085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610864565b610c038286868403611965565b61121d61190b565b81813060405160200161123293929190612ff0565b60408051601f1981840301815291815261ffff85166000908152600160209081529190208251611267939192909101906126b9565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161129b93929190612fbb565b60405180910390a1505050565b600033610b88818585611b03565b6112be61190b565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b61131b61190b565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c9061136f9088908890889088908890600401613016565b600060405180830381600087803b15801561138957600080fd5b505af1158015610ecf573d6000803e3d6000fd5b61ffff861660009081526004602052604080822090516113c09088908890612eab565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806114405760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610864565b808383604051611451929190612eab565b6040518091039020146114b05760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610864565b61ffff871660009081526004602052604080822090516114d39089908990612eab565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261156b918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d5592505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516115a295949392919061304f565b60405180910390a150505050505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6115e661190b565b6000811161162e5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610864565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161129b565b61169861190b565b6005805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001611308565b6116e161190b565b61ffff831660009081526001602052604090206116ff90838361273d565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161129b93929190612fbb565b61173b61190b565b6001600160a01b0381166117a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610864565b6117a981611dbc565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa15801561182c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261185491908101906130d7565b95945050505050565b6000806118c05a60966366ad5c8a60e01b89898989604051602401611885949392919061310b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190611f19565b9150915081610fae57610fae8686868685611fa3565b60006001600160e01b03198216630a72677560e11b1480610a5957506301ffc9a760e01b6001600160e01b0319831614610a59565b6000546001600160a01b03163314610fc85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610864565b6001600160a01b0383166119c75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610864565b6001600160a01b038216611a285760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610864565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a9584846115b3565b90506000198114611afd5781811015611af05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610864565b611afd8484848403611965565b50505050565b6001600160a01b038316611b675760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610864565b6001600160a01b038216611bc95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610864565b6001600160a01b03831660009081526006602052604090205481811015611c415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610864565b6001600160a01b0380851660008181526006602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ca19086815260200190565b60405180910390a3611afd565b611cbc866000836000612040565b6000611cca888888886120ba565b90506000808783604051602001611ce393929190613149565b6040516020818303038152906040529050611d028882878787346120ec565b886001600160a01b03168861ffff167f39a4c66499bcf4b56d79f0dde8ed7a9d4925a0df55825206b2b8531e202be0d08985604051611d42929190613176565b60405180910390a3505050505050505050565b602081015161ffff8116611d7457611d6f85858585612287565b610b73565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b65742074797065000000006044820152606401610864565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081611e1a81601f612fa3565b1015611e595760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610864565b611e638284612fa3565b84511015611ea75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610864565b606082158015611ec65760405191506000825260208201604052611f10565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015611eff578051835260209283019201611ee7565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b03811115611f3e57611f3e612bcf565b6040519080825280601f01601f191660200182016040528015611f68576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115611f8a578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff16815260200190815260200160002085604051611fd49190613198565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061203190879087908790879087906131b4565b60405180910390a15050505050565b60055460ff161561205c5761205784848484612311565b611afd565b815115611afd5760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b6064820152608401610864565b6000336001600160a01b03861681146120d8576120d8868285611a89565b6120e286846123f0565b5090949350505050565b61ffff86166000908152600160205260408120805461210a90612e70565b80601f016020809104026020016040519081016040528092919081815260200182805461213690612e70565b80156121835780601f1061215857610100808354040283529160200191612183565b820191906000526020600020905b81548152906001019060200180831161216657829003601f168201915b505050505090508051600014156121f55760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610864565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c580310090849061224c908b9086908c908c908c908c90600401613212565b6000604051808303818588803b15801561226557600080fd5b505af1158015612279573d6000803e3d6000fd5b505050505050505050505050565b6000808280602001905181019061229e919061326c565b9093509150600090506122b18382612524565b90506122be878284612589565b9150806001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8460405161230091815260200190565b60405180910390a350505050505050565b600061231c8361259c565b61ffff80871660009081526002602090815260408083209389168352929052908120549192509061234e908490612fa3565b9050600081116123a05760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610864565b80821015610fae5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610864565b6001600160a01b0382166124505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610864565b6001600160a01b038216600090815260066020526040902054818110156124c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610864565b6001600160a01b03831660008181526006602090815260408083208686039055600880548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6000612531826014612fa3565b835110156125795760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610864565b500160200151600160601b900490565b600061259583836125f8565b5092915050565b60006022825110156125f05760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610864565b506022015190565b6001600160a01b03821661264e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610864565b80600860008282546126609190612fa3565b90915550506001600160a01b0382166000818152600660209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546126c590612e70565b90600052602060002090601f0160209004810192826126e7576000855561272d565b82601f1061270057805160ff191683800117855561272d565b8280016001018555821561272d579182015b8281111561272d578251825591602001919060010190612712565b506127399291506127b1565b5090565b82805461274990612e70565b90600052602060002090601f01602090048101928261276b576000855561272d565b82601f106127845782800160ff1982351617855561272d565b8280016001018555821561272d579182015b8281111561272d578235825591602001919060010190612796565b5b8082111561273957600081556001016127b2565b61ffff811681146117a957600080fd5b60008083601f8401126127e857600080fd5b5081356001600160401b038111156127ff57600080fd5b60208301915083602082850101111561281757600080fd5b9250929050565b80356001600160401b038116811461283557600080fd5b919050565b6000806000806000806080878903121561285357600080fd5b863561285e816127c6565b955060208701356001600160401b038082111561287a57600080fd5b6128868a838b016127d6565b909750955085915061289a60408a0161281e565b945060608901359150808211156128b057600080fd5b506128bd89828a016127d6565b979a9699509497509295939492505050565b6000602082840312156128e157600080fd5b81356001600160e01b03198116811461119357600080fd5b60005b838110156129145781810151838201526020016128fc565b83811115611afd5750506000910152565b6000815180845261293d8160208601602086016128f9565b601f01601f19169290920160200192915050565b6020815260006111936020830184612925565b60006020828403121561297657600080fd5b8135611193816127c6565b6001600160a01b03811681146117a957600080fd5b600080604083850312156129a957600080fd5b82356129b481612981565b946020939093013593505050565b6000806000606084860312156129d757600080fd5b83356129e281612981565b925060208401356129f281612981565b929592945050506040919091013590565b8035801515811461283557600080fd5b600080600080600080600060a0888a031215612a2e57600080fd5b8735612a39816127c6565b965060208801356001600160401b0380821115612a5557600080fd5b612a618b838c016127d6565b909850965060408a01359550869150612a7c60608b01612a03565b945060808a0135915080821115612a9257600080fd5b50612a9f8a828b016127d6565b989b979a50959850939692959293505050565b600080600060408486031215612ac757600080fd5b8335612ad2816127c6565b925060208401356001600160401b03811115612aed57600080fd5b612af9868287016127d6565b9497909650939450505050565b600080600080600080600080600060e08a8c031215612b2457600080fd5b8935612b2f81612981565b985060208a0135612b3f816127c6565b975060408a01356001600160401b0380821115612b5b57600080fd5b612b678d838e016127d6565b909950975060608c0135965060808c01359150612b8382612981565b90945060a08b013590612b9582612981565b90935060c08b01359080821115612bab57600080fd5b50612bb88c828d016127d6565b915080935050809150509295985092959850929598565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612c0d57612c0d612bcf565b604052919050565b60006001600160401b03821115612c2e57612c2e612bcf565b50601f01601f191660200190565b600080600060608486031215612c5157600080fd5b8335612c5c816127c6565b925060208401356001600160401b03811115612c7757600080fd5b8401601f81018613612c8857600080fd5b8035612c9b612c9682612c15565b612be5565b818152876020838501011115612cb057600080fd5b81602084016020830137600060208383010152809450505050612cd56040850161281e565b90509250925092565b600060208284031215612cf057600080fd5b813561119381612981565b60008060408385031215612d0e57600080fd5b8235612d19816127c6565b91506020830135612d29816127c6565b809150509250929050565b600080600080600060808688031215612d4c57600080fd5b8535612d57816127c6565b94506020860135612d67816127c6565b93506040860135925060608601356001600160401b03811115612d8957600080fd5b612d95888289016127d6565b969995985093965092949392505050565b60008060408385031215612db957600080fd5b8235612dc481612981565b91506020830135612d2981612981565b600080600060608486031215612de957600080fd5b8335612df4816127c6565b925060208401356129f2816127c6565b600060208284031215612e1657600080fd5b61119382612a03565b60008060008060808587031215612e3557600080fd5b8435612e40816127c6565b93506020850135612e50816127c6565b92506040850135612e6081612981565b9396929550929360600135925050565b600181811c90821680612e8457607f821691505b60208210811415612ea557634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff85168152606060208201526000612f02606083018587612ebb565b905082604083015295945050505050565b61ffff871681526001600160a01b038616602082015260a060408201819052600090612f4190830187612925565b85151560608401528281036080840152612f5c818587612ebb565b9998505050505050505050565b60008060408385031215612f7c57600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b60008219821115612fb657612fb6612f8d565b500190565b61ffff84168152604060208201526000611854604083018486612ebb565b600082821015612feb57612feb612f8d565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600061ffff808816835280871660208401525084604083015260806060830152613044608083018486612ebb565b979650505050505050565b61ffff8616815260806020820152600061306d608083018688612ebb565b6001600160401b0394909416604083015250606001529392505050565b600082601f83011261309b57600080fd5b81516130a9612c9682612c15565b8181528460208386010111156130be57600080fd5b6130cf8260208301602087016128f9565b949350505050565b6000602082840312156130e957600080fd5b81516001600160401b038111156130ff57600080fd5b6130cf8482850161308a565b61ffff851681526080602082015260006131286080830186612925565b6001600160401b038516604084015282810360608401526130448185612925565b61ffff841681526060602082015260006131666060830185612925565b9050826040830152949350505050565b6040815260006131896040830185612925565b90508260208301529392505050565b600082516131aa8184602087016128f9565b9190910192915050565b61ffff8616815260a0602082015260006131d160a0830187612925565b6001600160401b038616604084015282810360608401526131f28186612925565b905082810360808401526132068185612925565b98975050505050505050565b61ffff8716815260c06020820152600061322f60c0830188612925565b82810360408401526132418188612925565b6001600160a01b0387811660608601528616608085015283810360a08501529050612f5c8185612925565b60008060006060848603121561328157600080fd5b835161328c816127c6565b60208501519093506001600160401b038111156132a857600080fd5b6132b48682870161308a565b92505060408401519050925092509256fea264697066735822122029dfb9e604c750b3ca9794f6053ef99365484eba20d7806db00fdf080dba3aaf64736f6c634300080c0033000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
Deployed Bytecode
0x6080604052600436106102505760003560e01c80638cfd8f5c11610139578063baf3292d116100b6578063eab45d9c1161007a578063eab45d9c14610743578063eb8d72b714610763578063ed629c5c14610783578063f2fde38b1461079d578063f5ecbdbc146107bd578063fc0c546a146107dd57600080fd5b8063baf3292d146106b0578063cbed8b9c146106d0578063d1deba1f146106f0578063dd62ed3e14610703578063df2a5b3b1461072357600080fd5b80639f38369a116100fd5780639f38369a146105fc578063a457c2d71461061c578063a6c3d1651461063c578063a9059cbb1461065c578063b353aaa71461067c57600080fd5b80638cfd8f5c146105485780638da5cb5b146105805780639358928b146105b2578063950c8a74146105c757806395d89b41146105e757600080fd5b806339509351116101d25780635190563611610196578063519056361461045b5780635b8c41e61461046e57806366ad5c8a146104bd57806370a08231146104dd578063715018a6146105135780637533d7881461052857600080fd5b806339509351146103be5780633d8b38f6146103de57806342d65a8d146103fe578063447705151461041e5780634c42899a1461043357600080fd5b806310ddb1371161021957806310ddb1371461030e57806318160ddd1461032e57806323b872dd1461034d5780632a205e3d1461036d578063313ce567146103a257600080fd5b80621d35671461025557806301ffc9a71461027757806306fdde03146102ac57806307e0db17146102ce578063095ea7b3146102ee575b600080fd5b34801561026157600080fd5b5061027561027036600461283a565b6107f0565b005b34801561028357600080fd5b506102976102923660046128cf565b610a21565b60405190151581526020015b60405180910390f35b3480156102b857600080fd5b506102c1610a5f565b6040516102a39190612951565b3480156102da57600080fd5b506102756102e9366004612964565b610af1565b3480156102fa57600080fd5b50610297610309366004612996565b610b7a565b34801561031a57600080fd5b50610275610329366004612964565b610b92565b34801561033a57600080fd5b506008545b6040519081526020016102a3565b34801561035957600080fd5b506102976103683660046129c2565b610bea565b34801561037957600080fd5b5061038d610388366004612a13565b610c0e565b604080519283526020830191909152016102a3565b3480156103ae57600080fd5b50604051601281526020016102a3565b3480156103ca57600080fd5b506102976103d9366004612996565b610ce1565b3480156103ea57600080fd5b506102976103f9366004612ab2565b610d03565b34801561040a57600080fd5b50610275610419366004612ab2565b610dcf565b34801561042a57600080fd5b5061033f600081565b34801561043f57600080fd5b50610448600081565b60405161ffff90911681526020016102a3565b610275610469366004612b06565b610e55565b34801561047a57600080fd5b5061033f610489366004612c3c565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104c957600080fd5b506102756104d836600461283a565b610eda565b3480156104e957600080fd5b5061033f6104f8366004612cde565b6001600160a01b031660009081526006602052604090205490565b34801561051f57600080fd5b50610275610fb6565b34801561053457600080fd5b506102c1610543366004612964565b610fca565b34801561055457600080fd5b5061033f610563366004612cfb565b600260209081526000928352604080842090915290825290205481565b34801561058c57600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016102a3565b3480156105be57600080fd5b5061033f611064565b3480156105d357600080fd5b5060035461059a906001600160a01b031681565b3480156105f357600080fd5b506102c1611074565b34801561060857600080fd5b506102c1610617366004612964565b611083565b34801561062857600080fd5b50610297610637366004612996565b61119a565b34801561064857600080fd5b50610275610657366004612ab2565b611215565b34801561066857600080fd5b50610297610677366004612996565b6112a8565b34801561068857600080fd5b5061059a7f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd781565b3480156106bc57600080fd5b506102756106cb366004612cde565b6112b6565b3480156106dc57600080fd5b506102756106eb366004612d34565b611313565b6102756106fe36600461283a565b61139d565b34801561070f57600080fd5b5061033f61071e366004612da6565b6115b3565b34801561072f57600080fd5b5061027561073e366004612dd4565b6115de565b34801561074f57600080fd5b5061027561075e366004612e04565b611690565b34801561076f57600080fd5b5061027561077e366004612ab2565b6116d9565b34801561078f57600080fd5b506005546102979060ff1681565b3480156107a957600080fd5b506102756107b8366004612cde565b611733565b3480156107c957600080fd5b506102c16107d8366004612e1f565b6117ac565b3480156107e957600080fd5b503061059a565b337f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b03161461086d5760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff86166000908152600160205260408120805461088b90612e70565b80601f01602080910402602001604051908101604052809291908181526020018280546108b790612e70565b80156109045780601f106108d957610100808354040283529160200191610904565b820191906000526020600020905b8154815290600101906020018083116108e757829003601f168201915b5050505050905080518686905014801561091f575060008151115b801561094757508051602082012060405161093d9088908890612eab565b6040518091039020145b6109a25760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610864565b610a188787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061185d92505050565b50505050505050565b60006001600160e01b031982161580610a4a57506001600160e01b031982166336372b0760e01b145b80610a595750610a59826118d6565b92915050565b606060098054610a6e90612e70565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9a90612e70565b8015610ae75780601f10610abc57610100808354040283529160200191610ae7565b820191906000526020600020905b815481529060010190602001808311610aca57829003601f168201915b5050505050905090565b610af961190b565b6040516307e0db1760e01b815261ffff821660048201527f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610b5f57600080fd5b505af1158015610b73573d6000803e3d6000fd5b5050505050565b600033610b88818585611965565b5060019392505050565b610b9a61190b565b6040516310ddb13760e01b815261ffff821660048201527f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b0316906310ddb13790602401610b45565b600033610bf8858285611a89565b610c03858585611b03565b506001949350505050565b600080600080898989604051602001610c2a9493929190612ee4565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd716906340a7bb1090610c90908d90309086908c908c908c90600401612f13565b6040805180830381865afa158015610cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cd09190612f69565b925092505097509795505050505050565b600033610b88818585610cf483836115b3565b610cfe9190612fa3565b611965565b61ffff831660009081526001602052604081208054829190610d2490612e70565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5090612e70565b8015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b505050505090508383604051610db4929190612eab565b60405180910390208180519060200120149150509392505050565b610dd761190b565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd716906342d65a8d90610e2790869086908690600401612fbb565b600060405180830381600087803b158015610e4157600080fd5b505af1158015610a18573d6000803e3d6000fd5b610ecf898989898080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528c93508b92508a918a908a9081908401838280828437600092019190915250611cae92505050565b505050505050505050565b333014610f385760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610864565b610fae8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f890181900481028201810190925287815289935091508790879081908401838280828437600092019190915250611d5592505050565b505050505050565b610fbe61190b565b610fc86000611dbc565b565b60016020526000908152604090208054610fe390612e70565b80601f016020809104026020016040519081016040528092919081815260200182805461100f90612e70565b801561105c5780601f106110315761010080835404028352916020019161105c565b820191906000526020600020905b81548152906001019060200180831161103f57829003601f168201915b505050505081565b600061106f60085490565b905090565b6060600a8054610a6e90612e70565b61ffff81166000908152600160205260408120805460609291906110a690612e70565b80601f01602080910402602001604051908101604052809291908181526020018280546110d290612e70565b801561111f5780601f106110f45761010080835404028352916020019161111f565b820191906000526020600020905b81548152906001019060200180831161110257829003601f168201915b505050505090508051600014156111785760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610864565b61119360006014835161118b9190612fd9565b839190611e0c565b9392505050565b600033816111a882866115b3565b9050838110156112085760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610864565b610c038286868403611965565b61121d61190b565b81813060405160200161123293929190612ff0565b60408051601f1981840301815291815261ffff85166000908152600160209081529190208251611267939192909101906126b9565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161129b93929190612fbb565b60405180910390a1505050565b600033610b88818585611b03565b6112be61190b565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b61131b61190b565b6040516332fb62e760e21b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7169063cbed8b9c9061136f9088908890889088908890600401613016565b600060405180830381600087803b15801561138957600080fd5b505af1158015610ecf573d6000803e3d6000fd5b61ffff861660009081526004602052604080822090516113c09088908890612eab565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806114405760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610864565b808383604051611451929190612eab565b6040518091039020146114b05760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610864565b61ffff871660009081526004602052604080822090516114d39089908990612eab565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261156b918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611d5592505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e587878787856040516115a295949392919061304f565b60405180910390a150505050505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b6115e661190b565b6000811161162e5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610864565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161129b565b61169861190b565b6005805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a490602001611308565b6116e161190b565b61ffff831660009081526001602052604090206116ff90838361273d565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161129b93929190612fbb565b61173b61190b565b6001600160a01b0381166117a05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610864565b6117a981611dbc565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b03169063f5ecbdbc90608401600060405180830381865afa15801561182c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261185491908101906130d7565b95945050505050565b6000806118c05a60966366ad5c8a60e01b89898989604051602401611885949392919061310b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190611f19565b9150915081610fae57610fae8686868685611fa3565b60006001600160e01b03198216630a72677560e11b1480610a5957506301ffc9a760e01b6001600160e01b0319831614610a59565b6000546001600160a01b03163314610fc85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610864565b6001600160a01b0383166119c75760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610864565b6001600160a01b038216611a285760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610864565b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611a9584846115b3565b90506000198114611afd5781811015611af05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610864565b611afd8484848403611965565b50505050565b6001600160a01b038316611b675760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610864565b6001600160a01b038216611bc95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610864565b6001600160a01b03831660009081526006602052604090205481811015611c415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610864565b6001600160a01b0380851660008181526006602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611ca19086815260200190565b60405180910390a3611afd565b611cbc866000836000612040565b6000611cca888888886120ba565b90506000808783604051602001611ce393929190613149565b6040516020818303038152906040529050611d028882878787346120ec565b886001600160a01b03168861ffff167f39a4c66499bcf4b56d79f0dde8ed7a9d4925a0df55825206b2b8531e202be0d08985604051611d42929190613176565b60405180910390a3505050505050505050565b602081015161ffff8116611d7457611d6f85858585612287565b610b73565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b65742074797065000000006044820152606401610864565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b606081611e1a81601f612fa3565b1015611e595760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610864565b611e638284612fa3565b84511015611ea75760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610864565b606082158015611ec65760405191506000825260208201604052611f10565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015611eff578051835260209283019201611ee7565b5050858452601f01601f1916604052505b50949350505050565b6000606060008060008661ffff166001600160401b03811115611f3e57611f3e612bcf565b6040519080825280601f01601f191660200182016040528015611f68576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115611f8a578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff16815260200190815260200160002085604051611fd49190613198565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061203190879087908790879087906131b4565b60405180910390a15050505050565b60055460ff161561205c5761205784848484612311565b611afd565b815115611afd5760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b6064820152608401610864565b6000336001600160a01b03861681146120d8576120d8868285611a89565b6120e286846123f0565b5090949350505050565b61ffff86166000908152600160205260408120805461210a90612e70565b80601f016020809104026020016040519081016040528092919081815260200182805461213690612e70565b80156121835780601f1061215857610100808354040283529160200191612183565b820191906000526020600020905b81548152906001019060200180831161216657829003601f168201915b505050505090508051600014156121f55760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610864565b60405162c5803160e81b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7169063c580310090849061224c908b9086908c908c908c908c90600401613212565b6000604051808303818588803b15801561226557600080fd5b505af1158015612279573d6000803e3d6000fd5b505050505050505050505050565b6000808280602001905181019061229e919061326c565b9093509150600090506122b18382612524565b90506122be878284612589565b9150806001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8460405161230091815260200190565b60405180910390a350505050505050565b600061231c8361259c565b61ffff80871660009081526002602090815260408083209389168352929052908120549192509061234e908490612fa3565b9050600081116123a05760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610864565b80821015610fae5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610864565b6001600160a01b0382166124505760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610864565b6001600160a01b038216600090815260066020526040902054818110156124c45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610864565b6001600160a01b03831660008181526006602090815260408083208686039055600880548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6000612531826014612fa3565b835110156125795760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610864565b500160200151600160601b900490565b600061259583836125f8565b5092915050565b60006022825110156125f05760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610864565b506022015190565b6001600160a01b03821661264e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610864565b80600860008282546126609190612fa3565b90915550506001600160a01b0382166000818152600660209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b8280546126c590612e70565b90600052602060002090601f0160209004810192826126e7576000855561272d565b82601f1061270057805160ff191683800117855561272d565b8280016001018555821561272d579182015b8281111561272d578251825591602001919060010190612712565b506127399291506127b1565b5090565b82805461274990612e70565b90600052602060002090601f01602090048101928261276b576000855561272d565b82601f106127845782800160ff1982351617855561272d565b8280016001018555821561272d579182015b8281111561272d578235825591602001919060010190612796565b5b8082111561273957600081556001016127b2565b61ffff811681146117a957600080fd5b60008083601f8401126127e857600080fd5b5081356001600160401b038111156127ff57600080fd5b60208301915083602082850101111561281757600080fd5b9250929050565b80356001600160401b038116811461283557600080fd5b919050565b6000806000806000806080878903121561285357600080fd5b863561285e816127c6565b955060208701356001600160401b038082111561287a57600080fd5b6128868a838b016127d6565b909750955085915061289a60408a0161281e565b945060608901359150808211156128b057600080fd5b506128bd89828a016127d6565b979a9699509497509295939492505050565b6000602082840312156128e157600080fd5b81356001600160e01b03198116811461119357600080fd5b60005b838110156129145781810151838201526020016128fc565b83811115611afd5750506000910152565b6000815180845261293d8160208601602086016128f9565b601f01601f19169290920160200192915050565b6020815260006111936020830184612925565b60006020828403121561297657600080fd5b8135611193816127c6565b6001600160a01b03811681146117a957600080fd5b600080604083850312156129a957600080fd5b82356129b481612981565b946020939093013593505050565b6000806000606084860312156129d757600080fd5b83356129e281612981565b925060208401356129f281612981565b929592945050506040919091013590565b8035801515811461283557600080fd5b600080600080600080600060a0888a031215612a2e57600080fd5b8735612a39816127c6565b965060208801356001600160401b0380821115612a5557600080fd5b612a618b838c016127d6565b909850965060408a01359550869150612a7c60608b01612a03565b945060808a0135915080821115612a9257600080fd5b50612a9f8a828b016127d6565b989b979a50959850939692959293505050565b600080600060408486031215612ac757600080fd5b8335612ad2816127c6565b925060208401356001600160401b03811115612aed57600080fd5b612af9868287016127d6565b9497909650939450505050565b600080600080600080600080600060e08a8c031215612b2457600080fd5b8935612b2f81612981565b985060208a0135612b3f816127c6565b975060408a01356001600160401b0380821115612b5b57600080fd5b612b678d838e016127d6565b909950975060608c0135965060808c01359150612b8382612981565b90945060a08b013590612b9582612981565b90935060c08b01359080821115612bab57600080fd5b50612bb88c828d016127d6565b915080935050809150509295985092959850929598565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612c0d57612c0d612bcf565b604052919050565b60006001600160401b03821115612c2e57612c2e612bcf565b50601f01601f191660200190565b600080600060608486031215612c5157600080fd5b8335612c5c816127c6565b925060208401356001600160401b03811115612c7757600080fd5b8401601f81018613612c8857600080fd5b8035612c9b612c9682612c15565b612be5565b818152876020838501011115612cb057600080fd5b81602084016020830137600060208383010152809450505050612cd56040850161281e565b90509250925092565b600060208284031215612cf057600080fd5b813561119381612981565b60008060408385031215612d0e57600080fd5b8235612d19816127c6565b91506020830135612d29816127c6565b809150509250929050565b600080600080600060808688031215612d4c57600080fd5b8535612d57816127c6565b94506020860135612d67816127c6565b93506040860135925060608601356001600160401b03811115612d8957600080fd5b612d95888289016127d6565b969995985093965092949392505050565b60008060408385031215612db957600080fd5b8235612dc481612981565b91506020830135612d2981612981565b600080600060608486031215612de957600080fd5b8335612df4816127c6565b925060208401356129f2816127c6565b600060208284031215612e1657600080fd5b61119382612a03565b60008060008060808587031215612e3557600080fd5b8435612e40816127c6565b93506020850135612e50816127c6565b92506040850135612e6081612981565b9396929550929360600135925050565b600181811c90821680612e8457607f821691505b60208210811415612ea557634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff85168152606060208201526000612f02606083018587612ebb565b905082604083015295945050505050565b61ffff871681526001600160a01b038616602082015260a060408201819052600090612f4190830187612925565b85151560608401528281036080840152612f5c818587612ebb565b9998505050505050505050565b60008060408385031215612f7c57600080fd5b505080516020909101519092909150565b634e487b7160e01b600052601160045260246000fd5b60008219821115612fb657612fb6612f8d565b500190565b61ffff84168152604060208201526000611854604083018486612ebb565b600082821015612feb57612feb612f8d565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600061ffff808816835280871660208401525084604083015260806060830152613044608083018486612ebb565b979650505050505050565b61ffff8616815260806020820152600061306d608083018688612ebb565b6001600160401b0394909416604083015250606001529392505050565b600082601f83011261309b57600080fd5b81516130a9612c9682612c15565b8181528460208386010111156130be57600080fd5b6130cf8260208301602087016128f9565b949350505050565b6000602082840312156130e957600080fd5b81516001600160401b038111156130ff57600080fd5b6130cf8482850161308a565b61ffff851681526080602082015260006131286080830186612925565b6001600160401b038516604084015282810360608401526130448185612925565b61ffff841681526060602082015260006131666060830185612925565b9050826040830152949350505050565b6040815260006131896040830185612925565b90508260208301529392505050565b600082516131aa8184602087016128f9565b9190910192915050565b61ffff8616815260a0602082015260006131d160a0830187612925565b6001600160401b038616604084015282810360608401526131f28186612925565b905082810360808401526132068185612925565b98975050505050505050565b61ffff8716815260c06020820152600061322f60c0830188612925565b82810360408401526132418188612925565b6001600160a01b0387811660608601528616608085015283810360a08501529050612f5c8185612925565b60008060006060848603121561328157600080fd5b835161328c816127c6565b60208501519093506001600160401b038111156132a857600080fd5b6132b48682870161308a565b92505060408401519050925092509256fea264697066735822122029dfb9e604c750b3ca9794f6053ef99365484eba20d7806db00fdf080dba3aaf64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
-----Decoded View---------------
Arg [0] : _layerZeroEndpoint (address): 0xb6319cC6c8c27A8F5dAF0dD3DF91EA35C4720dd7
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
Deployed Bytecode Sourcemap
184:120:23:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1035:753:3;;;;;;;;;;-1:-1:-1;1035:753:3;;;;;:::i;:::-;;:::i;:::-;;438:253:7;;;;;;;;;;-1:-1:-1;438:253:7;;;;;:::i;:::-;;:::i;:::-;;;2048:14:25;;2041:22;2023:41;;2011:2;1996:18;438:253:7;;;;;;;;2154:98:13;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3834:121:3:-;;;;;;;;;;-1:-1:-1;3834:121:3;;;;;:::i;:::-;;:::i;4431:197:13:-;;;;;;;;;;-1:-1:-1;4431:197:13;;;;;:::i;:::-;;:::i;3961:127:3:-;;;;;;;;;;-1:-1:-1;3961:127:3;;;;;:::i;:::-;;:::i;3242:106:13:-;;;;;;;;;;-1:-1:-1;3329:12:13;;3242:106;;;3678:25:25;;;3666:2;3651:18;3242:106:13;3532:177:25;5190:286:13;;;;;;;;;;-1:-1:-1;5190:286:13;;;;;:::i;:::-;;:::i;728:423:8:-;;;;;;;;;;-1:-1:-1;728:423:8;;;;;:::i;:::-;;:::i;:::-;;;;5507:25:25;;;5563:2;5548:18;;5541:34;;;;5480:18;728:423:8;5333:248:25;3091:91:13;;;;;;;;;;-1:-1:-1;3091:91:13;;3173:2;5728:36:25;;5716:2;5701:18;3091:91:13;5586:184:25;5871:234:13;;;;;;;;;;-1:-1:-1;5871:234:13;;;;;:::i;:::-;;:::i;5744:247:3:-;;;;;;;;;;-1:-1:-1;5744:247:3;;;;;:::i;:::-;;:::i;4094:176::-;;;;;;;;;;-1:-1:-1;4094:176:3;;;;;:::i;:::-;;:::i;293:37:8:-;;;;;;;;;;;;329:1;293:37;;356:34;;;;;;;;;;;;389:1;356:34;;;;;6496:6:25;6484:19;;;6466:38;;6454:2;6439:18;356:34:8;6322:188:25;1157:332:8;;;;;;:::i;:::-;;:::i;617:85:4:-;;;;;;;;;;-1:-1:-1;617:85:4;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1820:342;;;;;;;;;;-1:-1:-1;1820:342:4;;;;;:::i;:::-;;:::i;3406:125:13:-;;;;;;;;;;-1:-1:-1;3406:125:13;;;;;:::i;:::-;-1:-1:-1;;;;;3506:18:13;3480:7;3506:18;;;:9;:18;;;;;;;3406:125;1831:101:12;;;;;;;;;;;;;:::i;520:51:3:-;;;;;;;;;;-1:-1:-1;520:51:3;;;;;:::i;:::-;;:::i;577:65::-;;;;;;;;;;-1:-1:-1;577:65:3;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1201:85:12;;;;;;;;;;-1:-1:-1;1247:7:12;1273:6;-1:-1:-1;;;;;1273:6:12;1201:85;;;-1:-1:-1;;;;;10567:32:25;;;10549:51;;10537:2;10522:18;1201:85:12;10403:203:25;804:110:7;;;;;;;;;;;;;:::i;648:23:3:-;;;;;;;;;;-1:-1:-1;648:23:3;;;;-1:-1:-1;;;;;648:23:3;;;2365:102:13;;;;;;;;;;;;;:::i;4898:326:3:-;;;;;;;;;;-1:-1:-1;4898:326:3;;;;;:::i;:::-;;:::i;6592:427:13:-;;;;;;;;;;-1:-1:-1;6592:427:13;;;;;:::i;:::-;;:::i;4614:278:3:-;;;;;;;;;;-1:-1:-1;4614:278:3;;;;;:::i;:::-;;:::i;3727:189:13:-;;;;;;;;;;-1:-1:-1;3727:189:13;;;;;:::i;:::-;;:::i;468:46:3:-;;;;;;;;;;;;;;;5230:133;;;;;;;;;;-1:-1:-1;5230:133:3;;;;;:::i;:::-;;:::i;3626:202::-;;;;;;;;;;-1:-1:-1;3626:202:3;;;;;:::i;:::-;;:::i;2343:757:4:-;;;;;;:::i;:::-;;:::i;3974:149:13:-;;;;;;;;;;-1:-1:-1;3974:149:13;;;;;:::i;:::-;;:::i;5369:280:3:-;;;;;;;;;;-1:-1:-1;5369:280:3;;;;;:::i;:::-;;:::i;1495:220:8:-;;;;;;;;;;-1:-1:-1;1495:220:8;;;;;:::i;:::-;;:::i;4413:195:3:-;;;;;;;;;;-1:-1:-1;4413:195:3;;;;;:::i;:::-;;:::i;397:34:8:-;;;;;;;;;;-1:-1:-1;397:34:8;;;;;;;;2081:198:12;;;;;;;;;;-1:-1:-1;2081:198:12;;;;;:::i;:::-;;:::i;3358:209:3:-;;;;;;;;;;-1:-1:-1;3358:209:3;;;;;:::i;:::-;;:::i;697:101:7:-;;;;;;;;;;-1:-1:-1;786:4:7;697:101;;1035:753:3;719:10:19;1273::3;-1:-1:-1;;;;;1249:35:3;;1241:78;;;;-1:-1:-1;;;1241:78:3;;13436:2:25;1241:78:3;;;13418:21:25;13475:2;13455:18;;;13448:30;13514:32;13494:18;;;13487:60;13564:18;;1241:78:3;;;;;;;;;1359:32;;;1330:26;1359:32;;;:19;:32;;;;;1330:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1563:13;:20;1541:11;;:18;;:42;:70;;;;;1610:1;1587:13;:20;:24;1541:70;:124;;;;-1:-1:-1;1641:24:3;;;;;;1615:22;;;;1625:11;;;;1615:22;:::i;:::-;;;;;;;;:50;1541:124;1533:175;;;;-1:-1:-1;;;1533:175:3;;14456:2:25;1533:175:3;;;14438:21:25;14495:2;14475:18;;;14468:30;14534:34;14514:18;;;14507:62;-1:-1:-1;;;14585:18:25;;;14578:36;14631:19;;1533:175:3;14254:402:25;1533:175:3;1719:62;1738:11;1751;;1719:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1719:62:3;;;;;;;;;;;;;;;;;;;;;;1764:6;;-1:-1:-1;1719:62:3;-1:-1:-1;1772:8:3;;;;;;1719:62;;1772:8;;;;1719:62;;;;;;;;;-1:-1:-1;1719:18:3;;-1:-1:-1;;;1719:62:3:i;:::-;1166:622;1035:753;;;;;;:::o;438:253:7:-;541:4;-1:-1:-1;;;;;;564:37:7;;;;:80;;-1:-1:-1;;;;;;;605:39:7;;-1:-1:-1;;;605:39:7;564:80;:120;;;;648:36;672:11;648:23;:36::i;:::-;557:127;438:253;-1:-1:-1;;438:253:7:o;2154:98:13:-;2208:13;2240:5;2233:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98;:::o;3834:121:3:-;1094:13:12;:11;:13::i;:::-;3913:35:3::1;::::0;-1:-1:-1;;;3913:35:3;;6496:6:25;6484:19;;3913:35:3::1;::::0;::::1;6466:38:25::0;3913:10:3::1;-1:-1:-1::0;;;;;3913:25:3::1;::::0;::::1;::::0;6439:18:25;;3913:35:3::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3834:121:::0;:::o;4431:197:13:-;4514:4;719:10:19;4568:32:13;719:10:19;4584:7:13;4593:6;4568:8;:32::i;:::-;-1:-1:-1;4617:4:13;;4431:197;-1:-1:-1;;;4431:197:13:o;3961:127:3:-;1094:13:12;:11;:13::i;:::-;4043:38:3::1;::::0;-1:-1:-1;;;4043:38:3;;6496:6:25;6484:19;;4043:38:3::1;::::0;::::1;6466::25::0;4043:10:3::1;-1:-1:-1::0;;;;;4043:28:3::1;::::0;::::1;::::0;6439:18:25;;4043:38:3::1;6322:188:25::0;5190:286:13;5317:4;719:10:19;5373:38:13;5389:4;719:10:19;5404:6:13;5373:15;:38::i;:::-;5421:27;5431:4;5437:2;5441:6;5421:9;:27::i;:::-;-1:-1:-1;5465:4:13;;5190:286;-1:-1:-1;;;;5190:286:13:o;728:423:8:-;897:14;913:11;979:20;389:1;1022:10;;1034:7;1002:40;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1002:40:8;;;;;;;;;;-1:-1:-1;;;1059:85:8;;1002:40;-1:-1:-1;;;;;;1059:10:8;:23;;;;:85;;1083:11;;1104:4;;1002:40;;1120:7;;1129:14;;;;1059:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1052:92;;;;;728:423;;;;;;;;;;:::o;5871:234:13:-;5959:4;719:10:19;6013:64:13;719:10:19;6029:7:13;6066:10;6038:25;719:10:19;6029:7:13;6038:9;:25::i;:::-;:38;;;;:::i;:::-;6013:8;:64::i;5744:247:3:-;5885:32;;;5840:4;5885:32;;;:19;:32;;;;;5856:61;;5840:4;;5885:32;5856:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5972:11;;5962:22;;;;;;;:::i;:::-;;;;;;;;5944:13;5934:24;;;;;;:50;5927:57;;;5744:247;;;;;:::o;4094:176::-;1094:13:12;:11;:13::i;:::-;4208:55:3::1;::::0;-1:-1:-1;;;4208:55:3;;-1:-1:-1;;;;;4208:10:3::1;:29;::::0;::::1;::::0;:55:::1;::::0;4238:11;;4251;;;;4208:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;1157:332:8::0;1384:98;1390:5;1397:11;1410:10;;1384:98;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1384:98:8;;;;;;;;;;;;;;;;;;;;;;1422:7;;-1:-1:-1;1431:14:8;;-1:-1:-1;1447:18:8;;1467:14;;;;;;1384:98;;1467:14;;;;1384:98;;;;;;;;;-1:-1:-1;1384:5:8;;-1:-1:-1;;;1384:98:8:i;:::-;1157:332;;;;;;;;;:::o;1820:342:4:-;719:10:19;2032:4:4;2008:29;2000:80;;;;-1:-1:-1;;;2000:80:4;;17055:2:25;2000:80:4;;;17037:21:25;17094:2;17074:18;;;17067:30;17133:34;17113:18;;;17106:62;-1:-1:-1;;;17184:18:25;;;17177:36;17230:19;;2000:80:4;16853:402:25;2000:80:4;2090:65;2112:11;2125;;2090:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2090:65:4;;;;;;;;;;;;;;;;;;;;;;2138:6;;-1:-1:-1;2090:65:4;-1:-1:-1;2146:8:4;;;;;;2090:65;;2146:8;;;;2090:65;;;;;;;;;-1:-1:-1;2090:21:4;;-1:-1:-1;;;2090:65:4:i;:::-;1820:342;;;;;;:::o;1831:101:12:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;520:51:3:-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;804:110:7:-;871:4;894:13;3329:12:13;;;3242:106;894:13:7;887:20;;804:110;:::o;2365:102:13:-;2421:13;2453:7;2446:14;;;;;:::i;4898:326:3:-;5021:35;;;5001:17;5021:35;;;:19;:35;;;;;5001:55;;4977:12;;5001:17;5021:35;5001:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5074:4;:11;5089:1;5074:16;;5066:58;;;;-1:-1:-1;;;5066:58:3;;17462:2:25;5066:58:3;;;17444:21:25;17501:2;17481:18;;;17474:30;17540:31;17520:18;;;17513:59;17589:18;;5066:58:3;17260:353:25;5066:58:3;5141:31;5152:1;5169:2;5155:4;:11;:16;;;;:::i;:::-;5141:4;;:31;:10;:31::i;:::-;5134:38;4898:326;-1:-1:-1;;;4898:326:3:o;6592:427:13:-;6685:4;719:10:19;6685:4:13;6766:25;719:10:19;6783:7:13;6766:9;:25::i;:::-;6739:52;;6829:15;6809:16;:35;;6801:85;;;;-1:-1:-1;;;6801:85:13;;17950:2:25;6801:85:13;;;17932:21:25;17989:2;17969:18;;;17962:30;18028:34;18008:18;;;18001:62;-1:-1:-1;;;18079:18:25;;;18072:35;18124:19;;6801:85:13;17748:401:25;6801:85:13;6920:60;6929:5;6936:7;6964:15;6945:16;:34;6920:8;:60::i;4614:278:3:-;1094:13:12;:11;:13::i;:::-;4785:14:3::1;;4809:4;4768:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;4768:47:3;;::::1;::::0;;;;;;4730:35:::1;::::0;::::1;;::::0;;;:19:::1;4768:47;4730:35:::0;;;;;;:85;;::::1;::::0;:35;;:85;;::::1;::::0;::::1;:::i;:::-;;4830:55;4854:14;4870;;4830:55;;;;;;;;:::i;:::-;;;;;;;;4614:278:::0;;;:::o;3727:189:13:-;3806:4;719:10:19;3860:28:13;719:10:19;3877:2:13;3881:6;3860:9;:28::i;5230:133:3:-;1094:13:12;:11;:13::i;:::-;5299:8:3::1;:20:::0;;-1:-1:-1;;;;;;5299:20:3::1;-1:-1:-1::0;;;;;5299:20:3;::::1;::::0;;::::1;::::0;;;5334:22:::1;::::0;10549:51:25;;;5334:22:3::1;::::0;10537:2:25;10522:18;5334:22:3::1;;;;;;;;5230:133:::0;:::o;3626:202::-;1094:13:12;:11;:13::i;:::-;3759:62:3::1;::::0;-1:-1:-1;;;3759:62:3;;-1:-1:-1;;;;;3759:10:3::1;:20;::::0;::::1;::::0;:62:::1;::::0;3780:8;;3790;;3800:11;;3813:7;;;;3759:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;2343:757:4::0;2552:27;;;2530:19;2552:27;;;:14;:27;;;;;;:40;;;;2580:11;;;;2552:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2552:48:4;;;;;;;;;;;;-1:-1:-1;2552:48:4;2610:73;;;;-1:-1:-1;;;2610:73:4;;19246:2:25;2610:73:4;;;19228:21:25;19285:2;19265:18;;;19258:30;19324:34;19304:18;;;19297:62;-1:-1:-1;;;19375:18:25;;;19368:33;19418:19;;2610:73:4;19044:399:25;2610:73:4;2724:11;2711:8;;2701:19;;;;;;;:::i;:::-;;;;;;;;:34;2693:80;;;;-1:-1:-1;;;2693:80:4;;19650:2:25;2693:80:4;;;19632:21:25;19689:2;19669:18;;;19662:30;19728:34;19708:18;;;19701:62;-1:-1:-1;;;19779:18:25;;;19772:31;19820:19;;2693:80:4;19448:397:25;2693:80:4;2819:27;;;2878:1;2819:27;;;:14;:27;;;;;;:40;;;;2847:11;;;;2819:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;2819:48:4;;;;;;;;;;;;:61;;;;2947:65;;;;;;;;;;;;;;;;;;;2969:11;;2982;;2947:65;;;;;;2982:11;2947:65;;2982:11;2947:65;;;;;;;;;-1:-1:-1;;2947:65:4;;;;;;;;;;;;;;;;;;;;;;2995:6;;-1:-1:-1;2947:65:4;-1:-1:-1;3003:8:4;;;;;;2947:65;;3003:8;;;;2947:65;;;;;;;;;-1:-1:-1;2947:21:4;;-1:-1:-1;;;2947:65:4:i;:::-;3027:66;3047:11;3060;;3073:6;3081:11;3027:66;;;;;;;;;;:::i;:::-;;;;;;;;2476:624;2343:757;;;;;;:::o;3974:149:13:-;-1:-1:-1;;;;;4089:18:13;;;4063:7;4089:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3974:149::o;5369:280:3:-;1094:13:12;:11;:13::i;:::-;5492:1:3::1;5482:7;:11;5474:45;;;::::0;-1:-1:-1;;;5474:45:3;;20550:2:25;5474:45:3::1;::::0;::::1;20532:21:25::0;20589:2;20569:18;;;20562:30;-1:-1:-1;;;20608:18:25;;;20601:51;20669:18;;5474:45:3::1;20348:345:25::0;5474:45:3::1;5529:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;5595:47;;20921:34:25;;;20971:18;;20964:43;;;;21023:18;;;21016:34;;;5595:47:3::1;::::0;20884:2:25;20869:18;5595:47:3::1;20698:358:25::0;1495:220:8;1094:13:12;:11;:13::i;:::-;1595:22:8::1;:48:::0;;-1:-1:-1;;1595:48:8::1;::::0;::::1;;::::0;;::::1;::::0;;;1658:50:::1;::::0;2023:41:25;;;1658:50:8::1;::::0;2011:2:25;1996:18;1658:50:8::1;1883:187:25::0;4413:195:3;1094:13:12;:11;:13::i;:::-;4510:32:3::1;::::0;::::1;;::::0;;;:19:::1;:32;::::0;;;;:40:::1;::::0;4545:5;;4510:40:::1;:::i;:::-;;4565:36;4582:11;4595:5;;4565:36;;;;;;;;:::i;2081:198:12:-:0;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:12;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:12;;21263:2:25;2161:73:12::1;::::0;::::1;21245:21:25::0;21302:2;21282:18;;;21275:30;21341:34;21321:18;;;21314:62;-1:-1:-1;;;21392:18:25;;;21385:36;21438:19;;2161:73:12::1;21061:402:25::0;2161:73:12::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;3358:209:3:-;3492:68;;-1:-1:-1;;;3492:68:3;;21705:6:25;21738:15;;;3492:68:3;;;21720:34:25;21790:15;;21770:18;;;21763:43;3541:4:3;21822:18:25;;;21815:60;21891:18;;;21884:34;;;3461:12:3;;3492:10;-1:-1:-1;;;;;3492:20:3;;;;21667:19:25;;3492:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3492:68:3;;;;;;;;;;;;:::i;:::-;3485:75;3358:209;-1:-1:-1;;;;;3358:209:3:o;980:508:4:-;1129:12;1143:19;1166:153;1200:9;1211:3;1239:34;;;1275:11;1288;1301:6;1309:8;1216:102;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1216:102:4;;;;;;;;;;;;;;-1:-1:-1;;;;;1216:102:4;-1:-1:-1;;;;;;1216:102:4;;;;;;;;;;1174:4;;1166:153;;:33;:153::i;:::-;1128:191;;;;1377:7;1372:110;;1400:71;1420:11;1433;1446:6;1454:8;1464:6;1400:19;:71::i;509:213:8:-;611:4;-1:-1:-1;;;;;;634:41:8;;-1:-1:-1;;;634:41:8;;:81;;-1:-1:-1;;;;;;;;;;937:40:20;;;679:36:8;829:155:20;1359:130:12;1247:7;1273:6;-1:-1:-1;;;;;1273:6:12;719:10:19;1422:23:12;1414:68;;;;-1:-1:-1;;;1414:68:12;;23466:2:25;1414:68:12;;;23448:21:25;;;23485:18;;;23478:30;23544:34;23524:18;;;23517:62;23596:18;;1414:68:12;23264:356:25;10504:370:13;-1:-1:-1;;;;;10635:19:13;;10627:68;;;;-1:-1:-1;;;10627:68:13;;23827:2:25;10627:68:13;;;23809:21:25;23866:2;23846:18;;;23839:30;23905:34;23885:18;;;23878:62;-1:-1:-1;;;23956:18:25;;;23949:34;24000:19;;10627:68:13;23625:400:25;10627:68:13;-1:-1:-1;;;;;10713:21:13;;10705:68;;;;-1:-1:-1;;;10705:68:13;;24232:2:25;10705:68:13;;;24214:21:25;24271:2;24251:18;;;24244:30;24310:34;24290:18;;;24283:62;-1:-1:-1;;;24361:18:25;;;24354:32;24403:19;;10705:68:13;24030:398:25;10705:68:13;-1:-1:-1;;;;;10784:18:13;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10835:32;;3678:25:25;;;10835:32:13;;3651:18:25;10835:32:13;;;;;;;10504:370;;;:::o;11155:441::-;11285:24;11312:25;11322:5;11329:7;11312:9;:25::i;:::-;11285:52;;-1:-1:-1;;11351:16:13;:37;11347:243;;11432:6;11412:16;:26;;11404:68;;;;-1:-1:-1;;;11404:68:13;;24635:2:25;11404:68:13;;;24617:21:25;24674:2;24654:18;;;24647:30;24713:31;24693:18;;;24686:59;24762:18;;11404:68:13;24433:353:25;11404:68:13;11514:51;11523:5;11530:7;11558:6;11539:16;:25;11514:8;:51::i;:::-;11275:321;11155:441;;;:::o;7473:818::-;-1:-1:-1;;;;;7599:18:13;;7591:68;;;;-1:-1:-1;;;7591:68:13;;24993:2:25;7591:68:13;;;24975:21:25;25032:2;25012:18;;;25005:30;25071:34;25051:18;;;25044:62;-1:-1:-1;;;25122:18:25;;;25115:35;25167:19;;7591:68:13;24791:401:25;7591:68:13;-1:-1:-1;;;;;7677:16:13;;7669:64;;;;-1:-1:-1;;;7669:64:13;;25399:2:25;7669:64:13;;;25381:21:25;25438:2;25418:18;;;25411:30;25477:34;25457:18;;;25450:62;-1:-1:-1;;;25528:18:25;;;25521:33;25571:19;;7669:64:13;25197:399:25;7669:64:13;-1:-1:-1;;;;;7815:15:13;;7793:19;7815:15;;;:9;:15;;;;;;7848:21;;;;7840:72;;;;-1:-1:-1;;;7840:72:13;;25803:2:25;7840:72:13;;;25785:21:25;25842:2;25822:18;;;25815:30;25881:34;25861:18;;;25854:62;-1:-1:-1;;;25932:18:25;;;25925:36;25978:19;;7840:72:13;25601:402:25;7840:72:13;-1:-1:-1;;;;;7946:15:13;;;;;;;:9;:15;;;;;;7964:20;;;7946:38;;8161:13;;;;;;;;;;:23;;;;;;8210:26;;;;;;7978:6;3678:25:25;;3666:2;3651:18;;3532:177;8210:26:13;;;;;;;;8247:37;12180:121;2165:605:8;2370:71;2390:11;389:1;2412:14;329:1;2370:19;:71::i;:::-;2452:11;2466:51;2477:5;2484:11;2497:10;2509:7;2466:10;:51::i;:::-;2452:65;;2528:22;389:1;2573:10;2585:6;2553:39;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2528:64;;2602:94;2610:11;2623:9;2634:14;2650:18;2670:14;2686:9;2602:7;:94::i;:::-;2737:5;-1:-1:-1;;;;;2712:51:8;2724:11;2712:51;;;2744:10;2756:6;2712:51;;;;;;;:::i;:::-;;;;;;;;2360:410;;2165:605;;;;;;;:::o;1721:438::-;1956:2;1942:17;;1936:24;1984:21;;;1980:173;;2021:52;2030:11;2043;2056:6;2064:8;2021;:52::i;:::-;1980:173;;;2104:38;;-1:-1:-1;;;2104:38:8;;26880:2:25;2104:38:8;;;26862:21:25;26919:2;26899:18;;;26892:30;26958;26938:18;;;26931:58;27006:18;;2104:38:8;26678:352:25;2433:187:12;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:12;;;-1:-1:-1;;;;;;2541:17:12;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;8865:2712:10:-;8999:12;9051:7;9035:12;9051:7;9045:2;9035:12;:::i;:::-;:23;;9027:50;;;;-1:-1:-1;;;9027:50:10;;27237:2:25;9027:50:10;;;27219:21:25;27276:2;27256:18;;;27249:30;-1:-1:-1;;;27295:18:25;;;27288:44;27349:18;;9027:50:10;27035:338:25;9027:50:10;9112:16;9121:7;9112:6;:16;:::i;:::-;9095:6;:13;:33;;9087:63;;;;-1:-1:-1;;;9087:63:10;;27580:2:25;9087:63:10;;;27562:21:25;27619:2;27599:18;;;27592:30;-1:-1:-1;;;27638:18:25;;;27631:47;27695:18;;9087:63:10;27378:341:25;9087:63:10;9161:22;9224:15;;9252:1895;;;;11288:4;11282:11;11269:24;;11466:1;11455:9;11448:20;11514:4;11503:9;11499:20;11493:4;11486:34;9217:2317;;9252:1895;9426:4;9420:11;9407:24;;10053:2;10044:7;10040:16;10419:9;10412:17;10406:4;10402:28;10390:9;10379;10375:25;10371:60;10467:7;10463:2;10459:16;10711:6;10697:9;10690:17;10684:4;10680:28;10668:9;10660:6;10656:22;10652:57;10648:70;10493:417;10744:3;10740:2;10737:11;10493:417;;;10882:9;;10871:21;;10785:4;10777:13;;;;10817;10493:417;;;-1:-1:-1;;10928:26:10;;;11128:2;11111:11;-1:-1:-1;;11107:25:10;11101:4;11094:39;-1:-1:-1;9217:2317:10;-1:-1:-1;11561:9:10;8865:2712;-1:-1:-1;;;;8865:2712:10:o;1118:1240:11:-;1275:4;1281:12;1341:15;1366:13;1389:24;1426:8;1416:19;;-1:-1:-1;;;;;1416:19:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1416:19:11;;1389:46;;1904:1;1879;1846:9;1840:16;1812:4;1801:9;1797:20;1767:1;1733:7;1708:4;1690:239;1678:251;;1992:16;1981:27;;2036:8;2027:7;2024:21;2021:76;;;2075:8;2064:19;;2021:76;2178:7;2165:11;2158:28;2294:7;2291:1;2284:4;2271:11;2267:22;2252:50;2329:8;;;;-1:-1:-1;1118:1240:11;-1:-1:-1;;;;;;1118:1240:11:o;1494:320:4:-;1717:8;1707:19;;;;;;1656:14;:27;1671:11;1656:27;;;;;;;;;;;;;;;1684:11;1656:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;1656:48:4;;;;;;;;;:70;;;;1741:66;;;;1755:11;;1768;;1697:6;;1789:8;;1799:7;;1741:66;:::i;:::-;;;;;;;;1494:320;;;;;:::o;3150:367:8:-;3291:22;;;;3287:224;;;3329:63;3344:11;3357:7;3366:14;3382:9;3329:14;:63::i;:::-;3287:224;;;3431:21;;:26;3423:77;;;;-1:-1:-1;;;3423:77:8;;28929:2:25;3423:77:8;;;28911:21:25;28968:2;28948:18;;;28941:30;29007:34;28987:18;;;28980:62;-1:-1:-1;;;29058:18:25;;;29051:36;29104:19;;3423:77:8;28727:402:25;920:285:7;1025:4;719:10:19;-1:-1:-1;;;;;1085:16:7;;;;1081:62;;1103:40;1119:5;1126:7;1135;1103:15;:40::i;:::-;1153:21;1159:5;1166:7;1153:5;:21::i;:::-;-1:-1:-1;1191:7:7;;920:285;-1:-1:-1;;;;920:285:7:o;2072:491:3:-;2294:32;;;2265:26;2294:32;;;:19;:32;;;;;2265:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2344:13;:20;2368:1;2344:25;;2336:86;;;;-1:-1:-1;;;2336:86:3;;29336:2:25;2336:86:3;;;29318:21:25;29375:2;29355:18;;;29348:30;29414:34;29394:18;;;29387:62;-1:-1:-1;;;29465:18:25;;;29458:46;29521:19;;2336:86:3;29134:412:25;2336:86:3;2432:124;;-1:-1:-1;;;2432:124:3;;-1:-1:-1;;;;;2432:10:3;:15;;;;2455:10;;2432:124;;2467:11;;2480:13;;2495:8;;2505:14;;2521:18;;2541:14;;2432:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2255:308;2072:491;;;;;;:::o;2776:368:8:-;2889:27;2918:11;2944:8;2933:43;;;;;;;;;;;;:::i;:::-;2886:90;;-1:-1:-1;2886:90:8;-1:-1:-1;2987:10:8;;-1:-1:-1;3000:27:8;2886:90;2987:10;3000:24;:27::i;:::-;2987:40;;3047:34;3057:11;3070:2;3074:6;3047:9;:34::i;:::-;3038:43;;3126:2;-1:-1:-1;;;;;3096:41:8;3113:11;3096:41;;;3130:6;3096:41;;;;3678:25:25;;3666:2;3651:18;;3532:177;3096:41:8;;;;;;;;2876:268;;;2776:368;;;;:::o;2569:415:3:-;2704:21;2728:28;2741:14;2728:12;:28::i;:::-;2785;;;;2766:16;2785:28;;;:15;:28;;;;;;;;:35;;;;;;;;;;;;2704:52;;-1:-1:-1;2766:16:3;2785:47;;2823:9;;2785:47;:::i;:::-;2766:66;;2864:1;2850:11;:15;2842:54;;;;-1:-1:-1;;;2842:54:3;;31125:2:25;2842:54:3;;;31107:21:25;31164:2;31144:18;;;31137:30;31203:28;31183:18;;;31176:56;31249:18;;2842:54:3;30923:350:25;2842:54:3;2934:11;2914:16;:31;;2906:71;;;;-1:-1:-1;;;2906:71:3;;31480:2:25;2906:71:3;;;31462:21:25;31519:2;31499:18;;;31492:30;31558:29;31538:18;;;31531:57;31605:18;;2906:71:3;31278:351:25;9422:659:13;-1:-1:-1;;;;;9505:21:13;;9497:67;;;;-1:-1:-1;;;9497:67:13;;31836:2:25;9497:67:13;;;31818:21:25;31875:2;31855:18;;;31848:30;31914:34;31894:18;;;31887:62;-1:-1:-1;;;31965:18:25;;;31958:31;32006:19;;9497:67:13;31634:397:25;9497:67:13;-1:-1:-1;;;;;9660:18:13;;9635:22;9660:18;;;:9;:18;;;;;;9696:24;;;;9688:71;;;;-1:-1:-1;;;9688:71:13;;32238:2:25;9688:71:13;;;32220:21:25;32277:2;32257:18;;;32250:30;32316:34;32296:18;;;32289:62;-1:-1:-1;;;32367:18:25;;;32360:32;32409:19;;9688:71:13;32036:398:25;9688:71:13;-1:-1:-1;;;;;9793:18:13;;;;;;:9;:18;;;;;;;;9814:23;;;9793:44;;9930:12;:22;;;;;;;9978:37;3678:25:25;;;9793:18:13;;;9978:37;;3651:18:25;9978:37:13;;;;;;;12180:121;;;:::o;11583:354:10:-;11662:7;11706:11;:6;11715:2;11706:11;:::i;:::-;11689:6;:13;:28;;11681:62;;;;-1:-1:-1;;;11681:62:10;;32641:2:25;11681:62:10;;;32623:21:25;32680:2;32660:18;;;32653:30;-1:-1:-1;;;32699:18:25;;;32692:51;32760:18;;11681:62:10;32439:345:25;11681:62:10;-1:-1:-1;11831:30:10;11847:4;11831:30;11825:37;-1:-1:-1;;;11821:71:10;;;11583:354::o;1211:168:7:-;1306:4;1322:26;1328:10;1340:7;1322:5;:26::i;:::-;-1:-1:-1;1365:7:7;1211:168;-1:-1:-1;;1211:168:7:o;2990:266:3:-;3072:13;3130:2;3105:14;:21;:27;;3097:68;;;;-1:-1:-1;;;3097:68:3;;32991:2:25;3097:68:3;;;32973:21:25;33030:2;33010:18;;;33003:30;33069;33049:18;;;33042:58;33117:18;;3097:68:3;32789:352:25;3097:68:3;-1:-1:-1;3236:2:3;3216:23;3210:30;;2990:266::o;8567:535:13:-;-1:-1:-1;;;;;8650:21:13;;8642:65;;;;-1:-1:-1;;;8642:65:13;;33348:2:25;8642:65:13;;;33330:21:25;33387:2;33367:18;;;33360:30;33426:33;33406:18;;;33399:61;33477:18;;8642:65:13;33146:355:25;8642:65:13;8794:6;8778:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8946:18:13;;;;;;:9;:18;;;;;;;;:28;;;;;;8999:37;3678:25:25;;;8999:37:13;;3651:18:25;8999:37:13;;;;;;;8567:535;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:117:25;99:6;92:5;88:18;81:5;78:29;68:57;;121:1;118;111:12;136:347;187:8;197:6;251:3;244:4;236:6;232:17;228:27;218:55;;269:1;266;259:12;218:55;-1:-1:-1;292:20:25;;-1:-1:-1;;;;;324:30:25;;321:50;;;367:1;364;357:12;321:50;404:4;396:6;392:17;380:29;;456:3;449:4;440:6;432;428:19;424:30;421:39;418:59;;;473:1;470;463:12;418:59;136:347;;;;;:::o;488:171::-;555:20;;-1:-1:-1;;;;;604:30:25;;594:41;;584:69;;649:1;646;639:12;584:69;488:171;;;:::o;664:923::-;770:6;778;786;794;802;810;863:3;851:9;842:7;838:23;834:33;831:53;;;880:1;877;870:12;831:53;919:9;906:23;938:30;962:5;938:30;:::i;:::-;987:5;-1:-1:-1;1043:2:25;1028:18;;1015:32;-1:-1:-1;;;;;1096:14:25;;;1093:34;;;1123:1;1120;1113:12;1093:34;1162:58;1212:7;1203:6;1192:9;1188:22;1162:58;:::i;:::-;1239:8;;-1:-1:-1;1136:84:25;-1:-1:-1;1136:84:25;;-1:-1:-1;1293:37:25;1326:2;1311:18;;1293:37;:::i;:::-;1283:47;;1383:2;1372:9;1368:18;1355:32;1339:48;;1412:2;1402:8;1399:16;1396:36;;;1428:1;1425;1418:12;1396:36;;1467:60;1519:7;1508:8;1497:9;1493:24;1467:60;:::i;:::-;664:923;;;;-1:-1:-1;664:923:25;;-1:-1:-1;664:923:25;;1546:8;;664:923;-1:-1:-1;;;664:923:25:o;1592:286::-;1650:6;1703:2;1691:9;1682:7;1678:23;1674:32;1671:52;;;1719:1;1716;1709:12;1671:52;1745:23;;-1:-1:-1;;;;;;1797:32:25;;1787:43;;1777:71;;1844:1;1841;1834:12;2075:258;2147:1;2157:113;2171:6;2168:1;2165:13;2157:113;;;2247:11;;;2241:18;2228:11;;;2221:39;2193:2;2186:10;2157:113;;;2288:6;2285:1;2282:13;2279:48;;;-1:-1:-1;;2323:1:25;2305:16;;2298:27;2075:258::o;2338:::-;2380:3;2418:5;2412:12;2445:6;2440:3;2433:19;2461:63;2517:6;2510:4;2505:3;2501:14;2494:4;2487:5;2483:16;2461:63;:::i;:::-;2578:2;2557:15;-1:-1:-1;;2553:29:25;2544:39;;;;2585:4;2540:50;;2338:258;-1:-1:-1;;2338:258:25:o;2601:220::-;2750:2;2739:9;2732:21;2713:4;2770:45;2811:2;2800:9;2796:18;2788:6;2770:45;:::i;2826:245::-;2884:6;2937:2;2925:9;2916:7;2912:23;2908:32;2905:52;;;2953:1;2950;2943:12;2905:52;2992:9;2979:23;3011:30;3035:5;3011:30;:::i;3076:131::-;-1:-1:-1;;;;;3151:31:25;;3141:42;;3131:70;;3197:1;3194;3187:12;3212:315;3280:6;3288;3341:2;3329:9;3320:7;3316:23;3312:32;3309:52;;;3357:1;3354;3347:12;3309:52;3396:9;3383:23;3415:31;3440:5;3415:31;:::i;:::-;3465:5;3517:2;3502:18;;;;3489:32;;-1:-1:-1;;;3212:315:25:o;3714:456::-;3791:6;3799;3807;3860:2;3848:9;3839:7;3835:23;3831:32;3828:52;;;3876:1;3873;3866:12;3828:52;3915:9;3902:23;3934:31;3959:5;3934:31;:::i;:::-;3984:5;-1:-1:-1;4041:2:25;4026:18;;4013:32;4054:33;4013:32;4054:33;:::i;:::-;3714:456;;4106:7;;-1:-1:-1;;;4160:2:25;4145:18;;;;4132:32;;3714:456::o;4175:160::-;4240:20;;4296:13;;4289:21;4279:32;;4269:60;;4325:1;4322;4315:12;4340:988;4453:6;4461;4469;4477;4485;4493;4501;4554:3;4542:9;4533:7;4529:23;4525:33;4522:53;;;4571:1;4568;4561:12;4522:53;4610:9;4597:23;4629:30;4653:5;4629:30;:::i;:::-;4678:5;-1:-1:-1;4734:2:25;4719:18;;4706:32;-1:-1:-1;;;;;4787:14:25;;;4784:34;;;4814:1;4811;4804:12;4784:34;4853:58;4903:7;4894:6;4883:9;4879:22;4853:58;:::i;:::-;4930:8;;-1:-1:-1;4827:84:25;-1:-1:-1;5012:2:25;4997:18;;4984:32;;-1:-1:-1;4827:84:25;;-1:-1:-1;5035:35:25;5066:2;5051:18;;5035:35;:::i;:::-;5025:45;;5123:3;5112:9;5108:19;5095:33;5079:49;;5153:2;5143:8;5140:16;5137:36;;;5169:1;5166;5159:12;5137:36;;5208:60;5260:7;5249:8;5238:9;5234:24;5208:60;:::i;:::-;4340:988;;;;-1:-1:-1;4340:988:25;;-1:-1:-1;4340:988:25;;;;5182:86;;-1:-1:-1;;;4340:988:25:o;5775:542::-;5853:6;5861;5869;5922:2;5910:9;5901:7;5897:23;5893:32;5890:52;;;5938:1;5935;5928:12;5890:52;5977:9;5964:23;5996:30;6020:5;5996:30;:::i;:::-;6045:5;-1:-1:-1;6101:2:25;6086:18;;6073:32;-1:-1:-1;;;;;6117:30:25;;6114:50;;;6160:1;6157;6150:12;6114:50;6199:58;6249:7;6240:6;6229:9;6225:22;6199:58;:::i;:::-;5775:542;;6276:8;;-1:-1:-1;6173:84:25;;-1:-1:-1;;;;5775:542:25:o;6515:1353::-;6657:6;6665;6673;6681;6689;6697;6705;6713;6721;6774:3;6762:9;6753:7;6749:23;6745:33;6742:53;;;6791:1;6788;6781:12;6742:53;6830:9;6817:23;6849:31;6874:5;6849:31;:::i;:::-;6899:5;-1:-1:-1;6956:2:25;6941:18;;6928:32;6969;6928;6969;:::i;:::-;7020:7;-1:-1:-1;7078:2:25;7063:18;;7050:32;-1:-1:-1;;;;;7131:14:25;;;7128:34;;;7158:1;7155;7148:12;7128:34;7197:58;7247:7;7238:6;7227:9;7223:22;7197:58;:::i;:::-;7274:8;;-1:-1:-1;7171:84:25;-1:-1:-1;7356:2:25;7341:18;;7328:32;;-1:-1:-1;7412:3:25;7397:19;;7384:33;;-1:-1:-1;7426:33:25;7384;7426;:::i;:::-;7478:7;;-1:-1:-1;7537:3:25;7522:19;;7509:33;;7551;7509;7551;:::i;:::-;7603:7;;-1:-1:-1;7663:3:25;7648:19;;7635:33;;7680:16;;;7677:36;;;7709:1;7706;7699:12;7677:36;;7748:60;7800:7;7789:8;7778:9;7774:24;7748:60;:::i;:::-;7722:86;;7827:8;7817:18;;;7854:8;7844:18;;;6515:1353;;;;;;;;;;;:::o;7873:127::-;7934:10;7929:3;7925:20;7922:1;7915:31;7965:4;7962:1;7955:15;7989:4;7986:1;7979:15;8005:275;8076:2;8070:9;8141:2;8122:13;;-1:-1:-1;;8118:27:25;8106:40;;-1:-1:-1;;;;;8161:34:25;;8197:22;;;8158:62;8155:88;;;8223:18;;:::i;:::-;8259:2;8252:22;8005:275;;-1:-1:-1;8005:275:25:o;8285:186::-;8333:4;-1:-1:-1;;;;;8358:6:25;8355:30;8352:56;;;8388:18;;:::i;:::-;-1:-1:-1;8454:2:25;8433:15;-1:-1:-1;;8429:29:25;8460:4;8425:40;;8285:186::o;8476:876::-;8560:6;8568;8576;8629:2;8617:9;8608:7;8604:23;8600:32;8597:52;;;8645:1;8642;8635:12;8597:52;8684:9;8671:23;8703:30;8727:5;8703:30;:::i;:::-;8752:5;-1:-1:-1;8808:2:25;8793:18;;8780:32;-1:-1:-1;;;;;8824:30:25;;8821:50;;;8867:1;8864;8857:12;8821:50;8890:22;;8943:4;8935:13;;8931:27;-1:-1:-1;8921:55:25;;8972:1;8969;8962:12;8921:55;9008:2;8995:16;9033:48;9049:31;9077:2;9049:31;:::i;:::-;9033:48;:::i;:::-;9104:2;9097:5;9090:17;9144:7;9139:2;9134;9130;9126:11;9122:20;9119:33;9116:53;;;9165:1;9162;9155:12;9116:53;9220:2;9215;9211;9207:11;9202:2;9195:5;9191:14;9178:45;9264:1;9259:2;9254;9247:5;9243:14;9239:23;9232:34;9285:5;9275:15;;;;;9309:37;9342:2;9331:9;9327:18;9309:37;:::i;:::-;9299:47;;8476:876;;;;;:::o;9539:247::-;9598:6;9651:2;9639:9;9630:7;9626:23;9622:32;9619:52;;;9667:1;9664;9657:12;9619:52;9706:9;9693:23;9725:31;9750:5;9725:31;:::i;10014:384::-;10080:6;10088;10141:2;10129:9;10120:7;10116:23;10112:32;10109:52;;;10157:1;10154;10147:12;10109:52;10196:9;10183:23;10215:30;10239:5;10215:30;:::i;:::-;10264:5;-1:-1:-1;10321:2:25;10306:18;;10293:32;10334;10293;10334;:::i;:::-;10385:7;10375:17;;;10014:384;;;;;:::o;10845:750::-;10940:6;10948;10956;10964;10972;11025:3;11013:9;11004:7;11000:23;10996:33;10993:53;;;11042:1;11039;11032:12;10993:53;11081:9;11068:23;11100:30;11124:5;11100:30;:::i;:::-;11149:5;-1:-1:-1;11206:2:25;11191:18;;11178:32;11219;11178;11219;:::i;:::-;11270:7;-1:-1:-1;11324:2:25;11309:18;;11296:32;;-1:-1:-1;11379:2:25;11364:18;;11351:32;-1:-1:-1;;;;;11395:30:25;;11392:50;;;11438:1;11435;11428:12;11392:50;11477:58;11527:7;11518:6;11507:9;11503:22;11477:58;:::i;:::-;10845:750;;;;-1:-1:-1;10845:750:25;;-1:-1:-1;11554:8:25;;11451:84;10845:750;-1:-1:-1;;;10845:750:25:o;11600:388::-;11668:6;11676;11729:2;11717:9;11708:7;11704:23;11700:32;11697:52;;;11745:1;11742;11735:12;11697:52;11784:9;11771:23;11803:31;11828:5;11803:31;:::i;:::-;11853:5;-1:-1:-1;11910:2:25;11895:18;;11882:32;11923:33;11882:32;11923:33;:::i;11993:452::-;12068:6;12076;12084;12137:2;12125:9;12116:7;12112:23;12108:32;12105:52;;;12153:1;12150;12143:12;12105:52;12192:9;12179:23;12211:30;12235:5;12211:30;:::i;:::-;12260:5;-1:-1:-1;12317:2:25;12302:18;;12289:32;12330;12289;12330;:::i;12450:180::-;12506:6;12559:2;12547:9;12538:7;12534:23;12530:32;12527:52;;;12575:1;12572;12565:12;12527:52;12598:26;12614:9;12598:26;:::i;12635:594::-;12719:6;12727;12735;12743;12796:3;12784:9;12775:7;12771:23;12767:33;12764:53;;;12813:1;12810;12803:12;12764:53;12852:9;12839:23;12871:30;12895:5;12871:30;:::i;:::-;12920:5;-1:-1:-1;12977:2:25;12962:18;;12949:32;12990;12949;12990;:::i;:::-;13041:7;-1:-1:-1;13100:2:25;13085:18;;13072:32;13113:33;13072:32;13113:33;:::i;:::-;12635:594;;;;-1:-1:-1;13165:7:25;;13219:2;13204:18;13191:32;;-1:-1:-1;;12635:594:25:o;13593:380::-;13672:1;13668:12;;;;13715;;;13736:61;;13790:4;13782:6;13778:17;13768:27;;13736:61;13843:2;13835:6;13832:14;13812:18;13809:38;13806:161;;;13889:10;13884:3;13880:20;13877:1;13870:31;13924:4;13921:1;13914:15;13952:4;13949:1;13942:15;13806:161;;13593:380;;;:::o;13978:271::-;14161:6;14153;14148:3;14135:33;14117:3;14187:16;;14212:13;;;14187:16;13978:271;-1:-1:-1;13978:271:25:o;14661:266::-;14749:6;14744:3;14737:19;14801:6;14794:5;14787:4;14782:3;14778:14;14765:43;-1:-1:-1;14853:1:25;14828:16;;;14846:4;14824:27;;;14817:38;;;;14909:2;14888:15;;;-1:-1:-1;;14884:29:25;14875:39;;;14871:50;;14661:266::o;14932:397::-;15155:6;15147;15143:19;15132:9;15125:38;15199:2;15194;15183:9;15179:18;15172:30;15106:4;15219:61;15276:2;15265:9;15261:18;15253:6;15245;15219:61;:::i;:::-;15211:69;;15316:6;15311:2;15300:9;15296:18;15289:34;14932:397;;;;;;;:::o;15334:668::-;15625:6;15613:19;;15595:38;;-1:-1:-1;;;;;15669:32:25;;15664:2;15649:18;;15642:60;15689:3;15733:2;15718:18;;15711:31;;;-1:-1:-1;;15765:46:25;;15791:19;;15783:6;15765:46;:::i;:::-;15861:6;15854:14;15847:22;15842:2;15831:9;15827:18;15820:50;15919:9;15911:6;15907:22;15901:3;15890:9;15886:19;15879:51;15947:49;15989:6;15981;15973;15947:49;:::i;:::-;15939:57;15334:668;-1:-1:-1;;;;;;;;;15334:668:25:o;16007:245::-;16086:6;16094;16147:2;16135:9;16126:7;16122:23;16118:32;16115:52;;;16163:1;16160;16153:12;16115:52;-1:-1:-1;;16186:16:25;;16242:2;16227:18;;;16221:25;16186:16;;16221:25;;-1:-1:-1;16007:245:25:o;16257:127::-;16318:10;16313:3;16309:20;16306:1;16299:31;16349:4;16346:1;16339:15;16373:4;16370:1;16363:15;16389:128;16429:3;16460:1;16456:6;16453:1;16450:13;16447:39;;;16466:18;;:::i;:::-;-1:-1:-1;16502:9:25;;16389:128::o;16522:326::-;16717:6;16709;16705:19;16694:9;16687:38;16761:2;16756;16745:9;16741:18;16734:30;16668:4;16781:61;16838:2;16827:9;16823:18;16815:6;16807;16781:61;:::i;17618:125::-;17658:4;17686:1;17683;17680:8;17677:34;;;17691:18;;:::i;:::-;-1:-1:-1;17728:9:25;;17618:125::o;18154:382::-;18365:6;18357;18352:3;18339:33;18457:2;18453:15;;;;-1:-1:-1;;18449:53:25;18391:16;;18438:65;;;18527:2;18519:11;;18154:382;-1:-1:-1;18154:382:25:o;18541:498::-;18741:4;18770:6;18815:2;18807:6;18803:15;18792:9;18785:34;18867:2;18859:6;18855:15;18850:2;18839:9;18835:18;18828:43;;18907:6;18902:2;18891:9;18887:18;18880:34;18950:3;18945:2;18934:9;18930:18;18923:31;18971:62;19028:3;19017:9;19013:19;19005:6;18997;18971:62;:::i;:::-;18963:70;18541:498;-1:-1:-1;;;;;;;18541:498:25:o;19850:493::-;20099:6;20091;20087:19;20076:9;20069:38;20143:3;20138:2;20127:9;20123:18;20116:31;20050:4;20164:62;20221:3;20210:9;20206:19;20198:6;20190;20164:62;:::i;:::-;-1:-1:-1;;;;;20262:31:25;;;;20257:2;20242:18;;20235:59;-1:-1:-1;20325:2:25;20310:18;20303:34;20156:70;19850:493;-1:-1:-1;;;19850:493:25:o;21929:428::-;21982:5;22035:3;22028:4;22020:6;22016:17;22012:27;22002:55;;22053:1;22050;22043:12;22002:55;22082:6;22076:13;22113:48;22129:31;22157:2;22129:31;:::i;22113:48::-;22186:2;22177:7;22170:19;22232:3;22225:4;22220:2;22212:6;22208:15;22204:26;22201:35;22198:55;;;22249:1;22246;22239:12;22198:55;22262:64;22323:2;22316:4;22307:7;22303:18;22296:4;22288:6;22284:17;22262:64;:::i;:::-;22344:7;21929:428;-1:-1:-1;;;;21929:428:25:o;22362:335::-;22441:6;22494:2;22482:9;22473:7;22469:23;22465:32;22462:52;;;22510:1;22507;22500:12;22462:52;22543:9;22537:16;-1:-1:-1;;;;;22568:6:25;22565:30;22562:50;;;22608:1;22605;22598:12;22562:50;22631:60;22683:7;22674:6;22663:9;22659:22;22631:60;:::i;22702:557::-;22959:6;22951;22947:19;22936:9;22929:38;23003:3;22998:2;22987:9;22983:18;22976:31;22910:4;23030:46;23071:3;23060:9;23056:19;23048:6;23030:46;:::i;:::-;-1:-1:-1;;;;;23116:6:25;23112:31;23107:2;23096:9;23092:18;23085:59;23192:9;23184:6;23180:22;23175:2;23164:9;23160:18;23153:50;23220:33;23246:6;23238;23220:33;:::i;26008:371::-;26221:6;26213;26209:19;26198:9;26191:38;26265:2;26260;26249:9;26245:18;26238:30;26172:4;26285:45;26326:2;26315:9;26311:18;26303:6;26285:45;:::i;:::-;26277:53;;26366:6;26361:2;26350:9;26346:18;26339:34;26008:371;;;;;;:::o;26384:289::-;26559:2;26548:9;26541:21;26522:4;26579:45;26620:2;26609:9;26605:18;26597:6;26579:45;:::i;:::-;26571:53;;26660:6;26655:2;26644:9;26640:18;26633:34;26384:289;;;;;:::o;27724:274::-;27853:3;27891:6;27885:13;27907:53;27953:6;27948:3;27941:4;27933:6;27929:17;27907:53;:::i;:::-;27976:16;;;;;27724:274;-1:-1:-1;;27724:274:25:o;28003:719::-;28306:6;28298;28294:19;28283:9;28276:38;28350:3;28345:2;28334:9;28330:18;28323:31;28257:4;28377:46;28418:3;28407:9;28403:19;28395:6;28377:46;:::i;:::-;-1:-1:-1;;;;;28463:6:25;28459:31;28454:2;28443:9;28439:18;28432:59;28539:9;28531:6;28527:22;28522:2;28511:9;28507:18;28500:50;28573:33;28599:6;28591;28573:33;:::i;:::-;28559:47;;28655:9;28647:6;28643:22;28637:3;28626:9;28622:19;28615:51;28683:33;28709:6;28701;28683:33;:::i;:::-;28675:41;28003:719;-1:-1:-1;;;;;;;;28003:719:25:o;29551:840::-;29900:6;29892;29888:19;29877:9;29870:38;29944:3;29939:2;29928:9;29924:18;29917:31;29851:4;29971:46;30012:3;30001:9;29997:19;29989:6;29971:46;:::i;:::-;30065:9;30057:6;30053:22;30048:2;30037:9;30033:18;30026:50;30099:33;30125:6;30117;30099:33;:::i;:::-;-1:-1:-1;;;;;30206:15:25;;;30201:2;30186:18;;30179:43;30259:15;;30253:3;30238:19;;30231:44;30312:22;;;30159:3;30291:19;;30284:51;30085:47;-1:-1:-1;30352:33:25;30085:47;30370:6;30352:33;:::i;30396:522::-;30492:6;30500;30508;30561:2;30549:9;30540:7;30536:23;30532:32;30529:52;;;30577:1;30574;30567:12;30529:52;30609:9;30603:16;30628:30;30652:5;30628:30;:::i;:::-;30726:2;30711:18;;30705:25;30677:5;;-1:-1:-1;;;;;;30742:30:25;;30739:50;;;30785:1;30782;30775:12;30739:50;30808:60;30860:7;30851:6;30840:9;30836:22;30808:60;:::i;:::-;30798:70;;;30908:2;30897:9;30893:18;30887:25;30877:35;;30396:522;;;;;:::o
Swarm Source
ipfs://29dfb9e604c750b3ca9794f6053ef99365484eba20d7806db00fdf080dba3aaf
Loading...
Loading
Loading...
Loading
OVERVIEW
Bridged wETH token of LayerZero.Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.