ERC-721
Overview
Max Total Supply
3,795 ORE
Holders
2,244
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Balance
1 ORELoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
UniversalChainsONFT721
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: BUSL-1.1 pragma solidity ^0.8.0; import "@layerzerolabs/solidity-examples/contracts/token/onft/ONFT721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; // ██╗░░░██╗███╗░░██╗██╗██╗░░░██╗███████╗██████╗░░██████╗░█████╗░██╗░░░░░ // ██║░░░██║████╗░██║██║██║░░░██║██╔════╝██╔══██╗██╔════╝██╔══██╗██║░░░░░ // ██║░░░██║██╔██╗██║██║╚██╗░██╔╝█████╗░░██████╔╝╚█████╗░███████║██║░░░░░ // ██║░░░██║██║╚████║██║░╚████╔╝░██╔══╝░░██╔══██╗░╚═══██╗██╔══██║██║░░░░░ // ╚██████╔╝██║░╚███║██║░░╚██╔╝░░███████╗██║░░██║██████╔╝██║░░██║███████╗ // ░╚═════╝░╚═╝░░╚══╝╚═╝░░░╚═╝░░░╚══════╝╚═╝░░╚═╝╚═════╝░╚═╝░░╚═╝╚══════╝ // ░█████╗░██╗░░██╗░█████╗░██╗███╗░░██╗░██████╗ // ██╔══██╗██║░░██║██╔══██╗██║████╗░██║██╔════╝ // ██║░░╚═╝███████║███████║██║██╔██╗██║╚█████╗░ // ██║░░██╗██╔══██║██╔══██║██║██║╚████║░╚═══██╗ // ╚█████╔╝██║░░██║██║░░██║██║██║░╚███║██████╔╝ // ░╚════╝░╚═╝░░╚═╝╚═╝░░╚═╝╚═╝╚═╝░░╚══╝╚═════╝░ contract UniversalChainsONFT721 is ONFT721, ERC721Enumerable { /**********/ /* ERRORS */ /**********/ error UniversalChainsONFT721_MaxLimitReached(); error UniversalChainsONFT721_ReferrerCannotBeSender(); error UniversalChainsONFT721_IncorrectMintingFee(); error UniversalChainsONFT721_NoEarningsToClaim(); error UniversalChainsONFT721_OnlyProtocolAddressCanClaim(); error UniversalChainsONFT721_TokenURIIsLocked(); /**********/ /* EVENTS */ /**********/ event MintingFeeUpdated( uint256 indexed oldMintingFee, uint256 indexed newMintingFee ); event ProtocolAddressUpdated( address indexed oldProtocolAddress, address indexed newProtocolAddress ); event ONFTMinted( address indexed minter, address indexed referrer, uint256 indexed mintId, uint256 referralEarnings, uint256 protocolEarnings ); event EarningsClaimed(address indexed claimer, uint256 amount); event ProtocolEarningsClaimed( address indexed protocolAddress, uint256 amount ); event TokenURIUpdated( string indexed oldTokenURI, string indexed newTokenURI ); event TokenURILocked(); /*************/ /* CONSTANTS */ /*************/ uint public DENOMINATOR = 10000; uint256 public constant REFERRAL_EARNINGS_SHARE_BIPS = 1000; // 10% of the referral earnings /**********/ /* STATES */ /**********/ uint public nextMintId; uint public maxMintId; uint256 public amountMinted; uint256 public mintingFee; address public protocolAddress; mapping(address => uint256) public referralEarningsOpen; mapping(address => uint256) public referralEarningsClaimed; mapping(address => uint256) public amountOfMintsWithReferrer; uint256 public protocolEarningsOpen; uint256 public protocolEarningsClaimed; string private currentTokenURI; bool public isTokenURILocked; /*****************/ /* CONSTRUCTOR */ /*****************/ /// @notice Constructor for the UniversalONFT /// @param _layerZeroEndpoint handles message transmission across chains /// @param _startMintId the starting mint number on this chain /// @param _endMintId the max number of mints on this chain constructor( uint256 _minGasToTransfer, address _layerZeroEndpoint, uint _startMintId, uint _endMintId, uint256 _mintingFee, address _protocolAddress ) ONFT721("OmniRock Edicts", "ORE", _minGasToTransfer, _layerZeroEndpoint) { nextMintId = _startMintId; maxMintId = _endMintId; mintingFee = _mintingFee; protocolAddress = _protocolAddress; } /***********/ /* ADMIN */ /***********/ /// @notice Update the minting fee /// @param _mintingFee the new minting fee function setMintingFee(uint256 _mintingFee) external onlyOwner { uint256 oldMintingFee = mintingFee; mintingFee = _mintingFee; emit MintingFeeUpdated(oldMintingFee, _mintingFee); } /// @notice Set the protocol address /// @param _protocolAddress the new protocol address function setProtocolAddress(address _protocolAddress) external onlyOwner { address oldProtocolAddress = protocolAddress; protocolAddress = _protocolAddress; emit ProtocolAddressUpdated(oldProtocolAddress, _protocolAddress); } /// @notice Sets the URI for the token /// @dev If the tokenURI is locked, this function reverts /// @param newtokenURI The URI to be set function setTokenURI(string memory newtokenURI) external onlyOwner { string memory oldTokenURI = currentTokenURI; if (isTokenURILocked) { revert UniversalChainsONFT721_TokenURIIsLocked(); } currentTokenURI = newtokenURI; emit TokenURIUpdated(oldTokenURI, newtokenURI); } /// @notice Locks the token URI, preventing future changes /// @dev Once locked, the tokenURI cannot be changed again function lockTokenURI() external onlyOwner { if (isTokenURILocked) { revert UniversalChainsONFT721_TokenURIIsLocked(); } isTokenURILocked = true; emit TokenURILocked(); } /**********/ /* MINT */ /**********/ function mint() external payable { mint(address(0)); } /// @notice Mint your ONFT with a referral. If the referrer address is the zero address, /// the minting fee will go entirely to the protocol, and no referral earnings will be calculated or stored. /// @param referrer The address of the referrer, or the zero address to skip the referral program function mint(address referrer) public payable { if (nextMintId > maxMintId) { revert UniversalChainsONFT721_MaxLimitReached(); } if (referrer == _msgSender()) { revert UniversalChainsONFT721_ReferrerCannotBeSender(); } if (msg.value != mintingFee) { revert UniversalChainsONFT721_IncorrectMintingFee(); } amountMinted++; uint newId = nextMintId; nextMintId++; uint256 referrerEarnings = 0; uint256 ownerEarnings = mintingFee; if (referrer != address(0)) { amountOfMintsWithReferrer[referrer]++; referrerEarnings = (mintingFee * REFERRAL_EARNINGS_SHARE_BIPS) / DENOMINATOR; // 10% of the minting fee ownerEarnings = mintingFee - referrerEarnings; // 90% of the minting fee referralEarningsOpen[referrer] += referrerEarnings; } protocolEarningsOpen += ownerEarnings; _safeMint(_msgSender(), newId); emit ONFTMinted( _msgSender(), referrer, newId, referrerEarnings, ownerEarnings ); } /***********/ /* CLAIM */ /***********/ /// @notice Claim referral earnings function claimEarnings() external { uint256 earnings = referralEarningsOpen[_msgSender()]; if (earnings == 0) { revert UniversalChainsONFT721_NoEarningsToClaim(); } referralEarningsOpen[_msgSender()] = 0; referralEarningsClaimed[_msgSender()] += earnings; payable(_msgSender()).transfer(earnings); emit EarningsClaimed(_msgSender(), earnings); } /// @notice Claim protocol earnings function claimProtocolEarnings() external { if (_msgSender() != protocolAddress) { revert UniversalChainsONFT721_OnlyProtocolAddressCanClaim(); } uint256 earnings = protocolEarningsOpen; if (earnings == 0) { revert UniversalChainsONFT721_NoEarningsToClaim(); } protocolEarningsOpen = 0; protocolEarningsClaimed += earnings; payable(protocolAddress).transfer(earnings); emit ProtocolEarningsClaimed(protocolAddress, earnings); } /**********************/ /* ERC721Enumerable */ /**********************/ /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721Enumerable, ONFT721) returns (bool) { return interfaceId == type(IONFT721).interfaceId || super.supportsInterface(interfaceId); } /**********/ /* VIEW */ /**********/ /// @notice Get the URI /// @dev This function is overridden to return the currentTokenURI variable /// @dev The URI is always the same for all tokens /// @return the URI function tokenURI( uint256 tokenId ) public view virtual override returns (string memory) { tokenId; return currentTokenURI; } }
// 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; // ua can not send payload larger than this by default, but it can be changed by the ua owner uint constant public DEFAULT_PAYLOAD_SIZE_LIMIT = 10000; ILayerZeroEndpoint public immutable lzEndpoint; mapping(uint16 => bytes) public trustedRemoteLookup; mapping(uint16 => mapping(uint16 => uint)) public minDstGasLookup; mapping(uint16 => uint) public payloadSizeLimitLookup; 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"); _checkPayloadSize(_dstChainId, _payload.length); 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)) } } function _checkPayloadSize(uint16 _dstChainId, uint _payloadSize) internal view virtual { uint payloadSizeLimit = payloadSizeLimitLookup[_dstChainId]; if (payloadSizeLimit == 0) { // use default if not set payloadSizeLimit = DEFAULT_PAYLOAD_SIZE_LIMIT; } require(_payloadSize <= payloadSizeLimit, "LzApp: payload size is too large"); } //---------------------------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 _remoteChainId, bytes calldata _path) external onlyOwner { trustedRemoteLookup[_remoteChainId] = _path; emit SetTrustedRemote(_remoteChainId, _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); } // if the size is 0, it means default size limit function setPayloadSizeLimit(uint16 _dstChainId, uint _size) external onlyOwner { payloadSizeLimitLookup[_dstChainId] = _size; } //--------------------------- 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 "./IONFT721Core.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; /** * @dev Interface of the ONFT standard */ interface IONFT721 is IONFT721Core, IERC721 { }
// SPDX-License-Identifier: MIT pragma solidity >=0.5.0; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; /** * @dev Interface of the ONFT Core standard */ interface IONFT721Core is IERC165 { /** * @dev Emitted when `_tokenIds[]` are moved from the `_sender` to (`_dstChainId`, `_toAddress`) * `_nonce` is the outbound nonce from */ event SendToChain(uint16 indexed _dstChainId, address indexed _from, bytes indexed _toAddress, uint[] _tokenIds); event ReceiveFromChain(uint16 indexed _srcChainId, bytes indexed _srcAddress, address indexed _toAddress, uint[] _tokenIds); event SetMinGasToTransferAndStore(uint256 _minGasToTransferAndStore); event SetDstChainIdToTransferGas(uint16 _dstChainId, uint256 _dstChainIdToTransferGas); event SetDstChainIdToBatchLimit(uint16 _dstChainId, uint256 _dstChainIdToBatchLimit); /** * @dev Emitted when `_payload` was received from lz, but not enough gas to deliver all tokenIds */ event CreditStored(bytes32 _hashedPayload, bytes _payload); /** * @dev Emitted when `_hashedPayload` has been completely delivered */ event CreditCleared(bytes32 _hashedPayload); /** * @dev send token `_tokenId` to (`_dstChainId`, `_toAddress`) from `_from` * `_toAddress` can be any size depending on the `dstChainId`. * `_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 _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable; /** * @dev send tokens `_tokenIds[]` to (`_dstChainId`, `_toAddress`) from `_from` * `_toAddress` can be any size depending on the `dstChainId`. * `_zroPaymentAddress` set to address(0x0) if not paying in ZRO (LayerZero Token) * `_adapterParams` is a flexible bytes array to indicate messaging adapter services */ function sendBatchFrom(address _from, uint16 _dstChainId, bytes calldata _toAddress, uint[] calldata _tokenIds, address payable _refundAddress, address _zroPaymentAddress, bytes calldata _adapterParams) external payable; /** * @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 * _tokenId - token Id to transfer * _useZro - indicates to use zro to pay L0 fees * _adapterParams - flexible bytes array to indicate messaging adapter services in L0 */ function estimateSendFee(uint16 _dstChainId, bytes calldata _toAddress, uint _tokenId, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); /** * @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 * _tokenIds[] - token Ids to transfer * _useZro - indicates to use zro to pay L0 fees * _adapterParams - flexible bytes array to indicate messaging adapter services in L0 */ function estimateSendBatchFee(uint16 _dstChainId, bytes calldata _toAddress, uint[] calldata _tokenIds, bool _useZro, bytes calldata _adapterParams) external view returns (uint nativeFee, uint zroFee); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IONFT721.sol"; import "./ONFT721Core.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; // NOTE: this ONFT contract has no public minting logic. // must implement your own minting logic in child classes contract ONFT721 is ONFT721Core, ERC721, IONFT721 { constructor(string memory _name, string memory _symbol, uint256 _minGasToTransfer, address _lzEndpoint) ERC721(_name, _symbol) ONFT721Core(_minGasToTransfer, _lzEndpoint) {} function supportsInterface(bytes4 interfaceId) public view virtual override(ONFT721Core, ERC721, IERC165) returns (bool) { return interfaceId == type(IONFT721).interfaceId || super.supportsInterface(interfaceId); } function _debitFrom(address _from, uint16, bytes memory, uint _tokenId) internal virtual override { require(_isApprovedOrOwner(_msgSender(), _tokenId), "ONFT721: send caller is not owner nor approved"); require(ERC721.ownerOf(_tokenId) == _from, "ONFT721: send from incorrect owner"); _transfer(_from, address(this), _tokenId); } function _creditTo(uint16, address _toAddress, uint _tokenId) internal virtual override { require(!_exists(_tokenId) || (_exists(_tokenId) && ERC721.ownerOf(_tokenId) == address(this))); if (!_exists(_tokenId)) { _safeMint(_toAddress, _tokenId); } else { _transfer(address(this), _toAddress, _tokenId); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IONFT721Core.sol"; import "../../lzApp/NonblockingLzApp.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; abstract contract ONFT721Core is NonblockingLzApp, ERC165, ReentrancyGuard, IONFT721Core { uint16 public constant FUNCTION_TYPE_SEND = 1; struct StoredCredit { uint16 srcChainId; address toAddress; uint256 index; // which index of the tokenIds remain bool creditsRemain; } uint256 public minGasToTransferAndStore; // min amount of gas required to transfer, and also store the payload mapping(uint16 => uint256) public dstChainIdToBatchLimit; mapping(uint16 => uint256) public dstChainIdToTransferGas; // per transfer amount of gas required to mint/transfer on the dst mapping(bytes32 => StoredCredit) public storedCredits; constructor(uint256 _minGasToTransferAndStore, address _lzEndpoint) NonblockingLzApp(_lzEndpoint) { require(_minGasToTransferAndStore > 0, "minGasToTransferAndStore must be > 0"); minGasToTransferAndStore = _minGasToTransferAndStore; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IONFT721Core).interfaceId || super.supportsInterface(interfaceId); } function estimateSendFee(uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { return estimateSendBatchFee(_dstChainId, _toAddress, _toSingletonArray(_tokenId), _useZro, _adapterParams); } function estimateSendBatchFee(uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, bool _useZro, bytes memory _adapterParams) public view virtual override returns (uint nativeFee, uint zroFee) { bytes memory payload = abi.encode(_toAddress, _tokenIds); return lzEndpoint.estimateFees(_dstChainId, address(this), payload, _useZro, _adapterParams); } function sendFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override { _send(_from, _dstChainId, _toAddress, _toSingletonArray(_tokenId), _refundAddress, _zroPaymentAddress, _adapterParams); } function sendBatchFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) public payable virtual override { _send(_from, _dstChainId, _toAddress, _tokenIds, _refundAddress, _zroPaymentAddress, _adapterParams); } function _send(address _from, uint16 _dstChainId, bytes memory _toAddress, uint[] memory _tokenIds, address payable _refundAddress, address _zroPaymentAddress, bytes memory _adapterParams) internal virtual { // allow 1 by default require(_tokenIds.length > 0, "tokenIds[] is empty"); require(_tokenIds.length == 1 || _tokenIds.length <= dstChainIdToBatchLimit[_dstChainId], "batch size exceeds dst batch limit"); for (uint i = 0; i < _tokenIds.length; i++) { _debitFrom(_from, _dstChainId, _toAddress, _tokenIds[i]); } bytes memory payload = abi.encode(_toAddress, _tokenIds); _checkGasLimit(_dstChainId, FUNCTION_TYPE_SEND, _adapterParams, dstChainIdToTransferGas[_dstChainId] * _tokenIds.length); _lzSend(_dstChainId, payload, _refundAddress, _zroPaymentAddress, _adapterParams, msg.value); emit SendToChain(_dstChainId, _from, _toAddress, _tokenIds); } function _nonblockingLzReceive( uint16 _srcChainId, bytes memory _srcAddress, uint64, /*_nonce*/ bytes memory _payload ) internal virtual override { // decode and load the toAddress (bytes memory toAddressBytes, uint[] memory tokenIds) = abi.decode(_payload, (bytes, uint[])); address toAddress; assembly { toAddress := mload(add(toAddressBytes, 20)) } uint nextIndex = _creditTill(_srcChainId, toAddress, 0, tokenIds); if (nextIndex < tokenIds.length) { // not enough gas to complete transfers, store to be cleared in another tx bytes32 hashedPayload = keccak256(_payload); storedCredits[hashedPayload] = StoredCredit(_srcChainId, toAddress, nextIndex, true); emit CreditStored(hashedPayload, _payload); } emit ReceiveFromChain(_srcChainId, _srcAddress, toAddress, tokenIds); } // Public function for anyone to clear and deliver the remaining batch sent tokenIds function clearCredits(bytes memory _payload) external virtual nonReentrant { bytes32 hashedPayload = keccak256(_payload); require(storedCredits[hashedPayload].creditsRemain, "no credits stored"); (, uint[] memory tokenIds) = abi.decode(_payload, (bytes, uint[])); uint nextIndex = _creditTill(storedCredits[hashedPayload].srcChainId, storedCredits[hashedPayload].toAddress, storedCredits[hashedPayload].index, tokenIds); require(nextIndex > storedCredits[hashedPayload].index, "not enough gas to process credit transfer"); if (nextIndex == tokenIds.length) { // cleared the credits, delete the element delete storedCredits[hashedPayload]; emit CreditCleared(hashedPayload); } else { // store the next index to mint storedCredits[hashedPayload] = StoredCredit(storedCredits[hashedPayload].srcChainId, storedCredits[hashedPayload].toAddress, nextIndex, true); } } // When a srcChain has the ability to transfer more chainIds in a single tx than the dst can do. // Needs the ability to iterate and stop if the minGasToTransferAndStore is not met function _creditTill(uint16 _srcChainId, address _toAddress, uint _startIndex, uint[] memory _tokenIds) internal returns (uint256){ uint i = _startIndex; while (i < _tokenIds.length) { // if not enough gas to process, store this index for next loop if (gasleft() < minGasToTransferAndStore) break; _creditTo(_srcChainId, _toAddress, _tokenIds[i]); i++; } // indicates the next index to send of tokenIds, // if i == tokenIds.length, we are finished return i; } function setMinGasToTransferAndStore(uint256 _minGasToTransferAndStore) external onlyOwner { require(_minGasToTransferAndStore > 0, "minGasToTransferAndStore must be > 0"); minGasToTransferAndStore = _minGasToTransferAndStore; emit SetMinGasToTransferAndStore(_minGasToTransferAndStore); } // ensures enough gas in adapter params to handle batch transfer gas amounts on the dst function setDstChainIdToTransferGas(uint16 _dstChainId, uint256 _dstChainIdToTransferGas) external onlyOwner { require(_dstChainIdToTransferGas > 0, "dstChainIdToTransferGas must be > 0"); dstChainIdToTransferGas[_dstChainId] = _dstChainIdToTransferGas; emit SetDstChainIdToTransferGas(_dstChainId, _dstChainIdToTransferGas); } // limit on src the amount of tokens to batch send function setDstChainIdToBatchLimit(uint16 _dstChainId, uint256 _dstChainIdToBatchLimit) external onlyOwner { require(_dstChainIdToBatchLimit > 0, "dstChainIdToBatchLimit must be > 0"); dstChainIdToBatchLimit[_dstChainId] = _dstChainIdToBatchLimit; emit SetDstChainIdToBatchLimit(_dstChainId, _dstChainIdToBatchLimit); } function _debitFrom(address _from, uint16 _dstChainId, bytes memory _toAddress, uint _tokenId) internal virtual; function _creditTo(uint16 _srcChainId, address _toAddress, uint _tokenId) internal virtual; function _toSingletonArray(uint element) internal pure returns (uint[] memory) { uint[] memory array = new uint[](1); array[0] = element; return array; } }
// 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.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev See {ERC721-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual override { super._beforeTokenTransfer(from, to, firstTokenId, batchSize); if (batchSize > 1) { // Will only trigger during construction. Batch transferring (minting) is not available afterwards. revert("ERC721Enumerable: consecutive transfers not supported"); } uint256 tokenId = firstTokenId; if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/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 // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; import "./math/SignedMath.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_minGasToTransfer","type":"uint256"},{"internalType":"address","name":"_layerZeroEndpoint","type":"address"},{"internalType":"uint256","name":"_startMintId","type":"uint256"},{"internalType":"uint256","name":"_endMintId","type":"uint256"},{"internalType":"uint256","name":"_mintingFee","type":"uint256"},{"internalType":"address","name":"_protocolAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"UniversalChainsONFT721_IncorrectMintingFee","type":"error"},{"inputs":[],"name":"UniversalChainsONFT721_MaxLimitReached","type":"error"},{"inputs":[],"name":"UniversalChainsONFT721_NoEarningsToClaim","type":"error"},{"inputs":[],"name":"UniversalChainsONFT721_OnlyProtocolAddressCanClaim","type":"error"},{"inputs":[],"name":"UniversalChainsONFT721_ReferrerCannotBeSender","type":"error"},{"inputs":[],"name":"UniversalChainsONFT721_TokenURIIsLocked","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_hashedPayload","type":"bytes32"}],"name":"CreditCleared","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_hashedPayload","type":"bytes32"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"CreditStored","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EarningsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":false,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":false,"internalType":"uint64","name":"_nonce","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"_payload","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"_reason","type":"bytes"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"oldMintingFee","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"newMintingFee","type":"uint256"}],"name":"MintingFeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"},{"indexed":true,"internalType":"uint256","name":"mintId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"referralEarnings","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"protocolEarnings","type":"uint256"}],"name":"ONFTMinted","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":"address","name":"oldProtocolAddress","type":"address"},{"indexed":true,"internalType":"address","name":"newProtocolAddress","type":"address"}],"name":"ProtocolAddressUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"protocolAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ProtocolEarningsClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"indexed":true,"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"indexed":true,"internalType":"address","name":"_toAddress","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","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":"bytes","name":"_toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"SendToChain","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_dstChainIdToBatchLimit","type":"uint256"}],"name":"SetDstChainIdToBatchLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"_dstChainIdToTransferGas","type":"uint256"}],"name":"SetDstChainIdToTransferGas","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":"uint256","name":"_minGasToTransferAndStore","type":"uint256"}],"name":"SetMinGasToTransferAndStore","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":[],"name":"TokenURILocked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"oldTokenURI","type":"string"},{"indexed":true,"internalType":"string","name":"newTokenURI","type":"string"}],"name":"TokenURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_PAYLOAD_SIZE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FUNCTION_TYPE_SEND","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REFERRAL_EARNINGS_SHARE_BIPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"amountOfMintsWithReferrer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimEarnings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimProtocolEarnings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"clearCredits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"dstChainIdToBatchLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"dstChainIdToTransferGas","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bool","name":"_useZro","type":"bool"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"estimateSendBatchFee","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":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTokenURILocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"lockTokenURI","outputs":[],"stateMutability":"nonpayable","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":[],"name":"maxMintId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"minGasToTransferAndStore","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"referrer","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextMintId","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":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"payloadSizeLimitLookup","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"precrime","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolEarningsClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"protocolEarningsOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referralEarningsClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referralEarningsOpen","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendBatchFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"bytes","name":"_toAddress","type":"bytes"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address payable","name":"_refundAddress","type":"address"},{"internalType":"address","name":"_zroPaymentAddress","type":"address"},{"internalType":"bytes","name":"_adapterParams","type":"bytes"}],"name":"sendFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_dstChainIdToBatchLimit","type":"uint256"}],"name":"setDstChainIdToBatchLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_dstChainIdToTransferGas","type":"uint256"}],"name":"setDstChainIdToTransferGas","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":"uint256","name":"_minGasToTransferAndStore","type":"uint256"}],"name":"setMinGasToTransferAndStore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintingFee","type":"uint256"}],"name":"setMintingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_dstChainId","type":"uint16"},{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setPayloadSizeLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_precrime","type":"address"}],"name":"setPrecrime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_protocolAddress","type":"address"}],"name":"setProtocolAddress","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":"string","name":"newtokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_remoteChainId","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":"bytes32","name":"","type":"bytes32"}],"name":"storedCredits","outputs":[{"internalType":"uint16","name":"srcChainId","type":"uint16"},{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"bool","name":"creditsRemain","type":"bool"}],"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"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"}]
Contract Creation Code
60a06040526127106015553480156200001757600080fd5b5060405162005664380380620056648339810160408190526200003a9162000294565b6040518060400160405280600f81526020016e4f6d6e69526f636b2045646963747360881b815250604051806040016040528060038152602001624f524560e81b8152508787838383838080620000a06200009a6200017d60201b60201c565b62000181565b6001600160a01b031660805250600160065581620001105760405162461bcd60e51b8152602060048201526024808201527f6d696e476173546f5472616e73666572416e6453746f7265206d7573742062656044820152630203e20360e41b606482015260840160405180910390fd5b5060075581516200012990600b906020850190620001d1565b5080516200013f90600c906020840190620001d1565b505050601697909755505050601792909255601955601a80546001600160a01b0319166001600160a01b03909216919091179055506200032e915050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620001df90620002f1565b90600052602060002090601f0160209004810192826200020357600085556200024e565b82601f106200021e57805160ff19168380011785556200024e565b828001600101855582156200024e579182015b828111156200024e57825182559160200191906001019062000231565b506200025c92915062000260565b5090565b5b808211156200025c576000815560010162000261565b80516001600160a01b03811681146200028f57600080fd5b919050565b60008060008060008060c08789031215620002ae57600080fd5b86519550620002c06020880162000277565b9450604087015193506060870151925060808701519150620002e560a0880162000277565b90509295509295509295565b600181811c908216806200030657607f821691505b602082108114156200032857634e487b7160e01b600052602260045260246000fd5b50919050565b6080516152e26200038260003960008181610b8b01528181610e360152818161113a015281816113bf015281816116370152818161223a0152818161299f01528181612ad201526139f501526152e26000f3fe60806040526004361061043b5760003560e01c8063715018a611610234578063baf3292d1161012e578063e0df5b6f116100b6578063f23536411161007a578063f235364114610d79578063f2fde38b14610d99578063f5ecbdbc14610db9578063fa25f9b614610dd9578063fc83db9414610e0657600080fd5b8063e0df5b6f14610cc0578063e1d4c87014610ce0578063e985e9c514610cf6578063eb8d72b714610d3f578063eee95d6a14610d5f57600080fd5b8063cc144e6b116100fd578063cc144e6b14610c43578063d12473a514610c58578063d1deba1f14610c78578063d9ceab1314610c8b578063df2a5b3b14610ca057600080fd5b8063baf3292d14610bcd578063c446183414610bed578063c87b56dd14610c03578063cbed8b9c14610c2357600080fd5b806395d89b41116101bc578063a6c3d16511610180578063a6c3d16514610b1e578063ab3ffb9314610b3e578063af3fb21c14610b51578063b353aaa714610b79578063b88d4fde14610bad57600080fd5b806395d89b4114610a935780639bb62d1014610aa85780639ea5d6b114610abe5780639f38369a14610ade578063a22cb46514610afe57600080fd5b80638cfd8f5c116102035780638cfd8f5c146109e75780638da5cb5b14610a1f5780638ffa1f2a14610a3d578063918f867414610a5d578063950c8a7414610a7357600080fd5b8063715018a61461096f5780637533d78814610984578063763a8426146109a45780637af284d5146109d157600080fd5b80633339f8ca1161034557806353806b68116102cd5780636352211e116102915780636352211e146108e657806366ad5c8a146109065780636a627842146109265780636aa99da31461093957806370a082311461094f57600080fd5b806353806b681461083657806358e470041461084c5780635a64ad951461086c5780635b8c41e6146108825780635e5a9e30146108d157600080fd5b806342d65a8d1161031457806342d65a8d146107a057806348288190146107c05780634ac3f4ff146107d65780634f6ccce714610803578063519056361461082357600080fd5b80633339f8ca1461071d5780633d8b38f6146107335780633f1f4fa41461075357806342842e0e1461078057600080fd5b806310ddb137116103c8578063238a470911610397578063238a47091461065b57806323b872dd1461067b578063250fed951461069b5780632a205e3d146106c85780632f745c59146106fd57600080fd5b806310ddb137146105915780631249c58b146105b157806318160ddd146105b957806322a3ecf9146105d857600080fd5b806307e0db171161040f57806307e0db17146104f1578063081812fc14610511578063095ea7b3146105315780630b4cad4c146105515780630df374831461057157600080fd5b80621d35671461044057806301ffc9a7146104625780630676c1b71461049757806306fdde03146104cf575b600080fd5b34801561044c57600080fd5b5061046061045b3660046142f9565b610e33565b005b34801561046e57600080fd5b5061048261047d3660046143a2565b611064565b60405190151581526020015b60405180910390f35b3480156104a357600080fd5b50601a546104b7906001600160a01b031681565b6040516001600160a01b03909116815260200161048e565b3480156104db57600080fd5b506104e4611087565b60405161048e9190614417565b3480156104fd57600080fd5b5061046061050c36600461442a565b611119565b34801561051d57600080fd5b506104b761052c366004614445565b6111a2565b34801561053d57600080fd5b5061046061054c36600461447e565b6111c9565b34801561055d57600080fd5b5061046061056c366004614445565b6112df565b34801561057d57600080fd5b5061046061058c3660046144aa565b61137f565b34801561059d57600080fd5b506104606105ac36600461442a565b61139e565b6104606113f6565b3480156105c557600080fd5b506013545b60405190815260200161048e565b3480156105e457600080fd5b5061062c6105f3366004614445565b600a6020526000908152604090208054600182015460029092015461ffff821692620100009092046001600160a01b0316919060ff1684565b6040805161ffff90951685526001600160a01b039093166020850152918301521515606082015260800161048e565b34801561066757600080fd5b50610460610676366004614445565b611402565b34801561068757600080fd5b506104606106963660046144c6565b611443565b3480156106a757600080fd5b506105ca6106b6366004614507565b601d6020526000908152604090205481565b3480156106d457600080fd5b506106e86106e33660046145ff565b611475565b6040805192835260208301919091520161048e565b34801561070957600080fd5b506105ca61071836600461447e565b61149b565b34801561072957600080fd5b506105ca601e5481565b34801561073f57600080fd5b5061048261074e36600461468d565b611531565b34801561075f57600080fd5b506105ca61076e36600461442a565b60036020526000908152604090205481565b34801561078c57600080fd5b5061046061079b3660046144c6565b6115fd565b3480156107ac57600080fd5b506104606107bb36600461468d565b611618565b3480156107cc57600080fd5b506105ca60075481565b3480156107e257600080fd5b506105ca6107f136600461442a565b60086020526000908152604090205481565b34801561080f57600080fd5b506105ca61081e366004614445565b61169e565b6104606108313660046146df565b611731565b34801561084257600080fd5b506105ca601f5481565b34801561085857600080fd5b50610460610867366004614507565b611748565b34801561087857600080fd5b506105ca60195481565b34801561088e57600080fd5b506105ca61089d366004614798565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156108dd57600080fd5b506104606117a2565b3480156108f257600080fd5b506104b7610901366004614445565b611806565b34801561091257600080fd5b506104606109213660046142f9565b611866565b610460610934366004614507565b611942565b34801561094557600080fd5b506105ca60165481565b34801561095b57600080fd5b506105ca61096a366004614507565b611aed565b34801561097b57600080fd5b50610460611b73565b34801561099057600080fd5b506104e461099f36600461442a565b611b85565b3480156109b057600080fd5b506105ca6109bf366004614507565b601c6020526000908152604090205481565b3480156109dd57600080fd5b506105ca60185481565b3480156109f357600080fd5b506105ca610a023660046147f5565b600260209081526000928352604080842090915290825290205481565b348015610a2b57600080fd5b506000546001600160a01b03166104b7565b348015610a4957600080fd5b50610460610a58366004614828565b611c1f565b348015610a6957600080fd5b506105ca60155481565b348015610a7f57600080fd5b506004546104b7906001600160a01b031681565b348015610a9f57600080fd5b506104e4611e6b565b348015610ab457600080fd5b506105ca6103e881565b348015610aca57600080fd5b50610460610ad93660046144aa565b611e7a565b348015610aea57600080fd5b506104e4610af936600461442a565b611f31565b348015610b0a57600080fd5b50610460610b1936600461485c565b612048565b348015610b2a57600080fd5b50610460610b3936600461468d565b612057565b610460610b4c366004614911565b6120ea565b348015610b5d57600080fd5b50610b66600181565b60405161ffff909116815260200161048e565b348015610b8557600080fd5b506104b77f000000000000000000000000000000000000000000000000000000000000000081565b348015610bb957600080fd5b50610460610bc83660046149c6565b6120f9565b348015610bd957600080fd5b50610460610be8366004614507565b612131565b348015610bf957600080fd5b506105ca61271081565b348015610c0f57600080fd5b506104e4610c1e366004614445565b612187565b348015610c2f57600080fd5b50610460610c3e366004614a31565b61221b565b348015610c4f57600080fd5b506104606122b0565b348015610c6457600080fd5b50610460610c733660046144aa565b6123a5565b610460610c863660046142f9565b612455565b348015610c9757600080fd5b5061046061266b565b348015610cac57600080fd5b50610460610cbb366004614a9f565b61272a565b348015610ccc57600080fd5b50610460610cdb366004614adb565b6127dc565b348015610cec57600080fd5b506105ca60175481565b348015610d0257600080fd5b50610482610d11366004614b23565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205460ff1690565b348015610d4b57600080fd5b50610460610d5a36600461468d565b612906565b348015610d6b57600080fd5b506021546104829060ff1681565b348015610d8557600080fd5b506106e8610d94366004614b5c565b612960565b348015610da557600080fd5b50610460610db4366004614507565b612a2b565b348015610dc557600080fd5b506104e4610dd4366004614bd5565b612aa1565b348015610de557600080fd5b506105ca610df436600461442a565b60096020526000908152604090205481565b348015610e1257600080fd5b506105ca610e21366004614507565b601b6020526000908152604090205481565b337f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031614610eb05760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610ece90614c22565b80601f0160208091040260200160405190810160405280929190818152602001828054610efa90614c22565b8015610f475780601f10610f1c57610100808354040283529160200191610f47565b820191906000526020600020905b815481529060010190602001808311610f2a57829003601f168201915b50505050509050805186869050148015610f62575060008151115b8015610f8a575080516020820120604051610f809088908890614c5d565b6040518091039020145b610fe55760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610ea7565b61105b8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250612b5492505050565b50505050505050565b60006001600160e01b031982161580611081575061108182612bcd565b92915050565b6060600b805461109690614c22565b80601f01602080910402602001604051908101604052809291908181526020018280546110c290614c22565b801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050905090565b611121612bf2565b6040516307e0db1760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906307e0db17906024015b600060405180830381600087803b15801561118757600080fd5b505af115801561119b573d6000803e3d6000fd5b5050505050565b60006111ad82612c4c565b506000908152600f60205260409020546001600160a01b031690565b60006111d482611806565b9050806001600160a01b0316836001600160a01b031614156112425760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ea7565b336001600160a01b038216148061125e575061125e8133610d11565b6112d05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610ea7565b6112da8383612c9c565b505050565b6112e7612bf2565b600081116113435760405162461bcd60e51b8152602060048201526024808201527f6d696e476173546f5472616e73666572416e6453746f7265206d7573742062656044820152630203e20360e41b6064820152608401610ea7565b60078190556040518181527ffebbc4f8bb9ec2313950c718d43123124b15778efda4c1f1d529de2995b4f34d906020015b60405180910390a150565b611387612bf2565b61ffff909116600090815260036020526040902055565b6113a6612bf2565b6040516310ddb13760e01b815261ffff821660048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310ddb1379060240161116d565b6114006000611942565b565b61140a612bf2565b6019805490829055604051829082907fc24d648b8b29d6566f302551df9152ced5a44785e31f38d1d047c8168dd3451990600090a35050565b61144e335b82612d0a565b61146a5760405162461bcd60e51b8152600401610ea790614c6d565b6112da838383612d88565b60008061148d878761148688612ef9565b8787612960565b915091509550959350505050565b60006114a683611aed565b82106115085760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ea7565b506001600160a01b03919091166000908152601160209081526040808320938352929052205490565b61ffff83166000908152600160205260408120805482919061155290614c22565b80601f016020809104026020016040519081016040528092919081815260200182805461157e90614c22565b80156115cb5780601f106115a0576101008083540402835291602001916115cb565b820191906000526020600020905b8154815290600101906020018083116115ae57829003601f168201915b5050505050905083836040516115e2929190614c5d565b60405180910390208180519060200120149150509392505050565b6112da838383604051806020016040528060008152506120f9565b611620612bf2565b6040516342d65a8d60e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906342d65a8d9061167090869086908690600401614ce3565b600060405180830381600087803b15801561168a57600080fd5b505af115801561105b573d6000803e3d6000fd5b60006116a960135490565b821061170c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ea7565b6013828154811061171f5761171f614d01565b90600052602060002001549050919050565b61105b87878761174088612ef9565b878787612f44565b611750612bf2565b601a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f2756814479f687d805be12ef7dfd27c72bc645462236412ee56a627f389e4e3390600090a35050565b6117aa612bf2565b60215460ff16156117ce57604051632126323360e01b815260040160405180910390fd5b6021805460ff191660011790556040517fa16ef1d57052da76658ef579a7c207409f7c895e180172c9e47756f136ef249c90600090a1565b6000818152600d60205260408120546001600160a01b0316806110815760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ea7565b3330146118c45760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610ea7565b61193a8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061311892505050565b505050505050565b6017546016541115611967576040516352b1c17f60e01b815260040160405180910390fd5b6001600160a01b03811633141561199157604051630cd0ed9f60e41b815260040160405180910390fd5b60195434146119b357604051632ea462a760e01b815260040160405180910390fd5b601880549060006119c383614d2d565b90915550506016805490819060006119da83614d2d565b90915550506019546000906001600160a01b03841615611a7d576001600160a01b0384166000908152601d60205260408120805491611a1883614d2d565b91905055506015546103e8601954611a309190614d48565b611a3a9190614d67565b915081601954611a4a9190614d89565b6001600160a01b0385166000908152601b6020526040812080549293508492909190611a77908490614da0565b90915550505b80601e6000828254611a8f9190614da0565b90915550611a9f9050338461326f565b604080518381526020810183905284916001600160a01b0387169133917f03ae4d26ba7241097fdc1ff8b8074252686f09cdb03bcfbcff676de5c979bf26910160405180910390a450505050565b60006001600160a01b038216611b575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610ea7565b506001600160a01b03166000908152600e602052604090205490565b611b7b612bf2565b6114006000613289565b60016020526000908152604090208054611b9e90614c22565b80601f0160208091040260200160405190810160405280929190818152602001828054611bca90614c22565b8015611c175780601f10611bec57610100808354040283529160200191611c17565b820191906000526020600020905b815481529060010190602001808311611bfa57829003601f168201915b505050505081565b611c276132d9565b80516020808301919091206000818152600a90925260409091206002015460ff16611c885760405162461bcd60e51b81526020600482015260116024820152701b9bc818dc99591a5d1cc81cdd1bdc9959607a1b6044820152606401610ea7565b600082806020019051810190611c9e9190614dfd565b6000848152600a602052604081208054600190910154929450909250611cda9161ffff8216916201000090046001600160a01b03169085613333565b6000848152600a60205260409020600101549091508111611d4f5760405162461bcd60e51b815260206004820152602960248201527f6e6f7420656e6f7567682067617320746f2070726f6365737320637265646974604482015268103a3930b739b332b960b91b6064820152608401610ea7565b8151811415611dc7576000838152600a602052604080822080546001600160b01b031916815560018101929092556002909101805460ff19169055517fd7be02b8dd0d27bd0517a9cb4d7469ce27df4313821ae5ec1ff69acc594ba23390611dba9085815260200190565b60405180910390a1611e5b565b604080516080810182526000858152600a6020818152848320805461ffff80821687526001600160a01b03620100008084048216868a019081529989018b8152600160608b01818152998f90529790965297519851169096026001600160b01b03199091169690951695909517939093178455915191830191909155516002909101805491151560ff199092169190911790555b505050611e686001600655565b50565b6060600c805461109690614c22565b611e82612bf2565b60008111611edd5760405162461bcd60e51b815260206004820152602260248201527f647374436861696e4964546f42617463684c696d6974206d757374206265203e604482015261020360f41b6064820152608401610ea7565b61ffff8216600081815260086020908152604091829020849055815192835282018390527f7315f7654d594ead24a30160ed9ba2d23247f543016b918343591e93d7afdb6d91015b60405180910390a15050565b61ffff8116600090815260016020526040812080546060929190611f5490614c22565b80601f0160208091040260200160405190810160405280929190818152602001828054611f8090614c22565b8015611fcd5780601f10611fa257610100808354040283529160200191611fcd565b820191906000526020600020905b815481529060010190602001808311611fb057829003601f168201915b505050505090508051600014156120265760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610ea7565b6120416000601483516120399190614d89565b839190613385565b9392505050565b612053338383613492565b5050565b61205f612bf2565b81813060405160200161207493929190614eb7565b60408051601f1981840301815291815261ffff851660009081526001602090815291902082516120a993919290910190614176565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516120dd93929190614ce3565b60405180910390a1505050565b61105b87878787878787612f44565b6121033383612d0a565b61211f5760405162461bcd60e51b8152600401610ea790614c6d565b61212b84848484613561565b50505050565b612139612bf2565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001611374565b60606020805461219690614c22565b80601f01602080910402602001604051908101604052809291908181526020018280546121c290614c22565b801561220f5780601f106121e45761010080835404028352916020019161220f565b820191906000526020600020905b8154815290600101906020018083116121f257829003601f168201915b50505050509050919050565b612223612bf2565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbed8b9c906122779088908890889088908890600401614edd565b600060405180830381600087803b15801561229157600080fd5b505af11580156122a5573d6000803e3d6000fd5b505050505050505050565b601a546001600160a01b0316336001600160a01b0316146122e457604051630397ba2960e61b815260040160405180910390fd5b601e54806123055760405163a4c3a61b60e01b815260040160405180910390fd5b6000601e8190555080601f600082825461231f9190614da0565b9091555050601a546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561235e573d6000803e3d6000fd5b50601a546040518281526001600160a01b03909116907f14a6770a5ea104b5a2786ef29ae0b7519505f923bd33a6aa0e467649e2f10be6906020015b60405180910390a250565b6123ad612bf2565b600081116124095760405162461bcd60e51b815260206004820152602360248201527f647374436861696e4964546f5472616e73666572476173206d7573742062652060448201526203e20360ec1b6064820152608401610ea7565b61ffff8216600081815260096020908152604091829020849055815192835282018390527fc46df2983228ac2d9754e94a0d565e6671665dc8ad38602bc8e544f0685a29fb9101611f25565b61ffff861660009081526005602052604080822090516124789088908890614c5d565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806124f85760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610ea7565b808383604051612509929190614c5d565b6040518091039020146125685760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610ea7565b61ffff8716600090815260056020526040808220905161258b9089908990614c5d565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252612623918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061311892505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161265a959493929190614f16565b60405180910390a150505050505050565b336000908152601b6020526040902054806126995760405163a4c3a61b60e01b815260040160405180910390fd5b336000908152601b60209081526040808320839055601c909152812080548392906126c5908490614da0565b9091555050604051339082156108fc029083906000818181858888f193505050501580156126f7573d6000803e3d6000fd5b5060405181815233907f6a8d334a32dfb49dae325dba76deb51b0b8f5ea50b1cdfa70710f4dc1b9c24c59060200161239a565b612732612bf2565b6000811161277a5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610ea7565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016120dd565b6127e4612bf2565b6000602080546127f390614c22565b80601f016020809104026020016040519081016040528092919081815260200182805461281f90614c22565b801561286c5780601f106128415761010080835404028352916020019161286c565b820191906000526020600020905b81548152906001019060200180831161284f57829003601f168201915b5050602154939450505060ff90911615905061289b57604051632126323360e01b815260040160405180910390fd5b81516128ad9060209081850190614176565b50816040516128bc9190614f51565b6040518091039020816040516128d29190614f51565b604051908190038120907ffd07e2c2d6dc82f4d6b1b46f25e49eb888aba92d238fb40945856412cce2f2dd90600090a35050565b61290e612bf2565b61ffff8316600090815260016020526040902061292c9083836141fa565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516120dd93929190614ce3565b60008060008686604051602001612978929190614fa8565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906340a7bb10906129dc908b90309086908b908b90600401614fd6565b6040805180830381865afa1580156129f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a1c919061502a565b92509250509550959350505050565b612a33612bf2565b6001600160a01b038116612a985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ea7565b611e6881613289565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015612b21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b49919081019061504e565b90505b949350505050565b600080612bb75a60966366ad5c8a60e01b89898989604051602401612b7c9493929190615082565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190613594565b915091508161193a5761193a868686868561361e565b60006001600160e01b0319821663780e9d6360e01b14806110815750611081826136bb565b6000546001600160a01b031633146114005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ea7565b612c55816136d8565b611e685760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ea7565b6000818152600f6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612cd182611806565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612d1683611806565b9050806001600160a01b0316846001600160a01b03161480612d5d57506001600160a01b0380821660009081526010602090815260408083209388168352929052205460ff165b80612b4c5750836001600160a01b0316612d76846111a2565b6001600160a01b031614949350505050565b826001600160a01b0316612d9b82611806565b6001600160a01b031614612dc15760405162461bcd60e51b8152600401610ea7906150c0565b6001600160a01b038216612e235760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ea7565b612e3083838360016136f5565b826001600160a01b0316612e4382611806565b6001600160a01b031614612e695760405162461bcd60e51b8152600401610ea7906150c0565b6000818152600f6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652600e8552838620805460001901905590871680865283862080546001019055868652600d90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612f3357612f33614d01565b602090810291909101015292915050565b6000845111612f8b5760405162461bcd60e51b8152602060048201526013602482015272746f6b656e4964735b5d20697320656d70747960681b6044820152606401610ea7565b835160011480612faf575061ffff8616600090815260086020526040902054845111155b6130065760405162461bcd60e51b815260206004820152602260248201527f62617463682073697a65206578636565647320647374206261746368206c696d6044820152611a5d60f21b6064820152608401610ea7565b60005b84518110156130495761303788888888858151811061302a5761302a614d01565b6020026020010151613701565b8061304181614d2d565b915050613009565b506000858560405160200161305f929190614fa8565b60405160208183030381529060405290506130a4876001848851600960008d61ffff1661ffff1681526020019081526020016000205461309f9190614d48565b6137ec565b6130b28782868686346138cb565b856040516130c09190614f51565b6040518091039020886001600160a01b03168861ffff167fe1b87c47fdeb4f9cbadbca9df3af7aba453bb6e501075d0440d88125b711522a886040516131069190615105565b60405180910390a45050505050505050565b6000808280602001905181019061312f9190614dfd565b60148201519193509150600061314788838386613333565b9050825181101561321b5784516020808701919091206040805160808101825261ffff808d1682526001600160a01b038088168387019081528385018881526001606086018181526000898152600a909a529887902095518654935190941662010000026001600160b01b03199093169390941692909217178355519082015592516002909301805493151560ff199094169390931790925590517f10e0b70d256bccc84b7027506978bd8b68984a870788b93b479def144c839ad7906132119083908990615118565b60405180910390a1505b816001600160a01b0316876040516132339190614f51565b60405180910390208961ffff167f5b821db8a46f8ecbe1941ba2f51cfeea9643268b56631f70d45e2a745d990265866040516131069190615105565b612053828260405180602001604052806000815250613a71565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002600654141561332c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ea7565b6002600655565b6000825b8251811015612b49576007545a101561334f57612b49565b613373868685848151811061336657613366614d01565b6020026020010151613aa4565b8061337d81614d2d565b915050613337565b60608161339381601f614da0565b10156133d25760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610ea7565b6133dc8284614da0565b845110156134205760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610ea7565b60608215801561343f5760405191506000825260208201604052613489565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613478578051835260209283019201613460565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b031614156134f45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ea7565b6001600160a01b03838116600081815260106020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61356c848484612d88565b61357884848484613b04565b61212b5760405162461bcd60e51b8152600401610ea790615131565b6000606060008060008661ffff166001600160401b038111156135b9576135b9614524565b6040519080825280601f01601f1916602001820160405280156135e3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115613605578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff1681526020019081526020016000208560405161364f9190614f51565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906136ac9087908790879087908790615183565b60405180910390a15050505050565b60006001600160e01b031982161580611081575061108182613bff565b6000908152600d60205260409020546001600160a01b0316151590565b61212b84848484613c3f565b61370a33611448565b61376d5760405162461bcd60e51b815260206004820152602e60248201527f4f4e46543732313a2073656e642063616c6c6572206973206e6f74206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610ea7565b836001600160a01b031661378082611806565b6001600160a01b0316146137e15760405162461bcd60e51b815260206004820152602260248201527f4f4e46543732313a2073656e642066726f6d20696e636f7272656374206f776e60448201526132b960f11b6064820152608401610ea7565b61212b843083612d88565b60006137f783613d6c565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090613829908490614da0565b90506000811161387b5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610ea7565b8082101561193a5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610ea7565b61ffff8616600090815260016020526040812080546138e990614c22565b80601f016020809104026020016040519081016040528092919081815260200182805461391590614c22565b80156139625780601f1061393757610100808354040283529160200191613962565b820191906000526020600020905b81548152906001019060200180831161394557829003601f168201915b505050505090508051600014156139d45760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610ea7565b6139df878751613dc8565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c5803100908490613a36908b9086908c908c908c908c906004016151d5565b6000604051808303818588803b158015613a4f57600080fd5b505af1158015613a63573d6000803e3d6000fd5b505050505050505050505050565b613a7b8383613e36565b613a886000848484613b04565b6112da5760405162461bcd60e51b8152600401610ea790615131565b613aad816136d8565b1580613ad95750613abd816136d8565b8015613ad9575030613ace82611806565b6001600160a01b0316145b613ae257600080fd5b613aeb816136d8565b613af9576112da828261326f565b6112da308383612d88565b60006001600160a01b0384163b15613bf757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613b4890339089908890889060040161523c565b6020604051808303816000875af1925050508015613b83575060408051601f3d908101601f19168201909252613b8091810190615279565b60015b613bdd573d808015613bb1576040519150601f19603f3d011682016040523d82523d6000602084013e613bb6565b606091505b508051613bd55760405162461bcd60e51b8152600401610ea790615131565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b4c565b506001612b4c565b60006001600160e01b031982166380ac58cd60e01b1480613c3057506001600160e01b03198216635b5e139f60e01b145b80611081575061108182613fb1565b6001811115613cae5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610ea7565b816001600160a01b038516613d0a57613d0581601380546000838152601460205260408120829055600182018355919091527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900155565b613d2d565b836001600160a01b0316856001600160a01b031614613d2d57613d2d8582613fe6565b6001600160a01b038416613d4957613d4481614083565b61119b565b846001600160a01b0316846001600160a01b03161461119b5761119b8482614132565b6000602282511015613dc05760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610ea7565b506022015190565b61ffff821660009081526003602052604090205480613de657506127105b808211156112da5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c617267656044820152606401610ea7565b6001600160a01b038216613e8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ea7565b613e95816136d8565b15613ee25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ea7565b613ef06000838360016136f5565b613ef9816136d8565b15613f465760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ea7565b6001600160a01b0382166000818152600e6020908152604080832080546001019055848352600d90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160e01b031982166322bac5d960e01b148061108157506301ffc9a760e01b6001600160e01b0319831614611081565b60006001613ff384611aed565b613ffd9190614d89565b600083815260126020526040902054909150808214614050576001600160a01b03841660009081526011602090815260408083208584528252808320548484528184208190558352601290915290208190555b5060009182526012602090815260408084208490556001600160a01b039094168352601181528383209183525290812055565b60135460009061409590600190614d89565b600083815260146020526040812054601380549394509092849081106140bd576140bd614d01565b9060005260206000200154905080601383815481106140de576140de614d01565b600091825260208083209091019290925582815260149091526040808220849055858252812055601380548061411657614116615296565b6001900381819060005260206000200160009055905550505050565b600061413d83611aed565b6001600160a01b039093166000908152601160209081526040808320868452825280832085905593825260129052919091209190915550565b82805461418290614c22565b90600052602060002090601f0160209004810192826141a457600085556141ea565b82601f106141bd57805160ff19168380011785556141ea565b828001600101855582156141ea579182015b828111156141ea5782518255916020019190600101906141cf565b506141f692915061426e565b5090565b82805461420690614c22565b90600052602060002090601f01602090048101928261422857600085556141ea565b82601f106142415782800160ff198235161785556141ea565b828001600101855582156141ea579182015b828111156141ea578235825591602001919060010190614253565b5b808211156141f6576000815560010161426f565b803561ffff8116811461429557600080fd5b919050565b60008083601f8401126142ac57600080fd5b5081356001600160401b038111156142c357600080fd5b6020830191508360208285010111156142db57600080fd5b9250929050565b80356001600160401b038116811461429557600080fd5b6000806000806000806080878903121561431257600080fd5b61431b87614283565b955060208701356001600160401b038082111561433757600080fd5b6143438a838b0161429a565b909750955085915061435760408a016142e2565b9450606089013591508082111561436d57600080fd5b5061437a89828a0161429a565b979a9699509497509295939492505050565b6001600160e01b031981168114611e6857600080fd5b6000602082840312156143b457600080fd5b81356120418161438c565b60005b838110156143da5781810151838201526020016143c2565b8381111561212b5750506000910152565b600081518084526144038160208601602086016143bf565b601f01601f19169290920160200192915050565b60208152600061204160208301846143eb565b60006020828403121561443c57600080fd5b61204182614283565b60006020828403121561445757600080fd5b5035919050565b6001600160a01b0381168114611e6857600080fd5b80356142958161445e565b6000806040838503121561449157600080fd5b823561449c8161445e565b946020939093013593505050565b600080604083850312156144bd57600080fd5b61449c83614283565b6000806000606084860312156144db57600080fd5b83356144e68161445e565b925060208401356144f68161445e565b929592945050506040919091013590565b60006020828403121561451957600080fd5b81356120418161445e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561456257614562614524565b604052919050565b60006001600160401b0382111561458357614583614524565b50601f01601f191660200190565b60006145a461459f8461456a565b61453a565b90508281528383830111156145b857600080fd5b828260208301376000602084830101529392505050565b600082601f8301126145e057600080fd5b61204183833560208501614591565b8035801515811461429557600080fd5b600080600080600060a0868803121561461757600080fd5b61462086614283565b945060208601356001600160401b038082111561463c57600080fd5b61464889838a016145cf565b95506040880135945061465d606089016145ef565b9350608088013591508082111561467357600080fd5b50614680888289016145cf565b9150509295509295909350565b6000806000604084860312156146a257600080fd5b6146ab84614283565b925060208401356001600160401b038111156146c657600080fd5b6146d28682870161429a565b9497909650939450505050565b600080600080600080600060e0888a0312156146fa57600080fd5b87356147058161445e565b965061471360208901614283565b955060408801356001600160401b038082111561472f57600080fd5b61473b8b838c016145cf565b965060608a0135955060808a013591506147548261445e565b90935060a0890135906147668261445e565b90925060c0890135908082111561477c57600080fd5b506147898a828b016145cf565b91505092959891949750929550565b6000806000606084860312156147ad57600080fd5b6147b684614283565b925060208401356001600160401b038111156147d157600080fd5b6147dd868287016145cf565b9250506147ec604085016142e2565b90509250925092565b6000806040838503121561480857600080fd5b61481183614283565b915061481f60208401614283565b90509250929050565b60006020828403121561483a57600080fd5b81356001600160401b0381111561485057600080fd5b612b4c848285016145cf565b6000806040838503121561486f57600080fd5b823561487a8161445e565b915061481f602084016145ef565b60006001600160401b038211156148a1576148a1614524565b5060051b60200190565b600082601f8301126148bc57600080fd5b813560206148cc61459f83614888565b82815260059290921b840181019181810190868411156148eb57600080fd5b8286015b8481101561490657803583529183019183016148ef565b509695505050505050565b600080600080600080600060e0888a03121561492c57600080fd5b87356149378161445e565b965061494560208901614283565b955060408801356001600160401b038082111561496157600080fd5b61496d8b838c016145cf565b965060608a013591508082111561498357600080fd5b61498f8b838c016148ab565b955060808a013591506149a18261445e565b8194506149b060a08b01614473565b935060c08a013591508082111561477c57600080fd5b600080600080608085870312156149dc57600080fd5b84356149e78161445e565b935060208501356149f78161445e565b92506040850135915060608501356001600160401b03811115614a1957600080fd5b614a25878288016145cf565b91505092959194509250565b600080600080600060808688031215614a4957600080fd5b614a5286614283565b9450614a6060208701614283565b93506040860135925060608601356001600160401b03811115614a8257600080fd5b614a8e8882890161429a565b969995985093965092949392505050565b600080600060608486031215614ab457600080fd5b614abd84614283565b9250614acb60208501614283565b9150604084013590509250925092565b600060208284031215614aed57600080fd5b81356001600160401b03811115614b0357600080fd5b8201601f81018413614b1457600080fd5b612b4c84823560208401614591565b60008060408385031215614b3657600080fd5b8235614b418161445e565b91506020830135614b518161445e565b809150509250929050565b600080600080600060a08688031215614b7457600080fd5b614b7d86614283565b945060208601356001600160401b0380821115614b9957600080fd5b614ba589838a016145cf565b95506040880135915080821115614bbb57600080fd5b614bc789838a016148ab565b945061465d606089016145ef565b60008060008060808587031215614beb57600080fd5b614bf485614283565b9350614c0260208601614283565b92506040850135614c128161445e565b9396929550929360600135925050565b600181811c90821680614c3657607f821691505b60208210811415614c5757634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000612b49604083018486614cba565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415614d4157614d41614d17565b5060010190565b6000816000190483118215151615614d6257614d62614d17565b500290565b600082614d8457634e487b7160e01b600052601260045260246000fd5b500490565b600082821015614d9b57614d9b614d17565b500390565b60008219821115614db357614db3614d17565b500190565b600082601f830112614dc957600080fd5b8151614dd761459f8261456a565b818152846020838601011115614dec57600080fd5b612b4c8260208301602087016143bf565b60008060408385031215614e1057600080fd5b82516001600160401b0380821115614e2757600080fd5b614e3386838701614db8565b9350602091508185015181811115614e4a57600080fd5b85019050601f81018613614e5d57600080fd5b8051614e6b61459f82614888565b81815260059190911b82018301908381019088831115614e8a57600080fd5b928401925b82841015614ea857835182529284019290840190614e8f565b80955050505050509250929050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600061ffff808816835280871660208401525084604083015260806060830152614f0b608083018486614cba565b979650505050505050565b61ffff86168152608060208201526000614f34608083018688614cba565b6001600160401b0394909416604083015250606001529392505050565b60008251614f638184602087016143bf565b9190910192915050565b600081518084526020808501945080840160005b83811015614f9d57815187529582019590820190600101614f81565b509495945050505050565b604081526000614fbb60408301856143eb565b8281036020840152614fcd8185614f6d565b95945050505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090615004908301866143eb565b8415156060840152828103608084015261501e81856143eb565b98975050505050505050565b6000806040838503121561503d57600080fd5b505080516020909101519092909150565b60006020828403121561506057600080fd5b81516001600160401b0381111561507657600080fd5b612b4c84828501614db8565b61ffff8516815260806020820152600061509f60808301866143eb565b6001600160401b03851660408401528281036060840152614f0b81856143eb565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020815260006120416020830184614f6d565b828152604060208201526000612b4c60408301846143eb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b61ffff8616815260a0602082015260006151a060a08301876143eb565b6001600160401b038616604084015282810360608401526151c181866143eb565b9050828103608084015261501e81856143eb565b61ffff8716815260c0602082015260006151f260c08301886143eb565b828103604084015261520481886143eb565b6001600160a01b0387811660608601528616608085015283810360a0850152905061522f81856143eb565b9998505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061526f908301846143eb565b9695505050505050565b60006020828403121561528b57600080fd5b81516120418161438c565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208e4f6854f9eabb06f92736970784e1a0ca9a6cba811d20af883691eab0345ba664736f6c634300080c003300000000000000000000000000000000000000000000000000000000000186a00000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e400000000000000000000000000000000000000000000000000000000003567e100000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000119f17fe16000000000000000000000000000f85056e2120eff18e5a87dab068147cf8ba8ad2e
Deployed Bytecode
0x60806040526004361061043b5760003560e01c8063715018a611610234578063baf3292d1161012e578063e0df5b6f116100b6578063f23536411161007a578063f235364114610d79578063f2fde38b14610d99578063f5ecbdbc14610db9578063fa25f9b614610dd9578063fc83db9414610e0657600080fd5b8063e0df5b6f14610cc0578063e1d4c87014610ce0578063e985e9c514610cf6578063eb8d72b714610d3f578063eee95d6a14610d5f57600080fd5b8063cc144e6b116100fd578063cc144e6b14610c43578063d12473a514610c58578063d1deba1f14610c78578063d9ceab1314610c8b578063df2a5b3b14610ca057600080fd5b8063baf3292d14610bcd578063c446183414610bed578063c87b56dd14610c03578063cbed8b9c14610c2357600080fd5b806395d89b41116101bc578063a6c3d16511610180578063a6c3d16514610b1e578063ab3ffb9314610b3e578063af3fb21c14610b51578063b353aaa714610b79578063b88d4fde14610bad57600080fd5b806395d89b4114610a935780639bb62d1014610aa85780639ea5d6b114610abe5780639f38369a14610ade578063a22cb46514610afe57600080fd5b80638cfd8f5c116102035780638cfd8f5c146109e75780638da5cb5b14610a1f5780638ffa1f2a14610a3d578063918f867414610a5d578063950c8a7414610a7357600080fd5b8063715018a61461096f5780637533d78814610984578063763a8426146109a45780637af284d5146109d157600080fd5b80633339f8ca1161034557806353806b68116102cd5780636352211e116102915780636352211e146108e657806366ad5c8a146109065780636a627842146109265780636aa99da31461093957806370a082311461094f57600080fd5b806353806b681461083657806358e470041461084c5780635a64ad951461086c5780635b8c41e6146108825780635e5a9e30146108d157600080fd5b806342d65a8d1161031457806342d65a8d146107a057806348288190146107c05780634ac3f4ff146107d65780634f6ccce714610803578063519056361461082357600080fd5b80633339f8ca1461071d5780633d8b38f6146107335780633f1f4fa41461075357806342842e0e1461078057600080fd5b806310ddb137116103c8578063238a470911610397578063238a47091461065b57806323b872dd1461067b578063250fed951461069b5780632a205e3d146106c85780632f745c59146106fd57600080fd5b806310ddb137146105915780631249c58b146105b157806318160ddd146105b957806322a3ecf9146105d857600080fd5b806307e0db171161040f57806307e0db17146104f1578063081812fc14610511578063095ea7b3146105315780630b4cad4c146105515780630df374831461057157600080fd5b80621d35671461044057806301ffc9a7146104625780630676c1b71461049757806306fdde03146104cf575b600080fd5b34801561044c57600080fd5b5061046061045b3660046142f9565b610e33565b005b34801561046e57600080fd5b5061048261047d3660046143a2565b611064565b60405190151581526020015b60405180910390f35b3480156104a357600080fd5b50601a546104b7906001600160a01b031681565b6040516001600160a01b03909116815260200161048e565b3480156104db57600080fd5b506104e4611087565b60405161048e9190614417565b3480156104fd57600080fd5b5061046061050c36600461442a565b611119565b34801561051d57600080fd5b506104b761052c366004614445565b6111a2565b34801561053d57600080fd5b5061046061054c36600461447e565b6111c9565b34801561055d57600080fd5b5061046061056c366004614445565b6112df565b34801561057d57600080fd5b5061046061058c3660046144aa565b61137f565b34801561059d57600080fd5b506104606105ac36600461442a565b61139e565b6104606113f6565b3480156105c557600080fd5b506013545b60405190815260200161048e565b3480156105e457600080fd5b5061062c6105f3366004614445565b600a6020526000908152604090208054600182015460029092015461ffff821692620100009092046001600160a01b0316919060ff1684565b6040805161ffff90951685526001600160a01b039093166020850152918301521515606082015260800161048e565b34801561066757600080fd5b50610460610676366004614445565b611402565b34801561068757600080fd5b506104606106963660046144c6565b611443565b3480156106a757600080fd5b506105ca6106b6366004614507565b601d6020526000908152604090205481565b3480156106d457600080fd5b506106e86106e33660046145ff565b611475565b6040805192835260208301919091520161048e565b34801561070957600080fd5b506105ca61071836600461447e565b61149b565b34801561072957600080fd5b506105ca601e5481565b34801561073f57600080fd5b5061048261074e36600461468d565b611531565b34801561075f57600080fd5b506105ca61076e36600461442a565b60036020526000908152604090205481565b34801561078c57600080fd5b5061046061079b3660046144c6565b6115fd565b3480156107ac57600080fd5b506104606107bb36600461468d565b611618565b3480156107cc57600080fd5b506105ca60075481565b3480156107e257600080fd5b506105ca6107f136600461442a565b60086020526000908152604090205481565b34801561080f57600080fd5b506105ca61081e366004614445565b61169e565b6104606108313660046146df565b611731565b34801561084257600080fd5b506105ca601f5481565b34801561085857600080fd5b50610460610867366004614507565b611748565b34801561087857600080fd5b506105ca60195481565b34801561088e57600080fd5b506105ca61089d366004614798565b6005602090815260009384526040808520845180860184018051928152908401958401959095209452929052825290205481565b3480156108dd57600080fd5b506104606117a2565b3480156108f257600080fd5b506104b7610901366004614445565b611806565b34801561091257600080fd5b506104606109213660046142f9565b611866565b610460610934366004614507565b611942565b34801561094557600080fd5b506105ca60165481565b34801561095b57600080fd5b506105ca61096a366004614507565b611aed565b34801561097b57600080fd5b50610460611b73565b34801561099057600080fd5b506104e461099f36600461442a565b611b85565b3480156109b057600080fd5b506105ca6109bf366004614507565b601c6020526000908152604090205481565b3480156109dd57600080fd5b506105ca60185481565b3480156109f357600080fd5b506105ca610a023660046147f5565b600260209081526000928352604080842090915290825290205481565b348015610a2b57600080fd5b506000546001600160a01b03166104b7565b348015610a4957600080fd5b50610460610a58366004614828565b611c1f565b348015610a6957600080fd5b506105ca60155481565b348015610a7f57600080fd5b506004546104b7906001600160a01b031681565b348015610a9f57600080fd5b506104e4611e6b565b348015610ab457600080fd5b506105ca6103e881565b348015610aca57600080fd5b50610460610ad93660046144aa565b611e7a565b348015610aea57600080fd5b506104e4610af936600461442a565b611f31565b348015610b0a57600080fd5b50610460610b1936600461485c565b612048565b348015610b2a57600080fd5b50610460610b3936600461468d565b612057565b610460610b4c366004614911565b6120ea565b348015610b5d57600080fd5b50610b66600181565b60405161ffff909116815260200161048e565b348015610b8557600080fd5b506104b77f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e481565b348015610bb957600080fd5b50610460610bc83660046149c6565b6120f9565b348015610bd957600080fd5b50610460610be8366004614507565b612131565b348015610bf957600080fd5b506105ca61271081565b348015610c0f57600080fd5b506104e4610c1e366004614445565b612187565b348015610c2f57600080fd5b50610460610c3e366004614a31565b61221b565b348015610c4f57600080fd5b506104606122b0565b348015610c6457600080fd5b50610460610c733660046144aa565b6123a5565b610460610c863660046142f9565b612455565b348015610c9757600080fd5b5061046061266b565b348015610cac57600080fd5b50610460610cbb366004614a9f565b61272a565b348015610ccc57600080fd5b50610460610cdb366004614adb565b6127dc565b348015610cec57600080fd5b506105ca60175481565b348015610d0257600080fd5b50610482610d11366004614b23565b6001600160a01b03918216600090815260106020908152604080832093909416825291909152205460ff1690565b348015610d4b57600080fd5b50610460610d5a36600461468d565b612906565b348015610d6b57600080fd5b506021546104829060ff1681565b348015610d8557600080fd5b506106e8610d94366004614b5c565b612960565b348015610da557600080fd5b50610460610db4366004614507565b612a2b565b348015610dc557600080fd5b506104e4610dd4366004614bd5565b612aa1565b348015610de557600080fd5b506105ca610df436600461442a565b60096020526000908152604090205481565b348015610e1257600080fd5b506105ca610e21366004614507565b601b6020526000908152604090205481565b337f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e46001600160a01b031614610eb05760405162461bcd60e51b815260206004820152601e60248201527f4c7a4170703a20696e76616c696420656e64706f696e742063616c6c6572000060448201526064015b60405180910390fd5b61ffff861660009081526001602052604081208054610ece90614c22565b80601f0160208091040260200160405190810160405280929190818152602001828054610efa90614c22565b8015610f475780601f10610f1c57610100808354040283529160200191610f47565b820191906000526020600020905b815481529060010190602001808311610f2a57829003601f168201915b50505050509050805186869050148015610f62575060008151115b8015610f8a575080516020820120604051610f809088908890614c5d565b6040518091039020145b610fe55760405162461bcd60e51b815260206004820152602660248201527f4c7a4170703a20696e76616c696420736f757263652073656e64696e6720636f6044820152651b9d1c9858dd60d21b6064820152608401610ea7565b61105b8787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8a018190048102820181019092528881528a935091508890889081908401838280828437600092019190915250612b5492505050565b50505050505050565b60006001600160e01b031982161580611081575061108182612bcd565b92915050565b6060600b805461109690614c22565b80601f01602080910402602001604051908101604052809291908181526020018280546110c290614c22565b801561110f5780601f106110e45761010080835404028352916020019161110f565b820191906000526020600020905b8154815290600101906020018083116110f257829003601f168201915b5050505050905090565b611121612bf2565b6040516307e0db1760e01b815261ffff821660048201527f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e46001600160a01b0316906307e0db17906024015b600060405180830381600087803b15801561118757600080fd5b505af115801561119b573d6000803e3d6000fd5b5050505050565b60006111ad82612c4c565b506000908152600f60205260409020546001600160a01b031690565b60006111d482611806565b9050806001600160a01b0316836001600160a01b031614156112425760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610ea7565b336001600160a01b038216148061125e575061125e8133610d11565b6112d05760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c0000006064820152608401610ea7565b6112da8383612c9c565b505050565b6112e7612bf2565b600081116113435760405162461bcd60e51b8152602060048201526024808201527f6d696e476173546f5472616e73666572416e6453746f7265206d7573742062656044820152630203e20360e41b6064820152608401610ea7565b60078190556040518181527ffebbc4f8bb9ec2313950c718d43123124b15778efda4c1f1d529de2995b4f34d906020015b60405180910390a150565b611387612bf2565b61ffff909116600090815260036020526040902055565b6113a6612bf2565b6040516310ddb13760e01b815261ffff821660048201527f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e46001600160a01b0316906310ddb1379060240161116d565b6114006000611942565b565b61140a612bf2565b6019805490829055604051829082907fc24d648b8b29d6566f302551df9152ced5a44785e31f38d1d047c8168dd3451990600090a35050565b61144e335b82612d0a565b61146a5760405162461bcd60e51b8152600401610ea790614c6d565b6112da838383612d88565b60008061148d878761148688612ef9565b8787612960565b915091509550959350505050565b60006114a683611aed565b82106115085760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610ea7565b506001600160a01b03919091166000908152601160209081526040808320938352929052205490565b61ffff83166000908152600160205260408120805482919061155290614c22565b80601f016020809104026020016040519081016040528092919081815260200182805461157e90614c22565b80156115cb5780601f106115a0576101008083540402835291602001916115cb565b820191906000526020600020905b8154815290600101906020018083116115ae57829003601f168201915b5050505050905083836040516115e2929190614c5d565b60405180910390208180519060200120149150509392505050565b6112da838383604051806020016040528060008152506120f9565b611620612bf2565b6040516342d65a8d60e01b81526001600160a01b037f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e416906342d65a8d9061167090869086908690600401614ce3565b600060405180830381600087803b15801561168a57600080fd5b505af115801561105b573d6000803e3d6000fd5b60006116a960135490565b821061170c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610ea7565b6013828154811061171f5761171f614d01565b90600052602060002001549050919050565b61105b87878761174088612ef9565b878787612f44565b611750612bf2565b601a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f2756814479f687d805be12ef7dfd27c72bc645462236412ee56a627f389e4e3390600090a35050565b6117aa612bf2565b60215460ff16156117ce57604051632126323360e01b815260040160405180910390fd5b6021805460ff191660011790556040517fa16ef1d57052da76658ef579a7c207409f7c895e180172c9e47756f136ef249c90600090a1565b6000818152600d60205260408120546001600160a01b0316806110815760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ea7565b3330146118c45760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e674c7a4170703a2063616c6c6572206d7573742062656044820152650204c7a4170760d41b6064820152608401610ea7565b61193a8686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f89018190048102820181019092528781528993509150879087908190840183828082843760009201919091525061311892505050565b505050505050565b6017546016541115611967576040516352b1c17f60e01b815260040160405180910390fd5b6001600160a01b03811633141561199157604051630cd0ed9f60e41b815260040160405180910390fd5b60195434146119b357604051632ea462a760e01b815260040160405180910390fd5b601880549060006119c383614d2d565b90915550506016805490819060006119da83614d2d565b90915550506019546000906001600160a01b03841615611a7d576001600160a01b0384166000908152601d60205260408120805491611a1883614d2d565b91905055506015546103e8601954611a309190614d48565b611a3a9190614d67565b915081601954611a4a9190614d89565b6001600160a01b0385166000908152601b6020526040812080549293508492909190611a77908490614da0565b90915550505b80601e6000828254611a8f9190614da0565b90915550611a9f9050338461326f565b604080518381526020810183905284916001600160a01b0387169133917f03ae4d26ba7241097fdc1ff8b8074252686f09cdb03bcfbcff676de5c979bf26910160405180910390a450505050565b60006001600160a01b038216611b575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610ea7565b506001600160a01b03166000908152600e602052604090205490565b611b7b612bf2565b6114006000613289565b60016020526000908152604090208054611b9e90614c22565b80601f0160208091040260200160405190810160405280929190818152602001828054611bca90614c22565b8015611c175780601f10611bec57610100808354040283529160200191611c17565b820191906000526020600020905b815481529060010190602001808311611bfa57829003601f168201915b505050505081565b611c276132d9565b80516020808301919091206000818152600a90925260409091206002015460ff16611c885760405162461bcd60e51b81526020600482015260116024820152701b9bc818dc99591a5d1cc81cdd1bdc9959607a1b6044820152606401610ea7565b600082806020019051810190611c9e9190614dfd565b6000848152600a602052604081208054600190910154929450909250611cda9161ffff8216916201000090046001600160a01b03169085613333565b6000848152600a60205260409020600101549091508111611d4f5760405162461bcd60e51b815260206004820152602960248201527f6e6f7420656e6f7567682067617320746f2070726f6365737320637265646974604482015268103a3930b739b332b960b91b6064820152608401610ea7565b8151811415611dc7576000838152600a602052604080822080546001600160b01b031916815560018101929092556002909101805460ff19169055517fd7be02b8dd0d27bd0517a9cb4d7469ce27df4313821ae5ec1ff69acc594ba23390611dba9085815260200190565b60405180910390a1611e5b565b604080516080810182526000858152600a6020818152848320805461ffff80821687526001600160a01b03620100008084048216868a019081529989018b8152600160608b01818152998f90529790965297519851169096026001600160b01b03199091169690951695909517939093178455915191830191909155516002909101805491151560ff199092169190911790555b505050611e686001600655565b50565b6060600c805461109690614c22565b611e82612bf2565b60008111611edd5760405162461bcd60e51b815260206004820152602260248201527f647374436861696e4964546f42617463684c696d6974206d757374206265203e604482015261020360f41b6064820152608401610ea7565b61ffff8216600081815260086020908152604091829020849055815192835282018390527f7315f7654d594ead24a30160ed9ba2d23247f543016b918343591e93d7afdb6d91015b60405180910390a15050565b61ffff8116600090815260016020526040812080546060929190611f5490614c22565b80601f0160208091040260200160405190810160405280929190818152602001828054611f8090614c22565b8015611fcd5780601f10611fa257610100808354040283529160200191611fcd565b820191906000526020600020905b815481529060010190602001808311611fb057829003601f168201915b505050505090508051600014156120265760405162461bcd60e51b815260206004820152601d60248201527f4c7a4170703a206e6f20747275737465642070617468207265636f72640000006044820152606401610ea7565b6120416000601483516120399190614d89565b839190613385565b9392505050565b612053338383613492565b5050565b61205f612bf2565b81813060405160200161207493929190614eb7565b60408051601f1981840301815291815261ffff851660009081526001602090815291902082516120a993919290910190614176565b507f8c0400cfe2d1199b1a725c78960bcc2a344d869b80590d0f2bd005db15a572ce8383836040516120dd93929190614ce3565b60405180910390a1505050565b61105b87878787878787612f44565b6121033383612d0a565b61211f5760405162461bcd60e51b8152600401610ea790614c6d565b61212b84848484613561565b50505050565b612139612bf2565b600480546001600160a01b0319166001600160a01b0383169081179091556040519081527f5db758e995a17ec1ad84bdef7e8c3293a0bd6179bcce400dff5d4c3d87db726b90602001611374565b60606020805461219690614c22565b80601f01602080910402602001604051908101604052809291908181526020018280546121c290614c22565b801561220f5780601f106121e45761010080835404028352916020019161220f565b820191906000526020600020905b8154815290600101906020018083116121f257829003601f168201915b50505050509050919050565b612223612bf2565b6040516332fb62e760e21b81526001600160a01b037f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e4169063cbed8b9c906122779088908890889088908890600401614edd565b600060405180830381600087803b15801561229157600080fd5b505af11580156122a5573d6000803e3d6000fd5b505050505050505050565b601a546001600160a01b0316336001600160a01b0316146122e457604051630397ba2960e61b815260040160405180910390fd5b601e54806123055760405163a4c3a61b60e01b815260040160405180910390fd5b6000601e8190555080601f600082825461231f9190614da0565b9091555050601a546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561235e573d6000803e3d6000fd5b50601a546040518281526001600160a01b03909116907f14a6770a5ea104b5a2786ef29ae0b7519505f923bd33a6aa0e467649e2f10be6906020015b60405180910390a250565b6123ad612bf2565b600081116124095760405162461bcd60e51b815260206004820152602360248201527f647374436861696e4964546f5472616e73666572476173206d7573742062652060448201526203e20360ec1b6064820152608401610ea7565b61ffff8216600081815260096020908152604091829020849055815192835282018390527fc46df2983228ac2d9754e94a0d565e6671665dc8ad38602bc8e544f0685a29fb9101611f25565b61ffff861660009081526005602052604080822090516124789088908890614c5d565b90815260408051602092819003830190206001600160401b038716600090815292529020549050806124f85760405162461bcd60e51b815260206004820152602360248201527f4e6f6e626c6f636b696e674c7a4170703a206e6f2073746f726564206d65737360448201526261676560e81b6064820152608401610ea7565b808383604051612509929190614c5d565b6040518091039020146125685760405162461bcd60e51b815260206004820152602160248201527f4e6f6e626c6f636b696e674c7a4170703a20696e76616c6964207061796c6f616044820152601960fa1b6064820152608401610ea7565b61ffff8716600090815260056020526040808220905161258b9089908990614c5d565b90815260408051602092819003830181206001600160401b038916600090815290845282902093909355601f88018290048202830182019052868252612623918991899089908190840183828082843760009201919091525050604080516020601f8a018190048102820181019092528881528a93509150889088908190840183828082843760009201919091525061311892505050565b7fc264d91f3adc5588250e1551f547752ca0cfa8f6b530d243b9f9f4cab10ea8e5878787878560405161265a959493929190614f16565b60405180910390a150505050505050565b336000908152601b6020526040902054806126995760405163a4c3a61b60e01b815260040160405180910390fd5b336000908152601b60209081526040808320839055601c909152812080548392906126c5908490614da0565b9091555050604051339082156108fc029083906000818181858888f193505050501580156126f7573d6000803e3d6000fd5b5060405181815233907f6a8d334a32dfb49dae325dba76deb51b0b8f5ea50b1cdfa70710f4dc1b9c24c59060200161239a565b612732612bf2565b6000811161277a5760405162461bcd60e51b81526020600482015260156024820152744c7a4170703a20696e76616c6964206d696e47617360581b6044820152606401610ea7565b61ffff83811660008181526002602090815260408083209487168084529482529182902085905581519283528201929092529081018290527f9d5c7c0b934da8fefa9c7760c98383778a12dfbfc0c3b3106518f43fb9508ac0906060016120dd565b6127e4612bf2565b6000602080546127f390614c22565b80601f016020809104026020016040519081016040528092919081815260200182805461281f90614c22565b801561286c5780601f106128415761010080835404028352916020019161286c565b820191906000526020600020905b81548152906001019060200180831161284f57829003601f168201915b5050602154939450505060ff90911615905061289b57604051632126323360e01b815260040160405180910390fd5b81516128ad9060209081850190614176565b50816040516128bc9190614f51565b6040518091039020816040516128d29190614f51565b604051908190038120907ffd07e2c2d6dc82f4d6b1b46f25e49eb888aba92d238fb40945856412cce2f2dd90600090a35050565b61290e612bf2565b61ffff8316600090815260016020526040902061292c9083836141fa565b507ffa41487ad5d6728f0b19276fa1eddc16558578f5109fc39d2dc33c3230470dab8383836040516120dd93929190614ce3565b60008060008686604051602001612978929190614fa8565b60408051601f198184030181529082905263040a7bb160e41b825291506001600160a01b037f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e416906340a7bb10906129dc908b90309086908b908b90600401614fd6565b6040805180830381865afa1580156129f8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a1c919061502a565b92509250509550959350505050565b612a33612bf2565b6001600160a01b038116612a985760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ea7565b611e6881613289565b604051633d7b2f6f60e21b815261ffff808616600483015284166024820152306044820152606481018290526060907f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e46001600160a01b03169063f5ecbdbc90608401600060405180830381865afa158015612b21573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612b49919081019061504e565b90505b949350505050565b600080612bb75a60966366ad5c8a60e01b89898989604051602401612b7c9493929190615082565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915230929190613594565b915091508161193a5761193a868686868561361e565b60006001600160e01b0319821663780e9d6360e01b14806110815750611081826136bb565b6000546001600160a01b031633146114005760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610ea7565b612c55816136d8565b611e685760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610ea7565b6000818152600f6020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612cd182611806565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080612d1683611806565b9050806001600160a01b0316846001600160a01b03161480612d5d57506001600160a01b0380821660009081526010602090815260408083209388168352929052205460ff165b80612b4c5750836001600160a01b0316612d76846111a2565b6001600160a01b031614949350505050565b826001600160a01b0316612d9b82611806565b6001600160a01b031614612dc15760405162461bcd60e51b8152600401610ea7906150c0565b6001600160a01b038216612e235760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610ea7565b612e3083838360016136f5565b826001600160a01b0316612e4382611806565b6001600160a01b031614612e695760405162461bcd60e51b8152600401610ea7906150c0565b6000818152600f6020908152604080832080546001600160a01b03199081169091556001600160a01b03878116808652600e8552838620805460001901905590871680865283862080546001019055868652600d90945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612f3357612f33614d01565b602090810291909101015292915050565b6000845111612f8b5760405162461bcd60e51b8152602060048201526013602482015272746f6b656e4964735b5d20697320656d70747960681b6044820152606401610ea7565b835160011480612faf575061ffff8616600090815260086020526040902054845111155b6130065760405162461bcd60e51b815260206004820152602260248201527f62617463682073697a65206578636565647320647374206261746368206c696d6044820152611a5d60f21b6064820152608401610ea7565b60005b84518110156130495761303788888888858151811061302a5761302a614d01565b6020026020010151613701565b8061304181614d2d565b915050613009565b506000858560405160200161305f929190614fa8565b60405160208183030381529060405290506130a4876001848851600960008d61ffff1661ffff1681526020019081526020016000205461309f9190614d48565b6137ec565b6130b28782868686346138cb565b856040516130c09190614f51565b6040518091039020886001600160a01b03168861ffff167fe1b87c47fdeb4f9cbadbca9df3af7aba453bb6e501075d0440d88125b711522a886040516131069190615105565b60405180910390a45050505050505050565b6000808280602001905181019061312f9190614dfd565b60148201519193509150600061314788838386613333565b9050825181101561321b5784516020808701919091206040805160808101825261ffff808d1682526001600160a01b038088168387019081528385018881526001606086018181526000898152600a909a529887902095518654935190941662010000026001600160b01b03199093169390941692909217178355519082015592516002909301805493151560ff199094169390931790925590517f10e0b70d256bccc84b7027506978bd8b68984a870788b93b479def144c839ad7906132119083908990615118565b60405180910390a1505b816001600160a01b0316876040516132339190614f51565b60405180910390208961ffff167f5b821db8a46f8ecbe1941ba2f51cfeea9643268b56631f70d45e2a745d990265866040516131069190615105565b612053828260405180602001604052806000815250613a71565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6002600654141561332c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610ea7565b6002600655565b6000825b8251811015612b49576007545a101561334f57612b49565b613373868685848151811061336657613366614d01565b6020026020010151613aa4565b8061337d81614d2d565b915050613337565b60608161339381601f614da0565b10156133d25760405162461bcd60e51b815260206004820152600e60248201526d736c6963655f6f766572666c6f7760901b6044820152606401610ea7565b6133dc8284614da0565b845110156134205760405162461bcd60e51b8152602060048201526011602482015270736c6963655f6f75744f66426f756e647360781b6044820152606401610ea7565b60608215801561343f5760405191506000825260208201604052613489565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015613478578051835260209283019201613460565b5050858452601f01601f1916604052505b50949350505050565b816001600160a01b0316836001600160a01b031614156134f45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610ea7565b6001600160a01b03838116600081815260106020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61356c848484612d88565b61357884848484613b04565b61212b5760405162461bcd60e51b8152600401610ea790615131565b6000606060008060008661ffff166001600160401b038111156135b9576135b9614524565b6040519080825280601f01601f1916602001820160405280156135e3576020820181803683370190505b50905060008087516020890160008d8df191503d925086831115613605578692505b828152826000602083013e909890975095505050505050565b8180519060200120600560008761ffff1661ffff1681526020019081526020016000208560405161364f9190614f51565b9081526040805191829003602090810183206001600160401b0388166000908152915220919091557fe183f33de2837795525b4792ca4cd60535bd77c53b7e7030060bfcf5734d6b0c906136ac9087908790879087908790615183565b60405180910390a15050505050565b60006001600160e01b031982161580611081575061108182613bff565b6000908152600d60205260409020546001600160a01b0316151590565b61212b84848484613c3f565b61370a33611448565b61376d5760405162461bcd60e51b815260206004820152602e60248201527f4f4e46543732313a2073656e642063616c6c6572206973206e6f74206f776e6560448201526d1c881b9bdc88185c1c1c9bdd995960921b6064820152608401610ea7565b836001600160a01b031661378082611806565b6001600160a01b0316146137e15760405162461bcd60e51b815260206004820152602260248201527f4f4e46543732313a2073656e642066726f6d20696e636f7272656374206f776e60448201526132b960f11b6064820152608401610ea7565b61212b843083612d88565b60006137f783613d6c565b61ffff808716600090815260026020908152604080832093891683529290529081205491925090613829908490614da0565b90506000811161387b5760405162461bcd60e51b815260206004820152601a60248201527f4c7a4170703a206d696e4761734c696d6974206e6f74207365740000000000006044820152606401610ea7565b8082101561193a5760405162461bcd60e51b815260206004820152601b60248201527f4c7a4170703a20676173206c696d697420697320746f6f206c6f7700000000006044820152606401610ea7565b61ffff8616600090815260016020526040812080546138e990614c22565b80601f016020809104026020016040519081016040528092919081815260200182805461391590614c22565b80156139625780601f1061393757610100808354040283529160200191613962565b820191906000526020600020905b81548152906001019060200180831161394557829003601f168201915b505050505090508051600014156139d45760405162461bcd60e51b815260206004820152603060248201527f4c7a4170703a2064657374696e6174696f6e20636861696e206973206e6f742060448201526f61207472757374656420736f7572636560801b6064820152608401610ea7565b6139df878751613dc8565b60405162c5803160e81b81526001600160a01b037f0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e4169063c5803100908490613a36908b9086908c908c908c908c906004016151d5565b6000604051808303818588803b158015613a4f57600080fd5b505af1158015613a63573d6000803e3d6000fd5b505050505050505050505050565b613a7b8383613e36565b613a886000848484613b04565b6112da5760405162461bcd60e51b8152600401610ea790615131565b613aad816136d8565b1580613ad95750613abd816136d8565b8015613ad9575030613ace82611806565b6001600160a01b0316145b613ae257600080fd5b613aeb816136d8565b613af9576112da828261326f565b6112da308383612d88565b60006001600160a01b0384163b15613bf757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613b4890339089908890889060040161523c565b6020604051808303816000875af1925050508015613b83575060408051601f3d908101601f19168201909252613b8091810190615279565b60015b613bdd573d808015613bb1576040519150601f19603f3d011682016040523d82523d6000602084013e613bb6565b606091505b508051613bd55760405162461bcd60e51b8152600401610ea790615131565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612b4c565b506001612b4c565b60006001600160e01b031982166380ac58cd60e01b1480613c3057506001600160e01b03198216635b5e139f60e01b145b80611081575061108182613fb1565b6001811115613cae5760405162461bcd60e51b815260206004820152603560248201527f455243373231456e756d657261626c653a20636f6e7365637574697665207472604482015274185b9cd9995c9cc81b9bdd081cdd5c1c1bdc9d1959605a1b6064820152608401610ea7565b816001600160a01b038516613d0a57613d0581601380546000838152601460205260408120829055600182018355919091527f66de8ffda797e3de9c05e8fc57b3bf0ec28a930d40b0d285d93c06501cf6a0900155565b613d2d565b836001600160a01b0316856001600160a01b031614613d2d57613d2d8582613fe6565b6001600160a01b038416613d4957613d4481614083565b61119b565b846001600160a01b0316846001600160a01b03161461119b5761119b8482614132565b6000602282511015613dc05760405162461bcd60e51b815260206004820152601c60248201527f4c7a4170703a20696e76616c69642061646170746572506172616d73000000006044820152606401610ea7565b506022015190565b61ffff821660009081526003602052604090205480613de657506127105b808211156112da5760405162461bcd60e51b815260206004820181905260248201527f4c7a4170703a207061796c6f61642073697a6520697320746f6f206c617267656044820152606401610ea7565b6001600160a01b038216613e8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610ea7565b613e95816136d8565b15613ee25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ea7565b613ef06000838360016136f5565b613ef9816136d8565b15613f465760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610ea7565b6001600160a01b0382166000818152600e6020908152604080832080546001019055848352600d90915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001600160e01b031982166322bac5d960e01b148061108157506301ffc9a760e01b6001600160e01b0319831614611081565b60006001613ff384611aed565b613ffd9190614d89565b600083815260126020526040902054909150808214614050576001600160a01b03841660009081526011602090815260408083208584528252808320548484528184208190558352601290915290208190555b5060009182526012602090815260408084208490556001600160a01b039094168352601181528383209183525290812055565b60135460009061409590600190614d89565b600083815260146020526040812054601380549394509092849081106140bd576140bd614d01565b9060005260206000200154905080601383815481106140de576140de614d01565b600091825260208083209091019290925582815260149091526040808220849055858252812055601380548061411657614116615296565b6001900381819060005260206000200160009055905550505050565b600061413d83611aed565b6001600160a01b039093166000908152601160209081526040808320868452825280832085905593825260129052919091209190915550565b82805461418290614c22565b90600052602060002090601f0160209004810192826141a457600085556141ea565b82601f106141bd57805160ff19168380011785556141ea565b828001600101855582156141ea579182015b828111156141ea5782518255916020019190600101906141cf565b506141f692915061426e565b5090565b82805461420690614c22565b90600052602060002090601f01602090048101928261422857600085556141ea565b82601f106142415782800160ff198235161785556141ea565b828001600101855582156141ea579182015b828111156141ea578235825591602001919060010190614253565b5b808211156141f6576000815560010161426f565b803561ffff8116811461429557600080fd5b919050565b60008083601f8401126142ac57600080fd5b5081356001600160401b038111156142c357600080fd5b6020830191508360208285010111156142db57600080fd5b9250929050565b80356001600160401b038116811461429557600080fd5b6000806000806000806080878903121561431257600080fd5b61431b87614283565b955060208701356001600160401b038082111561433757600080fd5b6143438a838b0161429a565b909750955085915061435760408a016142e2565b9450606089013591508082111561436d57600080fd5b5061437a89828a0161429a565b979a9699509497509295939492505050565b6001600160e01b031981168114611e6857600080fd5b6000602082840312156143b457600080fd5b81356120418161438c565b60005b838110156143da5781810151838201526020016143c2565b8381111561212b5750506000910152565b600081518084526144038160208601602086016143bf565b601f01601f19169290920160200192915050565b60208152600061204160208301846143eb565b60006020828403121561443c57600080fd5b61204182614283565b60006020828403121561445757600080fd5b5035919050565b6001600160a01b0381168114611e6857600080fd5b80356142958161445e565b6000806040838503121561449157600080fd5b823561449c8161445e565b946020939093013593505050565b600080604083850312156144bd57600080fd5b61449c83614283565b6000806000606084860312156144db57600080fd5b83356144e68161445e565b925060208401356144f68161445e565b929592945050506040919091013590565b60006020828403121561451957600080fd5b81356120418161445e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561456257614562614524565b604052919050565b60006001600160401b0382111561458357614583614524565b50601f01601f191660200190565b60006145a461459f8461456a565b61453a565b90508281528383830111156145b857600080fd5b828260208301376000602084830101529392505050565b600082601f8301126145e057600080fd5b61204183833560208501614591565b8035801515811461429557600080fd5b600080600080600060a0868803121561461757600080fd5b61462086614283565b945060208601356001600160401b038082111561463c57600080fd5b61464889838a016145cf565b95506040880135945061465d606089016145ef565b9350608088013591508082111561467357600080fd5b50614680888289016145cf565b9150509295509295909350565b6000806000604084860312156146a257600080fd5b6146ab84614283565b925060208401356001600160401b038111156146c657600080fd5b6146d28682870161429a565b9497909650939450505050565b600080600080600080600060e0888a0312156146fa57600080fd5b87356147058161445e565b965061471360208901614283565b955060408801356001600160401b038082111561472f57600080fd5b61473b8b838c016145cf565b965060608a0135955060808a013591506147548261445e565b90935060a0890135906147668261445e565b90925060c0890135908082111561477c57600080fd5b506147898a828b016145cf565b91505092959891949750929550565b6000806000606084860312156147ad57600080fd5b6147b684614283565b925060208401356001600160401b038111156147d157600080fd5b6147dd868287016145cf565b9250506147ec604085016142e2565b90509250925092565b6000806040838503121561480857600080fd5b61481183614283565b915061481f60208401614283565b90509250929050565b60006020828403121561483a57600080fd5b81356001600160401b0381111561485057600080fd5b612b4c848285016145cf565b6000806040838503121561486f57600080fd5b823561487a8161445e565b915061481f602084016145ef565b60006001600160401b038211156148a1576148a1614524565b5060051b60200190565b600082601f8301126148bc57600080fd5b813560206148cc61459f83614888565b82815260059290921b840181019181810190868411156148eb57600080fd5b8286015b8481101561490657803583529183019183016148ef565b509695505050505050565b600080600080600080600060e0888a03121561492c57600080fd5b87356149378161445e565b965061494560208901614283565b955060408801356001600160401b038082111561496157600080fd5b61496d8b838c016145cf565b965060608a013591508082111561498357600080fd5b61498f8b838c016148ab565b955060808a013591506149a18261445e565b8194506149b060a08b01614473565b935060c08a013591508082111561477c57600080fd5b600080600080608085870312156149dc57600080fd5b84356149e78161445e565b935060208501356149f78161445e565b92506040850135915060608501356001600160401b03811115614a1957600080fd5b614a25878288016145cf565b91505092959194509250565b600080600080600060808688031215614a4957600080fd5b614a5286614283565b9450614a6060208701614283565b93506040860135925060608601356001600160401b03811115614a8257600080fd5b614a8e8882890161429a565b969995985093965092949392505050565b600080600060608486031215614ab457600080fd5b614abd84614283565b9250614acb60208501614283565b9150604084013590509250925092565b600060208284031215614aed57600080fd5b81356001600160401b03811115614b0357600080fd5b8201601f81018413614b1457600080fd5b612b4c84823560208401614591565b60008060408385031215614b3657600080fd5b8235614b418161445e565b91506020830135614b518161445e565b809150509250929050565b600080600080600060a08688031215614b7457600080fd5b614b7d86614283565b945060208601356001600160401b0380821115614b9957600080fd5b614ba589838a016145cf565b95506040880135915080821115614bbb57600080fd5b614bc789838a016148ab565b945061465d606089016145ef565b60008060008060808587031215614beb57600080fd5b614bf485614283565b9350614c0260208601614283565b92506040850135614c128161445e565b9396929550929360600135925050565b600181811c90821680614c3657607f821691505b60208210811415614c5757634e487b7160e01b600052602260045260246000fd5b50919050565b8183823760009101908152919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b61ffff84168152604060208201526000612b49604083018486614cba565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415614d4157614d41614d17565b5060010190565b6000816000190483118215151615614d6257614d62614d17565b500290565b600082614d8457634e487b7160e01b600052601260045260246000fd5b500490565b600082821015614d9b57614d9b614d17565b500390565b60008219821115614db357614db3614d17565b500190565b600082601f830112614dc957600080fd5b8151614dd761459f8261456a565b818152846020838601011115614dec57600080fd5b612b4c8260208301602087016143bf565b60008060408385031215614e1057600080fd5b82516001600160401b0380821115614e2757600080fd5b614e3386838701614db8565b9350602091508185015181811115614e4a57600080fd5b85019050601f81018613614e5d57600080fd5b8051614e6b61459f82614888565b81815260059190911b82018301908381019088831115614e8a57600080fd5b928401925b82841015614ea857835182529284019290840190614e8f565b80955050505050509250929050565b8284823760609190911b6bffffffffffffffffffffffff19169101908152601401919050565b600061ffff808816835280871660208401525084604083015260806060830152614f0b608083018486614cba565b979650505050505050565b61ffff86168152608060208201526000614f34608083018688614cba565b6001600160401b0394909416604083015250606001529392505050565b60008251614f638184602087016143bf565b9190910192915050565b600081518084526020808501945080840160005b83811015614f9d57815187529582019590820190600101614f81565b509495945050505050565b604081526000614fbb60408301856143eb565b8281036020840152614fcd8185614f6d565b95945050505050565b61ffff861681526001600160a01b038516602082015260a060408201819052600090615004908301866143eb565b8415156060840152828103608084015261501e81856143eb565b98975050505050505050565b6000806040838503121561503d57600080fd5b505080516020909101519092909150565b60006020828403121561506057600080fd5b81516001600160401b0381111561507657600080fd5b612b4c84828501614db8565b61ffff8516815260806020820152600061509f60808301866143eb565b6001600160401b03851660408401528281036060840152614f0b81856143eb565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020815260006120416020830184614f6d565b828152604060208201526000612b4c60408301846143eb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b61ffff8616815260a0602082015260006151a060a08301876143eb565b6001600160401b038616604084015282810360608401526151c181866143eb565b9050828103608084015261501e81856143eb565b61ffff8716815260c0602082015260006151f260c08301886143eb565b828103604084015261520481886143eb565b6001600160a01b0387811660608601528616608085015283810360a0850152905061522f81856143eb565b9998505050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061526f908301846143eb565b9695505050505050565b60006020828403121561528b57600080fd5b81516120418161438c565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208e4f6854f9eabb06f92736970784e1a0ca9a6cba811d20af883691eab0345ba664736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000186a00000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e400000000000000000000000000000000000000000000000000000000003567e100000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000119f17fe16000000000000000000000000000f85056e2120eff18e5a87dab068147cf8ba8ad2e
-----Decoded View---------------
Arg [0] : _minGasToTransfer (uint256): 100000
Arg [1] : _layerZeroEndpoint (address): 0x9740FF91F1985D8d2B71494aE1A2f723bb3Ed9E4
Arg [2] : _startMintId (uint256): 3500001
Arg [3] : _endMintId (uint256): 4000000
Arg [4] : _mintingFee (uint256): 310000000000000
Arg [5] : _protocolAddress (address): 0xF85056e2120Eff18E5A87dab068147Cf8ba8AD2E
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [1] : 0000000000000000000000009740ff91f1985d8d2b71494ae1a2f723bb3ed9e4
Arg [2] : 00000000000000000000000000000000000000000000000000000000003567e1
Arg [3] : 00000000000000000000000000000000000000000000000000000000003d0900
Arg [4] : 000000000000000000000000000000000000000000000000000119f17fe16000
Arg [5] : 000000000000000000000000f85056e2120eff18e5a87dab068147cf8ba8ad2e
Deployed Bytecode Sourcemap
2320:8215:26:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1254:753:3;;;;;;;;;;-1:-1:-1;1254:753:3;;;;;:::i;:::-;;:::i;:::-;;9869:261:26;;;;;;;;;;-1:-1:-1;9869:261:26;;;;;:::i;:::-;;:::i;:::-;;;2124:14:27;;2117:22;2099:41;;2087:2;2072:18;9869:261:26;;;;;;;;3942:30;;;;;;;;;;-1:-1:-1;3942:30:26;;;;-1:-1:-1;;;;;3942:30:26;;;;;;-1:-1:-1;;;;;2315:32:27;;;2297:51;;2285:2;2270:18;3942:30:26;2151:203:27;2471:98:13;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;4499:121:3:-;;;;;;;;;;-1:-1:-1;4499:121:3;;;;;:::i;:::-;;:::i;3935:167:13:-;;;;;;;;;;-1:-1:-1;3935:167:13;;;;;:::i;:::-;;:::i;3468:406::-;;;;;;;;;;-1:-1:-1;3468:406:13;;;;;:::i;:::-;;:::i;6609:317:8:-;;;;;;;;;;-1:-1:-1;6609:317:8;;;;;:::i;:::-;;:::i;6382:140:3:-;;;;;;;;;;-1:-1:-1;6382:140:3;;;;;:::i;:::-;;:::i;4626:127::-;;;;;;;;;;-1:-1:-1;4626:127:3;;;;;:::i;:::-;;:::i;6693:66:26:-;;;:::i;1630:111:16:-;;;;;;;;;;-1:-1:-1;1717:10:16;:17;1630:111;;;4482:25:27;;;4470:2;4455:18;1630:111:16;4336:177:27;889:53:8;;;;;;;;;;-1:-1:-1;889:53:8;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;889:53:8;;;;;;;;;;;4956:6:27;4944:19;;;4926:38;;-1:-1:-1;;;;;5000:32:27;;;4995:2;4980:18;;4973:60;5049:18;;;5042:34;5119:14;5112:22;5107:2;5092:18;;5085:50;4913:3;4898:19;889:53:8;4703:438:27;5235:208:26;;;;;;;;;;-1:-1:-1;5235:208:26;;;;;:::i;:::-;;:::i;4612:296:13:-;;;;;;;;;;-1:-1:-1;4612:296:13;;;;;:::i;:::-;;:::i;4104:60:26:-;;;;;;;;;;-1:-1:-1;4104:60:26;;;;;:::i;:::-;;;;;;;;;;;;;;1433:318:8;;;;;;;;;;-1:-1:-1;1433:318:8;;;;;:::i;:::-;;:::i;:::-;;;;8121:25:27;;;8177:2;8162:18;;8155:34;;;;8094:18;1433:318:8;7947:248:27;1306:253:16;;;;;;;;;;-1:-1:-1;1306:253:16;;;;;:::i;:::-;;:::i;4171:35:26:-;;;;;;;;;;;;;;;;6617:247:3;;;;;;;;;;-1:-1:-1;6617:247:3;;;;;:::i;:::-;;:::i;808:53::-;;;;;;;;;;-1:-1:-1;808:53:3;;;;;:::i;:::-;;;;;;;;;;;;;;4974:149:13;;;;;;;;;;-1:-1:-1;4974:149:13;;;;;:::i;:::-;;:::i;4759:176:3:-;;;;;;;;;;-1:-1:-1;4759:176:3;;;;;:::i;:::-;;:::i;582:39:8:-;;;;;;;;;;;;;;;;697:56;;;;;;;;;;-1:-1:-1;697:56:8;;;;;:::i;:::-;;;;;;;;;;;;;;1813:230:16;;;;;;;;;;-1:-1:-1;1813:230:16;;;;;:::i;:::-;;:::i;2148:349:8:-;;;;;;:::i;:::-;;:::i;4212:38:26:-;;;;;;;;;;;;;;;;5547:253;;;;;;;;;;-1:-1:-1;5547:253:26;;;;;:::i;:::-;;:::i;3911:25::-;;;;;;;;;;;;;;;;617:85:4;;;;;;;;;;-1:-1:-1;617:85:4;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6416:219:26;;;;;;;;;;;;;:::i;2190::13:-;;;;;;;;;;-1:-1:-1;2190:219:13;;;;;:::i;:::-;;:::i;1820:342:4:-;;;;;;;;;;-1:-1:-1;1820:342:4;;;;;:::i;:::-;;:::i;7081:1204:26:-;;;;;;:::i;:::-;;:::i;3821:22::-;;;;;;;;;;;;;;;;1929:204:13;;;;;;;;;;-1:-1:-1;1929:204:13;;;;;:::i;:::-;;:::i;1824:101:11:-;;;;;;;;;;;;;:::i;680:51:3:-;;;;;;;;;;-1:-1:-1;680:51:3;;;;;:::i;:::-;;:::i;4040:58:26:-;;;;;;;;;;-1:-1:-1;4040:58:26;;;;;:::i;:::-;;;;;;;;;;;;;;3877:27;;;;;;;;;;;;;;;;737:65:3;;;;;;;;;;-1:-1:-1;737:65:3;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;1201:85:11;;;;;;;;;;-1:-1:-1;1247:7:11;1273:6;-1:-1:-1;;;;;1273:6:11;1201:85;;4855:992:8;;;;;;;;;;-1:-1:-1;4855:992:8;;;;;:::i;:::-;;:::i;3634:31:26:-;;;;;;;;;;;;;;;;867:23:3;;;;;;;;;;-1:-1:-1;867:23:3;;;;-1:-1:-1;;;;;867:23:3;;;2633:102:13;;;;;;;;;;;;;:::i;3671:59:26:-;;;;;;;;;;;;3726:4;3671:59;;7440:347:8;;;;;;;;;;-1:-1:-1;7440:347:8;;;;;:::i;:::-;;:::i;5572:326:3:-;;;;;;;;;;-1:-1:-1;5572:326:3;;;;;:::i;:::-;;:::i;4169:153:13:-;;;;;;;;;;-1:-1:-1;4169:153:13;;;;;:::i;:::-;;:::i;5288:278:3:-;;;;;;;;;;-1:-1:-1;5288:278:3;;;;;:::i;:::-;;:::i;2503:346:8:-;;;;;;:::i;:::-;;:::i;354:45::-;;;;;;;;;;;;398:1;354:45;;;;;13812:6:27;13800:19;;;13782:38;;13770:2;13755:18;354:45:8;13638:188:27;628:46:3;;;;;;;;;;;;;;;5189:276:13;;;;;;;;;;-1:-1:-1;5189:276:13;;;;;:::i;:::-;;:::i;5904:133:3:-;;;;;;;;;;-1:-1:-1;5904:133:3;;;;;:::i;:::-;;:::i;566:55::-;;;;;;;;;;;;616:5;566:55;;10375:158:26;;;;;;;;;;-1:-1:-1;10375:158:26;;;;;:::i;:::-;;:::i;4291:202:3:-;;;;;;;;;;-1:-1:-1;4291:202:3;;;;;:::i;:::-;;:::i;8851:529:26:-;;;;;;;;;;;;;:::i;7024:355:8:-;;;;;;;;;;-1:-1:-1;7024:355:8;;;;;:::i;:::-;;:::i;2343:757:4:-;;;;;;:::i;:::-;;:::i;8386:419:26:-;;;;;;;;;;;;;:::i;6043:280:3:-;;;;;;;;;;-1:-1:-1;6043:280:3;;;;;:::i;:::-;;:::i;5956:328:26:-;;;;;;;;;;-1:-1:-1;5956:328:26;;;;;:::i;:::-;;:::i;3849:21::-;;;;;;;;;;;;;;;;4388:162:13;;;;;;;;;;-1:-1:-1;4388:162:13;;;;;:::i;:::-;-1:-1:-1;;;;;4508:25:13;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4388:162;5078:204:3;;;;;;;;;;-1:-1:-1;5078:204:3;;;;;:::i;:::-;;:::i;4293:28:26:-;;;;;;;;;;-1:-1:-1;4293:28:26;;;;;;;;1757:385:8;;;;;;;;;;-1:-1:-1;1757:385:8;;;;;:::i;:::-;;:::i;2074:198:11:-;;;;;;;;;;-1:-1:-1;2074:198:11;;;;;:::i;:::-;;:::i;4023:209:3:-;;;;;;;;;;-1:-1:-1;4023:209:3;;;;;:::i;:::-;;:::i;759:57:8:-;;;;;;;;;;-1:-1:-1;759:57:8;;;;;:::i;:::-;;;;;;;;;;;;;;3979:55:26;;;;;;;;;;-1:-1:-1;3979:55:26;;;;;:::i;:::-;;;;;;;;;;;;;;1254:753:3;719:10:20;1492::3;-1:-1:-1;;;;;1468:35:3;;1460:78;;;;-1:-1:-1;;;1460:78:3;;18118:2:27;1460:78:3;;;18100:21:27;18157:2;18137:18;;;18130:30;18196:32;18176:18;;;18169:60;18246:18;;1460:78:3;;;;;;;;;1578:32;;;1549:26;1578:32;;;:19;:32;;;;;1549:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1782:13;:20;1760:11;;:18;;:42;:70;;;;;1829:1;1806:13;:20;:24;1760:70;:124;;;;-1:-1:-1;1860:24:3;;;;;;1834:22;;;;1844:11;;;;1834:22;:::i;:::-;;;;;;;;:50;1760:124;1752:175;;;;-1:-1:-1;;;1752:175:3;;19138:2:27;1752:175:3;;;19120:21:27;19177:2;19157:18;;;19150:30;19216:34;19196:18;;;19189:62;-1:-1:-1;;;19267:18:27;;;19260:36;19313:19;;1752:175:3;18936:402:27;1752:175:3;1938:62;1957:11;1970;;1938:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1938:62:3;;;;;;;;;;;;;;;;;;;;;;1983:6;;-1:-1:-1;1938:62:3;-1:-1:-1;1991:8:3;;;;;;1938:62;;1991:8;;;;1938:62;;;;;;;;;-1:-1:-1;1938:18:3;;-1:-1:-1;;;1938:62:3:i;:::-;1385:622;1254:753;;;;;;:::o;9869:261:26:-;9995:4;-1:-1:-1;;;;;;10030:41:26;;;;:93;;;10087:36;10111:11;10087:23;:36::i;:::-;10011:112;9869:261;-1:-1:-1;;9869:261:26:o;2471:98:13:-;2525:13;2557:5;2550:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2471:98;:::o;4499:121:3:-;1094:13:11;:11;:13::i;:::-;4578:35:3::1;::::0;-1:-1:-1;;;4578:35:3;;13812:6:27;13800:19;;4578:35:3::1;::::0;::::1;13782:38:27::0;4578:10:3::1;-1:-1:-1::0;;;;;4578:25:3::1;::::0;::::1;::::0;13755:18:27;;4578:35:3::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4499:121:::0;:::o;3935:167:13:-;4011:7;4030:23;4045:7;4030:14;:23::i;:::-;-1:-1:-1;4071:24:13;;;;:15;:24;;;;;;-1:-1:-1;;;;;4071:24:13;;3935:167::o;3468:406::-;3548:13;3564:23;3579:7;3564:14;:23::i;:::-;3548:39;;3611:5;-1:-1:-1;;;;;3605:11:13;:2;-1:-1:-1;;;;;3605:11:13;;;3597:57;;;;-1:-1:-1;;;3597:57:13;;19545:2:27;3597:57:13;;;19527:21:27;19584:2;19564:18;;;19557:30;19623:34;19603:18;;;19596:62;-1:-1:-1;;;19674:18:27;;;19667:31;19715:19;;3597:57:13;19343:397:27;3597:57:13;719:10:20;-1:-1:-1;;;;;3686:21:13;;;;:62;;-1:-1:-1;3711:37:13;3728:5;719:10:20;4388:162:13;:::i;3711:37::-;3665:170;;;;-1:-1:-1;;;3665:170:13;;19947:2:27;3665:170:13;;;19929:21:27;19986:2;19966:18;;;19959:30;20025:34;20005:18;;;19998:62;20096:31;20076:18;;;20069:59;20145:19;;3665:170:13;19745:425:27;3665:170:13;3846:21;3855:2;3859:7;3846:8;:21::i;:::-;3538:336;3468:406;;:::o;6609:317:8:-;1094:13:11;:11;:13::i;:::-;6746:1:8::1;6718:25;:29;6710:78;;;::::0;-1:-1:-1;;;6710:78:8;;20377:2:27;6710:78:8::1;::::0;::::1;20359:21:27::0;20416:2;20396:18;;;20389:30;20455:34;20435:18;;;20428:62;-1:-1:-1;;;20506:18:27;;;20499:34;20550:19;;6710:78:8::1;20175:400:27::0;6710:78:8::1;6798:24;:52:::0;;;6865:54:::1;::::0;4482:25:27;;;6865:54:8::1;::::0;4470:2:27;4455:18;6865:54:8::1;;;;;;;;6609:317:::0;:::o;6382:140:3:-;1094:13:11;:11;:13::i;:::-;6472:35:3::1;::::0;;::::1;;::::0;;;:22:::1;:35;::::0;;;;:43;6382:140::o;4626:127::-;1094:13:11;:11;:13::i;:::-;4708:38:3::1;::::0;-1:-1:-1;;;4708:38:3;;13812:6:27;13800:19;;4708:38:3::1;::::0;::::1;13782::27::0;4708:10:3::1;-1:-1:-1::0;;;;;4708:28:3::1;::::0;::::1;::::0;13755:18:27;;4708:38:3::1;13638:188:27::0;6693:66:26;6736:16;6749:1;6736:4;:16::i;:::-;6693:66::o;5235:208::-;1094:13:11;:11;:13::i;:::-;5332:10:26::1;::::0;;5352:24;;;;5391:45:::1;::::0;5365:11;;5332:10;;5391:45:::1;::::0;5308:21:::1;::::0;5391:45:::1;5298:145;5235:208:::0;:::o;4612:296:13:-;4771:41;719:10:20;4790:12:13;4804:7;4771:18;:41::i;:::-;4763:99;;;;-1:-1:-1;;;4763:99:13;;;;;;;:::i;:::-;4873:28;4883:4;4889:2;4893:7;4873:9;:28::i;1433:318:8:-;1599:14;1615:11;1645:99;1666:11;1679:10;1691:27;1709:8;1691:17;:27::i;:::-;1720:7;1729:14;1645:20;:99::i;:::-;1638:106;;;;1433:318;;;;;;;;:::o;1306:253:16:-;1403:7;1438:23;1455:5;1438:16;:23::i;:::-;1430:5;:31;1422:87;;;;-1:-1:-1;;;1422:87:16;;21196:2:27;1422:87:16;;;21178:21:27;21235:2;21215:18;;;21208:30;21274:34;21254:18;;;21247:62;-1:-1:-1;;;21325:18:27;;;21318:41;21376:19;;1422:87:16;20994:407:27;1422:87:16;-1:-1:-1;;;;;;1526:19:16;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1306:253::o;6617:247:3:-;6758:32;;;6713:4;6758:32;;;:19;:32;;;;;6729:61;;6713:4;;6758:32;6729:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6845:11;;6835:22;;;;;;;:::i;:::-;;;;;;;;6817:13;6807:24;;;;;;:50;6800:57;;;6617:247;;;;;:::o;4974:149:13:-;5077:39;5094:4;5100:2;5104:7;5077:39;;;;;;;;;;;;:16;:39::i;4759:176:3:-;1094:13:11;:11;:13::i;:::-;4873:55:3::1;::::0;-1:-1:-1;;;4873:55:3;;-1:-1:-1;;;;;4873:10:3::1;:29;::::0;::::1;::::0;:55:::1;::::0;4903:11;;4916;;;;4873:55:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;1813:230:16::0;1888:7;1923:30;1717:10;:17;;1630:111;1923:30;1915:5;:38;1907:95;;;;-1:-1:-1;;;1907:95:16;;22210:2:27;1907:95:16;;;22192:21:27;22249:2;22229:18;;;22222:30;22288:34;22268:18;;;22261:62;-1:-1:-1;;;22339:18:27;;;22332:42;22391:19;;1907:95:16;22008:408:27;1907:95:16;2019:10;2030:5;2019:17;;;;;;;;:::i;:::-;;;;;;;;;2012:24;;1813:230;;;:::o;2148:349:8:-;2372:118;2378:5;2385:11;2398:10;2410:27;2428:8;2410:17;:27::i;:::-;2439:14;2455:18;2475:14;2372:5;:118::i;5547:253:26:-;1094:13:11;:11;:13::i;:::-;5659:15:26::1;::::0;;-1:-1:-1;;;;;5684:34:26;;::::1;-1:-1:-1::0;;;;;;5684:34:26;::::1;::::0;::::1;::::0;;;5733:60:::1;::::0;5659:15;::::1;::::0;5684:34;5659:15;;5733:60:::1;::::0;5630:26:::1;::::0;5733:60:::1;5620:180;5547:253:::0;:::o;6416:219::-;1094:13:11;:11;:13::i;:::-;6473:16:26::1;::::0;::::1;;6469:95;;;6512:41;;-1:-1:-1::0;;;6512:41:26::1;;;;;;;;;;;6469:95;6573:16;:23:::0;;-1:-1:-1;;6573:23:26::1;6592:4;6573:23;::::0;;6612:16:::1;::::0;::::1;::::0;6573::::1;::::0;6612::::1;6416:219::o:0;2190::13:-;2262:7;6794:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6794:16:13;;2324:56;;;;-1:-1:-1;;;2324:56:13;;22755:2:27;2324:56:13;;;22737:21:27;22794:2;22774:18;;;22767:30;-1:-1:-1;;;22813:18:27;;;22806:54;22877:18;;2324:56:13;22553:348:27;1820:342:4;719:10:20;2032:4:4;2008:29;2000:80;;;;-1:-1:-1;;;2000:80:4;;23108:2:27;2000:80:4;;;23090:21:27;23147:2;23127:18;;;23120:30;23186:34;23166:18;;;23159:62;-1:-1:-1;;;23237:18:27;;;23230:36;23283:19;;2000:80:4;22906:402:27;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;7081:1204:26:-;7155:9;;7142:10;;:22;7138:100;;;7187:40;;-1:-1:-1;;;7187:40:26;;;;;;;;;;;7138:100;-1:-1:-1;;;;;7251:24:26;;719:10:20;7251:24:26;7247:109;;;7298:47;;-1:-1:-1;;;7298:47:26;;;;;;;;;;;7247:109;7382:10;;7369:9;:23;7365:105;;7415:44;;-1:-1:-1;;;7415:44:26;;;;;;;;;;;7365:105;7480:12;:14;;;:12;:14;;;:::i;:::-;;;;-1:-1:-1;;7517:10:26;;;;;;7504;7537:12;7517:10;7537:12;:::i;:::-;;;;-1:-1:-1;;7622:10:26;;7560:24;;-1:-1:-1;;;;;7646:22:26;;;7642:388;;-1:-1:-1;;;;;7684:35:26;;;;;;:25;:35;;;;;:37;;;;;;:::i;:::-;;;;;;7832:11;;3726:4;7771:10;;:41;;;;:::i;:::-;7770:73;;;;:::i;:::-;7735:108;;7913:16;7900:10;;:29;;;;:::i;:::-;-1:-1:-1;;;;;7969:30:26;;;;;;:20;:30;;;;;:50;;7884:45;;-1:-1:-1;8003:16:26;;7969:30;;;:50;;8003:16;;7969:50;:::i;:::-;;;;-1:-1:-1;;7642:388:26;8064:13;8040:20;;:37;;;;;;;:::i;:::-;;;;-1:-1:-1;8088:30:26;;-1:-1:-1;719:10:20;8112:5:26;8088:9;:30::i;:::-;8134:144;;;8121:25:27;;;8177:2;8162:18;;8155:34;;;8206:5:26;;-1:-1:-1;;;;;8134:144:26;;;719:10:20;;8134:144:26;;8094:18:27;8134:144:26;;;;;;;7128:1157;;;7081:1204;:::o;1929:204:13:-;2001:7;-1:-1:-1;;;;;2028:19:13;;2020:73;;;;-1:-1:-1;;;2020:73:13;;24445:2:27;2020:73:13;;;24427:21:27;24484:2;24464:18;;;24457:30;24523:34;24503:18;;;24496:62;-1:-1:-1;;;24574:18:27;;;24567:39;24623:19;;2020:73:13;24243:405:27;2020:73:13;-1:-1:-1;;;;;;2110:16:13;;;;;:9;:16;;;;;;;1929:204::o;1824:101:11:-;1094:13;:11;:13::i;:::-;1888:30:::1;1915:1;1888:18;:30::i;680:51:3:-:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4855:992:8:-;2261:21:12;:19;:21::i;:::-;4964:19:8;;::::1;::::0;;::::1;::::0;;;;4940:21:::1;5001:28:::0;;;:13:::1;:28:::0;;;;;;;:42:::1;;::::0;::::1;;4993:72;;;::::0;-1:-1:-1;;;4993:72:8;;24855:2:27;4993:72:8::1;::::0;::::1;24837:21:27::0;24894:2;24874:18;;;24867:30;-1:-1:-1;;;24913:18:27;;;24906:47;24970:18;;4993:72:8::1;24653:341:27::0;4993:72:8::1;5079:22;5116:8;5105:37;;;;;;;;;;;;:::i;:::-;5153:14;5182:28:::0;;;:13:::1;:28;::::0;;;;:39;;;5263:34;;::::1;::::0;5076:66;;-1:-1:-1;5153:14:8;;-1:-1:-1;5170:138:8::1;::::0;5182:39:::1;::::0;::::1;::::0;5223:38;;::::1;-1:-1:-1::0;;;;;5223:38:8::1;::::0;5076:66;5170:11:::1;:138::i;:::-;5338:28;::::0;;;:13:::1;:28;::::0;;;;:34:::1;;::::0;5153:155;;-1:-1:-1;5326:46:8;::::1;5318:100;;;::::0;-1:-1:-1;;;5318:100:8;;26743:2:27;5318:100:8::1;::::0;::::1;26725:21:27::0;26782:2;26762:18;;;26755:30;26821:34;26801:18;;;26794:62;-1:-1:-1;;;26872:18:27;;;26865:39;26921:19;;5318:100:8::1;26541:405:27::0;5318:100:8::1;5446:8;:15;5433:9;:28;5429:412;;;5539:28;::::0;;;:13:::1;:28;::::0;;;;;5532:35;;-1:-1:-1;;;;;;5532:35:8;;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;5532:35:8::1;::::0;;5586:28;::::1;::::0;::::1;::::0;5553:13;4482:25:27;;4470:2;4455:18;;4336:177;5586:28:8::1;;;;;;;;5429:412;;;5720:110;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;5733:28:8;;;:13:::1;:28;::::0;;;;;;:39;;::::1;::::0;;::::1;5720:110:::0;;-1:-1:-1;;;;;5774:38:8;;;::::1;::::0;::::1;5720:110:::0;;::::1;::::0;;;;;;;;;5733:39;5720:110;;;;;;5689:28;;;;;;;;:141;;;;::::1;::::0;;::::1;-1:-1:-1::0;;;;;;5689:141:8;;;;;;::::1;::::0;;;;;;;::::1;::::0;;;;;;::::1;::::0;;;;;5774:38:::1;5689:141:::0;;::::1;::::0;;;::::1;;-1:-1:-1::0;;5689:141:8;;::::1;::::0;;;::::1;::::0;;5429:412:::1;4930:917;;;2303:20:12::0;1716:1;2809:7;:22;2629:209;2303:20;4855:992:8;:::o;2633:102:13:-;2689:13;2721:7;2714:14;;;;;:::i;7440:347:8:-;1094:13:11;:11;:13::i;:::-;7591:1:8::1;7565:23;:27;7557:74;;;::::0;-1:-1:-1;;;7557:74:8;;27153:2:27;7557:74:8::1;::::0;::::1;27135:21:27::0;27192:2;27172:18;;;27165:30;27231:34;27211:18;;;27204:62;-1:-1:-1;;;27282:18:27;;;27275:32;27324:19;;7557:74:8::1;26951:398:27::0;7557:74:8::1;7641:35;::::0;::::1;;::::0;;;:22:::1;:35;::::0;;;;;;;;:61;;;7717:63;;27526:38:27;;;27580:18;;27573:34;;;7717:63:8::1;::::0;27499:18:27;7717:63:8::1;;;;;;;;7440:347:::0;;:::o;5572:326:3:-;5695:35;;;5675:17;5695:35;;;:19;:35;;;;;5675:55;;5651:12;;5675:17;5695:35;5675:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5748:4;:11;5763:1;5748:16;;5740:58;;;;-1:-1:-1;;;5740:58:3;;27820:2:27;5740:58:3;;;27802:21:27;27859:2;27839:18;;;27832:30;27898:31;27878:18;;;27871:59;27947:18;;5740:58:3;27618:353:27;5740:58:3;5815:31;5826:1;5843:2;5829:4;:11;:16;;;;:::i;:::-;5815:4;;:31;:10;:31::i;:::-;5808:38;5572:326;-1:-1:-1;;;5572:326:3:o;4169:153:13:-;4263:52;719:10:20;4296:8:13;4306;4263:18;:52::i;:::-;4169:153;;:::o;5288:278:3:-;1094:13:11;:11;:13::i;:::-;5459:14:3::1;;5483:4;5442:47;;;;;;;;;;:::i;:::-;;::::0;;-1:-1:-1;;5442:47:3;;::::1;::::0;;;;;;5404:35:::1;::::0;::::1;;::::0;;;:19:::1;5442:47;5404:35:::0;;;;;;:85;;::::1;::::0;:35;;:85;;::::1;::::0;::::1;:::i;:::-;;5504:55;5528:14;5544;;5504:55;;;;;;;;:::i;:::-;;;;;;;;5288:278:::0;;;:::o;2503:346:8:-;2742:100;2748:5;2755:11;2768:10;2780:9;2791:14;2807:18;2827:14;2742:5;:100::i;5189:276:13:-;5319:41;719:10:20;5352:7:13;5319:18;:41::i;:::-;5311:99;;;;-1:-1:-1;;;5311:99:13;;;;;;;:::i;:::-;5420:38;5434:4;5440:2;5444:7;5453:4;5420:13;:38::i;:::-;5189:276;;;;:::o;5904:133:3:-;1094:13:11;:11;:13::i;:::-;5973:8:3::1;:20:::0;;-1:-1:-1;;;;;;5973:20:3::1;-1:-1:-1::0;;;;;5973:20:3;::::1;::::0;;::::1;::::0;;;6008:22:::1;::::0;2297:51:27;;;6008:22:3::1;::::0;2285:2:27;2270:18;6008:22:3::1;2151:203:27::0;10375:158:26;10462:13;10511:15;10504:22;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10375:158;;;:::o;4291:202:3:-;1094:13:11;:11;:13::i;:::-;4424:62:3::1;::::0;-1:-1:-1;;;4424:62:3;;-1:-1:-1;;;;;4424:10:3::1;:20;::::0;::::1;::::0;:62:::1;::::0;4445:8;;4455;;4465:11;;4478:7;;;;4424:62:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;4291:202:::0;;;;;:::o;8851:529:26:-;8923:15;;-1:-1:-1;;;;;8923:15:26;719:10:20;-1:-1:-1;;;;;8907:31:26;;8903:121;;8961:52;;-1:-1:-1;;;8961:52:26;;;;;;;;;;;8903:121;9052:20;;9086:13;9082:93;;9122:42;;-1:-1:-1;;;9122:42:26;;;;;;;;;;;9082:93;9208:1;9185:20;:24;;;;9246:8;9219:23;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;;9272:15:26;;9264:43;;-1:-1:-1;;;;;9272:15:26;;;;9264:43;;;;;9298:8;;9272:15;9264:43;9272:15;9264:43;9298:8;9272:15;9264:43;;;;;;;;;;;;;;;;;;;;-1:-1:-1;9347:15:26;;9323:50;;4482:25:27;;;-1:-1:-1;;;;;9347:15:26;;;;9323:50;;4470:2:27;4455:18;9323:50:26;;;;;;;;8893:487;8851:529::o;7024:355:8:-;1094:13:11;:11;:13::i;:::-;7178:1:8::1;7151:24;:28;7143:76;;;::::0;-1:-1:-1;;;7143:76:8;;29068:2:27;7143:76:8::1;::::0;::::1;29050:21:27::0;29107:2;29087:18;;;29080:30;29146:34;29126:18;;;29119:62;-1:-1:-1;;;29197:18:27;;;29190:33;29240:19;;7143:76:8::1;28866:399:27::0;7143:76:8::1;7229:36;::::0;::::1;;::::0;;;:23:::1;:36;::::0;;;;;;;;:63;;;7307:65;;27526:38:27;;;27580:18;;27573:34;;;7307:65:8::1;::::0;27499:18:27;7307:65:8::1;27354:259:27::0;2343:757:4;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;;29472:2:27;2610:73:4;;;29454:21:27;29511:2;29491:18;;;29484:30;29550:34;29530:18;;;29523:62;-1:-1:-1;;;29601:18:27;;;29594:33;29644:19;;2610:73:4;29270:399:27;2610:73:4;2724:11;2711:8;;2701:19;;;;;;;:::i;:::-;;;;;;;;:34;2693:80;;;;-1:-1:-1;;;2693:80:4;;29876:2:27;2693:80:4;;;29858:21:27;29915:2;29895:18;;;29888:30;29954:34;29934:18;;;29927:62;-1:-1:-1;;;30005:18:27;;;29998:31;30046:19;;2693:80:4;29674:397:27;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;8386:419:26:-;719:10:20;8430:16:26;8449:34;;;:20;:34;;;;;;;8493:93;;8533:42;;-1:-1:-1;;;8533:42:26;;;;;;;;;;;8493:93;719:10:20;8633:1:26;8596:34;;;:20;:34;;;;;;;;:38;;;8644:23;:37;;;;;:49;;8685:8;;8633:1;8644:49;;8685:8;;8644:49;:::i;:::-;;;;-1:-1:-1;;8703:40:26;;719:10:20;;8703:40:26;;;;;8734:8;;8703:40;;;;8734:8;719:10:20;8703:40:26;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8759:39:26;;4482:25:27;;;719:10:20;;8759:39:26;;4470:2:27;4455:18;8759:39:26;4336:177:27;6043:280:3;1094:13:11;:11;:13::i;:::-;6166:1:3::1;6156:7;:11;6148:45;;;::::0;-1:-1:-1;;;6148:45:3;;30776:2:27;6148:45:3::1;::::0;::::1;30758:21:27::0;30815:2;30795:18;;;30788:30;-1:-1:-1;;;30834:18:27;;;30827:51;30895:18;;6148:45:3::1;30574:345:27::0;6148:45:3::1;6203:28;::::0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;;;;:41;;::::1;::::0;;;;;;;;;;:51;;;6269:47;;31147:34:27;;;31197:18;;31190:43;;;;31249:18;;;31242:34;;;6269:47:3::1;::::0;31110:2:27;31095:18;6269:47:3::1;30924:358:27::0;5956:328:26;1094:13:11;:11;:13::i;:::-;6033:25:26::1;6061:15;6033:43;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;6091:16:26::1;::::0;6033:43;;-1:-1:-1;;;6091:16:26::1;::::0;;::::1;6087:95;::::0;-1:-1:-1;6087:95:26::1;;6130:41;;-1:-1:-1::0;;;6130:41:26::1;;;;;;;;;;;6087:95;6191:29:::0;;::::1;::::0;:15:::1;::::0;:29;;::::1;::::0;::::1;:::i;:::-;;6265:11;6236:41;;;;;;:::i;:::-;;;;;;;;6252:11;6236:41;;;;;;:::i;:::-;;::::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;6023:261;5956:328:::0;:::o;5078:204:3:-;1094:13:11;:11;:13::i;:::-;5178:35:3::1;::::0;::::1;;::::0;;;:19:::1;:35;::::0;;;;:43:::1;::::0;5216:5;;5178:43:::1;:::i;:::-;;5236:39;5253:14;5269:5;;5236:39;;;;;;;;:::i;1757:385:8:-:0;1938:14;1954:11;1977:20;2011:10;2023:9;2000:33;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2000:33:8;;;;;;;;;;-1:-1:-1;;;2050:85:8;;2000:33;-1:-1:-1;;;;;;2050:10:8;:23;;;;:85;;2074:11;;2095:4;;2000:33;;2111:7;;2120:14;;2050:85;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2043:92;;;;;1757:385;;;;;;;;:::o;2074:198:11:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2162:22:11;::::1;2154:73;;;::::0;-1:-1:-1;;;2154:73:11;;33534:2:27;2154:73:11::1;::::0;::::1;33516:21:27::0;33573:2;33553:18;;;33546:30;33612:34;33592:18;;;33585:62;-1:-1:-1;;;33663:18:27;;;33656:36;33709:19;;2154:73:11::1;33332:402:27::0;2154:73:11::1;2237:28;2256:8;2237:18;:28::i;4023:209:3:-:0;4157:68;;-1:-1:-1;;;4157:68:3;;33976:6:27;34009:15;;;4157:68:3;;;33991:34:27;34061:15;;34041:18;;;34034:43;4206:4:3;34093:18:27;;;34086:60;34162:18;;;34155:34;;;4126:12:3;;4157:10;-1:-1:-1;;;;;4157:20:3;;;;33938:19:27;;4157:68:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4157:68:3;;;;;;;;;;;;:::i;:::-;4150:75;;4023:209;;;;;;;:::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;1005:222:16:-;1107:4;-1:-1:-1;;;;;;1130:50:16;;-1:-1:-1;;;1130:50:16;;:90;;;1184:36;1208:11;1184:23;:36::i;1359:130:11:-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:11;719:10:20;1422:23:11;1414:68;;;;-1:-1:-1;;;1414:68:11;;35304:2:27;1414:68:11;;;35286:21:27;;;35323:18;;;35316:30;35382:34;35362:18;;;35355:62;35434:18;;1414:68:11;35102:356:27;13240:133:13;13321:16;13329:7;13321;:16::i;:::-;13313:53;;;;-1:-1:-1;;;13313:53:13;;22755:2:27;13313:53:13;;;22737:21:27;22794:2;22774:18;;;22767:30;-1:-1:-1;;;22813:18:27;;;22806:54;22877:18;;13313:53:13;22553:348:27;12572:171:13;12646:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;12646:29:13;-1:-1:-1;;;;;12646:29:13;;;;;;;;:24;;12699:23;12646:24;12699:14;:23::i;:::-;-1:-1:-1;;;;;12690:46:13;;;;;;;;;;;12572:171;;:::o;7404:261::-;7497:4;7513:13;7529:23;7544:7;7529:14;:23::i;:::-;7513:39;;7581:5;-1:-1:-1;;;;;7570:16:13;:7;-1:-1:-1;;;;;7570:16:13;;:52;;;-1:-1:-1;;;;;;4508:25:13;;;4485:4;4508:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7590:32;7570:87;;;;7650:7;-1:-1:-1;;;;;7626:31:13;:20;7638:7;7626:11;:20::i;:::-;-1:-1:-1;;;;;7626:31:13;;7562:96;7404:261;-1:-1:-1;;;;7404:261:13:o;11257:1203::-;11381:4;-1:-1:-1;;;;;11354:31:13;:23;11369:7;11354:14;:23::i;:::-;-1:-1:-1;;;;;11354:31:13;;11346:81;;;;-1:-1:-1;;;11346:81:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;11445:16:13;;11437:65;;;;-1:-1:-1;;;11437:65:13;;36071:2:27;11437:65:13;;;36053:21:27;36110:2;36090:18;;;36083:30;36149:34;36129:18;;;36122:62;-1:-1:-1;;;36200:18:27;;;36193:34;36244:19;;11437:65:13;35869:400:27;11437:65:13;11513:42;11534:4;11540:2;11544:7;11553:1;11513:20;:42::i;:::-;11682:4;-1:-1:-1;;;;;11655:31:13;:23;11670:7;11655:14;:23::i;:::-;-1:-1:-1;;;;;11655:31:13;;11647:81;;;;-1:-1:-1;;;11647:81:13;;;;;;;:::i;:::-;11797:24;;;;:15;:24;;;;;;;;11790:31;;-1:-1:-1;;;;;;11790:31:13;;;;;;-1:-1:-1;;;;;12265:15:13;;;;;;:9;:15;;;;;:20;;-1:-1:-1;;12265:20:13;;;12299:13;;;;;;;;;:18;;11790:31;12299:18;;;12337:16;;;:7;:16;;;;;;:21;;;;;;;;;;12374:27;;11813:7;;12374:27;;;3538:336;3468:406;;:::o;8008:181:8:-;8119:13;;;8130:1;8119:13;;;;;;;;;8072;;8097:19;;8119:13;;;;;;;;;;;;-1:-1:-1;8119:13:8;8097:35;;8153:7;8142:5;8148:1;8142:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;8177:5;8008:181;-1:-1:-1;;8008:181:8:o;2855:946::-;3128:1;3109:9;:16;:20;3101:52;;;;-1:-1:-1;;;3101:52:8;;36476:2:27;3101:52:8;;;36458:21:27;36515:2;36495:18;;;36488:30;-1:-1:-1;;;36534:18:27;;;36527:49;36593:18;;3101:52:8;36274:343:27;3101:52:8;3171:9;:16;3191:1;3171:21;:80;;;-1:-1:-1;3216:35:8;;;;;;;:22;:35;;;;;;3196:16;;:55;;3171:80;3163:127;;;;-1:-1:-1;;;3163:127:8;;36824:2:27;3163:127:8;;;36806:21:27;36863:2;36843:18;;;36836:30;36902:34;36882:18;;;36875:62;-1:-1:-1;;;36953:18:27;;;36946:32;36995:19;;3163:127:8;36622:398:27;3163:127:8;3306:6;3301:125;3322:9;:16;3318:1;:20;3301:125;;;3359:56;3370:5;3377:11;3390:10;3402:9;3412:1;3402:12;;;;;;;;:::i;:::-;;;;;;;3359:10;:56::i;:::-;3340:3;;;;:::i;:::-;;;;3301:125;;;;3436:20;3470:10;3482:9;3459:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3436:56;;3503:120;3518:11;398:1;3551:14;3606:9;:16;3567:23;:36;3591:11;3567:36;;;;;;;;;;;;;;;;:55;;;;:::i;:::-;3503:14;:120::i;:::-;3633:92;3641:11;3654:7;3663:14;3679:18;3699:14;3715:9;3633:7;:92::i;:::-;3772:10;3740:54;;;;;;:::i;:::-;;;;;;;;3765:5;-1:-1:-1;;;;;3740:54:8;3752:11;3740:54;;;3784:9;3740:54;;;;;;:::i;:::-;;;;;;;;3061:740;2855:946;;;;;;;:::o;3807:953::-;4042:27;4071:22;4108:8;4097:37;;;;;;;;;;;;:::i;:::-;4234:2;4214:23;;4208:30;4041:93;;-1:-1:-1;4041:93:8;-1:-1:-1;4145:17:8;4275:48;4287:11;4208:30;4145:17;4041:93;4275:11;:48::i;:::-;4258:65;;4349:8;:15;4337:9;:27;4333:342;;;4491:19;;;;;;;;;;4555:53;;;;;;;;;;;;;;-1:-1:-1;;;;;4555:53:8;;;;;;;;;;;;;;;4603:4;4555:53;;;;;;4467:21;4524:28;;;:13;:28;;;;;;;:84;;;;;;;;;;;-1:-1:-1;;;;;;4524:84:8;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4524:84:8;;;;;;;;;;4627:37;;;;;;4491:19;;4501:8;;4627:37;:::i;:::-;;;;;;;;4366:309;4333:342;4733:9;-1:-1:-1;;;;;4690:63:8;4720:11;4690:63;;;;;;:::i;:::-;;;;;;;;4707:11;4690:63;;;4744:8;4690:63;;;;;;:::i;7995:108:13:-;8070:26;8080:2;8084:7;8070:26;;;;;;;;;;;;:9;:26::i;2426:187:11:-;2499:16;2518:6;;-1:-1:-1;;;;;2534:17:11;;;-1:-1:-1;;;;;;2534:17:11;;;;;;2566:40;;2518:6;;;;;;;2566:40;;2499:16;2566:40;2489:124;2426:187;:::o;2336:287:12:-;1759:1;2468:7;;:19;;2460:63;;;;-1:-1:-1;;;2460:63:12;;38066:2:27;2460:63:12;;;38048:21:27;38105:2;38085:18;;;38078:30;38144:33;38124:18;;;38117:61;38195:18;;2460:63:12;37864:355:27;2460:63:12;1759:1;2598:7;:18;2336:287::o;6042:561:8:-;6164:7;6191:11;6212:257;6223:9;:16;6219:1;:20;6212:257;;;6347:24;;6335:9;:36;6331:47;;;6373:5;;6331:47;6393:48;6403:11;6416:10;6428:9;6438:1;6428:12;;;;;;;;:::i;:::-;;;;;;;6393:9;:48::i;:::-;6455:3;;;;:::i;:::-;;;;6212:257;;8865:2712:9;8999:12;9051:7;9035:12;9051:7;9045:2;9035:12;:::i;:::-;:23;;9027:50;;;;-1:-1:-1;;;9027:50:9;;38426:2:27;9027:50:9;;;38408:21:27;38465:2;38445:18;;;38438:30;-1:-1:-1;;;38484:18:27;;;38477:44;38538:18;;9027:50:9;38224:338:27;9027:50:9;9112:16;9121:7;9112:6;:16;:::i;:::-;9095:6;:13;:33;;9087:63;;;;-1:-1:-1;;;9087:63:9;;38769:2:27;9087:63:9;;;38751:21:27;38808:2;38788:18;;;38781:30;-1:-1:-1;;;38827:18:27;;;38820:47;38884:18;;9087:63:9;38567:341:27;9087:63:9;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:9;;;11128:2;11111:11;-1:-1:-1;;11107:25:9;11101:4;11094:39;-1:-1:-1;9217:2317:9;-1:-1:-1;11561:9:9;8865:2712;-1:-1:-1;;;;8865:2712:9:o;12879:277:13:-;12999:8;-1:-1:-1;;;;;12990:17:13;:5;-1:-1:-1;;;;;12990:17:13;;;12982:55;;;;-1:-1:-1;;;12982:55:13;;39115:2:27;12982:55:13;;;39097:21:27;39154:2;39134:18;;;39127:30;39193:27;39173:18;;;39166:55;39238:18;;12982:55:13;38913:349:27;12982:55:13;-1:-1:-1;;;;;13047:25:13;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;13047:46:13;;;;;;;;;;13108:41;;2099::27;;;13108::13;;2072:18:27;13108:41:13;;;;;;;12879:277;;;:::o;6326:267::-;6438:28;6448:4;6454:2;6458:7;6438:9;:28::i;:::-;6484:47;6507:4;6513:2;6517:7;6526:4;6484:22;:47::i;:::-;6476:110;;;;-1:-1:-1;;;6476:110:13;;;;;;;:::i;1118:1240:10:-;1275:4;1281:12;1341:15;1366:13;1389:24;1426:8;1416:19;;-1:-1:-1;;;;;1416:19:10;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1416:19:10;;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:10;-1:-1:-1;;;;;;1118:1240:10: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;520:226:7:-;635:4;-1:-1:-1;;;;;;658:41:7;;;;:81;;;703:36;727:11;703:23;:36::i;7120:126:13:-;7185:4;6794:16;;;:7;:16;;;;;;-1:-1:-1;;;;;6794:16:13;7208:31;;;7120:126::o;9537:265:26:-;9734:61;9761:4;9767:2;9771:12;9785:9;9734:26;:61::i;752:357:7:-;868:42;719:10:20;887:12:7;640:96:20;868:42:7;860:101;;;;-1:-1:-1;;;860:101:7;;40612:2:27;860:101:7;;;40594:21:27;40651:2;40631:18;;;40624:30;40690:34;40670:18;;;40663:62;-1:-1:-1;;;40741:18:27;;;40734:44;40795:19;;860:101:7;40410:410:27;860:101:7;1007:5;-1:-1:-1;;;;;979:33:7;:24;994:8;979:14;:24::i;:::-;-1:-1:-1;;;;;979:33:7;;971:80;;;;-1:-1:-1;;;971:80:7;;41027:2:27;971:80:7;;;41009:21:27;41066:2;41046:18;;;41039:30;41105:34;41085:18;;;41078:62;-1:-1:-1;;;41156:18:27;;;41149:32;41198:19;;971:80:7;40825:398:27;971:80:7;1061:41;1071:5;1086:4;1093:8;1061:9;:41::i;2845:415:3:-;2980:21;3004:28;3017:14;3004:12;:28::i;:::-;3061;;;;3042:16;3061:28;;;:15;:28;;;;;;;;:35;;;;;;;;;;;;2980:52;;-1:-1:-1;3042:16:3;3061:47;;3099:9;;3061:47;:::i;:::-;3042:66;;3140:1;3126:11;:15;3118:54;;;;-1:-1:-1;;;3118:54:3;;41430:2:27;3118:54:3;;;41412:21:27;41469:2;41449:18;;;41442:30;41508:28;41488:18;;;41481:56;41554:18;;3118:54:3;41228:350:27;3118:54:3;3210:11;3190:16;:31;;3182:71;;;;-1:-1:-1;;;3182:71:3;;41785:2:27;3182:71:3;;;41767:21:27;41824:2;41804:18;;;41797:30;41863:29;41843:18;;;41836:57;41910:18;;3182:71:3;41583:351:27;2291:548:3;2513:32;;;2484:26;2513:32;;;:19;:32;;;;;2484:61;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2563:13;:20;2587:1;2563:25;;2555:86;;;;-1:-1:-1;;;2555:86:3;;42141:2:27;2555:86:3;;;42123:21:27;42180:2;42160:18;;;42153:30;42219:34;42199:18;;;42192:62;-1:-1:-1;;;42270:18:27;;;42263:46;42326:19;;2555:86:3;41939:412:27;2555:86:3;2651:47;2669:11;2682:8;:15;2651:17;:47::i;:::-;2708:124;;-1:-1:-1;;;2708:124:3;;-1:-1:-1;;;;;2708:10:3;:15;;;;2731:10;;2708:124;;2743:11;;2756:13;;2771:8;;2781:14;;2797:18;;2817:14;;2708:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2474:365;2291:548;;;;;;:::o;8324:279:13:-;8418:18;8424:2;8428:7;8418:5;:18::i;:::-;8467:53;8498:1;8502:2;8506:7;8515:4;8467:22;:53::i;:::-;8446:150;;;;-1:-1:-1;;;8446:150:13;;;;;;;:::i;1115:366:7:-;1222:17;1230:8;1222:7;:17::i;:::-;1221:18;:86;;;;1244:17;1252:8;1244:7;:17::i;:::-;:62;;;;-1:-1:-1;1301:4:7;1265:24;1280:8;1265:14;:24::i;:::-;-1:-1:-1;;;;;1265:41:7;;1244:62;1213:95;;;;;;1323:17;1331:8;1323:7;:17::i;:::-;1318:157;;1356:31;1366:10;1378:8;1356:9;:31::i;1318:157::-;1418:46;1436:4;1443:10;1455:8;1418:9;:46::i;13925:831:13:-;14074:4;-1:-1:-1;;;;;14094:13:13;;1702:19:19;:23;14090:660:13;;14129:71;;-1:-1:-1;;;14129:71:13;;-1:-1:-1;;;;;14129:36:13;;;;;:71;;719:10:20;;14180:4:13;;14186:7;;14195:4;;14129:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14129:71:13;;;;;;;;-1:-1:-1;;14129:71:13;;;;;;;;;;;;:::i;:::-;;;14125:573;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14367:13:13;;14363:321;;14409:60;;-1:-1:-1;;;14409:60:13;;;;;;;:::i;14363:321::-;14636:6;14630:13;14621:6;14617:2;14613:15;14606:38;14125:573;-1:-1:-1;;;;;;14250:51:13;-1:-1:-1;;;14250:51:13;;-1:-1:-1;14243:58:13;;14090:660;-1:-1:-1;14735:4:13;14728:11;;1570:300;1672:4;-1:-1:-1;;;;;;1707:40:13;;-1:-1:-1;;;1707:40:13;;:104;;-1:-1:-1;;;;;;;1763:48:13;;-1:-1:-1;;;1763:48:13;1707:104;:156;;;;1827:36;1851:11;1827:23;:36::i;2112:890:16:-;2371:1;2359:9;:13;2355:219;;;2500:63;;-1:-1:-1;;;2500:63:16;;44151:2:27;2500:63:16;;;44133:21:27;44190:2;44170:18;;;44163:30;44229:34;44209:18;;;44202:62;-1:-1:-1;;;44280:18:27;;;44273:51;44341:19;;2500:63:16;43949:417:27;2355:219:16;2602:12;-1:-1:-1;;;;;2629:18:16;;2625:183;;2663:40;2695:7;3811:10;:17;;3784:24;;;;:15;:24;;;;;:44;;;3838:24;;;;;;;;;;;;3708:161;2663:40;2625:183;;;2732:2;-1:-1:-1;;;;;2724:10:16;:4;-1:-1:-1;;;;;2724:10:16;;2720:88;;2750:47;2783:4;2789:7;2750:32;:47::i;:::-;-1:-1:-1;;;;;2821:16:16;;2817:179;;2853:45;2890:7;2853:36;:45::i;:::-;2817:179;;;2925:4;-1:-1:-1;;;;;2919:10:16;:2;-1:-1:-1;;;;;2919:10:16;;2915:81;;2945:40;2973:2;2977:7;2945:27;:40::i;3266:266:3:-;3348:13;3406:2;3381:14;:21;:27;;3373:68;;;;-1:-1:-1;;;3373:68:3;;44573:2:27;3373:68:3;;;44555:21:27;44612:2;44592:18;;;44585:30;44651;44631:18;;;44624:58;44699:18;;3373:68:3;44371:352:27;3373:68:3;-1:-1:-1;3512:2:3;3492:23;3486:30;;3266:266::o;3538:383::-;3660:35;;;3636:21;3660:35;;;:22;:35;;;;;;3709:21;3705:123;;-1:-1:-1;616:5:3;3705:123;3861:16;3845:12;:32;;3837:77;;;;-1:-1:-1;;;3837:77:3;;44930:2:27;3837:77:3;;;44912:21:27;;;44949:18;;;44942:30;45008:34;44988:18;;;44981:62;45060:18;;3837:77:3;44728:356:27;8925:920:13;-1:-1:-1;;;;;9004:16:13;;8996:61;;;;-1:-1:-1;;;8996:61:13;;45291:2:27;8996:61:13;;;45273:21:27;;;45310:18;;;45303:30;45369:34;45349:18;;;45342:62;45421:18;;8996:61:13;45089:356:27;8996:61:13;9076:16;9084:7;9076;:16::i;:::-;9075:17;9067:58;;;;-1:-1:-1;;;9067:58:13;;45652:2:27;9067:58:13;;;45634:21:27;45691:2;45671:18;;;45664:30;45730;45710:18;;;45703:58;45778:18;;9067:58:13;45450:352:27;9067:58:13;9136:48;9165:1;9169:2;9173:7;9182:1;9136:20;:48::i;:::-;9280:16;9288:7;9280;:16::i;:::-;9279:17;9271:58;;;;-1:-1:-1;;;9271:58:13;;45652:2:27;9271:58:13;;;45634:21:27;45691:2;45671:18;;;45664:30;45730;45710:18;;;45703:58;45778:18;;9271:58:13;45450:352:27;9271:58:13;-1:-1:-1;;;;;9671:13:13;;;;;;:9;:13;;;;;;;;:18;;9688:1;9671:18;;;9710:16;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9710:21:13;;;;;9747:33;9718:7;;9671:13;;9747:33;;9671:13;;9747:33;4169:153;;:::o;1210:217:8:-;1312:4;-1:-1:-1;;;;;;1335:45:8;;-1:-1:-1;;;1335:45:8;;:85;;-1:-1:-1;;;;;;;;;;937:40:22;;;1384:36:8;829:155:22;4486:970:16;4748:22;4798:1;4773:22;4790:4;4773:16;:22::i;:::-;:26;;;;:::i;:::-;4809:18;4830:26;;;:17;:26;;;;;;4748:51;;-1:-1:-1;4960:28:16;;;4956:323;;-1:-1:-1;;;;;5026:18:16;;5004:19;5026:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5075:30;;;;;;:44;;;5191:30;;:17;:30;;;;;:43;;;4956:323;-1:-1:-1;5372:26:16;;;;:17;:26;;;;;;;;5365:33;;;-1:-1:-1;;;;;5415:18:16;;;;;:12;:18;;;;;:34;;;;;;;5408:41;4486:970::o;5744:1061::-;6018:10;:17;5993:22;;6018:21;;6038:1;;6018:21;:::i;:::-;6049:18;6070:24;;;:15;:24;;;;;;6438:10;:26;;5993:46;;-1:-1:-1;6070:24:16;;5993:46;;6438:26;;;;;;:::i;:::-;;;;;;;;;6416:48;;6500:11;6475:10;6486;6475:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6579:28;;;:15;:28;;;;;;;:41;;;6748:24;;;;;6741:31;6782:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5815:990;;;5744:1061;:::o;3296:217::-;3380:14;3397:20;3414:2;3397:16;:20::i;:::-;-1:-1:-1;;;;;3427:16:16;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3471:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3296:217:16:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:159:27;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:27;;-1:-1:-1;;;;;366:30:27;;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:27;;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:27;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:27;-1:-1:-1;1117:84:27;;-1:-1:-1;1274:37:27;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:27;;-1:-1:-1;706:862:27;;1527:8;;706:862;-1:-1:-1;;;706:862:27:o;1573:131::-;-1:-1:-1;;;;;;1647:32:27;;1637:43;;1627:71;;1694:1;1691;1684:12;1709:245;1767:6;1820:2;1808:9;1799:7;1795:23;1791:32;1788:52;;;1836:1;1833;1826:12;1788:52;1875:9;1862:23;1894:30;1918:5;1894:30;:::i;2359:258::-;2431:1;2441:113;2455:6;2452:1;2449:13;2441:113;;;2531:11;;;2525:18;2512:11;;;2505:39;2477:2;2470:10;2441:113;;;2572:6;2569:1;2566:13;2563:48;;;-1:-1:-1;;2607:1:27;2589:16;;2582:27;2359:258::o;2622:::-;2664:3;2702:5;2696:12;2729:6;2724:3;2717:19;2745:63;2801:6;2794:4;2789:3;2785:14;2778:4;2771:5;2767:16;2745:63;:::i;:::-;2862:2;2841:15;-1:-1:-1;;2837:29:27;2828:39;;;;2869:4;2824:50;;2622:258;-1:-1:-1;;2622:258:27:o;2885:220::-;3034:2;3023:9;3016:21;2997:4;3054:45;3095:2;3084:9;3080:18;3072:6;3054:45;:::i;3110:184::-;3168:6;3221:2;3209:9;3200:7;3196:23;3192:32;3189:52;;;3237:1;3234;3227:12;3189:52;3260:28;3278:9;3260:28;:::i;3299:180::-;3358:6;3411:2;3399:9;3390:7;3386:23;3382:32;3379:52;;;3427:1;3424;3417:12;3379:52;-1:-1:-1;3450:23:27;;3299:180;-1:-1:-1;3299:180:27:o;3484:131::-;-1:-1:-1;;;;;3559:31:27;;3549:42;;3539:70;;3605:1;3602;3595:12;3620:134;3688:20;;3717:31;3688:20;3717:31;:::i;3759:315::-;3827:6;3835;3888:2;3876:9;3867:7;3863:23;3859:32;3856:52;;;3904:1;3901;3894:12;3856:52;3943:9;3930:23;3962:31;3987:5;3962:31;:::i;:::-;4012:5;4064:2;4049:18;;;;4036:32;;-1:-1:-1;;;3759:315:27:o;4079:252::-;4146:6;4154;4207:2;4195:9;4186:7;4182:23;4178:32;4175:52;;;4223:1;4220;4213:12;4175:52;4246:28;4264:9;4246:28;:::i;5146:456::-;5223:6;5231;5239;5292:2;5280:9;5271:7;5267:23;5263:32;5260:52;;;5308:1;5305;5298:12;5260:52;5347:9;5334:23;5366:31;5391:5;5366:31;:::i;:::-;5416:5;-1:-1:-1;5473:2:27;5458:18;;5445:32;5486:33;5445:32;5486:33;:::i;:::-;5146:456;;5538:7;;-1:-1:-1;;;5592:2:27;5577:18;;;;5564:32;;5146:456::o;5607:247::-;5666:6;5719:2;5707:9;5698:7;5694:23;5690:32;5687:52;;;5735:1;5732;5725:12;5687:52;5774:9;5761:23;5793:31;5818:5;5793:31;:::i;5859:127::-;5920:10;5915:3;5911:20;5908:1;5901:31;5951:4;5948:1;5941:15;5975:4;5972:1;5965:15;5991:275;6062:2;6056:9;6127:2;6108:13;;-1:-1:-1;;6104:27:27;6092:40;;-1:-1:-1;;;;;6147:34:27;;6183:22;;;6144:62;6141:88;;;6209:18;;:::i;:::-;6245:2;6238:22;5991:275;;-1:-1:-1;5991:275:27:o;6271:186::-;6319:4;-1:-1:-1;;;;;6344:6:27;6341:30;6338:56;;;6374:18;;:::i;:::-;-1:-1:-1;6440:2:27;6419:15;-1:-1:-1;;6415:29:27;6446:4;6411:40;;6271:186::o;6462:336::-;6526:5;6555:52;6571:35;6599:6;6571:35;:::i;:::-;6555:52;:::i;:::-;6546:61;;6630:6;6623:5;6616:21;6670:3;6661:6;6656:3;6652:16;6649:25;6646:45;;;6687:1;6684;6677:12;6646:45;6736:6;6731:3;6724:4;6717:5;6713:16;6700:43;6790:1;6783:4;6774:6;6767:5;6763:18;6759:29;6752:40;6462:336;;;;;:::o;6803:220::-;6845:5;6898:3;6891:4;6883:6;6879:17;6875:27;6865:55;;6916:1;6913;6906:12;6865:55;6938:79;7013:3;7004:6;6991:20;6984:4;6976:6;6972:17;6938:79;:::i;7028:160::-;7093:20;;7149:13;;7142:21;7132:32;;7122:60;;7178:1;7175;7168:12;7193:749;7302:6;7310;7318;7326;7334;7387:3;7375:9;7366:7;7362:23;7358:33;7355:53;;;7404:1;7401;7394:12;7355:53;7427:28;7445:9;7427:28;:::i;:::-;7417:38;;7506:2;7495:9;7491:18;7478:32;-1:-1:-1;;;;;7570:2:27;7562:6;7559:14;7556:34;;;7586:1;7583;7576:12;7556:34;7609:49;7650:7;7641:6;7630:9;7626:22;7609:49;:::i;:::-;7599:59;;7705:2;7694:9;7690:18;7677:32;7667:42;;7728:35;7759:2;7748:9;7744:18;7728:35;:::i;:::-;7718:45;;7816:3;7805:9;7801:19;7788:33;7772:49;;7846:2;7836:8;7833:16;7830:36;;;7862:1;7859;7852:12;7830:36;;7885:51;7928:7;7917:8;7906:9;7902:24;7885:51;:::i;:::-;7875:61;;;7193:749;;;;;;;;:::o;8200:481::-;8278:6;8286;8294;8347:2;8335:9;8326:7;8322:23;8318:32;8315:52;;;8363:1;8360;8353:12;8315:52;8386:28;8404:9;8386:28;:::i;:::-;8376:38;;8465:2;8454:9;8450:18;8437:32;-1:-1:-1;;;;;8484:6:27;8481:30;8478:50;;;8524:1;8521;8514:12;8478:50;8563:58;8613:7;8604:6;8593:9;8589:22;8563:58;:::i;:::-;8200:481;;8640:8;;-1:-1:-1;8537:84:27;;-1:-1:-1;;;;8200:481:27:o;8686:1108::-;8824:6;8832;8840;8848;8856;8864;8872;8925:3;8913:9;8904:7;8900:23;8896:33;8893:53;;;8942:1;8939;8932:12;8893:53;8981:9;8968:23;9000:31;9025:5;9000:31;:::i;:::-;9050:5;-1:-1:-1;9074:37:27;9107:2;9092:18;;9074:37;:::i;:::-;9064:47;;9162:2;9151:9;9147:18;9134:32;-1:-1:-1;;;;;9226:2:27;9218:6;9215:14;9212:34;;;9242:1;9239;9232:12;9212:34;9265:49;9306:7;9297:6;9286:9;9282:22;9265:49;:::i;:::-;9255:59;;9361:2;9350:9;9346:18;9333:32;9323:42;;9417:3;9406:9;9402:19;9389:33;9374:48;;9431:33;9456:7;9431:33;:::i;:::-;9483:7;;-1:-1:-1;9542:3:27;9527:19;;9514:33;;9556;9514;9556;:::i;:::-;9608:7;;-1:-1:-1;9668:3:27;9653:19;;9640:33;;9685:16;;;9682:36;;;9714:1;9711;9704:12;9682:36;;9737:51;9780:7;9769:8;9758:9;9754:24;9737:51;:::i;:::-;9727:61;;;8686:1108;;;;;;;;;;:::o;9799:464::-;9883:6;9891;9899;9952:2;9940:9;9931:7;9927:23;9923:32;9920:52;;;9968:1;9965;9958:12;9920:52;9991:28;10009:9;9991:28;:::i;:::-;9981:38;;10070:2;10059:9;10055:18;10042:32;-1:-1:-1;;;;;10089:6:27;10086:30;10083:50;;;10129:1;10126;10119:12;10083:50;10152:49;10193:7;10184:6;10173:9;10169:22;10152:49;:::i;:::-;10142:59;;;10220:37;10253:2;10242:9;10238:18;10220:37;:::i;:::-;10210:47;;9799:464;;;;;:::o;10673:256::-;10739:6;10747;10800:2;10788:9;10779:7;10775:23;10771:32;10768:52;;;10816:1;10813;10806:12;10768:52;10839:28;10857:9;10839:28;:::i;:::-;10829:38;;10886:37;10919:2;10908:9;10904:18;10886:37;:::i;:::-;10876:47;;10673:256;;;;;:::o;10934:320::-;11002:6;11055:2;11043:9;11034:7;11030:23;11026:32;11023:52;;;11071:1;11068;11061:12;11023:52;11111:9;11098:23;-1:-1:-1;;;;;11136:6:27;11133:30;11130:50;;;11176:1;11173;11166:12;11130:50;11199:49;11240:7;11231:6;11220:9;11216:22;11199:49;:::i;11259:315::-;11324:6;11332;11385:2;11373:9;11364:7;11360:23;11356:32;11353:52;;;11401:1;11398;11391:12;11353:52;11440:9;11427:23;11459:31;11484:5;11459:31;:::i;:::-;11509:5;-1:-1:-1;11533:35:27;11564:2;11549:18;;11533:35;:::i;11579:183::-;11639:4;-1:-1:-1;;;;;11664:6:27;11661:30;11658:56;;;11694:18;;:::i;:::-;-1:-1:-1;11739:1:27;11735:14;11751:4;11731:25;;11579:183::o;11767:662::-;11821:5;11874:3;11867:4;11859:6;11855:17;11851:27;11841:55;;11892:1;11889;11882:12;11841:55;11928:6;11915:20;11954:4;11978:60;11994:43;12034:2;11994:43;:::i;11978:60::-;12072:15;;;12158:1;12154:10;;;;12142:23;;12138:32;;;12103:12;;;;12182:15;;;12179:35;;;12210:1;12207;12200:12;12179:35;12246:2;12238:6;12234:15;12258:142;12274:6;12269:3;12266:15;12258:142;;;12340:17;;12328:30;;12378:12;;;;12291;;12258:142;;;-1:-1:-1;12418:5:27;11767:662;-1:-1:-1;;;;;;11767:662:27:o;12434:1199::-;12597:6;12605;12613;12621;12629;12637;12645;12698:3;12686:9;12677:7;12673:23;12669:33;12666:53;;;12715:1;12712;12705:12;12666:53;12754:9;12741:23;12773:31;12798:5;12773:31;:::i;:::-;12823:5;-1:-1:-1;12847:37:27;12880:2;12865:18;;12847:37;:::i;:::-;12837:47;;12935:2;12924:9;12920:18;12907:32;-1:-1:-1;;;;;12999:2:27;12991:6;12988:14;12985:34;;;13015:1;13012;13005:12;12985:34;13038:49;13079:7;13070:6;13059:9;13055:22;13038:49;:::i;:::-;13028:59;;13140:2;13129:9;13125:18;13112:32;13096:48;;13169:2;13159:8;13156:16;13153:36;;;13185:1;13182;13175:12;13153:36;13208:63;13263:7;13252:8;13241:9;13237:24;13208:63;:::i;:::-;13198:73;;13323:3;13312:9;13308:19;13295:33;13280:48;;13337:33;13362:7;13337:33;:::i;:::-;13389:7;13379:17;;13415:39;13449:3;13438:9;13434:19;13415:39;:::i;:::-;13405:49;;13507:3;13496:9;13492:19;13479:33;13463:49;;13537:2;13527:8;13524:16;13521:36;;;13553:1;13550;13543:12;14065:665;14160:6;14168;14176;14184;14237:3;14225:9;14216:7;14212:23;14208:33;14205:53;;;14254:1;14251;14244:12;14205:53;14293:9;14280:23;14312:31;14337:5;14312:31;:::i;:::-;14362:5;-1:-1:-1;14419:2:27;14404:18;;14391:32;14432:33;14391:32;14432:33;:::i;:::-;14484:7;-1:-1:-1;14538:2:27;14523:18;;14510:32;;-1:-1:-1;14593:2:27;14578:18;;14565:32;-1:-1:-1;;;;;14609:30:27;;14606:50;;;14652:1;14649;14642:12;14606:50;14675:49;14716:7;14707:6;14696:9;14692:22;14675:49;:::i;:::-;14665:59;;;14065:665;;;;;;;:::o;14735:622::-;14830:6;14838;14846;14854;14862;14915:3;14903:9;14894:7;14890:23;14886:33;14883:53;;;14932:1;14929;14922:12;14883:53;14955:28;14973:9;14955:28;:::i;:::-;14945:38;;15002:37;15035:2;15024:9;15020:18;15002:37;:::i;:::-;14992:47;;15086:2;15075:9;15071:18;15058:32;15048:42;;15141:2;15130:9;15126:18;15113:32;-1:-1:-1;;;;;15160:6:27;15157:30;15154:50;;;15200:1;15197;15190:12;15154:50;15239:58;15289:7;15280:6;15269:9;15265:22;15239:58;:::i;:::-;14735:622;;;;-1:-1:-1;14735:622:27;;-1:-1:-1;15316:8:27;;15213:84;14735:622;-1:-1:-1;;;14735:622:27:o;15362:324::-;15437:6;15445;15453;15506:2;15494:9;15485:7;15481:23;15477:32;15474:52;;;15522:1;15519;15512:12;15474:52;15545:28;15563:9;15545:28;:::i;:::-;15535:38;;15592:37;15625:2;15614:9;15610:18;15592:37;:::i;:::-;15582:47;;15676:2;15665:9;15661:18;15648:32;15638:42;;15362:324;;;;;:::o;15691:450::-;15760:6;15813:2;15801:9;15792:7;15788:23;15784:32;15781:52;;;15829:1;15826;15819:12;15781:52;15869:9;15856:23;-1:-1:-1;;;;;15894:6:27;15891:30;15888:50;;;15934:1;15931;15924:12;15888:50;15957:22;;16010:4;16002:13;;15998:27;-1:-1:-1;15988:55:27;;16039:1;16036;16029:12;15988:55;16062:73;16127:7;16122:2;16109:16;16104:2;16100;16096:11;16062:73;:::i;16146:388::-;16214:6;16222;16275:2;16263:9;16254:7;16250:23;16246:32;16243:52;;;16291:1;16288;16281:12;16243:52;16330:9;16317:23;16349:31;16374:5;16349:31;:::i;:::-;16399:5;-1:-1:-1;16456:2:27;16441:18;;16428:32;16469:33;16428:32;16469:33;:::i;:::-;16521:7;16511:17;;;16146:388;;;;;:::o;16539:907::-;16673:6;16681;16689;16697;16705;16758:3;16746:9;16737:7;16733:23;16729:33;16726:53;;;16775:1;16772;16765:12;16726:53;16798:28;16816:9;16798:28;:::i;:::-;16788:38;;16877:2;16866:9;16862:18;16849:32;-1:-1:-1;;;;;16941:2:27;16933:6;16930:14;16927:34;;;16957:1;16954;16947:12;16927:34;16980:49;17021:7;17012:6;17001:9;16997:22;16980:49;:::i;:::-;16970:59;;17082:2;17071:9;17067:18;17054:32;17038:48;;17111:2;17101:8;17098:16;17095:36;;;17127:1;17124;17117:12;17095:36;17150:63;17205:7;17194:8;17183:9;17179:24;17150:63;:::i;:::-;17140:73;;17232:35;17263:2;17252:9;17248:18;17232:35;:::i;17451:460::-;17535:6;17543;17551;17559;17612:3;17600:9;17591:7;17587:23;17583:33;17580:53;;;17629:1;17626;17619:12;17580:53;17652:28;17670:9;17652:28;:::i;:::-;17642:38;;17699:37;17732:2;17721:9;17717:18;17699:37;:::i;:::-;17689:47;;17786:2;17775:9;17771:18;17758:32;17799:31;17824:5;17799:31;:::i;:::-;17451:460;;;;-1:-1:-1;17849:5:27;;17901:2;17886:18;17873:32;;-1:-1:-1;;17451:460:27:o;18275:380::-;18354:1;18350:12;;;;18397;;;18418:61;;18472:4;18464:6;18460:17;18450:27;;18418:61;18525:2;18517:6;18514:14;18494:18;18491:38;18488:161;;;18571:10;18566:3;18562:20;18559:1;18552:31;18606:4;18603:1;18596:15;18634:4;18631:1;18624:15;18488:161;;18275:380;;;:::o;18660:271::-;18843:6;18835;18830:3;18817:33;18799:3;18869:16;;18894:13;;;18869:16;18660:271;-1:-1:-1;18660:271:27:o;20580:409::-;20782:2;20764:21;;;20821:2;20801:18;;;20794:30;20860:34;20855:2;20840:18;;20833:62;-1:-1:-1;;;20926:2:27;20911:18;;20904:43;20979:3;20964:19;;20580:409::o;21406:266::-;21494:6;21489:3;21482:19;21546:6;21539:5;21532:4;21527:3;21523:14;21510:43;-1:-1:-1;21598:1:27;21573:16;;;21591:4;21569:27;;;21562:38;;;;21654:2;21633:15;;;-1:-1:-1;;21629:29:27;21620:39;;;21616:50;;21406:266::o;21677:326::-;21872:6;21864;21860:19;21849:9;21842:38;21916:2;21911;21900:9;21896:18;21889:30;21823:4;21936:61;21993:2;21982:9;21978:18;21970:6;21962;21936:61;:::i;22421:127::-;22482:10;22477:3;22473:20;22470:1;22463:31;22513:4;22510:1;22503:15;22537:4;22534:1;22527:15;23313:127;23374:10;23369:3;23365:20;23362:1;23355:31;23405:4;23402:1;23395:15;23429:4;23426:1;23419:15;23445:135;23484:3;-1:-1:-1;;23505:17:27;;23502:43;;;23525:18;;:::i;:::-;-1:-1:-1;23572:1:27;23561:13;;23445:135::o;23585:168::-;23625:7;23691:1;23687;23683:6;23679:14;23676:1;23673:21;23668:1;23661:9;23654:17;23650:45;23647:71;;;23698:18;;:::i;:::-;-1:-1:-1;23738:9:27;;23585:168::o;23758:217::-;23798:1;23824;23814:132;;23868:10;23863:3;23859:20;23856:1;23849:31;23903:4;23900:1;23893:15;23931:4;23928:1;23921:15;23814:132;-1:-1:-1;23960:9:27;;23758:217::o;23980:125::-;24020:4;24048:1;24045;24042:8;24039:34;;;24053:18;;:::i;:::-;-1:-1:-1;24090:9:27;;23980:125::o;24110:128::-;24150:3;24181:1;24177:6;24174:1;24171:13;24168:39;;;24187:18;;:::i;:::-;-1:-1:-1;24223:9:27;;24110:128::o;24999:428::-;25052:5;25105:3;25098:4;25090:6;25086:17;25082:27;25072:55;;25123:1;25120;25113:12;25072:55;25152:6;25146:13;25183:48;25199:31;25227:2;25199:31;:::i;25183:48::-;25256:2;25247:7;25240:19;25302:3;25295:4;25290:2;25282:6;25278:15;25274:26;25271:35;25268:55;;;25319:1;25316;25309:12;25268:55;25332:64;25393:2;25386:4;25377:7;25373:18;25366:4;25358:6;25354:17;25332:64;:::i;25432:1104::-;25545:6;25553;25606:2;25594:9;25585:7;25581:23;25577:32;25574:52;;;25622:1;25619;25612:12;25574:52;25655:9;25649:16;-1:-1:-1;;;;;25725:2:27;25717:6;25714:14;25711:34;;;25741:1;25738;25731:12;25711:34;25764:60;25816:7;25807:6;25796:9;25792:22;25764:60;:::i;:::-;25754:70;;25843:2;25833:12;;25891:2;25880:9;25876:18;25870:25;25920:2;25910:8;25907:16;25904:36;;;25936:1;25933;25926:12;25904:36;25959:24;;;-1:-1:-1;26014:4:27;26006:13;;26002:27;-1:-1:-1;25992:55:27;;26043:1;26040;26033:12;25992:55;26072:2;26066:9;26095:60;26111:43;26151:2;26111:43;:::i;26095:60::-;26189:15;;;26271:1;26267:10;;;;26259:19;;26255:28;;;26220:12;;;;26295:19;;;26292:39;;;26327:1;26324;26317:12;26292:39;26351:11;;;;26371:135;26387:6;26382:3;26379:15;26371:135;;;26453:10;;26441:23;;26404:12;;;;26484;;;;26371:135;;;26525:5;26515:15;;;;;;;25432:1104;;;;;:::o;27976:382::-;28187:6;28179;28174:3;28161:33;28279:2;28275:15;;;;-1:-1:-1;;28271:53:27;28213:16;;28260:65;;;28349:2;28341:11;;27976:382;-1:-1:-1;27976:382:27:o;28363:498::-;28563:4;28592:6;28637:2;28629:6;28625:15;28614:9;28607:34;28689:2;28681:6;28677:15;28672:2;28661:9;28657:18;28650:43;;28729:6;28724:2;28713:9;28709:18;28702:34;28772:3;28767:2;28756:9;28752:18;28745:31;28793:62;28850:3;28839:9;28835:19;28827:6;28819;28793:62;:::i;:::-;28785:70;28363:498;-1:-1:-1;;;;;;;28363:498:27:o;30076:493::-;30325:6;30317;30313:19;30302:9;30295:38;30369:3;30364:2;30353:9;30349:18;30342:31;30276:4;30390:62;30447:3;30436:9;30432:19;30424:6;30416;30390:62;:::i;:::-;-1:-1:-1;;;;;30488:31:27;;;;30483:2;30468:18;;30461:59;-1:-1:-1;30551:2:27;30536:18;30529:34;30382:70;30076:493;-1:-1:-1;;;30076:493:27:o;31287:276::-;31418:3;31456:6;31450:13;31472:53;31518:6;31513:3;31506:4;31498:6;31494:17;31472:53;:::i;:::-;31541:16;;;;;31287:276;-1:-1:-1;;31287:276:27:o;31568:435::-;31621:3;31659:5;31653:12;31686:6;31681:3;31674:19;31712:4;31741:2;31736:3;31732:12;31725:19;;31778:2;31771:5;31767:14;31799:1;31809:169;31823:6;31820:1;31817:13;31809:169;;;31884:13;;31872:26;;31918:12;;;;31953:15;;;;31845:1;31838:9;31809:169;;;-1:-1:-1;31994:3:27;;31568:435;-1:-1:-1;;;;;31568:435:27:o;32008:422::-;32233:2;32222:9;32215:21;32196:4;32259:45;32300:2;32289:9;32285:18;32277:6;32259:45;:::i;:::-;32352:9;32344:6;32340:22;32335:2;32324:9;32320:18;32313:50;32380:44;32417:6;32409;32380:44;:::i;:::-;32372:52;32008:422;-1:-1:-1;;;;;32008:422:27:o;32435:642::-;32716:6;32704:19;;32686:38;;-1:-1:-1;;;;;32760:32:27;;32755:2;32740:18;;32733:60;32780:3;32824:2;32809:18;;32802:31;;;-1:-1:-1;;32856:46:27;;32882:19;;32874:6;32856:46;:::i;:::-;32952:6;32945:14;32938:22;32933:2;32922:9;32918:18;32911:50;33010:9;33002:6;32998:22;32992:3;32981:9;32977:19;32970:51;33038:33;33064:6;33056;33038:33;:::i;:::-;33030:41;32435:642;-1:-1:-1;;;;;;;;32435:642:27:o;33082:245::-;33161:6;33169;33222:2;33210:9;33201:7;33197:23;33193:32;33190:52;;;33238:1;33235;33228:12;33190:52;-1:-1:-1;;33261:16:27;;33317:2;33302:18;;;33296:25;33261:16;;33296:25;;-1:-1:-1;33082:245:27:o;34200:335::-;34279:6;34332:2;34320:9;34311:7;34307:23;34303:32;34300:52;;;34348:1;34345;34338:12;34300:52;34381:9;34375:16;-1:-1:-1;;;;;34406:6:27;34403:30;34400:50;;;34446:1;34443;34436:12;34400:50;34469:60;34521:7;34512:6;34501:9;34497:22;34469:60;:::i;34540:557::-;34797:6;34789;34785:19;34774:9;34767:38;34841:3;34836:2;34825:9;34821:18;34814:31;34748:4;34868:46;34909:3;34898:9;34894:19;34886:6;34868:46;:::i;:::-;-1:-1:-1;;;;;34954:6:27;34950:31;34945:2;34934:9;34930:18;34923:59;35030:9;35022:6;35018:22;35013:2;35002:9;34998:18;34991:50;35058:33;35084:6;35076;35058:33;:::i;35463:401::-;35665:2;35647:21;;;35704:2;35684:18;;;35677:30;35743:34;35738:2;35723:18;;35716:62;-1:-1:-1;;;35809:2:27;35794:18;;35787:35;35854:3;35839:19;;35463:401::o;37304:261::-;37483:2;37472:9;37465:21;37446:4;37503:56;37555:2;37544:9;37540:18;37532:6;37503:56;:::i;37570:289::-;37745:6;37734:9;37727:25;37788:2;37783;37772:9;37768:18;37761:30;37708:4;37808:45;37849:2;37838:9;37834:18;37826:6;37808:45;:::i;39267:414::-;39469:2;39451:21;;;39508:2;39488:18;;;39481:30;39547:34;39542:2;39527:18;;39520:62;-1:-1:-1;;;39613:2:27;39598:18;;39591:48;39671:3;39656:19;;39267:414::o;39686:719::-;39989:6;39981;39977:19;39966:9;39959:38;40033:3;40028:2;40017:9;40013:18;40006:31;39940:4;40060:46;40101:3;40090:9;40086:19;40078:6;40060:46;:::i;:::-;-1:-1:-1;;;;;40146:6:27;40142:31;40137:2;40126:9;40122:18;40115:59;40222:9;40214:6;40210:22;40205:2;40194:9;40190:18;40183:50;40256:33;40282:6;40274;40256:33;:::i;:::-;40242:47;;40338:9;40330:6;40326:22;40320:3;40309:9;40305:19;40298:51;40366:33;40392:6;40384;40366:33;:::i;42356:840::-;42705:6;42697;42693:19;42682:9;42675:38;42749:3;42744:2;42733:9;42729:18;42722:31;42656:4;42776:46;42817:3;42806:9;42802:19;42794:6;42776:46;:::i;:::-;42870:9;42862:6;42858:22;42853:2;42842:9;42838:18;42831:50;42904:33;42930:6;42922;42904:33;:::i;:::-;-1:-1:-1;;;;;43011:15:27;;;43006:2;42991:18;;42984:43;43064:15;;43058:3;43043:19;;43036:44;43117:22;;;42964:3;43096:19;;43089:51;42890:47;-1:-1:-1;43157:33:27;42890:47;43175:6;43157:33;:::i;:::-;43149:41;42356:840;-1:-1:-1;;;;;;;;;42356:840:27:o;43201:489::-;-1:-1:-1;;;;;43470:15:27;;;43452:34;;43522:15;;43517:2;43502:18;;43495:43;43569:2;43554:18;;43547:34;;;43617:3;43612:2;43597:18;;43590:31;;;43395:4;;43638:46;;43664:19;;43656:6;43638:46;:::i;:::-;43630:54;43201:489;-1:-1:-1;;;;;;43201:489:27:o;43695:249::-;43764:6;43817:2;43805:9;43796:7;43792:23;43788:32;43785:52;;;43833:1;43830;43823:12;43785:52;43865:9;43859:16;43884:30;43908:5;43884:30;:::i;45807:127::-;45868:10;45863:3;45859:20;45856:1;45849:31;45899:4;45896:1;45889:15;45923:4;45920:1;45913:15
Swarm Source
ipfs://8e4f6854f9eabb06f92736970784e1a0ca9a6cba811d20af883691eab0345ba6
[ 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.