This token is bridged from its native chain using Stargate.
Overview
Max Total Supply
11,581,538.542894 USDC
Holders
50,468 ( 0.101%)
Market
Price
$1.00 @ 1.660649 FTM (+0.08%)
Onchain Market Cap
$11,593,120.08
Circulating Supply Market Cap
$35,587,963,947.00
Other Info
Token Contract (WITH 6 Decimals)
Balance
278.262353 USDCValue
$278.54 ( ~462.0950 FTM) [0.0024%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
USDC
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/v2/OFTV2.sol"; /// @title A LayerZero OmnichainFungibleToken example contract USDC is OFTV2 { constructor(address _layerZeroEndpoint) OFTV2("USD Coin", "USDC", 6, _layerZeroEndpoint) {} function decimals() public view virtual override returns (uint8) { return 6; } }
// 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.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: MIT pragma solidity ^0.8.0; import "./OFTCoreV2.sol"; import "./IOFTV2.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract BaseOFTV2 is OFTCoreV2, ERC165, IOFTV2 { constructor(uint8 _sharedDecimals, address _lzEndpoint) OFTCoreV2(_sharedDecimals, _lzEndpoint) { } /************************************************************************ * public functions ************************************************************************/ function sendFrom(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, LzCallParams calldata _callParams) public payable virtual override { _send(_from, _dstChainId, _toAddress, _amount, _callParams.refundAddress, _callParams.zroPaymentAddress, _callParams.adapterParams); } function sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, LzCallParams calldata _callParams) public payable virtual override { _sendAndCall(_from, _dstChainId, _toAddress, _amount, _payload, _dstGasForCall, _callParams.refundAddress, _callParams.zroPaymentAddress, _callParams.adapterParams); } /************************************************************************ * public view functions ************************************************************************/ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IOFTV2).interfaceId || super.supportsInterface(interfaceId); } function estimateSendFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return _estimateSendFee(_dstChainId, _toAddress, _amount, _useZro, _adapterParams); } function estimateSendAndCallFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return _estimateSendAndCallFee(_dstChainId, _toAddress, _amount, _payload, _dstGasForCall, _useZro, _adapterParams); } function circulatingSupply() public view virtual override returns (uint); function token() public view virtual override returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../OFTCoreV2.sol"; import "./IOFTWithFee.sol"; import "./Fee.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; abstract contract BaseOFTWithFee is OFTCoreV2, Fee, ERC165, IOFTWithFee { constructor(uint8 _sharedDecimals, address _lzEndpoint) OFTCoreV2(_sharedDecimals, _lzEndpoint) { } /************************************************************************ * public functions ************************************************************************/ function sendFrom(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, uint _minAmount, LzCallParams calldata _callParams) public payable virtual override { (_amount,) = _payOFTFee(_from, _dstChainId, _amount); _amount = _send(_from, _dstChainId, _toAddress, _amount, _callParams.refundAddress, _callParams.zroPaymentAddress, _callParams.adapterParams); require(_amount >= _minAmount, "BaseOFTWithFee: amount is less than minAmount"); } function sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, uint _minAmount, bytes calldata _payload, uint64 _dstGasForCall, LzCallParams calldata _callParams) public payable virtual override { (_amount,) = _payOFTFee(_from, _dstChainId, _amount); _amount = _sendAndCall(_from, _dstChainId, _toAddress, _amount, _payload, _dstGasForCall, _callParams.refundAddress, _callParams.zroPaymentAddress, _callParams.adapterParams); require(_amount >= _minAmount, "BaseOFTWithFee: amount is less than minAmount"); } /************************************************************************ * public view functions ************************************************************************/ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IOFTWithFee).interfaceId || super.supportsInterface(interfaceId); } function estimateSendFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return _estimateSendFee(_dstChainId, _toAddress, _amount, _useZro, _adapterParams); } function estimateSendAndCallFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, bool _useZro, bytes calldata _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return _estimateSendAndCallFee(_dstChainId, _toAddress, _amount, _payload, _dstGasForCall, _useZro, _adapterParams); } function circulatingSupply() public view virtual override returns (uint); function token() public view virtual override returns (address); function _transferFrom(address _from, address _to, uint _amount) internal virtual override (Fee, OFTCoreV2) returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; abstract contract Fee is Ownable { uint public constant BP_DENOMINATOR = 10000; mapping(uint16 => FeeConfig) public chainIdToFeeBps; uint16 public defaultFeeBp; address public feeOwner; // defaults to owner struct FeeConfig { uint16 feeBP; bool enabled; } event SetFeeBp(uint16 dstchainId, bool enabled, uint16 feeBp); event SetDefaultFeeBp(uint16 feeBp); event SetFeeOwner(address feeOwner); constructor(){ feeOwner = owner(); } function setDefaultFeeBp(uint16 _feeBp) public virtual onlyOwner { require(_feeBp <= BP_DENOMINATOR, "Fee: fee bp must be <= BP_DENOMINATOR"); defaultFeeBp = _feeBp; emit SetDefaultFeeBp(defaultFeeBp); } function setFeeBp(uint16 _dstChainId, bool _enabled, uint16 _feeBp) public virtual onlyOwner { require(_feeBp <= BP_DENOMINATOR, "Fee: fee bp must be <= BP_DENOMINATOR"); chainIdToFeeBps[_dstChainId] = FeeConfig(_feeBp, _enabled); emit SetFeeBp(_dstChainId, _enabled, _feeBp); } function setFeeOwner(address _feeOwner) public virtual onlyOwner { require(_feeOwner != address(0x0), "Fee: feeOwner cannot be 0x"); feeOwner = _feeOwner; emit SetFeeOwner(_feeOwner); } function quoteOFTFee(uint16 _dstChainId, uint _amount) public virtual view returns (uint fee) { FeeConfig memory config = chainIdToFeeBps[_dstChainId]; if (config.enabled) { fee = _amount * config.feeBP / BP_DENOMINATOR; } else if (defaultFeeBp > 0) { fee = _amount * defaultFeeBp / BP_DENOMINATOR; } else { fee = 0; } } function _payOFTFee(address _from, uint16 _dstChainId, uint _amount) internal virtual returns (uint amount, uint fee) { fee = quoteOFTFee(_dstChainId, _amount); amount = _amount - fee; if (fee > 0) { _transferFrom(_from, feeOwner, fee); } } function _transferFrom(address _from, address _to, uint _amount) internal virtual returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "../ICommonOFT.sol"; /** * @dev Interface of the IOFT core standard */ interface IOFTWithFee is ICommonOFT { /** * @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 * `_minAmount` the minimum amount of tokens to receive on dstChain * `_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, bytes32 _toAddress, uint _amount, uint _minAmount, LzCallParams calldata _callParams) external payable; function sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, uint _minAmount, bytes calldata _payload, uint64 _dstGasForCall, LzCallParams calldata _callParams) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./BaseOFTWithFee.sol"; contract OFTWithFee is BaseOFTWithFee, ERC20 { uint internal immutable ld2sdRate; constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _lzEndpoint) ERC20(_name, _symbol) BaseOFTWithFee(_sharedDecimals, _lzEndpoint) { uint8 decimals = decimals(); require(_sharedDecimals <= decimals, "OFTWithFee: sharedDecimals must be <= decimals"); ld2sdRate = 10 ** (decimals - _sharedDecimals); } /************************************************************************ * public functions ************************************************************************/ function circulatingSupply() public view virtual override returns (uint) { return totalSupply(); } function token() public view virtual override returns (address) { return address(this); } /************************************************************************ * internal functions ************************************************************************/ function _debitFrom(address _from, uint16, bytes32, 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; } function _transferFrom(address _from, address _to, uint _amount) internal virtual override returns (uint) { address spender = _msgSender(); // if transfer from this contract, no need to check allowance if (_from != address(this) && _from != spender) _spendAllowance(_from, spender, _amount); _transfer(_from, _to, _amount); return _amount; } function _ld2sdRate() internal view virtual override returns (uint) { return ld2sdRate; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface of the IOFT core standard */ interface ICommonOFT is IERC165 { struct LzCallParams { address payable refundAddress; address zroPaymentAddress; bytes adapterParams; } /** * @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, bytes32 _toAddress, uint _amount, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); function estimateSendAndCallFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); /** * @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); }
// SPDX-License-Identifier: BUSL-1.1 pragma solidity >=0.5.0; interface IOFTReceiverV2 { /** * @dev Called by the OFT contract when tokens are received from source chain. * @param _srcChainId The chain id of the source chain. * @param _srcAddress The address of the OFT token contract on the source chain. * @param _nonce The nonce of the transaction on the source chain. * @param _from The address of the account who calls the sendAndCall() on the source chain. * @param _amount The amount of tokens to transfer. * @param _payload Additional data with no specified format. */ function onOFTReceived(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes32 _from, uint _amount, bytes calldata _payload) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "./ICommonOFT.sol"; /** * @dev Interface of the IOFT core standard */ interface IOFTV2 is ICommonOFT { /** * @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, bytes32 _toAddress, uint _amount, LzCallParams calldata _callParams) external payable; function sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes calldata _payload, uint64 _dstGasForCall, LzCallParams calldata _callParams) external payable; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../../lzApp/NonblockingLzApp.sol"; import "../../../util/ExcessivelySafeCall.sol"; import "./ICommonOFT.sol"; import "./IOFTReceiverV2.sol"; abstract contract OFTCoreV2 is NonblockingLzApp { using BytesLib for bytes; using ExcessivelySafeCall for address; uint public constant NO_EXTRA_GAS = 0; // packet type uint8 public constant PT_SEND = 0; uint8 public constant PT_SEND_AND_CALL = 1; uint8 public immutable sharedDecimals; bool public useCustomAdapterParams; mapping(uint16 => mapping(bytes => mapping(uint64 => bool))) public creditedPackets; /** * @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, bytes32 indexed _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); event CallOFTReceivedSuccess(uint16 indexed _srcChainId, bytes _srcAddress, uint64 _nonce, bytes32 _hash); event NonContractAddress(address _address); // _sharedDecimals should be the minimum decimals on all chains constructor(uint8 _sharedDecimals, address _lzEndpoint) NonblockingLzApp(_lzEndpoint) { sharedDecimals = _sharedDecimals; } /************************************************************************ * public functions ************************************************************************/ function callOnOFTReceived(uint16 _srcChainId, bytes calldata _srcAddress, uint64 _nonce, bytes32 _from, address _to, uint _amount, bytes calldata _payload, uint _gasForCall) public virtual { require(_msgSender() == address(this), "OFTCore: caller must be OFTCore"); // send _amount = _transferFrom(address(this), _to, _amount); emit ReceiveFromChain(_srcChainId, _to, _amount); // call IOFTReceiverV2(_to).onOFTReceived{gas: _gasForCall}(_srcChainId, _srcAddress, _nonce, _from, _amount, _payload); } function setUseCustomAdapterParams(bool _useCustomAdapterParams) public virtual onlyOwner { useCustomAdapterParams = _useCustomAdapterParams; emit SetUseCustomAdapterParams(_useCustomAdapterParams); } /************************************************************************ * internal functions ************************************************************************/ function _estimateSendFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bool _useZro, bytes memory _adapterParams) internal view virtual returns (uint nativeFee, uint zroFee) { // mock the payload for sendFrom() bytes memory payload = _encodeSendPayload(_toAddress, _ld2sd(_amount)); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function _estimateSendAndCallFee(uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes memory _payload, uint64 _dstGasForCall, bool _useZro, bytes memory _adapterParams) internal view virtual returns (uint nativeFee, uint zroFee) { // mock the payload for sendAndCall() bytes memory payload = _encodeSendAndCallPayload(msg.sender, _toAddress, _ld2sd(_amount), _payload, _dstGasForCall); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function _nonblockingLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual override { uint8 packetType = _payload.toUint8(0); if (packetType == PT_SEND) { _sendAck(_srcChainId, _srcAddress, _nonce, _payload); } else if (packetType == PT_SEND_AND_CALL) { _sendAndCallAck(_srcChainId, _srcAddress, _nonce, _payload); } else { revert("OFTCore: unknown packet type"); } } function _send(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual returns (uint amount) { _checkAdapterParams(_dstChainId, PT_SEND, _adapterParams, NO_EXTRA_GAS); (amount,) = _removeDust(_amount); amount = _debitFrom(_from, _dstChainId, _toAddress, amount); // amount returned should not have dust require(amount > 0, "OFTCore: amount too small"); bytes memory lzPayload = _encodeSendPayload(_toAddress, _ld2sd(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 { (address to, uint64 amountSD) = _decodeSendPayload(_payload); if (to == address(0)) { to = address(0xdead); } uint amount = _sd2ld(amountSD); amount = _creditTo(_srcChainId, to, amount); emit ReceiveFromChain(_srcChainId, to, amount); } function _sendAndCall(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount, bytes memory _payload, uint64 _dstGasForCall, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual returns (uint amount) { _checkAdapterParams(_dstChainId, PT_SEND_AND_CALL, _adapterParams, _dstGasForCall); (amount,) = _removeDust(_amount); amount = _debitFrom(_from, _dstChainId, _toAddress, amount); require(amount > 0, "OFTCore: amount too small"); // encode the msg.sender into the payload instead of _from bytes memory lzPayload = _encodeSendAndCallPayload(msg.sender, _toAddress, _ld2sd(amount), _payload, _dstGasForCall); _lzSend(_dstChainId, lzPayload, _refundAddress, _zroPaymentAddress, _adapterParams, msg.value); emit SendToChain(_dstChainId, _from, _toAddress, amount); } function _sendAndCallAck(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) internal virtual { (bytes32 from, address to, uint64 amountSD, bytes memory payloadForCall, uint64 gasForCall) = _decodeSendAndCallPayload(_payload); bool credited = creditedPackets[_srcChainId][_srcAddress][_nonce]; uint amount = _sd2ld(amountSD); // credit to this contract first, and then transfer to receiver only if callOnOFTReceived() succeeds if (!credited) { amount = _creditTo(_srcChainId, address(this), amount); creditedPackets[_srcChainId][_srcAddress][_nonce] = true; } if (!_isContract(to)) { emit NonContractAddress(to); return; } // workaround for stack too deep uint16 srcChainId = _srcChainId; bytes memory srcAddress = _srcAddress; uint64 nonce = _nonce; bytes memory payload = _payload; bytes32 from_ = from; address to_ = to; uint amount_ = amount; bytes memory payloadForCall_ = payloadForCall; // no gas limit for the call if retry uint gas = credited ? gasleft() : gasForCall; (bool success, bytes memory reason) = address(this).excessivelySafeCall(gasleft(), 150, abi.encodeWithSelector(this.callOnOFTReceived.selector, srcChainId, srcAddress, nonce, from_, to_, amount_, payloadForCall_, gas)); if (success) { bytes32 hash = keccak256(payload); emit CallOFTReceivedSuccess(srcChainId, srcAddress, nonce, hash); } else { // store the failed message into the nonblockingLzApp _storeFailedMessage(srcChainId, srcAddress, nonce, payload, reason); } } function _isContract(address _account) internal view returns (bool) { return _account.code.length > 0; } 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 _ld2sd(uint _amount) internal virtual view returns (uint64) { uint amountSD = _amount / _ld2sdRate(); require(amountSD <= type(uint64).max, "OFTCore: amountSD overflow"); return uint64(amountSD); } function _sd2ld(uint64 _amountSD) internal virtual view returns (uint) { return _amountSD * _ld2sdRate(); } function _removeDust(uint _amount) internal virtual view returns (uint amountAfter, uint dust) { dust = _amount % _ld2sdRate(); amountAfter = _amount - dust; } function _encodeSendPayload(bytes32 _toAddress, uint64 _amountSD) internal virtual view returns (bytes memory) { return abi.encodePacked(PT_SEND, _toAddress, _amountSD); } function _decodeSendPayload(bytes memory _payload) internal virtual view returns (address to, uint64 amountSD) { require(_payload.toUint8(0) == PT_SEND && _payload.length == 41, "OFTCore: invalid payload"); to = _payload.toAddress(13); // drop the first 12 bytes of bytes32 amountSD = _payload.toUint64(33); } function _encodeSendAndCallPayload(address _from, bytes32 _toAddress, uint64 _amountSD, bytes memory _payload, uint64 _dstGasForCall) internal virtual view returns (bytes memory) { return abi.encodePacked( PT_SEND_AND_CALL, _toAddress, _amountSD, _addressToBytes32(_from), _dstGasForCall, _payload ); } function _decodeSendAndCallPayload(bytes memory _payload) internal virtual view returns (bytes32 from, address to, uint64 amountSD, bytes memory payload, uint64 dstGasForCall) { require(_payload.toUint8(0) == PT_SEND_AND_CALL, "OFTCore: invalid payload"); to = _payload.toAddress(13); // drop the first 12 bytes of bytes32 amountSD = _payload.toUint64(33); from = _payload.toBytes32(41); dstGasForCall = _payload.toUint64(73); payload = _payload.slice(81, _payload.length - 81); } function _addressToBytes32(address _address) internal pure virtual returns (bytes32) { return bytes32(uint(uint160(_address))); } function _debitFrom(address _from, uint16 _dstChainId, bytes32 _toAddress, uint _amount) internal virtual returns (uint); function _creditTo(uint16 _srcChainId, address _toAddress, uint _amount) internal virtual returns (uint); function _transferFrom(address _from, address _to, uint _amount) internal virtual returns (uint); function _ld2sdRate() internal view virtual returns (uint); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "./BaseOFTV2.sol"; contract OFTV2 is BaseOFTV2, ERC20 { uint internal immutable ld2sdRate; constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _lzEndpoint) ERC20(_name, _symbol) BaseOFTV2(_sharedDecimals, _lzEndpoint) { uint8 decimals = decimals(); require(_sharedDecimals <= decimals, "OFT: sharedDecimals must be <= decimals"); ld2sdRate = 10 ** (decimals - _sharedDecimals); } /************************************************************************ * public functions ************************************************************************/ function circulatingSupply() public view virtual override returns (uint) { return totalSupply(); } function token() public view virtual override returns (address) { return address(this); } /************************************************************************ * internal functions ************************************************************************/ function _debitFrom(address _from, uint16, bytes32, 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; } function _transferFrom(address _from, address _to, uint _amount) internal virtual override returns (uint) { address spender = _msgSender(); // if transfer from this contract, no need to check allowance if (_from != address(this) && _from != spender) _spendAllowance(_from, spender, _amount); _transfer(_from, _to, _amount); return _amount; } function _ld2sdRate() internal view virtual override returns (uint) { return ld2sdRate; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./BaseOFTV2.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract ProxyOFTV2 is BaseOFTV2 { using SafeERC20 for IERC20; IERC20 internal immutable innerToken; uint internal immutable ld2sdRate; // total amount is transferred from this chain to other chains, ensuring the total is less than uint64.max in sd uint public outboundAmount; constructor(address _token, uint8 _sharedDecimals, address _lzEndpoint) BaseOFTV2(_sharedDecimals, _lzEndpoint) { innerToken = IERC20(_token); (bool success, bytes memory data) = _token.staticcall( abi.encodeWithSignature("decimals()") ); require(success, "ProxyOFT: failed to get token decimals"); uint8 decimals = abi.decode(data, (uint8)); require(_sharedDecimals <= decimals, "ProxyOFT: sharedDecimals must be <= decimals"); ld2sdRate = 10 ** (decimals - _sharedDecimals); } /************************************************************************ * public functions ************************************************************************/ function circulatingSupply() public view virtual override returns (uint) { return innerToken.totalSupply() - outboundAmount; } function token() public view virtual override returns (address) { return address(innerToken); } /************************************************************************ * internal functions ************************************************************************/ function _debitFrom(address _from, uint16, bytes32, uint _amount) internal virtual override returns (uint) { require(_from == _msgSender(), "ProxyOFT: owner is not send caller"); _amount = _transferFrom(_from, address(this), _amount); // _amount still may have dust if the token has transfer fee, then give the dust back to the sender (uint amount, uint dust) = _removeDust(_amount); if (dust > 0) innerToken.safeTransfer(_from, dust); // check total outbound amount outboundAmount += amount; uint cap = _sd2ld(type(uint64).max); require(cap >= outboundAmount, "ProxyOFT: outboundAmount overflow"); return amount; } function _creditTo(uint16, address _toAddress, uint _amount) internal virtual override returns (uint) { outboundAmount -= _amount; // tokens are already in this contract, so no need to transfer if (_toAddress == address(this)) { return _amount; } return _transferFrom(address(this), _toAddress, _amount); } function _transferFrom(address _from, address _to, uint _amount) internal virtual override returns (uint) { uint before = innerToken.balanceOf(_to); if (_from == address(this)) { innerToken.safeTransfer(_to, _amount); } else { innerToken.safeTransferFrom(_from, _to, _amount); } return innerToken.balanceOf(_to) - before; } function _ld2sdRate() internal view virtual override returns (uint) { return ld2sdRate; } }
// 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/lzApp/NonblockingLzApp.sol"; contract GasDrop is NonblockingLzApp { uint16 public constant VERSION = 2; uint public dstGas = 25000; event SendGasDrop(uint16 indexed _dstChainId, address indexed _from, bytes indexed _toAddress, uint _amount); event ReceiveGasDrop(uint16 indexed _srcChainId, address indexed _from, bytes indexed _toAddress, uint _amount); constructor(address _endpoint) NonblockingLzApp(_endpoint) {} function _nonblockingLzReceive(uint16 _srcChainId, bytes memory, uint64, bytes memory _payload) internal virtual override { (uint amount, address fromAddress, bytes memory toAddress) = abi.decode(_payload, (uint, address, bytes)); emit ReceiveGasDrop(_srcChainId, fromAddress, toAddress, amount); } function estimateSendFee(uint16[] memory _dstChainId, bytes[] memory _toAddress, uint[] memory _amount, bool _useZro) external view virtual returns (uint nativeFee, uint zroFee) { require(_dstChainId.length == _toAddress.length, "_dstChainId and _toAddress must be same size"); require(_toAddress.length == _amount.length, "_toAddress and _amount must be same size"); for(uint i = 0; i < _dstChainId.length; i++) { bytes memory adapterParams = abi.encodePacked(VERSION, dstGas, _amount[i], _toAddress[i]); bytes memory payload = abi.encode(_amount[i], msg.sender, _toAddress[i]); (uint native, uint zro) = lzEndpoint.estimateFees(_dstChainId[i], address(this), payload, _useZro, adapterParams); nativeFee += native; zroFee += zro; } } function gasDrop(uint16[] memory _dstChainId, bytes[] memory _toAddress, uint[] memory _amount, address payable _refundAddress, address _zroPaymentAddress) external payable virtual { require(_dstChainId.length == _toAddress.length, "_dstChainId and _toAddress must be same size"); require(_toAddress.length == _amount.length, "_toAddress and _amount must be same size"); for(uint i = 0; i < _dstChainId.length; i++) { bytes memory adapterParams = abi.encodePacked(VERSION, dstGas, _amount[i], _toAddress[i]); bytes memory payload = abi.encode(_amount[i], msg.sender, _toAddress[i]); address payable refundAddress = (i == _dstChainId.length - 1) ? _refundAddress : payable(address(this)); _lzSend(_dstChainId[i], payload, refundAddress, _zroPaymentAddress, adapterParams, address(this).balance); emit SendGasDrop(_dstChainId[i], msg.sender, _toAddress[i], _amount[i]); } } function setDstGas(uint _dstGas) external onlyOwner { dstGas = _dstGas; } receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/OFT.sol"; /// @title A LayerZero OmnichainFungibleToken example contract ExampleOFT is OFT { constructor(string memory _name, string memory _symbol, address _layerZeroEndpoint) OFT(_name, _symbol, _layerZeroEndpoint) { // mint 1M to deployer _mint(_msgSender(), 1_000_000 * 10**18); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/OFTV2.sol"; /// @title A LayerZero OmnichainFungibleToken example contract ExampleOFTV2 is OFTV2 { constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _layerZeroEndpoint) OFTV2(_name, _symbol, _sharedDecimals, _layerZeroEndpoint) { // mint 1M to deployer _mint(_msgSender(), 1_000_000 * 10**18); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/fee/OFTWithFee.sol"; contract ExampleOFTWithFee is OFTWithFee { constructor(string memory _name, string memory _symbol, uint8 _sharedDecimals, address _layerZeroEndpoint) OFTWithFee(_name, _symbol, _sharedDecimals, _layerZeroEndpoint){ // mint 1M to deployer _mint(_msgSender(), 1_000_000 * 10**18); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/ProxyOFTV2.sol"; contract ExampleProxyOFTWithFee is ProxyOFTV2 { constructor(address _token, uint8 _sharedDecimals, address _layerZeroEndpoint) ProxyOFTV2(_token, _sharedDecimals, _layerZeroEndpoint){} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/ProxyOFTV2.sol"; contract USDCProxyOFTV2 is ProxyOFTV2 { constructor(address _token, address _layerZeroEndpoint) ProxyOFTV2(_token, 6, _layerZeroEndpoint){} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/OFTV2.sol"; /// @title A LayerZero OmnichainFungibleToken example contract USDT is OFTV2 { constructor(address _layerZeroEndpoint) OFTV2("Tether USD", "USDT", 6, _layerZeroEndpoint) {} function decimals() public view virtual override returns (uint8) { return 6; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/ProxyOFTV2.sol"; contract USDTProxyOFTV2 is ProxyOFTV2 { constructor(address _token, address _layerZeroEndpoint) ProxyOFTV2(_token, 6, _layerZeroEndpoint){} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/OFTV2.sol"; /// @title A LayerZero OmnichainFungibleToken example contract WBTC is OFTV2 { constructor(address _layerZeroEndpoint) OFTV2("Wrapped BTC", "WBTC", 8, _layerZeroEndpoint) {} function decimals() public view virtual override returns (uint8) { return 8; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/ProxyOFTV2.sol"; contract WBTCProxyOFTV2 is ProxyOFTV2 { constructor(address _token, address _layerZeroEndpoint) ProxyOFTV2(_token, 8, _layerZeroEndpoint){} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/OFTV2.sol"; /// @title A LayerZero OmnichainFungibleToken example contract WETH is OFTV2 { constructor(address _layerZeroEndpoint) OFTV2("Wrapped Ether", "WETH", 18, _layerZeroEndpoint) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/oft/v2/ProxyOFTV2.sol"; contract WETHProxyOFTV2 is ProxyOFTV2 { constructor(address _token, address _layerZeroEndpoint) ProxyOFTV2(_token, 18, _layerZeroEndpoint){} }
{ "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
[{"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":true,"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":"_hash","type":"bytes32"}],"name":"CallOFTReceivedSuccess","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":false,"internalType":"address","name":"_address","type":"address"}],"name":"NonContractAddress","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":true,"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"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":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PT_SEND_AND_CALL","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes32","name":"_from","type":"bytes32"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"uint256","name":"_gasForCall","type":"uint256"}],"name":"callOnOFTReceived","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"circulatingSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint64","name":"","type":"uint64"}],"name":"creditedPackets","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes32","name":"_toAddress","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"uint64","name":"_dstGasForCall","type":"uint64"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendAndCallFee","outputs":[{"internalType":"uint256","name":"nativeFee","type":"uint256"},{"internalType":"uint256","name":"zroFee","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"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":"bytes32","name":"_toAddress","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_payload","type":"bytes"},{"internalType":"uint64","name":"_dstGasForCall","type":"uint64"},{"components":[{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"internalType":"struct ICommonOFT.LzCallParams","name":"_callParams","type":"tuple"}],"name":"sendAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes32","name":"_toAddress","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"components":[{"internalType":"address payable","name":"refundAddress","type":"address"},{"internalType":"address","name":"zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"adapterParams","type":"bytes"}],"internalType":"struct ICommonOFT.LzCallParams","name":"_callParams","type":"tuple"}],"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":[],"name":"sharedDecimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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
60e06040523480156200001157600080fd5b506040516200462f3803806200462f833981016040819052620000349162000282565b604051806040016040528060088152602001672aa9a21021b7b4b760c11b815250604051806040016040528060048152602001635553444360e01b815250600683838383838181808062000097620000916200018360201b60201c565b62000187565b6001600160a01b0316608052505060ff1660a05250508151620000c290600a906020850190620001dc565b508051620000d890600b906020840190620001dc565b5050506000620000ed620001d760201b60201c565b90508060ff168360ff1611156200015a5760405162461bcd60e51b815260206004820152602760248201527f4f46543a20736861726564446563696d616c73206d757374206265203c3d20646044820152666563696d616c7360c81b606482015260840160405180910390fd5b620001668382620002ca565b6200017390600a620003ef565b60c052506200043d945050505050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600690565b828054620001ea9062000400565b90600052602060002090601f0160209004810192826200020e576000855562000259565b82601f106200022957805160ff191683800117855562000259565b8280016001018555821562000259579182015b82811115620002595782518255916020019190600101906200023c565b50620002679291506200026b565b5090565b5b808211156200026757600081556001016200026c565b6000602082840312156200029557600080fd5b81516001600160a01b0381168114620002ad57600080fd5b9392505050565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff841680821015620002e757620002e7620002b4565b90039392505050565b600181815b8085111562000331578160001904821115620003155762000315620002b4565b808516156200032357918102915b93841c9390800290620002f5565b509250929050565b6000826200034a57506001620003e9565b816200035957506000620003e9565b81600181146200037257600281146200037d576200039d565b6001915050620003e9565b60ff841115620003915762000391620002b4565b50506001821b620003e9565b5060208310610133831016604e8410600b8410161715620003c2575081810a620003e9565b620003ce8383620002f0565b8060001904821115620003e557620003e5620002b4565b0290505b92915050565b6000620002ad60ff84168362000339565b600181811c908216806200041557607f821691505b602082108114156200043757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c051614175620004ba6000396000818161265201528181612a4c0152612d1e015260006105a201526000818161077c0152818161091601528181610c2e01528181610ccf01528181610e8c015281816114f401528181611abe01528181611fc2015281816124430152612bd501526141756000f3fe6080604052600436106102925760003560e01c80638da5cb5b1161015a578063cbed8b9c116100c1578063eaffd49a1161007a578063eaffd49a14610866578063eb8d72b714610886578063ed629c5c146108a6578063f2fde38b146108c0578063f5ecbdbc146108e0578063fc0c546a1461090057600080fd5b8063cbed8b9c146107be578063d1deba1f146107de578063dd62ed3e146107f1578063df2a5b3b14610811578063e6a20ae614610831578063eab45d9c1461084657600080fd5b8063a457c2d711610113578063a457c2d7146106ea578063a4c51df51461070a578063a6c3d1651461072a578063a9059cbb1461074a578063b353aaa71461076a578063baf3292d1461079e57600080fd5b80638da5cb5b146105fc5780639358928b1461062e578063950c8a741461064357806395d89b41146106635780639bdb9812146106785780639f38369a146106ca57600080fd5b806342d65a8d116101fe57806370a08231116101b757806370a0823114610512578063715018a6146105485780637533d7881461055d57806376203b481461057d578063857749b0146105905780638cfd8f5c146105c457600080fd5b806342d65a8d1461044657806344770515146104665780634c42899a1461047b5780635b8c41e61461049057806366ad5c8a146104df578063695ef6bf146104ff57600080fd5b806318160ddd1161025057806318160ddd1461037057806323b872dd1461038f578063313ce567146103af578063365260b4146103d157806339509351146104065780633d8b38f61461042657600080fd5b80621d35671461029757806301ffc9a7146102b957806306fdde03146102ee57806307e0db1714610310578063095ea7b31461033057806310ddb13714610350575b600080fd5b3480156102a357600080fd5b506102b76102b23660046133e9565b610913565b005b3480156102c557600080fd5b506102d96102d436600461347c565b610b44565b60405190151581526020015b60405180910390f35b3480156102fa57600080fd5b50610303610b7b565b6040516102e591906134fe565b34801561031c57600080fd5b506102b761032b366004613511565b610c0d565b34801561033c57600080fd5b506102d961034b366004613541565b610c96565b34801561035c57600080fd5b506102b761036b366004613511565b610cae565b34801561037c57600080fd5b506009545b6040519081526020016102e5565b34801561039b57600080fd5b506102d96103aa36600461356d565b610d06565b3480156103bb57600080fd5b5060065b60405160ff90911681526020016102e5565b3480156103dd57600080fd5b506103f16103ec3660046135be565b610d2a565b604080519283526020830191909152016102e5565b34801561041257600080fd5b506102d9610421366004613541565b610d7f565b34801561043257600080fd5b506102d9610441366004613623565b610da1565b34801561045257600080fd5b506102b7610461366004613623565b610e6d565b34801561047257600080fd5b50610381600081565b34801561048757600080fd5b506103bf600081565b34801561049c57600080fd5b506103816104ab3660046136e2565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104eb57600080fd5b506102b76104fa3660046133e9565b610ef3565b6102b761050d36600461379a565b610fcf565b34801561051e57600080fd5b5061038161052d36600461380d565b6001600160a01b031660009081526007602052604090205490565b34801561055457600080fd5b506102b761103a565b34801561056957600080fd5b50610303610578366004613511565b61104e565b6102b761058b36600461382a565b6110e8565b34801561059c57600080fd5b506103bf7f000000000000000000000000000000000000000000000000000000000000000081565b3480156105d057600080fd5b506103816105df3660046138dc565b600260209081526000928352604080842090915290825290205481565b34801561060857600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016102e5565b34801561063a57600080fd5b50610381611197565b34801561064f57600080fd5b50600354610616906001600160a01b031681565b34801561066f57600080fd5b506103036111a7565b34801561068457600080fd5b506102d96106933660046136e2565b6006602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205460ff1681565b3480156106d657600080fd5b506103036106e5366004613511565b6111b6565b3480156106f657600080fd5b506102d9610705366004613541565b6112cd565b34801561071657600080fd5b506103f161072536600461390f565b611348565b34801561073657600080fd5b506102b7610745366004613623565b6113d7565b34801561075657600080fd5b506102d9610765366004613541565b61146a565b34801561077657600080fd5b506106167f000000000000000000000000000000000000000000000000000000000000000081565b3480156107aa57600080fd5b506102b76107b936600461380d565b611478565b3480156107ca57600080fd5b506102b76107d93660046139c8565b6114d5565b6102b76107ec3660046133e9565b61155f565b3480156107fd57600080fd5b5061038161080c366004613a36565b611775565b34801561081d57600080fd5b506102b761082c366004613a6f565b6117a0565b34801561083d57600080fd5b506103bf600181565b34801561085257600080fd5b506102b7610861366004613aab565b611852565b34801561087257600080fd5b506102b7610881366004613ac6565b61189b565b34801561089257600080fd5b506102b76108a1366004613623565b6119ba565b3480156108b257600080fd5b506005546102d99060ff1681565b3480156108cc57600080fd5b506102b76108db36600461380d565b611a14565b3480156108ec57600080fd5b506103036108fb366004613b8e565b611a8d565b34801561090c57600080fd5b5030610616565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316146109905760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109ae90613bdb565b80601f01602080910402602001604051908101604052809291908181526020018280546109da90613bdb565b8015610a275780601f106109fc57610100808354040283529160200191610a27565b820191906000526020600020905b815481529060010190602001808311610a0a57829003601f168201915b50505050509050805186869050148015610a42575060008151115b8015610a6a575080516020820120604051610a609088908890613c10565b6040518091039020145b610ac55760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610987565b610b3b8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611b3e92505050565b50505050505050565b60006001600160e01b03198216631f7ecdf760e01b1480610b7557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600a8054610b8a90613bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb690613bdb565b8015610c035780601f10610bd857610100808354040283529160200191610c03565b820191906000526020600020905b815481529060010190602001808311610be657829003601f168201915b5050505050905090565b610c15611bb7565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610c7b57600080fd5b505af1158015610c8f573d6000803e3d6000fd5b5050505050565b600033610ca4818585611c11565b5060019392505050565b610cb6611bb7565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb13790602401610c61565b600033610d14858285611d35565b610d1f858585611daf565b506001949350505050565b600080610d708888888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f5a92505050565b91509150965096945050505050565b600033610ca4818585610d928383611775565b610d9c9190613c36565b611c11565b61ffff831660009081526001602052604081208054829190610dc290613bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dee90613bdb565b8015610e3b5780601f10610e1057610100808354040283529160200191610e3b565b820191906000526020600020905b815481529060010190602001808311610e1e57829003601f168201915b505050505090508383604051610e52929190613c10565b60405180910390208180519060200120149150509392505050565b610e75611bb7565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d90610ec590869086908690600401613c77565b600060405180830381600087803b158015610edf57600080fd5b505af1158015610b3b573d6000803e3d6000fd5b333014610f515760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610987565b610fc78686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061204e92505050565b505050505050565b610fc785858585610fe3602087018761380d565b610ff3604088016020890161380d565b6110006040890189613c95565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120d592505050565b611042611bb7565b61104c60006121bd565b565b6001602052600090815260409020805461106790613bdb565b80601f016020809104026020016040519081016040528092919081815260200182805461109390613bdb565b80156110e05780601f106110b5576101008083540402835291602001916110e0565b820191906000526020600020905b8154815290600101906020018083116110c357829003601f168201915b505050505081565b61118c8888888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250611135915050602089018961380d565b61114560408a0160208b0161380d565b61115260408b018b613c95565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061220d92505050565b505050505050505050565b60006111a260095490565b905090565b6060600b8054610b8a90613bdb565b61ffff81166000908152600160205260408120805460609291906111d990613bdb565b80601f016020809104026020016040519081016040528092919081815260200182805461120590613bdb565b80156112525780601f1061122757610100808354040283529160200191611252565b820191906000526020600020905b81548152906001019060200180831161123557829003601f168201915b505050505090508051600014156112ab5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610987565b6112c66000601483516112be9190613cdb565b839190612309565b9392505050565b600033816112db8286611775565b90508381101561133b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610987565b610d1f8286868403611c11565b6000806113c58b8b8b8b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b81528e93508d9250908c908c908190840183828082843760009201919091525061241692505050565b91509150995099975050505050505050565b6113df611bb7565b8181306040516020016113f493929190613cf2565b60408051601f1981840301815291815261ffff8516600090815260016020908152919020825161142993919290910190613266565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161145d93929190613c77565b60405180910390a1505050565b600033610ca4818585611daf565b611480611bb7565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b6114dd611bb7565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906115319088908890889088908890600401613d18565b600060405180830381600087803b15801561154b57600080fd5b505af115801561118c573d6000803e3d6000fd5b61ffff861660009081526004602052604080822090516115829088908890613c10565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806116025760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610987565b808383604051611613929190613c10565b6040518091039020146116725760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610987565b61ffff871660009081526004602052604080822090516116959089908990613c10565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261172d918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061204e92505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611764959493929190613d51565b60405180910390a150505050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6117a8611bb7565b600081116117f05760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610987565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161145d565b61185a611bb7565b6005805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016114ca565b3330146118ea5760405162461bcd60e51b815260206004820152601f60248201527f4f4654436f72653a2063616c6c6572206d757374206265204f4654436f7265006044820152606401610987565b6118f53086866124d1565b9350846001600160a01b03168a61ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8660405161193791815260200190565b60405180910390a3604051633fe79aed60e11b81526001600160a01b03861690637fcf35da90839061197b908e908e908e908e908e908d908d908d90600401613d8c565b600060405180830381600088803b15801561199557600080fd5b5087f11580156119a9573d6000803e3d6000fd5b505050505050505050505050505050565b6119c2611bb7565b61ffff831660009081526001602052604090206119e09083836132ea565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161145d93929190613c77565b611a1c611bb7565b6001600160a01b038116611a815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610987565b611a8a816121bd565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611b0d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b359190810190613de7565b95945050505050565b600080611ba15a60966366ad5c8a60e01b89898989604051602401611b669493929190613e54565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612523565b9150915081610fc757610fc786868686856125ad565b6000546001600160a01b0316331461104c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610987565b6001600160a01b038316611c735760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610987565b6001600160a01b038216611cd45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610987565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611d418484611775565b90506000198114611da95781811015611d9c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610987565b611da98484848403611c11565b50505050565b6001600160a01b038316611e135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610987565b6001600160a01b038216611e755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610987565b6001600160a01b03831660009081526007602052604090205481811015611eed5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610987565b6001600160a01b0380851660008181526007602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611f4d9086815260200190565b60405180910390a3611da9565b6000806000611fa887611f6c8861264a565b6040805160006020820152602181019390935260c09190911b6001600160c01b0319166041830152805160298184030181526049909201905290565b60405163040a7bb160e41b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090611fff908b90309086908b908b90600401613e92565b6040805180830381865afa15801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190613ee6565b92509250509550959350505050565b600061205a82826126d0565b905060ff8116612075576120708585858561272c565b610c8f565b60ff81166001141561208d57612070858585856127bc565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b65742074797065000000006044820152606401610987565b60006120e3878284816129ca565b6120ec85612a44565b5090506120fb88888884612a84565b9050600081116121495760405162461bcd60e51b815260206004820152601960248201527813d19510dbdc994e88185b5bdd5b9d081d1bdbc81cdb585b1b603a1b6044820152606401610987565b600061215887611f6c8461264a565b9050612168888287878734612ab6565b86896001600160a01b03168961ffff167fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a856040516121a991815260200190565b60405180910390a450979650505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612225896001846001600160401b0389166129ca565b61222e87612a44565b50905061223d8a8a8a84612a84565b90506000811161228b5760405162461bcd60e51b815260206004820152601960248201527813d19510dbdc994e88185b5bdd5b9d081d1bdbc81cdb585b1b603a1b6044820152606401610987565b60006122a2338a61229b8561264a565b8a8a612c51565b90506122b28a8287878734612ab6565b888b6001600160a01b03168b61ffff167fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a856040516122f391815260200190565b60405180910390a4509998505050505050505050565b60608161231781601f613c36565b10156123565760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610987565b6123608284613c36565b845110156123a45760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610987565b6060821580156123c3576040519150600082526020820160405261240d565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156123fc5780518352602092830192016123e4565b5050858452601f01601f1916604052505b50949350505050565b6000806000612429338a61229b8b61264a565b60405163040a7bb160e41b81529091506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb1090612480908d90309086908b908b90600401613e92565b6040805180830381865afa15801561249c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c09190613ee6565b925092505097509795505050505050565b600033306001600160a01b038616148015906124ff5750806001600160a01b0316856001600160a01b031614155b1561250f5761250f858285611d35565b61251a858585611daf565b50909392505050565b6000606060008060008661ffff166001600160401b0381111561254857612548613675565b6040519080825280601f01601f191660200182016040528015612572576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612594578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff168152602001908152602001600020856040516125de9190613f0a565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061263b9087908790879087908790613f26565b60405180910390a15050505050565b6000806126777f000000000000000000000000000000000000000000000000000000000000000084613f8e565b90506001600160401b03811115610b755760405162461bcd60e51b815260206004820152601a60248201527f4f4654436f72653a20616d6f756e745344206f766572666c6f770000000000006044820152606401610987565b60006126dd826001613c36565b835110156127235760405162461bcd60e51b8152602060048201526013602482015272746f55696e74385f6f75744f66426f756e647360681b6044820152606401610987565b50016001015190565b60008061273883612c92565b90925090506001600160a01b0382166127515761dead91505b600061275c82612d17565b9050612769878483612d4c565b9050826001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf836040516127ab91815260200190565b60405180910390a350505050505050565b60008060008060006127cd86612d5f565b945094509450945094506000600660008b61ffff1661ffff168152602001908152602001600020896040516128029190613f0a565b90815260408051602092819003830190206001600160401b038b166000908152925281205460ff16915061283585612d17565b9050816128a3576128478b3083612d4c565b61ffff8c1660009081526006602052604090819020905191925060019161286f908d90613f0a565b90815260408051602092819003830190206001600160401b038d16600090815292529020805460ff19169115159190911790555b6001600160a01b0386163b6128fa576040516001600160a01b03871681527f9aedf5fdba8716db3b6705ca00150643309995d4f818a249ed6dde6677e7792d9060200160405180910390a150505050505050611da9565b8a8a8a8a8a8a868a60008a612918578b6001600160401b031661291a565b5a5b905060008061294c5a609663eaffd49a60e01b8e8e8e8d8d8d8d8d604051602401611b66989796959493929190613fa2565b9150915081156129a5578751602089012060405161ffff8d16907fb8890edbfc1c74692f527444645f95489c3703cc2df42e4a366f5d06fa6cd88490612997908e908e908690614016565b60405180910390a2506129b2565b6129b28b8b8b8b856125ad565b50505050505050505050505050505050505050505050565b60055460ff16156129e6576129e184848484612e16565b611da9565b815115611da95760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b6064820152608401610987565b600080612a717f000000000000000000000000000000000000000000000000000000000000000084614044565b9050612a7d8184613cdb565b9150915091565b6000336001600160a01b0386168114612aa257612aa2868285611d35565b612aac8684612ef5565b5090949350505050565b61ffff861660009081526001602052604081208054612ad490613bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0090613bdb565b8015612b4d5780601f10612b2257610100808354040283529160200191612b4d565b820191906000526020600020905b815481529060010190602001808311612b3057829003601f168201915b50505050509050805160001415612bbf5760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610987565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490612c16908b9086908c908c908c908c90600401614058565b6000604051808303818588803b158015612c2f57600080fd5b505af1158015612c43573d6000803e3d6000fd5b505050505050505050505050565b6060600185856001600160a01b0389168587604051602001612c78969594939291906140bf565b604051602081830303815290604052905095945050505050565b60008080612ca084826126d0565b60ff16148015612cb1575082516029145b612cf85760405162461bcd60e51b815260206004820152601860248201527713d19510dbdc994e881a5b9d985b1a59081c185e5b1bd85960421b6044820152606401610987565b612d0383600d613029565b9150612d1083602161308e565b9050915091565b6000610b757f00000000000000000000000000000000000000000000000000000000000000006001600160401b038416614120565b6000612d5883836130eb565b5092915050565b600080806060816001612d7287836126d0565b60ff1614612dbd5760405162461bcd60e51b815260206004820152601860248201527713d19510dbdc994e881a5b9d985b1a59081c185e5b1bd85960421b6044820152606401610987565b612dc886600d613029565b9350612dd586602161308e565b9250612de28660296131ac565b9450612def86604961308e565b9050612e0b6051808851612e039190613cdb565b889190612309565b915091939590929450565b6000612e218361320a565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612e53908490613c36565b905060008111612ea55760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610987565b80821015610fc75760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610987565b6001600160a01b038216612f555760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610987565b6001600160a01b03821660009081526007602052604090205481811015612fc95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610987565b6001600160a01b03831660008181526007602090815260408083208686039055600980548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6000613036826014613c36565b8351101561307e5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610987565b500160200151600160601b900490565b600061309b826008613c36565b835110156130e25760405162461bcd60e51b8152602060048201526014602482015273746f55696e7436345f6f75744f66426f756e647360601b6044820152606401610987565b50016008015190565b6001600160a01b0382166131415760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610987565b80600960008282546131539190613c36565b90915550506001600160a01b0382166000818152600760209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006131b9826020613c36565b835110156132015760405162461bcd60e51b8152602060048201526015602482015274746f427974657333325f6f75744f66426f756e647360581b6044820152606401610987565b50016020015190565b600060228251101561325e5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610987565b506022015190565b82805461327290613bdb565b90600052602060002090601f01602090048101928261329457600085556132da565b82601f106132ad57805160ff19168380011785556132da565b828001600101855582156132da579182015b828111156132da5782518255916020019190600101906132bf565b506132e692915061335e565b5090565b8280546132f690613bdb565b90600052602060002090601f01602090048101928261331857600085556132da565b82601f106133315782800160ff198235161785556132da565b828001600101855582156132da579182015b828111156132da578235825591602001919060010190613343565b5b808211156132e6576000815560010161335f565b803561ffff8116811461338557600080fd5b919050565b60008083601f84011261339c57600080fd5b5081356001600160401b038111156133b357600080fd5b6020830191508360208285010111156133cb57600080fd5b9250929050565b80356001600160401b038116811461338557600080fd5b6000806000806000806080878903121561340257600080fd5b61340b87613373565b955060208701356001600160401b038082111561342757600080fd5b6134338a838b0161338a565b909750955085915061344760408a016133d2565b9450606089013591508082111561345d57600080fd5b5061346a89828a0161338a565b979a9699509497509295939492505050565b60006020828403121561348e57600080fd5b81356001600160e01b0319811681146112c657600080fd5b60005b838110156134c15781810151838201526020016134a9565b83811115611da95750506000910152565b600081518084526134ea8160208601602086016134a6565b601f01601f19169290920160200192915050565b6020815260006112c660208301846134d2565b60006020828403121561352357600080fd5b6112c682613373565b6001600160a01b0381168114611a8a57600080fd5b6000806040838503121561355457600080fd5b823561355f8161352c565b946020939093013593505050565b60008060006060848603121561358257600080fd5b833561358d8161352c565b9250602084013561359d8161352c565b929592945050506040919091013590565b8035801515811461338557600080fd5b60008060008060008060a087890312156135d757600080fd5b6135e087613373565b955060208701359450604087013593506135fc606088016135ae565b925060808701356001600160401b0381111561361757600080fd5b61346a89828a0161338a565b60008060006040848603121561363857600080fd5b61364184613373565b925060208401356001600160401b0381111561365c57600080fd5b6136688682870161338a565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156136b3576136b3613675565b604052919050565b60006001600160401b038211156136d4576136d4613675565b50601f01601f191660200190565b6000806000606084860312156136f757600080fd5b61370084613373565b925060208401356001600160401b0381111561371b57600080fd5b8401601f8101861361372c57600080fd5b803561373f61373a826136bb565b61368b565b81815287602083850101111561375457600080fd5b81602084016020830137600060208383010152809450505050613779604085016133d2565b90509250925092565b60006060828403121561379457600080fd5b50919050565b600080600080600060a086880312156137b257600080fd5b85356137bd8161352c565b94506137cb60208701613373565b9350604086013592506060860135915060808601356001600160401b038111156137f457600080fd5b61380088828901613782565b9150509295509295909350565b60006020828403121561381f57600080fd5b81356112c68161352c565b60008060008060008060008060e0898b03121561384657600080fd5b88356138518161352c565b975061385f60208a01613373565b9650604089013595506060890135945060808901356001600160401b038082111561388957600080fd5b6138958c838d0161338a565b90965094508491506138a960a08c016133d2565b935060c08b01359150808211156138bf57600080fd5b506138cc8b828c01613782565b9150509295985092959890939650565b600080604083850312156138ef57600080fd5b6138f883613373565b915061390660208401613373565b90509250929050565b600080600080600080600080600060e08a8c03121561392d57600080fd5b6139368a613373565b985060208a0135975060408a0135965060608a01356001600160401b038082111561396057600080fd5b61396c8d838e0161338a565b909850965086915061398060808d016133d2565b955061398e60a08d016135ae565b945060c08c01359150808211156139a457600080fd5b506139b18c828d0161338a565b915080935050809150509295985092959850929598565b6000806000806000608086880312156139e057600080fd5b6139e986613373565b94506139f760208701613373565b93506040860135925060608601356001600160401b03811115613a1957600080fd5b613a258882890161338a565b969995985093965092949392505050565b60008060408385031215613a4957600080fd5b8235613a548161352c565b91506020830135613a648161352c565b809150509250929050565b600080600060608486031215613a8457600080fd5b613a8d84613373565b9250613a9b60208501613373565b9150604084013590509250925092565b600060208284031215613abd57600080fd5b6112c6826135ae565b6000806000806000806000806000806101008b8d031215613ae657600080fd5b613aef8b613373565b995060208b01356001600160401b0380821115613b0b57600080fd5b613b178e838f0161338a565b909b509950899150613b2b60408e016133d2565b985060608d0135975060808d01359150613b448261352c565b90955060a08c0135945060c08c01359080821115613b6157600080fd5b50613b6e8d828e0161338a565b9150809450508092505060e08b013590509295989b9194979a5092959850565b60008060008060808587031215613ba457600080fd5b613bad85613373565b9350613bbb60208601613373565b92506040850135613bcb8161352c565b9396929550929360600135925050565b600181811c90821680613bef57607f821691505b6020821081141561379457634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613c4957613c49613c20565b500190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611b35604083018486613c4e565b6000808335601e19843603018112613cac57600080fd5b8301803591506001600160401b03821115613cc657600080fd5b6020019150368190038213156133cb57600080fd5b600082821015613ced57613ced613c20565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600061ffff808816835280871660208401525084604083015260806060830152613d46608083018486613c4e565b979650505050505050565b61ffff86168152608060208201526000613d6f608083018688613c4e565b6001600160401b0394909416604083015250606001529392505050565b61ffff8916815260c060208201526000613daa60c08301898b613c4e565b6001600160401b038816604084015286606084015285608084015282810360a0840152613dd8818587613c4e565b9b9a5050505050505050505050565b600060208284031215613df957600080fd5b81516001600160401b03811115613e0f57600080fd5b8201601f81018413613e2057600080fd5b8051613e2e61373a826136bb565b818152856020838501011115613e4357600080fd5b611b358260208301602086016134a6565b61ffff85168152608060208201526000613e7160808301866134d2565b6001600160401b03851660408401528281036060840152613d4681856134d2565b61ffff861681526001600160a01b038516602082015260a060408201819052600090613ec0908301866134d2565b84151560608401528281036080840152613eda81856134d2565b98975050505050505050565b60008060408385031215613ef957600080fd5b505080516020909101519092909150565b60008251613f1c8184602087016134a6565b9190910192915050565b61ffff8616815260a060208201526000613f4360a08301876134d2565b6001600160401b03861660408401528281036060840152613f6481866134d2565b90508281036080840152613eda81856134d2565b634e487b7160e01b600052601260045260246000fd5b600082613f9d57613f9d613f78565b500490565b600061010061ffff8b168352806020840152613fc08184018b6134d2565b6001600160401b038a166040850152606084018990526001600160a01b038816608085015260a0840187905283810360c0850152905061400081866134d2565b9150508260e08301529998505050505050505050565b60608152600061402960608301866134d2565b6001600160401b039490941660208301525060400152919050565b60008261405357614053613f78565b500690565b61ffff8716815260c06020820152600061407560c08301886134d2565b828103604084015261408781886134d2565b6001600160a01b0387811660608601528616608085015283810360a085015290506140b281856134d2565b9998505050505050505050565b60ff60f81b8760f81b16815285600182015260006001600160401b0360c01b808760c01b166021840152856029840152808560c01b16604984015250825161410e8160518501602087016134a6565b91909101605101979650505050505050565b600081600019048311821515161561413a5761413a613c20565b50029056fea264697066735822122099feb1a27895ff637492bef90f962ef576c02bcd7072613846873fd853a53ba764736f6c634300080c0033000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7
Deployed Bytecode
0x6080604052600436106102925760003560e01c80638da5cb5b1161015a578063cbed8b9c116100c1578063eaffd49a1161007a578063eaffd49a14610866578063eb8d72b714610886578063ed629c5c146108a6578063f2fde38b146108c0578063f5ecbdbc146108e0578063fc0c546a1461090057600080fd5b8063cbed8b9c146107be578063d1deba1f146107de578063dd62ed3e146107f1578063df2a5b3b14610811578063e6a20ae614610831578063eab45d9c1461084657600080fd5b8063a457c2d711610113578063a457c2d7146106ea578063a4c51df51461070a578063a6c3d1651461072a578063a9059cbb1461074a578063b353aaa71461076a578063baf3292d1461079e57600080fd5b80638da5cb5b146105fc5780639358928b1461062e578063950c8a741461064357806395d89b41146106635780639bdb9812146106785780639f38369a146106ca57600080fd5b806342d65a8d116101fe57806370a08231116101b757806370a0823114610512578063715018a6146105485780637533d7881461055d57806376203b481461057d578063857749b0146105905780638cfd8f5c146105c457600080fd5b806342d65a8d1461044657806344770515146104665780634c42899a1461047b5780635b8c41e61461049057806366ad5c8a146104df578063695ef6bf146104ff57600080fd5b806318160ddd1161025057806318160ddd1461037057806323b872dd1461038f578063313ce567146103af578063365260b4146103d157806339509351146104065780633d8b38f61461042657600080fd5b80621d35671461029757806301ffc9a7146102b957806306fdde03146102ee57806307e0db1714610310578063095ea7b31461033057806310ddb13714610350575b600080fd5b3480156102a357600080fd5b506102b76102b23660046133e9565b610913565b005b3480156102c557600080fd5b506102d96102d436600461347c565b610b44565b60405190151581526020015b60405180910390f35b3480156102fa57600080fd5b50610303610b7b565b6040516102e591906134fe565b34801561031c57600080fd5b506102b761032b366004613511565b610c0d565b34801561033c57600080fd5b506102d961034b366004613541565b610c96565b34801561035c57600080fd5b506102b761036b366004613511565b610cae565b34801561037c57600080fd5b506009545b6040519081526020016102e5565b34801561039b57600080fd5b506102d96103aa36600461356d565b610d06565b3480156103bb57600080fd5b5060065b60405160ff90911681526020016102e5565b3480156103dd57600080fd5b506103f16103ec3660046135be565b610d2a565b604080519283526020830191909152016102e5565b34801561041257600080fd5b506102d9610421366004613541565b610d7f565b34801561043257600080fd5b506102d9610441366004613623565b610da1565b34801561045257600080fd5b506102b7610461366004613623565b610e6d565b34801561047257600080fd5b50610381600081565b34801561048757600080fd5b506103bf600081565b34801561049c57600080fd5b506103816104ab3660046136e2565b6004602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156104eb57600080fd5b506102b76104fa3660046133e9565b610ef3565b6102b761050d36600461379a565b610fcf565b34801561051e57600080fd5b5061038161052d36600461380d565b6001600160a01b031660009081526007602052604090205490565b34801561055457600080fd5b506102b761103a565b34801561056957600080fd5b50610303610578366004613511565b61104e565b6102b761058b36600461382a565b6110e8565b34801561059c57600080fd5b506103bf7f000000000000000000000000000000000000000000000000000000000000000681565b3480156105d057600080fd5b506103816105df3660046138dc565b600260209081526000928352604080842090915290825290205481565b34801561060857600080fd5b506000546001600160a01b03165b6040516001600160a01b0390911681526020016102e5565b34801561063a57600080fd5b50610381611197565b34801561064f57600080fd5b50600354610616906001600160a01b031681565b34801561066f57600080fd5b506103036111a7565b34801561068457600080fd5b506102d96106933660046136e2565b6006602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205460ff1681565b3480156106d657600080fd5b506103036106e5366004613511565b6111b6565b3480156106f657600080fd5b506102d9610705366004613541565b6112cd565b34801561071657600080fd5b506103f161072536600461390f565b611348565b34801561073657600080fd5b506102b7610745366004613623565b6113d7565b34801561075657600080fd5b506102d9610765366004613541565b61146a565b34801561077657600080fd5b506106167f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd781565b3480156107aa57600080fd5b506102b76107b936600461380d565b611478565b3480156107ca57600080fd5b506102b76107d93660046139c8565b6114d5565b6102b76107ec3660046133e9565b61155f565b3480156107fd57600080fd5b5061038161080c366004613a36565b611775565b34801561081d57600080fd5b506102b761082c366004613a6f565b6117a0565b34801561083d57600080fd5b506103bf600181565b34801561085257600080fd5b506102b7610861366004613aab565b611852565b34801561087257600080fd5b506102b7610881366004613ac6565b61189b565b34801561089257600080fd5b506102b76108a1366004613623565b6119ba565b3480156108b257600080fd5b506005546102d99060ff1681565b3480156108cc57600080fd5b506102b76108db36600461380d565b611a14565b3480156108ec57600080fd5b506103036108fb366004613b8e565b611a8d565b34801561090c57600080fd5b5030610616565b337f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b0316146109905760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff8616600090815260016020526040812080546109ae90613bdb565b80601f01602080910402602001604051908101604052809291908181526020018280546109da90613bdb565b8015610a275780601f106109fc57610100808354040283529160200191610a27565b820191906000526020600020905b815481529060010190602001808311610a0a57829003601f168201915b50505050509050805186869050148015610a42575060008151115b8015610a6a575080516020820120604051610a609088908890613c10565b6040518091039020145b610ac55760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610987565b610b3b8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250611b3e92505050565b50505050505050565b60006001600160e01b03198216631f7ecdf760e01b1480610b7557506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600a8054610b8a90613bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb690613bdb565b8015610c035780601f10610bd857610100808354040283529160200191610c03565b820191906000526020600020905b815481529060010190602001808311610be657829003601f168201915b5050505050905090565b610c15611bb7565b6040516307e0db1760e01b815261ffff821660048201527f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b0316906307e0db17906024015b600060405180830381600087803b158015610c7b57600080fd5b505af1158015610c8f573d6000803e3d6000fd5b5050505050565b600033610ca4818585611c11565b5060019392505050565b610cb6611bb7565b6040516310ddb13760e01b815261ffff821660048201527f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b0316906310ddb13790602401610c61565b600033610d14858285611d35565b610d1f858585611daf565b506001949350505050565b600080610d708888888888888080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611f5a92505050565b91509150965096945050505050565b600033610ca4818585610d928383611775565b610d9c9190613c36565b611c11565b61ffff831660009081526001602052604081208054829190610dc290613bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610dee90613bdb565b8015610e3b5780601f10610e1057610100808354040283529160200191610e3b565b820191906000526020600020905b815481529060010190602001808311610e1e57829003601f168201915b505050505090508383604051610e52929190613c10565b60405180910390208180519060200120149150509392505050565b610e75611bb7565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd716906342d65a8d90610ec590869086908690600401613c77565b600060405180830381600087803b158015610edf57600080fd5b505af1158015610b3b573d6000803e3d6000fd5b333014610f515760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610987565b610fc78686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061204e92505050565b505050505050565b610fc785858585610fe3602087018761380d565b610ff3604088016020890161380d565b6110006040890189613c95565b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506120d592505050565b611042611bb7565b61104c60006121bd565b565b6001602052600090815260409020805461106790613bdb565b80601f016020809104026020016040519081016040528092919081815260200182805461109390613bdb565b80156110e05780601f106110b5576101008083540402835291602001916110e0565b820191906000526020600020905b8154815290600101906020018083116110c357829003601f168201915b505050505081565b61118c8888888888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250611135915050602089018961380d565b61114560408a0160208b0161380d565b61115260408b018b613c95565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061220d92505050565b505050505050505050565b60006111a260095490565b905090565b6060600b8054610b8a90613bdb565b61ffff81166000908152600160205260408120805460609291906111d990613bdb565b80601f016020809104026020016040519081016040528092919081815260200182805461120590613bdb565b80156112525780601f1061122757610100808354040283529160200191611252565b820191906000526020600020905b81548152906001019060200180831161123557829003601f168201915b505050505090508051600014156112ab5760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610987565b6112c66000601483516112be9190613cdb565b839190612309565b9392505050565b600033816112db8286611775565b90508381101561133b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610987565b610d1f8286868403611c11565b6000806113c58b8b8b8b8b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8d018190048102820181019092528b81528e93508d9250908c908c908190840183828082843760009201919091525061241692505050565b91509150995099975050505050505050565b6113df611bb7565b8181306040516020016113f493929190613cf2565b60408051601f1981840301815291815261ffff8516600090815260016020908152919020825161142993919290910190613266565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce83838360405161145d93929190613c77565b60405180910390a1505050565b600033610ca4818585611daf565b611480611bb7565b600380546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b906020015b60405180910390a150565b6114dd611bb7565b6040516332fb62e760e21b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7169063cbed8b9c906115319088908890889088908890600401613d18565b600060405180830381600087803b15801561154b57600080fd5b505af115801561118c573d6000803e3d6000fd5b61ffff861660009081526004602052604080822090516115829088908890613c10565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806116025760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610987565b808383604051611613929190613c10565b6040518091039020146116725760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610987565b61ffff871660009081526004602052604080822090516116959089908990613c10565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f8801829004820283018201905286825261172d918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061204e92505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e58787878785604051611764959493929190613d51565b60405180910390a150505050505050565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205490565b6117a8611bb7565b600081116117f05760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610987565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac09060600161145d565b61185a611bb7565b6005805460ff19168215159081179091556040519081527f1584ad594a70cbe1e6515592e1272a987d922b097ead875069cebe8b40c004a4906020016114ca565b3330146118ea5760405162461bcd60e51b815260206004820152601f60248201527f4f4654436f72653a2063616c6c6572206d757374206265204f4654436f7265006044820152606401610987565b6118f53086866124d1565b9350846001600160a01b03168a61ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf8660405161193791815260200190565b60405180910390a3604051633fe79aed60e11b81526001600160a01b03861690637fcf35da90839061197b908e908e908e908e908e908d908d908d90600401613d8c565b600060405180830381600088803b15801561199557600080fd5b5087f11580156119a9573d6000803e3d6000fd5b505050505050505050505050505050565b6119c2611bb7565b61ffff831660009081526001602052604090206119e09083836132ea565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab83838360405161145d93929190613c77565b611a1c611bb7565b6001600160a01b038116611a815760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610987565b611a8a816121bd565b50565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd76001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015611b0d573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052611b359190810190613de7565b95945050505050565b600080611ba15a60966366ad5c8a60e01b89898989604051602401611b669493929190613e54565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190612523565b9150915081610fc757610fc786868686856125ad565b6000546001600160a01b0316331461104c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610987565b6001600160a01b038316611c735760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610987565b6001600160a01b038216611cd45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610987565b6001600160a01b0383811660008181526008602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6000611d418484611775565b90506000198114611da95781811015611d9c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610987565b611da98484848403611c11565b50505050565b6001600160a01b038316611e135760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610987565b6001600160a01b038216611e755760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610987565b6001600160a01b03831660009081526007602052604090205481811015611eed5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610987565b6001600160a01b0380851660008181526007602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611f4d9086815260200190565b60405180910390a3611da9565b6000806000611fa887611f6c8861264a565b6040805160006020820152602181019390935260c09190911b6001600160c01b0319166041830152805160298184030181526049909201905290565b60405163040a7bb160e41b81529091506001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd716906340a7bb1090611fff908b90309086908b908b90600401613e92565b6040805180830381865afa15801561201b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061203f9190613ee6565b92509250509550959350505050565b600061205a82826126d0565b905060ff8116612075576120708585858561272c565b610c8f565b60ff81166001141561208d57612070858585856127bc565b60405162461bcd60e51b815260206004820152601c60248201527f4f4654436f72653a20756e6b6e6f776e207061636b65742074797065000000006044820152606401610987565b60006120e3878284816129ca565b6120ec85612a44565b5090506120fb88888884612a84565b9050600081116121495760405162461bcd60e51b815260206004820152601960248201527813d19510dbdc994e88185b5bdd5b9d081d1bdbc81cdb585b1b603a1b6044820152606401610987565b600061215887611f6c8461264a565b9050612168888287878734612ab6565b86896001600160a01b03168961ffff167fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a856040516121a991815260200190565b60405180910390a450979650505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000612225896001846001600160401b0389166129ca565b61222e87612a44565b50905061223d8a8a8a84612a84565b90506000811161228b5760405162461bcd60e51b815260206004820152601960248201527813d19510dbdc994e88185b5bdd5b9d081d1bdbc81cdb585b1b603a1b6044820152606401610987565b60006122a2338a61229b8561264a565b8a8a612c51565b90506122b28a8287878734612ab6565b888b6001600160a01b03168b61ffff167fd81fc9b8523134ed613870ed029d6170cbb73aa6a6bc311b9a642689fb9df59a856040516122f391815260200190565b60405180910390a4509998505050505050505050565b60608161231781601f613c36565b10156123565760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610987565b6123608284613c36565b845110156123a45760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610987565b6060821580156123c3576040519150600082526020820160405261240d565b6040519150601f8416801560200281840101858101878315602002848b0101015b818310156123fc5780518352602092830192016123e4565b5050858452601f01601f1916604052505b50949350505050565b6000806000612429338a61229b8b61264a565b60405163040a7bb160e41b81529091506001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd716906340a7bb1090612480908d90309086908b908b90600401613e92565b6040805180830381865afa15801561249c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124c09190613ee6565b925092505097509795505050505050565b600033306001600160a01b038616148015906124ff5750806001600160a01b0316856001600160a01b031614155b1561250f5761250f858285611d35565b61251a858585611daf565b50909392505050565b6000606060008060008661ffff166001600160401b0381111561254857612548613675565b6040519080825280601f01601f191660200182016040528015612572576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115612594578692505b828152826000602083013e909890975095505050505050565b8180519060200120600460008761ffff1661ffff168152602001908152602001600020856040516125de9190613f0a565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c9061263b9087908790879087908790613f26565b60405180910390a15050505050565b6000806126777f000000000000000000000000000000000000000000000000000000000000000184613f8e565b90506001600160401b03811115610b755760405162461bcd60e51b815260206004820152601a60248201527f4f4654436f72653a20616d6f756e745344206f766572666c6f770000000000006044820152606401610987565b60006126dd826001613c36565b835110156127235760405162461bcd60e51b8152602060048201526013602482015272746f55696e74385f6f75744f66426f756e647360681b6044820152606401610987565b50016001015190565b60008061273883612c92565b90925090506001600160a01b0382166127515761dead91505b600061275c82612d17565b9050612769878483612d4c565b9050826001600160a01b03168761ffff167fbf551ec93859b170f9b2141bd9298bf3f64322c6f7beb2543a0cb669834118bf836040516127ab91815260200190565b60405180910390a350505050505050565b60008060008060006127cd86612d5f565b945094509450945094506000600660008b61ffff1661ffff168152602001908152602001600020896040516128029190613f0a565b90815260408051602092819003830190206001600160401b038b166000908152925281205460ff16915061283585612d17565b9050816128a3576128478b3083612d4c565b61ffff8c1660009081526006602052604090819020905191925060019161286f908d90613f0a565b90815260408051602092819003830190206001600160401b038d16600090815292529020805460ff19169115159190911790555b6001600160a01b0386163b6128fa576040516001600160a01b03871681527f9aedf5fdba8716db3b6705ca00150643309995d4f818a249ed6dde6677e7792d9060200160405180910390a150505050505050611da9565b8a8a8a8a8a8a868a60008a612918578b6001600160401b031661291a565b5a5b905060008061294c5a609663eaffd49a60e01b8e8e8e8d8d8d8d8d604051602401611b66989796959493929190613fa2565b9150915081156129a5578751602089012060405161ffff8d16907fb8890edbfc1c74692f527444645f95489c3703cc2df42e4a366f5d06fa6cd88490612997908e908e908690614016565b60405180910390a2506129b2565b6129b28b8b8b8b856125ad565b50505050505050505050505050505050505050505050565b60055460ff16156129e6576129e184848484612e16565b611da9565b815115611da95760405162461bcd60e51b815260206004820152602660248201527f4f4654436f72653a205f61646170746572506172616d73206d7573742062652060448201526532b6b83a3c9760d11b6064820152608401610987565b600080612a717f000000000000000000000000000000000000000000000000000000000000000184614044565b9050612a7d8184613cdb565b9150915091565b6000336001600160a01b0386168114612aa257612aa2868285611d35565b612aac8684612ef5565b5090949350505050565b61ffff861660009081526001602052604081208054612ad490613bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0090613bdb565b8015612b4d5780601f10612b2257610100808354040283529160200191612b4d565b820191906000526020600020905b815481529060010190602001808311612b3057829003601f168201915b50505050509050805160001415612bbf5760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610987565b60405162c5803160e81b81526001600160a01b037f000000000000000000000000b6319cc6c8c27a8f5daf0dd3df91ea35c4720dd7169063c5803100908490612c16908b9086908c908c908c908c90600401614058565b6000604051808303818588803b158015612c2f57600080fd5b505af1158015612c43573d6000803e3d6000fd5b505050505050505050505050565b6060600185856001600160a01b0389168587604051602001612c78969594939291906140bf565b604051602081830303815290604052905095945050505050565b60008080612ca084826126d0565b60ff16148015612cb1575082516029145b612cf85760405162461bcd60e51b815260206004820152601860248201527713d19510dbdc994e881a5b9d985b1a59081c185e5b1bd85960421b6044820152606401610987565b612d0383600d613029565b9150612d1083602161308e565b9050915091565b6000610b757f00000000000000000000000000000000000000000000000000000000000000016001600160401b038416614120565b6000612d5883836130eb565b5092915050565b600080806060816001612d7287836126d0565b60ff1614612dbd5760405162461bcd60e51b815260206004820152601860248201527713d19510dbdc994e881a5b9d985b1a59081c185e5b1bd85960421b6044820152606401610987565b612dc886600d613029565b9350612dd586602161308e565b9250612de28660296131ac565b9450612def86604961308e565b9050612e0b6051808851612e039190613cdb565b889190612309565b915091939590929450565b6000612e218361320a565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090612e53908490613c36565b905060008111612ea55760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610987565b80821015610fc75760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610987565b6001600160a01b038216612f555760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610987565b6001600160a01b03821660009081526007602052604090205481811015612fc95760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610987565b6001600160a01b03831660008181526007602090815260408083208686039055600980548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6000613036826014613c36565b8351101561307e5760405162461bcd60e51b8152602060048201526015602482015274746f416464726573735f6f75744f66426f756e647360581b6044820152606401610987565b500160200151600160601b900490565b600061309b826008613c36565b835110156130e25760405162461bcd60e51b8152602060048201526014602482015273746f55696e7436345f6f75744f66426f756e647360601b6044820152606401610987565b50016008015190565b6001600160a01b0382166131415760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610987565b80600960008282546131539190613c36565b90915550506001600160a01b0382166000818152600760209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006131b9826020613c36565b835110156132015760405162461bcd60e51b8152602060048201526015602482015274746f427974657333325f6f75744f66426f756e647360581b6044820152606401610987565b50016020015190565b600060228251101561325e5760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610987565b506022015190565b82805461327290613bdb565b90600052602060002090601f01602090048101928261329457600085556132da565b82601f106132ad57805160ff19168380011785556132da565b828001600101855582156132da579182015b828111156132da5782518255916020019190600101906132bf565b506132e692915061335e565b5090565b8280546132f690613bdb565b90600052602060002090601f01602090048101928261331857600085556132da565b82601f106133315782800160ff198235161785556132da565b828001600101855582156132da579182015b828111156132da578235825591602001919060010190613343565b5b808211156132e6576000815560010161335f565b803561ffff8116811461338557600080fd5b919050565b60008083601f84011261339c57600080fd5b5081356001600160401b038111156133b357600080fd5b6020830191508360208285010111156133cb57600080fd5b9250929050565b80356001600160401b038116811461338557600080fd5b6000806000806000806080878903121561340257600080fd5b61340b87613373565b955060208701356001600160401b038082111561342757600080fd5b6134338a838b0161338a565b909750955085915061344760408a016133d2565b9450606089013591508082111561345d57600080fd5b5061346a89828a0161338a565b979a9699509497509295939492505050565b60006020828403121561348e57600080fd5b81356001600160e01b0319811681146112c657600080fd5b60005b838110156134c15781810151838201526020016134a9565b83811115611da95750506000910152565b600081518084526134ea8160208601602086016134a6565b601f01601f19169290920160200192915050565b6020815260006112c660208301846134d2565b60006020828403121561352357600080fd5b6112c682613373565b6001600160a01b0381168114611a8a57600080fd5b6000806040838503121561355457600080fd5b823561355f8161352c565b946020939093013593505050565b60008060006060848603121561358257600080fd5b833561358d8161352c565b9250602084013561359d8161352c565b929592945050506040919091013590565b8035801515811461338557600080fd5b60008060008060008060a087890312156135d757600080fd5b6135e087613373565b955060208701359450604087013593506135fc606088016135ae565b925060808701356001600160401b0381111561361757600080fd5b61346a89828a0161338a565b60008060006040848603121561363857600080fd5b61364184613373565b925060208401356001600160401b0381111561365c57600080fd5b6136688682870161338a565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156136b3576136b3613675565b604052919050565b60006001600160401b038211156136d4576136d4613675565b50601f01601f191660200190565b6000806000606084860312156136f757600080fd5b61370084613373565b925060208401356001600160401b0381111561371b57600080fd5b8401601f8101861361372c57600080fd5b803561373f61373a826136bb565b61368b565b81815287602083850101111561375457600080fd5b81602084016020830137600060208383010152809450505050613779604085016133d2565b90509250925092565b60006060828403121561379457600080fd5b50919050565b600080600080600060a086880312156137b257600080fd5b85356137bd8161352c565b94506137cb60208701613373565b9350604086013592506060860135915060808601356001600160401b038111156137f457600080fd5b61380088828901613782565b9150509295509295909350565b60006020828403121561381f57600080fd5b81356112c68161352c565b60008060008060008060008060e0898b03121561384657600080fd5b88356138518161352c565b975061385f60208a01613373565b9650604089013595506060890135945060808901356001600160401b038082111561388957600080fd5b6138958c838d0161338a565b90965094508491506138a960a08c016133d2565b935060c08b01359150808211156138bf57600080fd5b506138cc8b828c01613782565b9150509295985092959890939650565b600080604083850312156138ef57600080fd5b6138f883613373565b915061390660208401613373565b90509250929050565b600080600080600080600080600060e08a8c03121561392d57600080fd5b6139368a613373565b985060208a0135975060408a0135965060608a01356001600160401b038082111561396057600080fd5b61396c8d838e0161338a565b909850965086915061398060808d016133d2565b955061398e60a08d016135ae565b945060c08c01359150808211156139a457600080fd5b506139b18c828d0161338a565b915080935050809150509295985092959850929598565b6000806000806000608086880312156139e057600080fd5b6139e986613373565b94506139f760208701613373565b93506040860135925060608601356001600160401b03811115613a1957600080fd5b613a258882890161338a565b969995985093965092949392505050565b60008060408385031215613a4957600080fd5b8235613a548161352c565b91506020830135613a648161352c565b809150509250929050565b600080600060608486031215613a8457600080fd5b613a8d84613373565b9250613a9b60208501613373565b9150604084013590509250925092565b600060208284031215613abd57600080fd5b6112c6826135ae565b6000806000806000806000806000806101008b8d031215613ae657600080fd5b613aef8b613373565b995060208b01356001600160401b0380821115613b0b57600080fd5b613b178e838f0161338a565b909b509950899150613b2b60408e016133d2565b985060608d0135975060808d01359150613b448261352c565b90955060a08c0135945060c08c01359080821115613b6157600080fd5b50613b6e8d828e0161338a565b9150809450508092505060e08b013590509295989b9194979a5092959850565b60008060008060808587031215613ba457600080fd5b613bad85613373565b9350613bbb60208601613373565b92506040850135613bcb8161352c565b9396929550929360600135925050565b600181811c90821680613bef57607f821691505b6020821081141561379457634e487b7160e01b600052602260045260246000fd5b8183823760009101908152919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613c4957613c49613c20565b500190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000611b35604083018486613c4e565b6000808335601e19843603018112613cac57600080fd5b8301803591506001600160401b03821115613cc657600080fd5b6020019150368190038213156133cb57600080fd5b600082821015613ced57613ced613c20565b500390565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600061ffff808816835280871660208401525084604083015260806060830152613d46608083018486613c4e565b979650505050505050565b61ffff86168152608060208201526000613d6f608083018688613c4e565b6001600160401b0394909416604083015250606001529392505050565b61ffff8916815260c060208201526000613daa60c08301898b613c4e565b6001600160401b038816604084015286606084015285608084015282810360a0840152613dd8818587613c4e565b9b9a5050505050505050505050565b600060208284031215613df957600080fd5b81516001600160401b03811115613e0f57600080fd5b8201601f81018413613e2057600080fd5b8051613e2e61373a826136bb565b818152856020838501011115613e4357600080fd5b611b358260208301602086016134a6565b61ffff85168152608060208201526000613e7160808301866134d2565b6001600160401b03851660408401528281036060840152613d4681856134d2565b61ffff861681526001600160a01b038516602082015260a060408201819052600090613ec0908301866134d2565b84151560608401528281036080840152613eda81856134d2565b98975050505050505050565b60008060408385031215613ef957600080fd5b505080516020909101519092909150565b60008251613f1c8184602087016134a6565b9190910192915050565b61ffff8616815260a060208201526000613f4360a08301876134d2565b6001600160401b03861660408401528281036060840152613f6481866134d2565b90508281036080840152613eda81856134d2565b634e487b7160e01b600052601260045260246000fd5b600082613f9d57613f9d613f78565b500490565b600061010061ffff8b168352806020840152613fc08184018b6134d2565b6001600160401b038a166040850152606084018990526001600160a01b038816608085015260a0840187905283810360c0850152905061400081866134d2565b9150508260e08301529998505050505050505050565b60608152600061402960608301866134d2565b6001600160401b039490941660208301525060400152919050565b60008261405357614053613f78565b500690565b61ffff8716815260c06020820152600061407560c08301886134d2565b828103604084015261408781886134d2565b6001600160a01b0387811660608601528616608085015283810360a085015290506140b281856134d2565b9998505050505050505050565b60ff60f81b8760f81b16815285600182015260006001600160401b0360c01b808760c01b166021840152856029840152808560c01b16604984015250825161410e8160518501602087016134a6565b91909101605101979650505050505050565b600081600019048311821515161561413a5761413a613c20565b50029056fea264697066735822122099feb1a27895ff637492bef90f962ef576c02bcd7072613846873fd853a53ba764736f6c634300080c0033
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
189:218:33:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1035:753:3;;;;;;;;;;-1:-1:-1;1035:753:3;;;;;:::i;:::-;;:::i;:::-;;1409:211:9;;;;;;;;;;-1:-1:-1;1409:211:9;;;;;:::i;:::-;;:::i;:::-;;;2029:14:45;;2022:22;2004:41;;1992:2;1977:18;1409:211:9;;;;;;;;2154:98:23;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3834:121:3:-;;;;;;;;;;-1:-1:-1;3834:121:3;;;;;:::i;:::-;;:::i;4431:197:23:-;;;;;;;;;;-1:-1:-1;4431:197:23;;;;;:::i;:::-;;:::i;3961:127:3:-;;;;;;;;;;-1:-1:-1;3961:127:3;;;;;:::i;:::-;;:::i;3242:106:23:-;;;;;;;;;;-1:-1:-1;3329:12:23;;3242:106;;;3598:25:45;;;3586:2;3571:18;3242:106:23;3452:177:45;5190:286:23;;;;;;;;;;-1:-1:-1;5190:286:23;;;;;:::i;:::-;;:::i;315:90:33:-;;;;;;;;;;-1:-1:-1;397:1:33;315:90;;;4267:4:45;4255:17;;;4237:36;;4225:2;4210:18;315:90:33;4095:184:45;1626:290:9;;;;;;;;;;-1:-1:-1;1626:290:9;;;;;:::i;:::-;;:::i;:::-;;;;5315:25:45;;;5371:2;5356:18;;5349:34;;;;5288:18;1626:290:9;5141:248:45;5871:234:23;;;;;;;;;;-1:-1:-1;5871:234:23;;;;;:::i;:::-;;:::i;5744:247:3:-;;;;;;;;;;-1:-1:-1;5744:247:3;;;;;:::i;:::-;;:::i;4094:176::-;;;;;;;;;;-1:-1:-1;4094:176:3;;;;;:::i;:::-;;:::i;339:37:13:-;;;;;;;;;;;;375:1;339:37;;402:33;;;;;;;;;;;;434:1;402:33;;617:85:4;;;;;;;;;;-1:-1:-1;617:85:4;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1820:342;;;;;;;;;;-1:-1:-1;1820:342:4;;;;;:::i;:::-;;:::i;525:302:9:-;;;;;;:::i;:::-;;:::i;3406:125:23:-;;;;;;;;;;-1:-1:-1;3406:125:23;;;;;:::i;:::-;-1:-1:-1;;;;;3506:18:23;3480:7;3506:18;;;:9;:18;;;;;;;3406:125;1831:101:22;;;;;;;;;;;;;:::i;520:51:3:-;;;;;;;;;;-1:-1:-1;520:51:3;;;;;:::i;:::-;;:::i;833:386:9:-;;;;;;:::i;:::-;;:::i;490:37:13:-;;;;;;;;;;;;;;;577:65:3;;;;;;;;;;-1:-1:-1;577:65:3;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1201:85:22;;;;;;;;;;-1:-1:-1;1247:7:22;1273:6;-1:-1:-1;;;;;1273:6:22;1201:85;;;-1:-1:-1;;;;;10364:32:45;;;10346:51;;10334:2;10319:18;1201:85:22;10200:203:45;759:110:14;;;;;;;;;;;;;:::i;648:23:3:-;;;;;;;;;;-1:-1:-1;648:23:3;;;;-1:-1:-1;;;;;648:23:3;;;2365:102:23;;;;;;;;;;;;;:::i;574:83:13:-;;;;;;;;;;-1:-1:-1;574:83:13;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4898:326:3;;;;;;;;;;-1:-1:-1;4898:326:3;;;;;:::i;:::-;;:::i;6592:427:23:-;;;;;;;;;;-1:-1:-1;6592:427:23;;;;;:::i;:::-;;:::i;1922:378:9:-;;;;;;;;;;-1:-1:-1;1922:378:9;;;;;:::i;:::-;;:::i;4614:278:3:-;;;;;;;;;;-1:-1:-1;4614:278:3;;;;;:::i;:::-;;:::i;3727:189:23:-;;;;;;;;;;-1:-1:-1;3727:189:23;;;;;:::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:23:-;;;;;;;;;;-1:-1:-1;3974:149:23;;;;;:::i;:::-;;:::i;5369:280:3:-;;;;;;;;;;-1:-1:-1;5369:280:3;;;;;:::i;:::-;;:::i;441:42:13:-;;;;;;;;;;;;482:1;441:42;;2379:220;;;;;;;;;;-1:-1:-1;2379:220:13;;;;;:::i;:::-;;:::i;1818:555::-;;;;;;;;;;-1:-1:-1;1818:555:13;;;;;:::i;:::-;;:::i;4413:195:3:-;;;;;;;;;;-1:-1:-1;4413:195:3;;;;;:::i;:::-;;:::i;534:34:13:-;;;;;;;;;;-1:-1:-1;534:34:13;;;;;;;;2081:198:22;;;;;;;;;;-1:-1:-1;2081:198:22;;;;;:::i;:::-;;:::i;3358:209:3:-;;;;;;;;;;-1:-1:-1;3358:209:3;;;;;:::i;:::-;;:::i;875:101:14:-;;;;;;;;;;-1:-1:-1;964:4:14;875:101;;1035:753:3;719:10:29;1273::3;-1:-1:-1;;;;;1249:35:3;;1241:78;;;;-1:-1:-1;;;1241:78:3;;15127:2:45;1241:78:3;;;15109:21:45;15166:2;15146:18;;;15139:30;15205:32;15185:18;;;15178:60;15255: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;;16147:2:45;1533:175:3;;;16129:21:45;16186:2;16166:18;;;16159:30;16225:34;16205:18;;;16198:62;-1:-1:-1;;;16276:18:45;;;16269:36;16322:19;;1533:175:3;15945:402:45;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;1409:211:9:-;1511:4;-1:-1:-1;;;;;;1534:39:9;;-1:-1:-1;;;1534:39:9;;:79;;-1:-1:-1;;;;;;;;;;937:40:30;;;1577:36:9;1527:86;1409:211;-1:-1:-1;;1409:211:9:o;2154:98:23:-;2208:13;2240:5;2233:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2154:98;:::o;3834:121:3:-;1094:13:22;:11;:13::i;:::-;3913:35:3::1;::::0;-1:-1:-1;;;3913:35:3;;16526:6:45;16514:19;;3913:35:3::1;::::0;::::1;16496:38:45::0;3913:10:3::1;-1:-1:-1::0;;;;;3913:25:3::1;::::0;::::1;::::0;16469:18:45;;3913:35:3::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3834:121:::0;:::o;4431:197:23:-;4514:4;719:10:29;4568:32:23;719:10:29;4584:7:23;4593:6;4568:8;:32::i;:::-;-1:-1:-1;4617:4:23;;4431:197;-1:-1:-1;;;4431:197:23:o;3961:127:3:-;1094:13:22;:11;:13::i;:::-;4043:38:3::1;::::0;-1:-1:-1;;;4043:38:3;;16526:6:45;16514:19;;4043:38:3::1;::::0;::::1;16496::45::0;4043:10:3::1;-1:-1:-1::0;;;;;4043:28:3::1;::::0;::::1;::::0;16469:18:45;;4043:38:3::1;16352:188:45::0;5190:286:23;5317:4;719:10:29;5373:38:23;5389:4;719:10:29;5404:6:23;5373:15;:38::i;:::-;5421:27;5431:4;5437:2;5441:6;5421:9;:27::i;:::-;-1:-1:-1;5465:4:23;;5190:286;-1:-1:-1;;;;5190:286:23:o;1626:290:9:-;1788:14;1804:11;1834:75;1851:11;1864:10;1876:7;1885;1894:14;;1834:75;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1834:16:9;;-1:-1:-1;;;1834:75:9:i;:::-;1827:82;;;;1626:290;;;;;;;;;:::o;5871:234:23:-;5959:4;719:10:29;6013:64:23;719:10:29;6029:7:23;6066:10;6038:25;719:10:29;6029:7:23;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:22;: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;;;;1820:342:4::0;719:10:29;2032:4:4;2008:29;2000:80;;;;-1:-1:-1;;;2000:80:4;;17614:2:45;2000:80:4;;;17596:21:45;17653:2;17633:18;;;17626:30;17692:34;17672:18;;;17665:62;-1:-1:-1;;;17743:18:45;;;17736:36;17789:19;;2000:80:4;17412:402:45;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;525:302:9:-;689:131;695:5;702:11;715:10;727:7;736:25;;;;:11;:25;:::i;:::-;763:29;;;;;;;;:::i;:::-;794:25;;;;:11;:25;:::i;:::-;689:131;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;689:5:9;;-1:-1:-1;;;689:131:9:i;1831:101:22:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;520:51:3:-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;833:386:9:-;1048:164;1061:5;1068:11;1081:10;1093:7;1102:8;;1048:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1112:14:9;;-1:-1:-1;1128:25:9;;-1:-1:-1;;1128:25:9;;;:11;:25;:::i;:::-;1155:29;;;;;;;;:::i;:::-;1186:25;;;;:11;:25;:::i;:::-;1048:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1048:12:9;;-1:-1:-1;;;1048:164:9:i;:::-;;833:386;;;;;;;;:::o;759:110:14:-;826:4;849:13;3329:12:23;;;3242:106;849:13:14;842:20;;759:110;:::o;2365:102:23:-;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;;18807:2:45;5066:58:3;;;18789:21:45;18846:2;18826:18;;;18819:30;18885:31;18865:18;;;18858:59;18934:18;;5066:58:3;18605:353:45;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:23:-;6685:4;719:10:29;6685:4:23;6766:25;719:10:29;6783:7:23;6766:9;:25::i;:::-;6739:52;;6829:15;6809:16;:35;;6801:85;;;;-1:-1:-1;;;6801:85:23;;19295:2:45;6801:85:23;;;19277:21:45;19334:2;19314:18;;;19307:30;19373:34;19353:18;;;19346:62;-1:-1:-1;;;19424:18:45;;;19417:35;19469:19;;6801:85:23;19093:401:45;6801:85:23;6920:60;6929:5;6936:7;6964:15;6945:16;:34;6920:8;:60::i;1922:378:9:-;2139:14;2155:11;2185:108;2209:11;2222:10;2234:7;2243:8;;2185:108;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2185:108:9;;;;;;;;;;;;;;;;;;;;;;2253:14;;-1:-1:-1;2269:7:9;;-1:-1:-1;2185:108:9;2278:14;;;;;;2185:108;;2278:14;;;;2185:108;;;;;;;;;-1:-1:-1;2185:23:9;;-1:-1:-1;;;2185:108:9:i;:::-;2178:115;;;;1922:378;;;;;;;;;;;;:::o;4614:278:3:-;1094:13:22;: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:23:-;3806:4;719:10:29;3860:28:23;719:10:29;3877:2:23;3881:6;3860:9;:28::i;5230:133:3:-;1094:13:22;: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;10346:51:45;;;5334:22:3::1;::::0;10334:2:45;10319:18;5334:22:3::1;;;;;;;;5230:133:::0;:::o;3626:202::-;1094:13:22;: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;;20591:2:45;2610:73:4;;;20573:21:45;20630:2;20610:18;;;20603:30;20669:34;20649:18;;;20642:62;-1:-1:-1;;;20720:18:45;;;20713:33;20763:19;;2610:73:4;20389:399:45;2610:73:4;2724:11;2711:8;;2701:19;;;;;;;:::i;:::-;;;;;;;;:34;2693:80;;;;-1:-1:-1;;;2693:80:4;;20995:2:45;2693:80:4;;;20977:21:45;21034:2;21014:18;;;21007:30;21073:34;21053:18;;;21046:62;-1:-1:-1;;;21124:18:45;;;21117:31;21165:19;;2693:80:4;20793:397:45;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:23:-;-1:-1:-1;;;;;4089:18:23;;;4063:7;4089:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;3974:149::o;5369:280:3:-;1094:13:22;:11;:13::i;:::-;5492:1:3::1;5482:7;:11;5474:45;;;::::0;-1:-1:-1;;;5474:45:3;;21895:2:45;5474:45:3::1;::::0;::::1;21877:21:45::0;21934:2;21914:18;;;21907:30;-1:-1:-1;;;21953:18:45;;;21946:51;22014:18;;5474:45:3::1;21693:345:45::0;5474:45:3::1;5529:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;5595:47;;22266:34:45;;;22316:18;;22309:43;;;;22368:18;;;22361:34;;;5595:47:3::1;::::0;22229:2:45;22214:18;5595:47:3::1;22043:358:45::0;2379:220:13;1094:13:22;:11;:13::i;:::-;2479:22:13::1;:48:::0;;-1:-1:-1;;2479:48:13::1;::::0;::::1;;::::0;;::::1;::::0;;;2542:50:::1;::::0;2004:41:45;;;2542:50:13::1;::::0;1992:2:45;1977:18;2542:50:13::1;1864:187:45::0;1818:555:13;719:10:29;2050:4:13;2026:29;2018:73;;;;-1:-1:-1;;;2018:73:13;;22608:2:45;2018:73:13;;;22590:21:45;22647:2;22627:18;;;22620:30;22686:33;22666:18;;;22659:61;22737:18;;2018:73:13;22406:355:45;2018:73:13;2128:42;2150:4;2157:3;2162:7;2128:13;:42::i;:::-;2118:52;;2215:3;-1:-1:-1;;;;;2185:43:13;2202:11;2185:43;;;2220:7;2185:43;;;;3598:25:45;;3586:2;3571:18;;3452:177;2185:43:13;;;;;;;;2255:111;;-1:-1:-1;;;2255:111:13;;-1:-1:-1;;;;;2255:33:13;;;;;2294:11;;2255:111;;2307:11;;2320;;;;2333:6;;2341:5;;2348:7;;2357:8;;;;2255:111;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1818:555;;;;;;;;;;:::o;4413:195:3:-;1094:13:22;: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:22:-:0;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:22;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:22;;23726:2:45;2161:73:22::1;::::0;::::1;23708:21:45::0;23765:2;23745:18;;;23738:30;23804:34;23784:18;;;23777:62;-1:-1:-1;;;23855:18:45;;;23848:36;23901:19;;2161:73:22::1;23524:402:45::0;2161:73:22::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;3358:209:3:-;3492:68;;-1:-1:-1;;;3492:68:3;;24168:6:45;24201:15;;;3492:68:3;;;24183:34:45;24253:15;;24233:18;;;24226:43;3541:4:3;24285:18:45;;;24278:60;24354:18;;;24347:34;;;3461:12:3;;3492:10;-1:-1:-1;;;;;3492:20:3;;;;24130:19:45;;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;1359:130:22:-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:22;719:10:29;1422:23:22;1414:68;;;;-1:-1:-1;;;1414:68:22;;25795:2:45;1414:68:22;;;25777:21:45;;;25814:18;;;25807:30;25873:34;25853:18;;;25846:62;25925:18;;1414:68:22;25593:356:45;10504:370:23;-1:-1:-1;;;;;10635:19:23;;10627:68;;;;-1:-1:-1;;;10627:68:23;;26156:2:45;10627:68:23;;;26138:21:45;26195:2;26175:18;;;26168:30;26234:34;26214:18;;;26207:62;-1:-1:-1;;;26285:18:45;;;26278:34;26329:19;;10627:68:23;25954:400:45;10627:68:23;-1:-1:-1;;;;;10713:21:23;;10705:68;;;;-1:-1:-1;;;10705:68:23;;26561:2:45;10705:68:23;;;26543:21:45;26600:2;26580:18;;;26573:30;26639:34;26619:18;;;26612:62;-1:-1:-1;;;26690:18:45;;;26683:32;26732:19;;10705:68:23;26359:398:45;10705:68:23;-1:-1:-1;;;;;10784:18:23;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;10835:32;;3598:25:45;;;10835:32:23;;3571:18:45;10835:32:23;;;;;;;10504:370;;;:::o;11155:441::-;11285:24;11312:25;11322:5;11329:7;11312:9;:25::i;:::-;11285:52;;-1:-1:-1;;11351:16:23;:37;11347:243;;11432:6;11412:16;:26;;11404:68;;;;-1:-1:-1;;;11404:68:23;;26964:2:45;11404:68:23;;;26946:21:45;27003:2;26983:18;;;26976:30;27042:31;27022:18;;;27015:59;27091:18;;11404:68:23;26762:353:45;11404:68:23;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:23;;7591:68;;;;-1:-1:-1;;;7591:68:23;;27322:2:45;7591:68:23;;;27304:21:45;27361:2;27341:18;;;27334:30;27400:34;27380:18;;;27373:62;-1:-1:-1;;;27451:18:45;;;27444:35;27496:19;;7591:68:23;27120:401:45;7591:68:23;-1:-1:-1;;;;;7677:16:23;;7669:64;;;;-1:-1:-1;;;7669:64:23;;27728:2:45;7669:64:23;;;27710:21:45;27767:2;27747:18;;;27740:30;27806:34;27786:18;;;27779:62;-1:-1:-1;;;27857:18:45;;;27850:33;27900:19;;7669:64:23;27526:399:45;7669:64:23;-1:-1:-1;;;;;7815:15:23;;7793:19;7815:15;;;:9;:15;;;;;;7848:21;;;;7840:72;;;;-1:-1:-1;;;7840:72:23;;28132:2:45;7840:72:23;;;28114:21:45;28171:2;28151:18;;;28144:30;28210:34;28190:18;;;28183:62;-1:-1:-1;;;28261:18:45;;;28254:36;28307:19;;7840:72:23;27930:402:45;7840:72:23;-1:-1:-1;;;;;7946:15:23;;;;;;;:9;:15;;;;;;7964:20;;;7946:38;;8161:13;;;;;;;;;;:23;;;;;;8210:26;;;;;;7978:6;3598:25:45;;3586:2;3571:18;;3452:177;8210:26:23;;;;;;;;8247:37;12180:121;2786:415:13;2940:14;2956:11;3022:20;3045:47;3064:10;3076:15;3083:7;3076:6;:15::i;:::-;9274:48;;;434:1;9274:48;;;32428:49:45;32493:11;;;32486:27;;;;32569:3;32547:16;;;;-1:-1:-1;;;;;;32543:51:45;32529:12;;;32522:73;9274:48:13;;;;;;;;;32611:12:45;;;;9274:48:13;;;9146:183;3045:47;3109:85;;-1:-1:-1;;;3109:85:13;;3022:70;;-1:-1:-1;;;;;;3109:10:13;:23;;;;:85;;3133:11;;3154:4;;3022:70;;3170:7;;3179:14;;3109:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3102:92;;;;;2786:415;;;;;;;;:::o;3729:505::-;3880:16;3899:19;:8;3880:16;3899;:19::i;:::-;3880:38;-1:-1:-1;3933:21:13;;;3929:299;;3970:52;3979:11;3992;4005:6;4013:8;3970;:52::i;:::-;3929:299;;;4043:30;;;482:1;4043:30;4039:189;;;4089:59;4105:11;4118;4131:6;4139:8;4089:15;:59::i;4039:189::-;4179:38;;-1:-1:-1;;;4179:38:13;;29436:2:45;4179:38:13;;;29418:21:45;29475:2;29455:18;;;29448:30;29514;29494:18;;;29487:58;29562:18;;4179:38:13;29234:352:45;4240:763:13;4439:11;4462:71;4482:11;4439;4504:14;4439:11;4462:19;:71::i;:::-;4556:20;4568:7;4556:11;:20::i;:::-;-1:-1:-1;4544:32:13;-1:-1:-1;4595:50:13;4606:5;4613:11;4626:10;4544:32;4595:10;:50::i;:::-;4586:59;;4712:1;4703:6;:10;4695:48;;;;-1:-1:-1;;;4695:48:13;;29793:2:45;4695:48:13;;;29775:21:45;29832:2;29812:18;;;29805:30;-1:-1:-1;;;29851:18:45;;;29844:55;29916:18;;4695:48:13;29591:349:45;4695:48:13;4754:22;4779:46;4798:10;4810:14;4817:6;4810;:14::i;4779:46::-;4754:71;;4835:94;4843:11;4856:9;4867:14;4883:18;4903:14;4919:9;4835:7;:94::i;:::-;4977:10;4970:5;-1:-1:-1;;;;;4945:51:13;4957:11;4945:51;;;4989:6;4945:51;;;;3598:25:45;;3586:2;3571:18;;3452:177;4945:51:13;;;;;;;;4452:551;4240:763;;;;;;;;;:::o;2433:187:22:-;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:22;;;-1:-1:-1;;;;;;2541:17:22;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;5419:899:13:-;5671:11;5694:82;5714:11;482:1;5745:14;-1:-1:-1;;;;;5694:82:13;;:19;:82::i;:::-;5799:20;5811:7;5799:11;:20::i;:::-;-1:-1:-1;5787:32:13;-1:-1:-1;5838:50:13;5849:5;5856:11;5869:10;5787:32;5838:10;:50::i;:::-;5829:59;;5915:1;5906:6;:10;5898:48;;;;-1:-1:-1;;;5898:48:13;;29793:2:45;5898:48:13;;;29775:21:45;29832:2;29812:18;;;29805:30;-1:-1:-1;;;29851:18:45;;;29844:55;29916:18;;5898:48:13;29591:349:45;5898:48:13;6024:22;6049:91;6075:10;6087;6099:14;6106:6;6099;:14::i;:::-;6115:8;6125:14;6049:25;:91::i;:::-;6024:116;;6150:94;6158:11;6171:9;6182:14;6198:18;6218:14;6234:9;6150:7;:94::i;:::-;6292:10;6285:5;-1:-1:-1;;;;;6260:51:13;6272:11;6260:51;;;6304:6;6260:51;;;;3598:25:45;;3586:2;3571:18;;3452:177;6260:51:13;;;;;;;;5684:634;5419:899;;;;;;;;;;;:::o;8865:2712:20:-;8999:12;9051:7;9035:12;9051:7;9045:2;9035:12;:::i;:::-;:23;;9027:50;;;;-1:-1:-1;;;9027:50:20;;30147:2:45;9027:50:20;;;30129:21:45;30186:2;30166:18;;;30159:30;-1:-1:-1;;;30205:18:45;;;30198:44;30259:18;;9027:50:20;29945:338:45;9027:50:20;9112:16;9121:7;9112:6;:16;:::i;:::-;9095:6;:13;:33;;9087:63;;;;-1:-1:-1;;;9087:63:20;;30490:2:45;9087:63:20;;;30472:21:45;30529:2;30509:18;;;30502:30;-1:-1:-1;;;30548:18:45;;;30541:47;30605:18;;9087:63:20;30288:341:45;9087:63:20;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:20;;;11128:2;11111:11;-1:-1:-1;;11107:25:20;11101:4;11094:39;-1:-1:-1;9217:2317:20;-1:-1:-1;11561:9:20;8865:2712;-1:-1:-1;;;;8865:2712:20:o;3207:516:13:-;3414:14;3430:11;3499:20;3522:92;3548:10;3560;3572:15;3579:7;3572:6;:15::i;3522:92::-;3631:85;;-1:-1:-1;;;3631:85:13;;3499:115;;-1:-1:-1;;;;;;3631:10:13;:23;;;;:85;;3655:11;;3676:4;;3499:115;;3692:7;;3701:14;;3631:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;3624:92;;;;;3207:516;;;;;;;;;;:::o;1625:385:14:-;1725:4;719:10:29;1872:4:14;-1:-1:-1;;;;;1855:22:14;;;;;;:42;;;1890:7;-1:-1:-1;;;;;1881:16:14;:5;-1:-1:-1;;;;;1881:16:14;;;1855:42;1851:88;;;1899:40;1915:5;1922:7;1931;1899:15;:40::i;:::-;1949:30;1959:5;1966:3;1971:7;1949:9;:30::i;:::-;-1:-1:-1;1996:7:14;;1625:385;-1:-1:-1;;;1625:385:14:o;1118:1240:21:-;1275:4;1281:12;1341:15;1366:13;1389:24;1426:8;1416:19;;-1:-1:-1;;;;;1416:19:21;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1416:19:21;;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:21;-1:-1:-1;;;;;;1118:1240:21: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;8596:234:13:-;8657:6;;8691:22;2101:9:14;8691:7:13;:22;:::i;:::-;8675:38;-1:-1:-1;;;;;;8731:28:13;;;8723:67;;;;-1:-1:-1;;;8723:67:13;;32096:2:45;8723:67:13;;;32078:21:45;32135:2;32115:18;;;32108:30;32174:28;32154:18;;;32147:56;32220:18;;8723:67:13;31894:350:45;11943:302:20;12020:5;12062:10;:6;12071:1;12062:10;:::i;:::-;12045:6;:13;:27;;12037:60;;;;-1:-1:-1;;;12037:60:20;;32836:2:45;12037:60:20;;;32818:21:45;32875:2;32855:18;;;32848:30;-1:-1:-1;;;32894:18:45;;;32887:49;32953:18;;12037:60:20;32634:343:45;12037:60:20;-1:-1:-1;12173:29:20;12189:3;12173:29;12167:36;;11943:302::o;5009:404:13:-;5120:10;5132:15;5151:28;5170:8;5151:18;:28::i;:::-;5119:60;;-1:-1:-1;5119:60:13;-1:-1:-1;;;;;;5193:16:13;;5189:67;;5238:6;5225:20;;5189:67;5266:11;5280:16;5287:8;5280:6;:16::i;:::-;5266:30;;5315:34;5325:11;5338:2;5342:6;5315:9;:34::i;:::-;5306:43;;5395:2;-1:-1:-1;;;;;5365:41:13;5382:11;5365:41;;;5399:6;5365:41;;;;3598:25:45;;3586:2;3571:18;;3452:177;5365:41:13;;;;;;;;5109:304;;;5009:404;;;;:::o;6324:1771::-;6461:12;6475:10;6487:15;6504:27;6533:17;6554:35;6580:8;6554:25;:35::i;:::-;6460:129;;;;;;;;;;6600:13;6616:15;:28;6632:11;6616:28;;;;;;;;;;;;;;;6645:11;6616:41;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6616:49:13;;;;;;;;;;;;;;-1:-1:-1;6689:16:13;6696:8;6689:6;:16::i;:::-;6675:30;;6830:8;6825:164;;6863:45;6873:11;6894:4;6901:6;6863:9;:45::i;:::-;6922:28;;;;;;;:15;:28;;;;;;;:41;;6854:54;;-1:-1:-1;6974:4:13;;6922:41;;6951:11;;6922:41;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;6922:49:13;;;;;;;;;;:56;;-1:-1:-1;;6922:56:13;;;;;;;;;;6825:164;-1:-1:-1;;;;;8186:20:13;;;6999:94;;7040:22;;-1:-1:-1;;;;;10364:32:45;;10346:51;;7040:22:13;;10334:2:45;10319:18;7040:22:13;;;;;;;7076:7;;;;;;;;;6999:94;7164:11;7211;7247:6;7286:8;7320:4;7348:2;7375:6;7422:14;7144:17;7504:8;:33;;7527:10;-1:-1:-1;;;;;7504:33:13;;;;7515:9;7504:33;7493:44;;7548:12;7562:19;7585:180;7619:9;7630:3;7658:31;;;7691:10;7703;7715:5;7722;7729:3;7734:7;7743:15;7760:3;7635:129;;;;;;;;;;;;;;;:::i;7585:180::-;7547:218;;;;7780:7;7776:313;;;7818:18;;;;;;7855:59;;;;;;;;;;7890:10;;7902:5;;7818:18;;7855:59;:::i;:::-;;;;;;;;7789:136;7776:313;;;8011:67;8031:10;8043;8055:5;8062:7;8071:6;8011:19;:67::i;:::-;6450:1645;;;;;;;;;;;;;;;;;;6324:1771;;;;:::o;8223:367::-;8364:22;;;;8360:224;;;8402:63;8417:11;8430:7;8439:14;8455:9;8402:14;:63::i;:::-;8360:224;;;8504:21;;:26;8496:77;;;;-1:-1:-1;;;8496:77:13;;34468:2:45;8496:77:13;;;34450:21:45;34507:2;34487:18;;;34480:30;34546:34;34526:18;;;34519:62;-1:-1:-1;;;34597:18:45;;;34590:36;34643:19;;8496:77:13;34266:402:45;8961:179:13;9027:16;;9073:22;2101:9:14;9073:7:13;:22;:::i;:::-;9066:29;-1:-1:-1;9119:14:13;9066:29;9119:7;:14;:::i;:::-;9105:28;;8961:179;;;:::o;1163:281:14:-;1264:4;719:10:29;-1:-1:-1;;;;;1324:16:14;;;;1320:62;;1342:40;1358:5;1365:7;1374;1342:15;:40::i;:::-;1392:21;1398:5;1405:7;1392:5;:21::i;:::-;-1:-1:-1;1430:7:14;;1163:281;-1:-1:-1;;;;1163:281:14: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;;34992:2:45;2336:86:3;;;34974:21:45;35031:2;35011:18;;;35004:30;35070:34;35050:18;;;35043:62;-1:-1:-1;;;35121:18:45;;;35114:46;35177:19;;2336:86:3;34790:412:45;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;9679:394:13:-;9844:12;482:1;9935:10;9959:9;-1:-1:-1;;;;;10728:23:13;;10020:14;10048:8;9875:191;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;9868:198;;9679:394;;;;;;;:::o;9335:338::-;9417:10;;;9464:19;:8;9417:10;9464:16;:19::i;:::-;:30;;;:55;;;;;9498:8;:15;9517:2;9498:21;9464:55;9456:92;;;;-1:-1:-1;;;9456:92:13;;36973:2:45;9456:92:13;;;36955:21:45;37012:2;36992:18;;;36985:30;-1:-1:-1;;;37031:18:45;;;37024:54;37095:18;;9456:92:13;36771:348:45;9456:92:13;9564:22;:8;9583:2;9564:18;:22::i;:::-;9559:27;-1:-1:-1;9645:21:13;:8;9663:2;9645:17;:21::i;:::-;9634:32;;9335:338;;;:::o;8836:119::-;8901:4;8924:24;2101:9:14;-1:-1:-1;;;;;8924:24:13;;;:::i;1450:169:14:-;1546:4;1562:26;1568:10;1580:7;1562:5;:26::i;:::-;-1:-1:-1;1605:7:14;1450:169;-1:-1:-1;;1450:169:14:o;10079:533:13:-;10168:12;;;10211:20;10168:12;482:1;10273:19;:8;10168:12;10273:16;:19::i;:::-;:39;;;10265:76;;;;-1:-1:-1;;;10265:76:13;;36973:2:45;10265:76:13;;;36955:21:45;37012:2;36992:18;;;36985:30;-1:-1:-1;;;37031:18:45;;;37024:54;37095:18;;10265:76:13;36771:348:45;10265:76:13;10357:22;:8;10376:2;10357:18;:22::i;:::-;10352:27;-1:-1:-1;10438:21:13;:8;10456:2;10438:17;:21::i;:::-;10427:32;-1:-1:-1;10476:22:13;:8;10495:2;10476:18;:22::i;:::-;10469:29;-1:-1:-1;10524:21:13;:8;10542:2;10524:17;:21::i;:::-;10508:37;;10565:40;10580:2;10602;10584:8;:15;:20;;;;:::i;:::-;10565:8;;:40;:14;:40::i;:::-;10555:50;;10079:533;;;;;;;:::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;;37499:2:45;2842:54:3;;;37481:21:45;37538:2;37518:18;;;37511:30;37577:28;37557:18;;;37550:56;37623:18;;2842:54:3;37297:350:45;2842:54:3;2934:11;2914:16;:31;;2906:71;;;;-1:-1:-1;;;2906:71:3;;37854:2:45;2906:71:3;;;37836:21:45;37893:2;37873:18;;;37866:30;37932:29;37912:18;;;37905:57;37979:18;;2906:71:3;37652:351:45;9422:659:23;-1:-1:-1;;;;;9505:21:23;;9497:67;;;;-1:-1:-1;;;9497:67:23;;38210:2:45;9497:67:23;;;38192:21:45;38249:2;38229:18;;;38222:30;38288:34;38268:18;;;38261:62;-1:-1:-1;;;38339:18:45;;;38332:31;38380:19;;9497:67:23;38008:397:45;9497:67:23;-1:-1:-1;;;;;9660:18:23;;9635:22;9660:18;;;:9;:18;;;;;;9696:24;;;;9688:71;;;;-1:-1:-1;;;9688:71:23;;38612:2:45;9688:71:23;;;38594:21:45;38651:2;38631:18;;;38624:30;38690:34;38670:18;;;38663:62;-1:-1:-1;;;38741:18:45;;;38734:32;38783:19;;9688:71:23;38410:398:45;9688:71:23;-1:-1:-1;;;;;9793:18:23;;;;;;:9;:18;;;;;;;;9814:23;;;9793:44;;9930:12;:22;;;;;;;9978:37;3598:25:45;;;9793:18:23;;;9978:37;;3571:18:45;9978:37:23;;;;;;;12180:121;;;:::o;11583:354:20:-;11662:7;11706:11;:6;11715:2;11706:11;:::i;:::-;11689:6;:13;:28;;11681:62;;;;-1:-1:-1;;;11681:62:20;;39015:2:45;11681:62:20;;;38997:21:45;39054:2;39034:18;;;39027:30;-1:-1:-1;;;39073:18:45;;;39066:51;39134:18;;11681:62:20;38813:345:45;11681:62:20;-1:-1:-1;11831:30:20;11847:4;11831:30;11825:37;-1:-1:-1;;;11821:71:20;;;11583:354::o;12873:305::-;12951:6;12994:10;:6;13003:1;12994:10;:::i;:::-;12977:6;:13;:27;;12969:60;;;;-1:-1:-1;;;12969:60:20;;39365:2:45;12969:60:20;;;39347:21:45;39404:2;39384:18;;;39377:30;-1:-1:-1;;;39423:18:45;;;39416:50;39483:18;;12969:60:20;39163:344:45;12969:60:20;-1:-1:-1;13106:29:20;13122:3;13106:29;13100:36;;12873:305::o;8567:535:23:-;-1:-1:-1;;;;;8650:21:23;;8642:65;;;;-1:-1:-1;;;8642:65:23;;39714:2:45;8642:65:23;;;39696:21:45;39753:2;39733:18;;;39726:30;39792:33;39772:18;;;39765:61;39843:18;;8642:65:23;39512:355:45;8642:65:23;8794:6;8778:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;8946:18:23;;;;;;:9;:18;;;;;;;;:28;;;;;;8999:37;3598:25:45;;;8999:37:23;;3571:18:45;8999:37:23;;;;;;;8567:535;;:::o;14130:320:20:-;14209:7;14253:11;:6;14262:2;14253:11;:::i;:::-;14236:6;:13;:28;;14228:62;;;;-1:-1:-1;;;14228:62:20;;40074:2:45;14228:62:20;;;40056:21:45;40113:2;40093:18;;;40086:30;-1:-1:-1;;;40132:18:45;;;40125:51;40193:18;;14228:62:20;39872:345:45;14228:62:20;-1:-1:-1;14374:30:20;14390:4;14374:30;14368:37;;14130:320::o;2990:266:3:-;3072:13;3130:2;3105:14;:21;:27;;3097:68;;;;-1:-1:-1;;;3097:68:3;;40424:2:45;3097:68:3;;;40406:21:45;40463:2;40443:18;;;40436:30;40502;40482:18;;;40475:58;40550:18;;3097:68:3;40222:352:45;3097:68:3;-1:-1:-1;3236:2:3;3216:23;3210:30;;2990:266::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:159:45;81:20;;141:6;130:18;;120:29;;110:57;;163:1;160;153:12;110:57;14:159;;;:::o;178:347::-;229:8;239:6;293:3;286:4;278:6;274:17;270:27;260:55;;311:1;308;301:12;260:55;-1:-1:-1;334:20:45;;-1:-1:-1;;;;;366:30:45;;363:50;;;409:1;406;399:12;363:50;446:4;438:6;434:17;422:29;;498:3;491:4;482:6;474;470:19;466:30;463:39;460:59;;;515:1;512;505:12;460:59;178:347;;;;;:::o;530:171::-;597:20;;-1:-1:-1;;;;;646:30:45;;636:41;;626:69;;691:1;688;681:12;706:862;812:6;820;828;836;844;852;905:3;893:9;884:7;880:23;876:33;873:53;;;922:1;919;912:12;873:53;945:28;963:9;945:28;:::i;:::-;935:38;;1024:2;1013:9;1009:18;996:32;-1:-1:-1;;;;;1088:2:45;1080:6;1077:14;1074:34;;;1104:1;1101;1094:12;1074:34;1143:58;1193:7;1184:6;1173:9;1169:22;1143:58;:::i;:::-;1220:8;;-1:-1:-1;1117:84:45;-1:-1:-1;1117:84:45;;-1:-1:-1;1274:37:45;1307:2;1292:18;;1274:37;:::i;:::-;1264:47;;1364:2;1353:9;1349:18;1336:32;1320:48;;1393:2;1383:8;1380:16;1377:36;;;1409:1;1406;1399:12;1377:36;;1448:60;1500:7;1489:8;1478:9;1474:24;1448:60;:::i;:::-;706:862;;;;-1:-1:-1;706:862:45;;-1:-1:-1;706:862:45;;1527:8;;706:862;-1:-1:-1;;;706:862:45:o;1573:286::-;1631:6;1684:2;1672:9;1663:7;1659:23;1655:32;1652:52;;;1700:1;1697;1690:12;1652:52;1726:23;;-1:-1:-1;;;;;;1778:32:45;;1768:43;;1758:71;;1825:1;1822;1815:12;2056:258;2128:1;2138:113;2152:6;2149:1;2146:13;2138:113;;;2228:11;;;2222:18;2209:11;;;2202:39;2174:2;2167:10;2138:113;;;2269:6;2266:1;2263:13;2260:48;;;-1:-1:-1;;2304:1:45;2286:16;;2279:27;2056:258::o;2319:::-;2361:3;2399:5;2393:12;2426:6;2421:3;2414:19;2442:63;2498:6;2491:4;2486:3;2482:14;2475:4;2468:5;2464:16;2442:63;:::i;:::-;2559:2;2538:15;-1:-1:-1;;2534:29:45;2525:39;;;;2566:4;2521:50;;2319:258;-1:-1:-1;;2319:258:45:o;2582:220::-;2731:2;2720:9;2713:21;2694:4;2751:45;2792:2;2781:9;2777:18;2769:6;2751:45;:::i;2807:184::-;2865:6;2918:2;2906:9;2897:7;2893:23;2889:32;2886:52;;;2934:1;2931;2924:12;2886:52;2957:28;2975:9;2957:28;:::i;2996:131::-;-1:-1:-1;;;;;3071:31:45;;3061:42;;3051:70;;3117:1;3114;3107:12;3132:315;3200:6;3208;3261:2;3249:9;3240:7;3236:23;3232:32;3229:52;;;3277:1;3274;3267:12;3229:52;3316:9;3303:23;3335:31;3360:5;3335:31;:::i;:::-;3385:5;3437:2;3422:18;;;;3409:32;;-1:-1:-1;;;3132:315:45:o;3634:456::-;3711:6;3719;3727;3780:2;3768:9;3759:7;3755:23;3751:32;3748:52;;;3796:1;3793;3786:12;3748:52;3835:9;3822:23;3854:31;3879:5;3854:31;:::i;:::-;3904:5;-1:-1:-1;3961:2:45;3946:18;;3933:32;3974:33;3933:32;3974:33;:::i;:::-;3634:456;;4026:7;;-1:-1:-1;;;4080:2:45;4065:18;;;;4052:32;;3634:456::o;4284:160::-;4349:20;;4405:13;;4398:21;4388:32;;4378:60;;4434:1;4431;4424:12;4449:687;4551:6;4559;4567;4575;4583;4591;4644:3;4632:9;4623:7;4619:23;4615:33;4612:53;;;4661:1;4658;4651:12;4612:53;4684:28;4702:9;4684:28;:::i;:::-;4674:38;;4759:2;4748:9;4744:18;4731:32;4721:42;;4810:2;4799:9;4795:18;4782:32;4772:42;;4833:35;4864:2;4853:9;4849:18;4833:35;:::i;:::-;4823:45;;4919:3;4908:9;4904:19;4891:33;-1:-1:-1;;;;;4939:6:45;4936:30;4933:50;;;4979:1;4976;4969:12;4933:50;5018:58;5068:7;5059:6;5048:9;5044:22;5018:58;:::i;5394:481::-;5472:6;5480;5488;5541:2;5529:9;5520:7;5516:23;5512:32;5509:52;;;5557:1;5554;5547:12;5509:52;5580:28;5598:9;5580:28;:::i;:::-;5570:38;;5659:2;5648:9;5644:18;5631:32;-1:-1:-1;;;;;5678:6:45;5675:30;5672:50;;;5718:1;5715;5708:12;5672:50;5757:58;5807:7;5798:6;5787:9;5783:22;5757:58;:::i;:::-;5394:481;;5834:8;;-1:-1:-1;5731:84:45;;-1:-1:-1;;;;5394:481:45:o;5880:127::-;5941:10;5936:3;5932:20;5929:1;5922:31;5972:4;5969:1;5962:15;5996:4;5993:1;5986:15;6012:275;6083:2;6077:9;6148:2;6129:13;;-1:-1:-1;;6125:27:45;6113:40;;-1:-1:-1;;;;;6168:34:45;;6204:22;;;6165:62;6162:88;;;6230:18;;:::i;:::-;6266:2;6259:22;6012:275;;-1:-1:-1;6012:275:45:o;6292:186::-;6340:4;-1:-1:-1;;;;;6365:6:45;6362:30;6359:56;;;6395:18;;:::i;:::-;-1:-1:-1;6461:2:45;6440:15;-1:-1:-1;;6436:29:45;6467:4;6432:40;;6292:186::o;6483:815::-;6567:6;6575;6583;6636:2;6624:9;6615:7;6611:23;6607:32;6604:52;;;6652:1;6649;6642:12;6604:52;6675:28;6693:9;6675:28;:::i;:::-;6665:38;;6754:2;6743:9;6739:18;6726:32;-1:-1:-1;;;;;6773:6:45;6770:30;6767:50;;;6813:1;6810;6803:12;6767:50;6836:22;;6889:4;6881:13;;6877:27;-1:-1:-1;6867:55:45;;6918:1;6915;6908:12;6867:55;6954:2;6941:16;6979:48;6995:31;7023:2;6995:31;:::i;:::-;6979:48;:::i;:::-;7050:2;7043:5;7036:17;7090:7;7085:2;7080;7076;7072:11;7068:20;7065:33;7062:53;;;7111:1;7108;7101:12;7062:53;7166:2;7161;7157;7153:11;7148:2;7141:5;7137:14;7124:45;7210:1;7205:2;7200;7193:5;7189:14;7185:23;7178:34;7231:5;7221:15;;;;;7255:37;7288:2;7277:9;7273:18;7255:37;:::i;:::-;7245:47;;6483:815;;;;;:::o;7485:160::-;7550:5;7595:2;7586:6;7581:3;7577:16;7573:25;7570:45;;;7611:1;7608;7601:12;7570:45;-1:-1:-1;7633:6:45;7485:160;-1:-1:-1;7485:160:45:o;7650:711::-;7776:6;7784;7792;7800;7808;7861:3;7849:9;7840:7;7836:23;7832:33;7829:53;;;7878:1;7875;7868:12;7829:53;7917:9;7904:23;7936:31;7961:5;7936:31;:::i;:::-;7986:5;-1:-1:-1;8010:37:45;8043:2;8028:18;;8010:37;:::i;:::-;8000:47;;8094:2;8083:9;8079:18;8066:32;8056:42;;8145:2;8134:9;8130:18;8117:32;8107:42;;8200:3;8189:9;8185:19;8172:33;-1:-1:-1;;;;;8220:6:45;8217:30;8214:50;;;8260:1;8257;8250:12;8214:50;8283:72;8347:7;8338:6;8327:9;8323:22;8283:72;:::i;:::-;8273:82;;;7650:711;;;;;;;;:::o;8366:247::-;8425:6;8478:2;8466:9;8457:7;8453:23;8449:32;8446:52;;;8494:1;8491;8484:12;8446:52;8533:9;8520:23;8552:31;8577:5;8552:31;:::i;8841:1093::-;8995:6;9003;9011;9019;9027;9035;9043;9051;9104:3;9092:9;9083:7;9079:23;9075:33;9072:53;;;9121:1;9118;9111:12;9072:53;9160:9;9147:23;9179:31;9204:5;9179:31;:::i;:::-;9229:5;-1:-1:-1;9253:37:45;9286:2;9271:18;;9253:37;:::i;:::-;9243:47;;9337:2;9326:9;9322:18;9309:32;9299:42;;9388:2;9377:9;9373:18;9360:32;9350:42;;9443:3;9432:9;9428:19;9415:33;-1:-1:-1;;;;;9508:2:45;9500:6;9497:14;9494:34;;;9524:1;9521;9514:12;9494:34;9563:58;9613:7;9604:6;9593:9;9589:22;9563:58;:::i;:::-;9640:8;;-1:-1:-1;9537:84:45;-1:-1:-1;9537:84:45;;-1:-1:-1;9694:38:45;9727:3;9712:19;;9694:38;:::i;:::-;9684:48;;9785:3;9774:9;9770:19;9757:33;9741:49;;9815:2;9805:8;9802:16;9799:36;;;9831:1;9828;9821:12;9799:36;;9854:74;9920:7;9909:8;9898:9;9894:24;9854:74;:::i;:::-;9844:84;;;8841:1093;;;;;;;;;;;:::o;9939:256::-;10005:6;10013;10066:2;10054:9;10045:7;10041:23;10037:32;10034:52;;;10082:1;10079;10072:12;10034:52;10105:28;10123:9;10105:28;:::i;:::-;10095:38;;10152:37;10185:2;10174:9;10170:18;10152:37;:::i;:::-;10142:47;;9939:256;;;;;:::o;10408:1069::-;10538:6;10546;10554;10562;10570;10578;10586;10594;10602;10655:3;10643:9;10634:7;10630:23;10626:33;10623:53;;;10672:1;10669;10662:12;10623:53;10695:28;10713:9;10695:28;:::i;:::-;10685:38;;10770:2;10759:9;10755:18;10742:32;10732:42;;10821:2;10810:9;10806:18;10793:32;10783:42;;10876:2;10865:9;10861:18;10848:32;-1:-1:-1;;;;;10940:2:45;10932:6;10929:14;10926:34;;;10956:1;10953;10946:12;10926:34;10995:58;11045:7;11036:6;11025:9;11021:22;10995:58;:::i;:::-;11072:8;;-1:-1:-1;10969:84:45;-1:-1:-1;10969:84:45;;-1:-1:-1;11126:38:45;11159:3;11144:19;;11126:38;:::i;:::-;11116:48;;11183:36;11214:3;11203:9;11199:19;11183:36;:::i;:::-;11173:46;;11272:3;11261:9;11257:19;11244:33;11228:49;;11302:2;11292:8;11289:16;11286:36;;;11318:1;11315;11308:12;11286:36;;11357:60;11409:7;11398:8;11387:9;11383:24;11357:60;:::i;:::-;11331:86;;11436:8;11426:18;;;11463:8;11453:18;;;10408:1069;;;;;;;;;;;:::o;11716:622::-;11811:6;11819;11827;11835;11843;11896:3;11884:9;11875:7;11871:23;11867:33;11864:53;;;11913:1;11910;11903:12;11864:53;11936:28;11954:9;11936:28;:::i;:::-;11926:38;;11983:37;12016:2;12005:9;12001:18;11983:37;:::i;:::-;11973:47;;12067:2;12056:9;12052:18;12039:32;12029:42;;12122:2;12111:9;12107:18;12094:32;-1:-1:-1;;;;;12141:6:45;12138:30;12135:50;;;12181:1;12178;12171:12;12135:50;12220:58;12270:7;12261:6;12250:9;12246:22;12220:58;:::i;:::-;11716:622;;;;-1:-1:-1;11716:622:45;;-1:-1:-1;12297:8:45;;12194:84;11716:622;-1:-1:-1;;;11716:622:45:o;12343:388::-;12411:6;12419;12472:2;12460:9;12451:7;12447:23;12443:32;12440:52;;;12488:1;12485;12478:12;12440:52;12527:9;12514:23;12546:31;12571:5;12546:31;:::i;:::-;12596:5;-1:-1:-1;12653:2:45;12638:18;;12625:32;12666:33;12625:32;12666:33;:::i;:::-;12718:7;12708:17;;;12343:388;;;;;:::o;12736:324::-;12811:6;12819;12827;12880:2;12868:9;12859:7;12855:23;12851:32;12848:52;;;12896:1;12893;12886:12;12848:52;12919:28;12937:9;12919:28;:::i;:::-;12909:38;;12966:37;12999:2;12988:9;12984:18;12966:37;:::i;:::-;12956:47;;13050:2;13039:9;13035:18;13022:32;13012:42;;12736:324;;;;;:::o;13065:180::-;13121:6;13174:2;13162:9;13153:7;13149:23;13145:32;13142:52;;;13190:1;13187;13180:12;13142:52;13213:26;13229:9;13213:26;:::i;13250:1205::-;13392:6;13400;13408;13416;13424;13432;13440;13448;13456;13464;13517:3;13505:9;13496:7;13492:23;13488:33;13485:53;;;13534:1;13531;13524:12;13485:53;13557:28;13575:9;13557:28;:::i;:::-;13547:38;;13636:2;13625:9;13621:18;13608:32;-1:-1:-1;;;;;13700:2:45;13692:6;13689:14;13686:34;;;13716:1;13713;13706:12;13686:34;13755:58;13805:7;13796:6;13785:9;13781:22;13755:58;:::i;:::-;13832:8;;-1:-1:-1;13729:84:45;-1:-1:-1;13729:84:45;;-1:-1:-1;13886:37:45;13919:2;13904:18;;13886:37;:::i;:::-;13876:47;;13970:2;13959:9;13955:18;13942:32;13932:42;;14024:3;14013:9;14009:19;13996:33;13983:46;;14038:31;14063:5;14038:31;:::i;:::-;14088:5;;-1:-1:-1;14140:3:45;14125:19;;14112:33;;-1:-1:-1;14198:3:45;14183:19;;14170:33;;14215:16;;;14212:36;;;14244:1;14241;14234:12;14212:36;;14283:60;14335:7;14324:8;14313:9;14309:24;14283:60;:::i;:::-;14257:86;;14362:8;14352:18;;;14389:8;14379:18;;;14444:3;14433:9;14429:19;14416:33;14406:43;;13250:1205;;;;;;;;;;;;;:::o;14460:460::-;14544:6;14552;14560;14568;14621:3;14609:9;14600:7;14596:23;14592:33;14589:53;;;14638:1;14635;14628:12;14589:53;14661:28;14679:9;14661:28;:::i;:::-;14651:38;;14708:37;14741:2;14730:9;14726:18;14708:37;:::i;:::-;14698:47;;14795:2;14784:9;14780:18;14767:32;14808:31;14833:5;14808:31;:::i;:::-;14460:460;;;;-1:-1:-1;14858:5:45;;14910:2;14895:18;14882:32;;-1:-1:-1;;14460:460:45:o;15284:380::-;15363:1;15359:12;;;;15406;;;15427:61;;15481:4;15473:6;15469:17;15459:27;;15427:61;15534:2;15526:6;15523:14;15503:18;15500:38;15497:161;;;15580:10;15575:3;15571:20;15568:1;15561:31;15615:4;15612:1;15605:15;15643:4;15640:1;15633:15;15669:271;15852:6;15844;15839:3;15826:33;15808:3;15878:16;;15903:13;;;15878:16;15669:271;-1:-1:-1;15669:271:45:o;16545:127::-;16606:10;16601:3;16597:20;16594:1;16587:31;16637:4;16634:1;16627:15;16661:4;16658:1;16651:15;16677:128;16717:3;16748:1;16744:6;16741:1;16738:13;16735:39;;;16754:18;;:::i;:::-;-1:-1:-1;16790:9:45;;16677:128::o;16810:266::-;16898:6;16893:3;16886:19;16950:6;16943:5;16936:4;16931:3;16927:14;16914:43;-1:-1:-1;17002:1:45;16977:16;;;16995:4;16973:27;;;16966:38;;;;17058:2;17037:15;;;-1:-1:-1;;17033:29:45;17024:39;;;17020:50;;16810:266::o;17081:326::-;17276:6;17268;17264:19;17253:9;17246:38;17320:2;17315;17304:9;17300:18;17293:30;17227:4;17340:61;17397:2;17386:9;17382:18;17374:6;17366;17340:61;:::i;18079:521::-;18156:4;18162:6;18222:11;18209:25;18316:2;18312:7;18301:8;18285:14;18281:29;18277:43;18257:18;18253:68;18243:96;;18335:1;18332;18325:12;18243:96;18362:33;;18414:20;;;-1:-1:-1;;;;;;18446:30:45;;18443:50;;;18489:1;18486;18479:12;18443:50;18522:4;18510:17;;-1:-1:-1;18553:14:45;18549:27;;;18539:38;;18536:58;;;18590:1;18587;18580:12;18963:125;19003:4;19031:1;19028;19025:8;19022:34;;;19036:18;;:::i;:::-;-1:-1:-1;19073:9:45;;18963:125::o;19499:382::-;19710:6;19702;19697:3;19684:33;19802:2;19798:15;;;;-1:-1:-1;;19794:53:45;19736:16;;19783:65;;;19872:2;19864:11;;19499:382;-1:-1:-1;19499:382:45:o;19886:498::-;20086:4;20115:6;20160:2;20152:6;20148:15;20137:9;20130:34;20212:2;20204:6;20200:15;20195:2;20184:9;20180:18;20173:43;;20252:6;20247:2;20236:9;20232:18;20225:34;20295:3;20290:2;20279:9;20275:18;20268:31;20316:62;20373:3;20362:9;20358:19;20350:6;20342;20316:62;:::i;:::-;20308:70;19886:498;-1:-1:-1;;;;;;;19886:498:45:o;21195:493::-;21444:6;21436;21432:19;21421:9;21414:38;21488:3;21483:2;21472:9;21468:18;21461:31;21395:4;21509:62;21566:3;21555:9;21551:19;21543:6;21535;21509:62;:::i;:::-;-1:-1:-1;;;;;21607:31:45;;;;21602:2;21587:18;;21580:59;-1:-1:-1;21670:2:45;21655:18;21648:34;21501:70;21195:493;-1:-1:-1;;;21195:493:45:o;22766:753::-;23099:6;23091;23087:19;23076:9;23069:38;23143:3;23138:2;23127:9;23123:18;23116:31;23050:4;23170:62;23227:3;23216:9;23212:19;23204:6;23196;23170:62;:::i;:::-;-1:-1:-1;;;;;23272:6:45;23268:31;23263:2;23252:9;23248:18;23241:59;23336:6;23331:2;23320:9;23316:18;23309:34;23380:6;23374:3;23363:9;23359:19;23352:35;23436:9;23428:6;23424:22;23418:3;23407:9;23403:19;23396:51;23464:49;23506:6;23498;23490;23464:49;:::i;:::-;23456:57;22766:753;-1:-1:-1;;;;;;;;;;;22766:753:45:o;24392:634::-;24471:6;24524:2;24512:9;24503:7;24499:23;24495:32;24492:52;;;24540:1;24537;24530:12;24492:52;24573:9;24567:16;-1:-1:-1;;;;;24598:6:45;24595:30;24592:50;;;24638:1;24635;24628:12;24592:50;24661:22;;24714:4;24706:13;;24702:27;-1:-1:-1;24692:55:45;;24743:1;24740;24733:12;24692:55;24772:2;24766:9;24797:48;24813:31;24841:2;24813:31;:::i;24797:48::-;24868:2;24861:5;24854:17;24908:7;24903:2;24898;24894;24890:11;24886:20;24883:33;24880:53;;;24929:1;24926;24919:12;24880:53;24942:54;24993:2;24988;24981:5;24977:14;24972:2;24968;24964:11;24942:54;:::i;25031:557::-;25288:6;25280;25276:19;25265:9;25258:38;25332:3;25327:2;25316:9;25312:18;25305:31;25239:4;25359:46;25400:3;25389:9;25385:19;25377:6;25359:46;:::i;:::-;-1:-1:-1;;;;;25445:6:45;25441:31;25436:2;25425:9;25421:18;25414:59;25521:9;25513:6;25509:22;25504:2;25493:9;25489:18;25482:50;25549:33;25575:6;25567;25549:33;:::i;28337:642::-;28618:6;28606:19;;28588:38;;-1:-1:-1;;;;;28662:32:45;;28657:2;28642:18;;28635:60;28682:3;28726:2;28711:18;;28704:31;;;-1:-1:-1;;28758:46:45;;28784:19;;28776:6;28758:46;:::i;:::-;28854:6;28847:14;28840:22;28835:2;28824:9;28820:18;28813:50;28912:9;28904:6;28900:22;28894:3;28883:9;28879:19;28872:51;28940:33;28966:6;28958;28940:33;:::i;:::-;28932:41;28337:642;-1:-1:-1;;;;;;;;28337:642:45:o;28984:245::-;29063:6;29071;29124:2;29112:9;29103:7;29099:23;29095:32;29092:52;;;29140:1;29137;29130:12;29092:52;-1:-1:-1;;29163:16:45;;29219:2;29204:18;;;29198:25;29163:16;;29198:25;;-1:-1:-1;28984:245:45:o;30634:274::-;30763:3;30801:6;30795:13;30817:53;30863:6;30858:3;30851:4;30843:6;30839:17;30817:53;:::i;:::-;30886:16;;;;;30634:274;-1:-1:-1;;30634:274:45:o;30913:719::-;31216:6;31208;31204:19;31193:9;31186:38;31260:3;31255:2;31244:9;31240:18;31233:31;31167:4;31287:46;31328:3;31317:9;31313:19;31305:6;31287:46;:::i;:::-;-1:-1:-1;;;;;31373:6:45;31369:31;31364:2;31353:9;31349:18;31342:59;31449:9;31441:6;31437:22;31432:2;31421:9;31417:18;31410:50;31483:33;31509:6;31501;31483:33;:::i;:::-;31469:47;;31565:9;31557:6;31553:22;31547:3;31536:9;31532:19;31525:51;31593:33;31619:6;31611;31593:33;:::i;31637:127::-;31698:10;31693:3;31689:20;31686:1;31679:31;31729:4;31726:1;31719:15;31753:4;31750:1;31743:15;31769:120;31809:1;31835;31825:35;;31840:18;;:::i;:::-;-1:-1:-1;31874:9:45;;31769:120::o;32982:891::-;33302:4;33331:3;33373:6;33365;33361:19;33350:9;33343:38;33417:2;33412;33401:9;33397:18;33390:30;33443:45;33484:2;33473:9;33469:18;33461:6;33443:45;:::i;:::-;-1:-1:-1;;;;;33524:31:45;;33519:2;33504:18;;33497:59;33587:2;33572:18;;33565:34;;;-1:-1:-1;;;;;33636:32:45;;33630:3;33615:19;;33608:61;33656:3;33685:19;;33678:35;;;33750:22;;;33744:3;33729:19;;33722:51;33429:59;-1:-1:-1;33790:33:45;33429:59;33808:6;33790:33;:::i;:::-;33782:41;;;33860:6;33854:3;33843:9;33839:19;33832:35;32982:891;;;;;;;;;;;:::o;33878:383::-;34079:2;34068:9;34061:21;34042:4;34099:45;34140:2;34129:9;34125:18;34117:6;34099:45;:::i;:::-;-1:-1:-1;;;;;34180:31:45;;;;34175:2;34160:18;;34153:59;-1:-1:-1;34243:2:45;34228:18;34221:34;34091:53;33878:383;-1:-1:-1;33878:383:45:o;34673:112::-;34705:1;34731;34721:35;;34736:18;;:::i;:::-;-1:-1:-1;34770:9:45;;34673:112::o;35207:840::-;35556:6;35548;35544:19;35533:9;35526:38;35600:3;35595:2;35584:9;35580:18;35573:31;35507:4;35627:46;35668:3;35657:9;35653:19;35645:6;35627:46;:::i;:::-;35721:9;35713:6;35709:22;35704:2;35693:9;35689:18;35682:50;35755:33;35781:6;35773;35755:33;:::i;:::-;-1:-1:-1;;;;;35862:15:45;;;35857:2;35842:18;;35835:43;35915:15;;35909:3;35894:19;;35887:44;35968:22;;;35815:3;35947:19;;35940:51;35741:47;-1:-1:-1;36008:33:45;35741:47;36026:6;36008:33;:::i;:::-;36000:41;35207:840;-1:-1:-1;;;;;;;;;35207:840:45:o;36052:714::-;36374:3;36369;36365:13;36356:6;36351:3;36347:16;36343:36;36338:3;36331:49;36409:6;36405:1;36400:3;36396:11;36389:27;36313:3;-1:-1:-1;;;;;36439:3:45;36435:28;36515:2;36506:6;36501:3;36497:16;36493:25;36488:2;36483:3;36479:12;36472:47;36549:6;36544:2;36539:3;36535:12;36528:28;36608:2;36599:6;36594:3;36590:16;36586:25;36581:2;36576:3;36572:12;36565:47;;36641:6;36635:13;36657:62;36712:6;36707:2;36702:3;36698:12;36691:4;36683:6;36679:17;36657:62;:::i;:::-;36739:16;;;;36757:2;36735:25;;36052:714;-1:-1:-1;;;;;;;36052:714:45:o;37124:168::-;37164:7;37230:1;37226;37222:6;37218:14;37215:1;37212:21;37207:1;37200:9;37193:17;37189:45;37186:71;;;37237:18;;:::i;:::-;-1:-1:-1;37277:9:45;;37124:168::o
Swarm Source
ipfs://99feb1a27895ff637492bef90f962ef576c02bcd7072613846873fd853a53ba7
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.