Overview
TokenID
8410
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
lzCore
Compiler Version
v0.8.10+commit.fc410830
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-19 */ // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_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) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @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] = _HEX_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); } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // 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); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // 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); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * 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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @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 = _owners[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 nor 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 nor 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 nor 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 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 _owners[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); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @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); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @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. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @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 Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); 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(); } } // File: @openzeppelin/contracts/utils/math/SafeMath.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/utils/math/SafeCast.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/math/SafeCast.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint248 from uint256, reverting on * overflow (when the input is greater than largest uint248). * * Counterpart to Solidity's `uint248` operator. * * Requirements: * * - input must fit into 248 bits * * _Available since v4.7._ */ function toUint248(uint256 value) internal pure returns (uint248) { require(value <= type(uint248).max, "SafeCast: value doesn't fit in 248 bits"); return uint248(value); } /** * @dev Returns the downcasted uint240 from uint256, reverting on * overflow (when the input is greater than largest uint240). * * Counterpart to Solidity's `uint240` operator. * * Requirements: * * - input must fit into 240 bits * * _Available since v4.7._ */ function toUint240(uint256 value) internal pure returns (uint240) { require(value <= type(uint240).max, "SafeCast: value doesn't fit in 240 bits"); return uint240(value); } /** * @dev Returns the downcasted uint232 from uint256, reverting on * overflow (when the input is greater than largest uint232). * * Counterpart to Solidity's `uint232` operator. * * Requirements: * * - input must fit into 232 bits * * _Available since v4.7._ */ function toUint232(uint256 value) internal pure returns (uint232) { require(value <= type(uint232).max, "SafeCast: value doesn't fit in 232 bits"); return uint232(value); } /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits * * _Available since v4.2._ */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint216 from uint256, reverting on * overflow (when the input is greater than largest uint216). * * Counterpart to Solidity's `uint216` operator. * * Requirements: * * - input must fit into 216 bits * * _Available since v4.7._ */ function toUint216(uint256 value) internal pure returns (uint216) { require(value <= type(uint216).max, "SafeCast: value doesn't fit in 216 bits"); return uint216(value); } /** * @dev Returns the downcasted uint208 from uint256, reverting on * overflow (when the input is greater than largest uint208). * * Counterpart to Solidity's `uint208` operator. * * Requirements: * * - input must fit into 208 bits * * _Available since v4.7._ */ function toUint208(uint256 value) internal pure returns (uint208) { require(value <= type(uint208).max, "SafeCast: value doesn't fit in 208 bits"); return uint208(value); } /** * @dev Returns the downcasted uint200 from uint256, reverting on * overflow (when the input is greater than largest uint200). * * Counterpart to Solidity's `uint200` operator. * * Requirements: * * - input must fit into 200 bits * * _Available since v4.7._ */ function toUint200(uint256 value) internal pure returns (uint200) { require(value <= type(uint200).max, "SafeCast: value doesn't fit in 200 bits"); return uint200(value); } /** * @dev Returns the downcasted uint192 from uint256, reverting on * overflow (when the input is greater than largest uint192). * * Counterpart to Solidity's `uint192` operator. * * Requirements: * * - input must fit into 192 bits * * _Available since v4.7._ */ function toUint192(uint256 value) internal pure returns (uint192) { require(value <= type(uint192).max, "SafeCast: value doesn't fit in 192 bits"); return uint192(value); } /** * @dev Returns the downcasted uint184 from uint256, reverting on * overflow (when the input is greater than largest uint184). * * Counterpart to Solidity's `uint184` operator. * * Requirements: * * - input must fit into 184 bits * * _Available since v4.7._ */ function toUint184(uint256 value) internal pure returns (uint184) { require(value <= type(uint184).max, "SafeCast: value doesn't fit in 184 bits"); return uint184(value); } /** * @dev Returns the downcasted uint176 from uint256, reverting on * overflow (when the input is greater than largest uint176). * * Counterpart to Solidity's `uint176` operator. * * Requirements: * * - input must fit into 176 bits * * _Available since v4.7._ */ function toUint176(uint256 value) internal pure returns (uint176) { require(value <= type(uint176).max, "SafeCast: value doesn't fit in 176 bits"); return uint176(value); } /** * @dev Returns the downcasted uint168 from uint256, reverting on * overflow (when the input is greater than largest uint168). * * Counterpart to Solidity's `uint168` operator. * * Requirements: * * - input must fit into 168 bits * * _Available since v4.7._ */ function toUint168(uint256 value) internal pure returns (uint168) { require(value <= type(uint168).max, "SafeCast: value doesn't fit in 168 bits"); return uint168(value); } /** * @dev Returns the downcasted uint160 from uint256, reverting on * overflow (when the input is greater than largest uint160). * * Counterpart to Solidity's `uint160` operator. * * Requirements: * * - input must fit into 160 bits * * _Available since v4.7._ */ function toUint160(uint256 value) internal pure returns (uint160) { require(value <= type(uint160).max, "SafeCast: value doesn't fit in 160 bits"); return uint160(value); } /** * @dev Returns the downcasted uint152 from uint256, reverting on * overflow (when the input is greater than largest uint152). * * Counterpart to Solidity's `uint152` operator. * * Requirements: * * - input must fit into 152 bits * * _Available since v4.7._ */ function toUint152(uint256 value) internal pure returns (uint152) { require(value <= type(uint152).max, "SafeCast: value doesn't fit in 152 bits"); return uint152(value); } /** * @dev Returns the downcasted uint144 from uint256, reverting on * overflow (when the input is greater than largest uint144). * * Counterpart to Solidity's `uint144` operator. * * Requirements: * * - input must fit into 144 bits * * _Available since v4.7._ */ function toUint144(uint256 value) internal pure returns (uint144) { require(value <= type(uint144).max, "SafeCast: value doesn't fit in 144 bits"); return uint144(value); } /** * @dev Returns the downcasted uint136 from uint256, reverting on * overflow (when the input is greater than largest uint136). * * Counterpart to Solidity's `uint136` operator. * * Requirements: * * - input must fit into 136 bits * * _Available since v4.7._ */ function toUint136(uint256 value) internal pure returns (uint136) { require(value <= type(uint136).max, "SafeCast: value doesn't fit in 136 bits"); return uint136(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v2.5._ */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint120 from uint256, reverting on * overflow (when the input is greater than largest uint120). * * Counterpart to Solidity's `uint120` operator. * * Requirements: * * - input must fit into 120 bits * * _Available since v4.7._ */ function toUint120(uint256 value) internal pure returns (uint120) { require(value <= type(uint120).max, "SafeCast: value doesn't fit in 120 bits"); return uint120(value); } /** * @dev Returns the downcasted uint112 from uint256, reverting on * overflow (when the input is greater than largest uint112). * * Counterpart to Solidity's `uint112` operator. * * Requirements: * * - input must fit into 112 bits * * _Available since v4.7._ */ function toUint112(uint256 value) internal pure returns (uint112) { require(value <= type(uint112).max, "SafeCast: value doesn't fit in 112 bits"); return uint112(value); } /** * @dev Returns the downcasted uint104 from uint256, reverting on * overflow (when the input is greater than largest uint104). * * Counterpart to Solidity's `uint104` operator. * * Requirements: * * - input must fit into 104 bits * * _Available since v4.7._ */ function toUint104(uint256 value) internal pure returns (uint104) { require(value <= type(uint104).max, "SafeCast: value doesn't fit in 104 bits"); return uint104(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits * * _Available since v4.2._ */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint88 from uint256, reverting on * overflow (when the input is greater than largest uint88). * * Counterpart to Solidity's `uint88` operator. * * Requirements: * * - input must fit into 88 bits * * _Available since v4.7._ */ function toUint88(uint256 value) internal pure returns (uint88) { require(value <= type(uint88).max, "SafeCast: value doesn't fit in 88 bits"); return uint88(value); } /** * @dev Returns the downcasted uint80 from uint256, reverting on * overflow (when the input is greater than largest uint80). * * Counterpart to Solidity's `uint80` operator. * * Requirements: * * - input must fit into 80 bits * * _Available since v4.7._ */ function toUint80(uint256 value) internal pure returns (uint80) { require(value <= type(uint80).max, "SafeCast: value doesn't fit in 80 bits"); return uint80(value); } /** * @dev Returns the downcasted uint72 from uint256, reverting on * overflow (when the input is greater than largest uint72). * * Counterpart to Solidity's `uint72` operator. * * Requirements: * * - input must fit into 72 bits * * _Available since v4.7._ */ function toUint72(uint256 value) internal pure returns (uint72) { require(value <= type(uint72).max, "SafeCast: value doesn't fit in 72 bits"); return uint72(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v2.5._ */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint56 from uint256, reverting on * overflow (when the input is greater than largest uint56). * * Counterpart to Solidity's `uint56` operator. * * Requirements: * * - input must fit into 56 bits * * _Available since v4.7._ */ function toUint56(uint256 value) internal pure returns (uint56) { require(value <= type(uint56).max, "SafeCast: value doesn't fit in 56 bits"); return uint56(value); } /** * @dev Returns the downcasted uint48 from uint256, reverting on * overflow (when the input is greater than largest uint48). * * Counterpart to Solidity's `uint48` operator. * * Requirements: * * - input must fit into 48 bits * * _Available since v4.7._ */ function toUint48(uint256 value) internal pure returns (uint48) { require(value <= type(uint48).max, "SafeCast: value doesn't fit in 48 bits"); return uint48(value); } /** * @dev Returns the downcasted uint40 from uint256, reverting on * overflow (when the input is greater than largest uint40). * * Counterpart to Solidity's `uint40` operator. * * Requirements: * * - input must fit into 40 bits * * _Available since v4.7._ */ function toUint40(uint256 value) internal pure returns (uint40) { require(value <= type(uint40).max, "SafeCast: value doesn't fit in 40 bits"); return uint40(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v2.5._ */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint24 from uint256, reverting on * overflow (when the input is greater than largest uint24). * * Counterpart to Solidity's `uint24` operator. * * Requirements: * * - input must fit into 24 bits * * _Available since v4.7._ */ function toUint24(uint256 value) internal pure returns (uint24) { require(value <= type(uint24).max, "SafeCast: value doesn't fit in 24 bits"); return uint24(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v2.5._ */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits * * _Available since v2.5._ */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. * * _Available since v3.0._ */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int248 from int256, reverting on * overflow (when the input is less than smallest int248 or * greater than largest int248). * * Counterpart to Solidity's `int248` operator. * * Requirements: * * - input must fit into 248 bits * * _Available since v4.7._ */ function toInt248(int256 value) internal pure returns (int248) { require(value >= type(int248).min && value <= type(int248).max, "SafeCast: value doesn't fit in 248 bits"); return int248(value); } /** * @dev Returns the downcasted int240 from int256, reverting on * overflow (when the input is less than smallest int240 or * greater than largest int240). * * Counterpart to Solidity's `int240` operator. * * Requirements: * * - input must fit into 240 bits * * _Available since v4.7._ */ function toInt240(int256 value) internal pure returns (int240) { require(value >= type(int240).min && value <= type(int240).max, "SafeCast: value doesn't fit in 240 bits"); return int240(value); } /** * @dev Returns the downcasted int232 from int256, reverting on * overflow (when the input is less than smallest int232 or * greater than largest int232). * * Counterpart to Solidity's `int232` operator. * * Requirements: * * - input must fit into 232 bits * * _Available since v4.7._ */ function toInt232(int256 value) internal pure returns (int232) { require(value >= type(int232).min && value <= type(int232).max, "SafeCast: value doesn't fit in 232 bits"); return int232(value); } /** * @dev Returns the downcasted int224 from int256, reverting on * overflow (when the input is less than smallest int224 or * greater than largest int224). * * Counterpart to Solidity's `int224` operator. * * Requirements: * * - input must fit into 224 bits * * _Available since v4.7._ */ function toInt224(int256 value) internal pure returns (int224) { require(value >= type(int224).min && value <= type(int224).max, "SafeCast: value doesn't fit in 224 bits"); return int224(value); } /** * @dev Returns the downcasted int216 from int256, reverting on * overflow (when the input is less than smallest int216 or * greater than largest int216). * * Counterpart to Solidity's `int216` operator. * * Requirements: * * - input must fit into 216 bits * * _Available since v4.7._ */ function toInt216(int256 value) internal pure returns (int216) { require(value >= type(int216).min && value <= type(int216).max, "SafeCast: value doesn't fit in 216 bits"); return int216(value); } /** * @dev Returns the downcasted int208 from int256, reverting on * overflow (when the input is less than smallest int208 or * greater than largest int208). * * Counterpart to Solidity's `int208` operator. * * Requirements: * * - input must fit into 208 bits * * _Available since v4.7._ */ function toInt208(int256 value) internal pure returns (int208) { require(value >= type(int208).min && value <= type(int208).max, "SafeCast: value doesn't fit in 208 bits"); return int208(value); } /** * @dev Returns the downcasted int200 from int256, reverting on * overflow (when the input is less than smallest int200 or * greater than largest int200). * * Counterpart to Solidity's `int200` operator. * * Requirements: * * - input must fit into 200 bits * * _Available since v4.7._ */ function toInt200(int256 value) internal pure returns (int200) { require(value >= type(int200).min && value <= type(int200).max, "SafeCast: value doesn't fit in 200 bits"); return int200(value); } /** * @dev Returns the downcasted int192 from int256, reverting on * overflow (when the input is less than smallest int192 or * greater than largest int192). * * Counterpart to Solidity's `int192` operator. * * Requirements: * * - input must fit into 192 bits * * _Available since v4.7._ */ function toInt192(int256 value) internal pure returns (int192) { require(value >= type(int192).min && value <= type(int192).max, "SafeCast: value doesn't fit in 192 bits"); return int192(value); } /** * @dev Returns the downcasted int184 from int256, reverting on * overflow (when the input is less than smallest int184 or * greater than largest int184). * * Counterpart to Solidity's `int184` operator. * * Requirements: * * - input must fit into 184 bits * * _Available since v4.7._ */ function toInt184(int256 value) internal pure returns (int184) { require(value >= type(int184).min && value <= type(int184).max, "SafeCast: value doesn't fit in 184 bits"); return int184(value); } /** * @dev Returns the downcasted int176 from int256, reverting on * overflow (when the input is less than smallest int176 or * greater than largest int176). * * Counterpart to Solidity's `int176` operator. * * Requirements: * * - input must fit into 176 bits * * _Available since v4.7._ */ function toInt176(int256 value) internal pure returns (int176) { require(value >= type(int176).min && value <= type(int176).max, "SafeCast: value doesn't fit in 176 bits"); return int176(value); } /** * @dev Returns the downcasted int168 from int256, reverting on * overflow (when the input is less than smallest int168 or * greater than largest int168). * * Counterpart to Solidity's `int168` operator. * * Requirements: * * - input must fit into 168 bits * * _Available since v4.7._ */ function toInt168(int256 value) internal pure returns (int168) { require(value >= type(int168).min && value <= type(int168).max, "SafeCast: value doesn't fit in 168 bits"); return int168(value); } /** * @dev Returns the downcasted int160 from int256, reverting on * overflow (when the input is less than smallest int160 or * greater than largest int160). * * Counterpart to Solidity's `int160` operator. * * Requirements: * * - input must fit into 160 bits * * _Available since v4.7._ */ function toInt160(int256 value) internal pure returns (int160) { require(value >= type(int160).min && value <= type(int160).max, "SafeCast: value doesn't fit in 160 bits"); return int160(value); } /** * @dev Returns the downcasted int152 from int256, reverting on * overflow (when the input is less than smallest int152 or * greater than largest int152). * * Counterpart to Solidity's `int152` operator. * * Requirements: * * - input must fit into 152 bits * * _Available since v4.7._ */ function toInt152(int256 value) internal pure returns (int152) { require(value >= type(int152).min && value <= type(int152).max, "SafeCast: value doesn't fit in 152 bits"); return int152(value); } /** * @dev Returns the downcasted int144 from int256, reverting on * overflow (when the input is less than smallest int144 or * greater than largest int144). * * Counterpart to Solidity's `int144` operator. * * Requirements: * * - input must fit into 144 bits * * _Available since v4.7._ */ function toInt144(int256 value) internal pure returns (int144) { require(value >= type(int144).min && value <= type(int144).max, "SafeCast: value doesn't fit in 144 bits"); return int144(value); } /** * @dev Returns the downcasted int136 from int256, reverting on * overflow (when the input is less than smallest int136 or * greater than largest int136). * * Counterpart to Solidity's `int136` operator. * * Requirements: * * - input must fit into 136 bits * * _Available since v4.7._ */ function toInt136(int256 value) internal pure returns (int136) { require(value >= type(int136).min && value <= type(int136).max, "SafeCast: value doesn't fit in 136 bits"); return int136(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int120 from int256, reverting on * overflow (when the input is less than smallest int120 or * greater than largest int120). * * Counterpart to Solidity's `int120` operator. * * Requirements: * * - input must fit into 120 bits * * _Available since v4.7._ */ function toInt120(int256 value) internal pure returns (int120) { require(value >= type(int120).min && value <= type(int120).max, "SafeCast: value doesn't fit in 120 bits"); return int120(value); } /** * @dev Returns the downcasted int112 from int256, reverting on * overflow (when the input is less than smallest int112 or * greater than largest int112). * * Counterpart to Solidity's `int112` operator. * * Requirements: * * - input must fit into 112 bits * * _Available since v4.7._ */ function toInt112(int256 value) internal pure returns (int112) { require(value >= type(int112).min && value <= type(int112).max, "SafeCast: value doesn't fit in 112 bits"); return int112(value); } /** * @dev Returns the downcasted int104 from int256, reverting on * overflow (when the input is less than smallest int104 or * greater than largest int104). * * Counterpart to Solidity's `int104` operator. * * Requirements: * * - input must fit into 104 bits * * _Available since v4.7._ */ function toInt104(int256 value) internal pure returns (int104) { require(value >= type(int104).min && value <= type(int104).max, "SafeCast: value doesn't fit in 104 bits"); return int104(value); } /** * @dev Returns the downcasted int96 from int256, reverting on * overflow (when the input is less than smallest int96 or * greater than largest int96). * * Counterpart to Solidity's `int96` operator. * * Requirements: * * - input must fit into 96 bits * * _Available since v4.7._ */ function toInt96(int256 value) internal pure returns (int96) { require(value >= type(int96).min && value <= type(int96).max, "SafeCast: value doesn't fit in 96 bits"); return int96(value); } /** * @dev Returns the downcasted int88 from int256, reverting on * overflow (when the input is less than smallest int88 or * greater than largest int88). * * Counterpart to Solidity's `int88` operator. * * Requirements: * * - input must fit into 88 bits * * _Available since v4.7._ */ function toInt88(int256 value) internal pure returns (int88) { require(value >= type(int88).min && value <= type(int88).max, "SafeCast: value doesn't fit in 88 bits"); return int88(value); } /** * @dev Returns the downcasted int80 from int256, reverting on * overflow (when the input is less than smallest int80 or * greater than largest int80). * * Counterpart to Solidity's `int80` operator. * * Requirements: * * - input must fit into 80 bits * * _Available since v4.7._ */ function toInt80(int256 value) internal pure returns (int80) { require(value >= type(int80).min && value <= type(int80).max, "SafeCast: value doesn't fit in 80 bits"); return int80(value); } /** * @dev Returns the downcasted int72 from int256, reverting on * overflow (when the input is less than smallest int72 or * greater than largest int72). * * Counterpart to Solidity's `int72` operator. * * Requirements: * * - input must fit into 72 bits * * _Available since v4.7._ */ function toInt72(int256 value) internal pure returns (int72) { require(value >= type(int72).min && value <= type(int72).max, "SafeCast: value doesn't fit in 72 bits"); return int72(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int56 from int256, reverting on * overflow (when the input is less than smallest int56 or * greater than largest int56). * * Counterpart to Solidity's `int56` operator. * * Requirements: * * - input must fit into 56 bits * * _Available since v4.7._ */ function toInt56(int256 value) internal pure returns (int56) { require(value >= type(int56).min && value <= type(int56).max, "SafeCast: value doesn't fit in 56 bits"); return int56(value); } /** * @dev Returns the downcasted int48 from int256, reverting on * overflow (when the input is less than smallest int48 or * greater than largest int48). * * Counterpart to Solidity's `int48` operator. * * Requirements: * * - input must fit into 48 bits * * _Available since v4.7._ */ function toInt48(int256 value) internal pure returns (int48) { require(value >= type(int48).min && value <= type(int48).max, "SafeCast: value doesn't fit in 48 bits"); return int48(value); } /** * @dev Returns the downcasted int40 from int256, reverting on * overflow (when the input is less than smallest int40 or * greater than largest int40). * * Counterpart to Solidity's `int40` operator. * * Requirements: * * - input must fit into 40 bits * * _Available since v4.7._ */ function toInt40(int256 value) internal pure returns (int40) { require(value >= type(int40).min && value <= type(int40).max, "SafeCast: value doesn't fit in 40 bits"); return int40(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int24 from int256, reverting on * overflow (when the input is less than smallest int24 or * greater than largest int24). * * Counterpart to Solidity's `int24` operator. * * Requirements: * * - input must fit into 24 bits * * _Available since v4.7._ */ function toInt24(int256 value) internal pure returns (int24) { require(value >= type(int24).min && value <= type(int24).max, "SafeCast: value doesn't fit in 24 bits"); return int24(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. * * _Available since v3.0._ */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } } // File: @chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.sol pragma solidity ^0.8.0; interface AggregatorInterface { function latestAnswer() external view returns (int256); function latestTimestamp() external view returns (uint256); function latestRound() external view returns (uint256); function getAnswer(uint256 roundId) external view returns (int256); function getTimestamp(uint256 roundId) external view returns (uint256); event AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt); event NewRound(uint256 indexed roundId, address indexed startedBy, uint256 startedAt); } // File: Ethereum.sol 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; } // File: contracts/interfaces/ILayerZeroEndpoint.sol pragma solidity >=0.5.0; 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 receiver 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); } // File: contracts/interfaces/ILayerZeroReceiver.sol 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; } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/NonblockingReceiver.sol pragma solidity ^0.8.6; abstract contract NonblockingReceiver is Ownable, ILayerZeroReceiver { ILayerZeroEndpoint internal endpoint; struct FailedMessages { uint payloadLength; bytes32 payloadHash; } mapping(uint16 => mapping(bytes => mapping(uint => FailedMessages))) public failedMessages; mapping(uint16 => bytes) public trustedRemoteLookup; event MessageFailed(uint16 _srcChainId, bytes _srcAddress, uint64 _nonce, bytes _payload); function lzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) external override { require(msg.sender == address(endpoint)); // boilerplate! lzReceive must be called by the endpoint for security require(_srcAddress.length == trustedRemoteLookup[_srcChainId].length && keccak256(_srcAddress) == keccak256(trustedRemoteLookup[_srcChainId]), "NonblockingReceiver: invalid source sending contract"); // try-catch all errors/exceptions // having failed messages does not block messages passing try this.onLzReceive(_srcChainId, _srcAddress, _nonce, _payload) { // do nothing } catch { // error / exception failedMessages[_srcChainId][_srcAddress][_nonce] = FailedMessages(_payload.length, keccak256(_payload)); emit MessageFailed(_srcChainId, _srcAddress, _nonce, _payload); } } function onLzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) public { // only internal transaction require(msg.sender == address(this), "NonblockingReceiver: caller must be Bridge."); // handle incoming message _LzReceive( _srcChainId, _srcAddress, _nonce, _payload); } // abstract function function _LzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) virtual internal; function _lzSend(uint16 _dstChainId, bytes memory _payload, address payable _refundAddress, address _zroPaymentAddress, bytes memory _txParam) internal { endpoint.send{value: msg.value}(_dstChainId, trustedRemoteLookup[_dstChainId], _payload, _refundAddress, _zroPaymentAddress, _txParam); } function retryMessage(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes calldata _payload) external payable { // assert there is message to retry FailedMessages storage failedMsg = failedMessages[_srcChainId][_srcAddress][_nonce]; require(failedMsg.payloadHash != bytes32(0), "NonblockingReceiver: no stored message"); require(_payload.length == failedMsg.payloadLength && keccak256(_payload) == failedMsg.payloadHash, "LayerZero: invalid payload"); // clear the stored message failedMsg.payloadLength = 0; failedMsg.payloadHash = bytes32(0); // execute the message. revert if it fails again this.onLzReceive(_srcChainId, _srcAddress, _nonce, _payload); } function setTrustedRemote(uint16 _chainId, bytes calldata _trustedRemote) external onlyOwner { trustedRemoteLookup[_chainId] = _trustedRemote; } } // File: contracts/GhostlyGhosts.sol pragma solidity ^0.8.7; /* * _ ______ _____ _ * | | |___ / | __ \ (_) * | | / / | | | | ___ _ __ ___ __ _ _ _ __ ___ * | | / / | | | |/ _ \| '_ ` _ \ / _` | | '_ \/ __| * | |____ / /__ | |__| | (_) | | | | | | (_| | | | | \__ \ * |______/_____| |_____/ \___/|_| |_| |_|\__,_|_|_| |_|___/ * * */ contract lzCore is Ownable, ERC721Enumerable, NonblockingReceiver { using SafeCast for int256; using SafeMath for uint256; AggregatorInterface internal ethUSDAPI; /* Ethereum , Binance Chain , Avalanche , Arbitrum , Optimism , Fantom , Polygon , Harmony , */ string public chainName = "Ethereum"; bool public paused = true; string public baseURI; int256 private fiveLetter= 5000000000000000000 * 10 **18; int256 private fourLetter= 30000000000000000000 * 10 **18; int256 private threeLetter= 100000000000000000000 * 10 **18; uint256 private tolerance = 98; uint gasForDestinationLzReceive = 350000; uint256 count = 0; struct domainLogs{ uint256 time; uint256 nftID; } mapping(string => domainLogs) public domainsData; struct domainInfos{ string name; } mapping(uint256 => domainInfos) public domainInfo; constructor(string memory baseURI_, address _layerZeroEndpoint) ERC721("Layer Zero Name Service", "LZNM") { endpoint = ILayerZeroEndpoint(_layerZeroEndpoint); baseURI = baseURI_; ethUSDAPI = AggregatorInterface(0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419); } receive() external payable { /* thanks <3 */ } function ethUSD() public view returns (int256) { return ethUSDAPI.latestAnswer()*10**10; } function burnExpiredDomain(string memory domainName) public onlyOwner{ require(domainsData[domainName].time < block.timestamp, "Domain is not expired. Error #66"); if(_exists(domainsData[domainName].nftID)){ _burn(domainsData[domainName].nftID); } delete domainInfo[domainsData[domainName].nftID].name; domainsData[domainName].time = 0; domainsData[domainName].nftID = 0; } function otherChainRenew(string memory domainName , uint256 newTime) public onlyOwner{ domainsData[domainName].time = newTime; } function register(string memory domainName , uint256 year) public payable{ require(!paused , "Register now not avaliable. Try again later. Error #1"); require(year >= 1 , "Invalid year value. Error #30"); require(bytes(domainName).length >= 3, "Name is too short. Names must be at least 3 characters long. Error #2"); require(checkDomainAvaliable(domainName) == true , "Domain unavaliable (Has been registered). Error #41"); uint256 price = domainPrice(domainName) * year; require(msg.value >= (price / 100) * tolerance , "Check register price. Error #3"); domainsData[domainName].time = block.timestamp + year * 31557600; domainsData[domainName].nftID = count + 1; //set domain names domainInfo[count + 1].name = domainName; _safeMint(msg.sender, count + 1); count += 1; } function renew(string memory domainName , uint256 year) public payable{ require(bytes(domainName).length >= 3, "Name is too short. Names must be at least 3 characters long. Error #45"); require(msg.sender == ownerOf(domainsData[domainName].nftID) , "Access denied. Error #35"); uint256 price = domainPrice(domainName) * year; require(msg.value >= (price / 100) * tolerance , "Check register price. Error #32"); domainsData[domainName].time += year * 31557600; } function domainPrice(string memory domainName) public view returns(uint256){ uint256 lenCount = bytes(domainName).length; if (lenCount <= 3){ return (threeLetter / ethUSD()).toUint256(); } else if(lenCount == 4){ return (fourLetter / ethUSD()).toUint256(); } else if(lenCount >= 5){ return (fiveLetter / ethUSD()).toUint256(); } } function checkDomainAvaliable(string memory domainName) public view returns(bool){ if( domainsData[domainName].time == 0 ){ return true; } else{ return false; } } function estimateFeesView(uint16 _chainId, uint tokenId) public view returns (uint) { bytes memory payload = abi.encode(msg.sender , tokenId , domainsData[domainInfo[tokenId].name].time , domainInfo[tokenId].name); uint16 version = 1; bytes memory adapterParams = abi.encodePacked(version, gasForDestinationLzReceive); (uint messageFee, ) = endpoint.estimateFees(_chainId, address(this), payload, false, adapterParams); return messageFee; } function traverseChains(uint16 _chainId, uint tokenId) public payable { require(msg.sender == ownerOf(tokenId), "You must own the token to traverse"); require(trustedRemoteLookup[_chainId].length > 0, "This chain is currently unavailable for travel"); bytes memory payload = abi.encode(msg.sender , tokenId , domainsData[domainInfo[tokenId].name].time , domainInfo[tokenId].name); uint16 version = 1; bytes memory adapterParams = abi.encodePacked(version, gasForDestinationLzReceive); (uint messageFee, ) = endpoint.estimateFees(_chainId, address(this), payload, false, adapterParams); require(msg.value >= messageFee, "LZ: msg.value not enough to cover messageFee. Send gas for message fees"); endpoint.send{value: msg.value}( _chainId, trustedRemoteLookup[_chainId], payload, payable(msg.sender), address(0x0), adapterParams ); _burn(tokenId); } function _LzReceive(uint16 _srcChainId, bytes memory _srcAddress, uint64 _nonce, bytes memory _payload) override internal { // decode (address toAddr, uint tokenId, uint256 time, string memory domainName) = abi.decode(_payload, (address, uint, uint256, string)); domainsData[domainName].time = time; domainsData[domainName].nftID = tokenId; domainInfo[tokenId].name = domainName; _safeMint(toAddr, tokenId); } function changePaused() external onlyOwner{ if (paused == true) { paused = false; } else{ paused = true; } } function changePrice(int256 a , int256 b , int256 c) public onlyOwner{ if (a != 0){ threeLetter = a; } if ( b != 0){ fourLetter = b; } if (c != 0){ fiveLetter = c; } } function setBaseURI(string memory URI) external onlyOwner { baseURI = URI; } function withdraw() public payable onlyOwner { (bool sent, ) = payable(owner()).call{value: address(this).balance}(""); require(sent); } function setGasForDestinationLzReceive(uint newVal) external onlyOwner { gasForDestinationLzReceive = newVal; } function changeTolerance(uint256 newTolerance) public onlyOwner{ tolerance = newTolerance; } function getCount() public view returns(uint256){ return count; } function _baseURI() override internal view returns (string memory) { return baseURI; } function walletOfOwner(address _owner) public view returns(uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds [i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"address","name":"_layerZeroEndpoint","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"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":"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"}],"name":"MessageFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"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":[{"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"domainName","type":"string"}],"name":"burnExpiredDomain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"chainName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"changePaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"a","type":"int256"},{"internalType":"int256","name":"b","type":"int256"},{"internalType":"int256","name":"c","type":"int256"}],"name":"changePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTolerance","type":"uint256"}],"name":"changeTolerance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"domainName","type":"string"}],"name":"checkDomainAvaliable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"domainInfo","outputs":[{"internalType":"string","name":"name","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"domainName","type":"string"}],"name":"domainPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"domainsData","outputs":[{"internalType":"uint256","name":"time","type":"uint256"},{"internalType":"uint256","name":"nftID","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"estimateFeesView","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ethUSD","outputs":[{"internalType":"int256","name":"","type":"int256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"bytes","name":"","type":"bytes"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"failedMessages","outputs":[{"internalType":"uint256","name":"payloadLength","type":"uint256"},{"internalType":"bytes32","name":"payloadHash","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_srcChainId","type":"uint16"},{"internalType":"bytes","name":"_srcAddress","type":"bytes"},{"internalType":"uint64","name":"_nonce","type":"uint64"},{"internalType":"bytes","name":"_payload","type":"bytes"}],"name":"onLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"domainName","type":"string"},{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"otherChainRenew","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"domainName","type":"string"},{"internalType":"uint256","name":"year","type":"uint256"}],"name":"register","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"string","name":"domainName","type":"string"},{"internalType":"uint256","name":"year","type":"uint256"}],"name":"renew","outputs":[],"stateMutability":"payable","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":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newVal","type":"uint256"}],"name":"setGasForDestinationLzReceive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_chainId","type":"uint16"},{"internalType":"bytes","name":"_trustedRemote","type":"bytes"}],"name":"setTrustedRemote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"_chainId","type":"uint16"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"traverseChains","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"trustedRemoteLookup","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526008608081905267457468657265756d60c01b60a09081526200002b91600f9190620001ff565b506010805460ff191660011790556f03c2f7086aed236c807a1b50000000006012556f1691ca32818ed48b02dca3e0000000006013556f4b3b4ca85a86c47a098a22400000000060145560626015556205573060165560006017553480156200009357600080fd5b506040516200414a3803806200414a833981016040819052620000b691620002d8565b604080518082018252601781527f4c61796572205a65726f204e616d6520536572766963650000000000000000006020808301918252835180850190945260048452634c5a4e4d60e01b9084015281519192916200011791600091620001ff565b5080516200012d906001906020840190620001ff565b5050506200014a62000144620001a960201b60201c565b620001ad565b600b80546001600160a01b0319166001600160a01b03831617905581516200017a906011906020850190620001ff565b5050600e80546001600160a01b031916735f4ec3df9cbd43714fe2740f5e3616155c5b84191790555062000406565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200020d90620003c9565b90600052602060002090601f0160209004810192826200023157600085556200027c565b82601f106200024c57805160ff19168380011785556200027c565b828001600101855582156200027c579182015b828111156200027c5782518255916020019190600101906200025f565b506200028a9291506200028e565b5090565b5b808211156200028a57600081556001016200028f565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620002d357600080fd5b919050565b60008060408385031215620002ec57600080fd5b82516001600160401b03808211156200030457600080fd5b818501915085601f8301126200031957600080fd5b8151818111156200032e576200032e620002a5565b604051601f8201601f19908116603f01168101908382118183101715620003595762000359620002a5565b816040528281526020935088848487010111156200037657600080fd5b600091505b828210156200039a57848201840151818301850152908301906200037b565b82821115620003ac5760008484830101525b9550620003be915050858201620002bb565b925050509250929050565b600181811c90821680620003de57607f821691505b602082108114156200040057634e487b7160e01b600052602260045260246000fd5b50919050565b613d3480620004166000396000f3fe60806040526004361061028b5760003560e01c80637533d7881161015a578063b4e439ff116100c1578063dd58bbb11161007a578063dd58bbb1146107ca578063e985e9c5146107ea578063ea87152b14610833578063eb8d72b714610846578063f2fde38b14610866578063ffeac8ec1461088657600080fd5b8063b4e439ff14610724578063b88d4fde14610744578063c87b56dd14610764578063cf89fa0314610784578063d1deba1f14610797578063d986da07146107aa57600080fd5b8063a192101b11610113578063a192101b14610687578063a22cb465146106a7578063a87d942c146106c7578063ac48bd5a146106dc578063acf1a841146106f1578063ae27f26e1461070457600080fd5b80637533d788146105a95780638da5cb5b146105c95780638ee74912146105e7578063943fb8721461063d57806395d89b411461065d5780639eb4eae51461067257600080fd5b806341bc1c7b116101fe5780635c975abb116101b75780635c975abb146105055780636352211e1461051f5780636c0360eb1461053f5780636c92c2bf1461055457806370a0823114610574578063715018a61461059457600080fd5b806341bc1c7b1461040457806342842e0e14610458578063438b6300146104785780634f6ccce7146104a557806355f804b3146104c55780635b30d081146104e557600080fd5b806318160ddd1161025057806318160ddd146103685780631c37a822146103875780631c93b03a146103a757806323b872dd146103bc5780632f745c59146103dc5780633ccfd60b146103fc57600080fd5b80621d35671461029757806301ffc9a7146102b957806306fdde03146102ee578063081812fc14610310578063095ea7b31461034857600080fd5b3661029257005b600080fd5b3480156102a357600080fd5b506102b76102b2366004613105565b6108a6565b005b3480156102c557600080fd5b506102d96102d436600461319f565b610aa0565b60405190151581526020015b60405180910390f35b3480156102fa57600080fd5b50610303610acb565b6040516102e59190613214565b34801561031c57600080fd5b5061033061032b366004613227565b610b5d565b6040516001600160a01b0390911681526020016102e5565b34801561035457600080fd5b506102b7610363366004613255565b610b84565b34801561037457600080fd5b506009545b6040519081526020016102e5565b34801561039357600080fd5b506102b76103a2366004613105565b610c9a565b3480156103b357600080fd5b50610303610d09565b3480156103c857600080fd5b506102b76103d7366004613281565b610d97565b3480156103e857600080fd5b506103796103f7366004613255565b610dc8565b6102b7610e5e565b34801561041057600080fd5b5061044361041f3660046132c2565b80516020818301810180516018825292820191909301209152805460019091015482565b604080519283526020830191909152016102e5565b34801561046457600080fd5b506102b7610473366004613281565b610efc565b34801561048457600080fd5b506104986104933660046132f6565b610f17565b6040516102e59190613313565b3480156104b157600080fd5b506103796104c0366004613227565b610fb8565b3480156104d157600080fd5b506102b76104e03660046132c2565b61104b565b3480156104f157600080fd5b50610379610500366004613357565b61108c565b34801561051157600080fd5b506010546102d99060ff1681565b34801561052b57600080fd5b5061033061053a366004613227565b6111a3565b34801561054b57600080fd5b50610303611203565b34801561056057600080fd5b506102b761056f366004613373565b611210565b34801561058057600080fd5b5061037961058f3660046132f6565b61125f565b3480156105a057600080fd5b506102b76112e5565b3480156105b557600080fd5b506103036105c436600461339f565b61131b565b3480156105d557600080fd5b506006546001600160a01b0316610330565b3480156105f357600080fd5b506104436106023660046133ba565b600c60209081526000938452604080852084518086018401805192815290840195840195909520945292905282529020805460019091015482565b34801561064957600080fd5b506102b7610658366004613227565b611334565b34801561066957600080fd5b50610303611363565b34801561067e57600080fd5b506102b7611372565b34801561069357600080fd5b506102b76106a2366004613410565b6113c7565b3480156106b357600080fd5b506102b76106c2366004613454565b611416565b3480156106d357600080fd5b50601754610379565b3480156106e857600080fd5b50610379611421565b6102b76106ff366004613410565b6114a3565b34801561071057600080fd5b506102d961071f3660046132c2565b61167c565b34801561073057600080fd5b5061030361073f366004613227565b6116b7565b34801561075057600080fd5b506102b761075f366004613492565b611755565b34801561077057600080fd5b5061030361077f366004613227565b611787565b6102b7610792366004613357565b6117ee565b6102b76107a5366004613539565b611b05565b3480156107b657600080fd5b506102b76107c53660046132c2565b611c92565b3480156107d657600080fd5b506102b76107e5366004613227565b611e2a565b3480156107f657600080fd5b506102d96108053660046135c4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102b7610841366004613410565b611e59565b34801561085257600080fd5b506102b76108613660046135f2565b612166565b34801561087257600080fd5b506102b76108813660046132f6565b6121ae565b34801561089257600080fd5b506103796108a13660046132c2565b612246565b600b546001600160a01b031633146108bd57600080fd5b61ffff84166000908152600d6020526040902080546108db90613644565b9050835114801561091a575061ffff84166000908152600d602052604090819020905161090891906136e8565b60405180910390208380519060200120145b6109885760405162461bcd60e51b815260206004820152603460248201527f4e6f6e626c6f636b696e6752656365697665723a20696e76616c696420736f756044820152731c98d9481cd95b991a5b99c818dbdb9d1c9858dd60621b60648201526084015b60405180910390fd5b604051630e1bd41160e11b81523090631c37a822906109b19087908790879087906004016136f4565b600060405180830381600087803b1580156109cb57600080fd5b505af19250505080156109dc575060015b610a9a576040518060400160405280825181526020018280519060200120815250600c60008661ffff1661ffff16815260200190815260200160002084604051610a26919061373d565b9081526040805191829003602090810183206001600160401b038716600090815290825291909120835181559201516001909201919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90610a919086908690869086906136f4565b60405180910390a15b50505050565b60006001600160e01b0319821663780e9d6360e01b1480610ac55750610ac5826122b7565b92915050565b606060008054610ada90613644565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0690613644565b8015610b535780601f10610b2857610100808354040283529160200191610b53565b820191906000526020600020905b815481529060010190602001808311610b3657829003601f168201915b5050505050905090565b6000610b6882612307565b506000908152600460205260409020546001600160a01b031690565b6000610b8f826111a3565b9050806001600160a01b0316836001600160a01b03161415610bfd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161097f565b336001600160a01b0382161480610c195750610c198133610805565b610c8b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161097f565b610c958383612366565b505050565b333014610cfd5760405162461bcd60e51b815260206004820152602b60248201527f4e6f6e626c6f636b696e6752656365697665723a2063616c6c6572206d75737460448201526a10313290213934b233b29760a91b606482015260840161097f565b610a9a848484846123d4565b600f8054610d1690613644565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4290613644565b8015610d8f5780601f10610d6457610100808354040283529160200191610d8f565b820191906000526020600020905b815481529060010190602001808311610d7257829003601f168201915b505050505081565b610da13382612472565b610dbd5760405162461bcd60e51b815260040161097f90613759565b610c958383836124f1565b6000610dd38361125f565b8210610e355760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161097f565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6006546001600160a01b03163314610e885760405162461bcd60e51b815260040161097f906137a7565b6000610e9c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ee6576040519150601f19603f3d011682016040523d82523d6000602084013e610eeb565b606091505b5050905080610ef957600080fd5b50565b610c9583838360405180602001604052806000815250611755565b60606000610f248361125f565b90506000816001600160401b03811115610f4057610f4061302b565b604051908082528060200260200182016040528015610f69578160200160208202803683370190505b50905060005b82811015610fb057610f818582610dc8565b828281518110610f9357610f936137dc565b602090810291909101015280610fa881613808565b915050610f6f565b509392505050565b6000610fc360095490565b82106110265760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161097f565b60098281548110611039576110396137dc565b90600052602060002001549050919050565b6006546001600160a01b031633146110755760405162461bcd60e51b815260040161097f906137a7565b8051611088906011906020840190612ed6565b5050565b60008181526019602052604080822090518291339185916018916110b091906136e8565b908152604080516020928190038301812054600089815260198552929092206110dd95949390910161389a565b60408051601f1981840301815290829052601654600160f01b60208401526022830152915060019060009060420160408051601f1981840301815290829052600b5463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090611157908a9030908990879089906004016138d1565b6040805180830381865afa158015611173573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111979190613925565b50979650505050505050565b6000818152600260205260408120546001600160a01b031680610ac55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097f565b60118054610d1690613644565b6006546001600160a01b0316331461123a5760405162461bcd60e51b815260040161097f906137a7565b82156112465760148390555b81156112525760138290555b8015610c95576012555050565b60006001600160a01b0382166112c95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161097f565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461130f5760405162461bcd60e51b815260040161097f906137a7565b6113196000612698565b565b600d6020526000908152604090208054610d1690613644565b6006546001600160a01b0316331461135e5760405162461bcd60e51b815260040161097f906137a7565b601655565b606060018054610ada90613644565b6006546001600160a01b0316331461139c5760405162461bcd60e51b815260040161097f906137a7565b60105460ff161515600114156113b8576010805460ff19169055565b6010805460ff19166001179055565b6006546001600160a01b031633146113f15760405162461bcd60e51b815260040161097f906137a7565b80601883604051611402919061373d565b908152604051908190036020019020555050565b6110883383836126ea565b600e54604080516350d25bcd60e01b815290516000926001600160a01b0316916350d25bcd9160048083019260209291908290030181865afa15801561146b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148f9190613949565b61149e906402540be400613962565b905090565b60038251101561152a5760405162461bcd60e51b815260206004820152604660248201527f4e616d6520697320746f6f2073686f72742e204e616d6573206d75737420626560448201527f206174206c6561737420332063686172616374657273206c6f6e672e204572726064820152656f722023343560d01b608482015260a40161097f565b61155460188360405161153d919061373d565b9081526020016040518091039020600101546111a3565b6001600160a01b0316336001600160a01b0316146115b45760405162461bcd60e51b815260206004820152601860248201527f4163636573732064656e6965642e204572726f72202333350000000000000000604482015260640161097f565b6000816115c084612246565b6115ca91906139e7565b6015549091506115db606483613a1c565b6115e591906139e7565b3410156116345760405162461bcd60e51b815260206004820152601f60248201527f436865636b2072656769737465722070726963652e204572726f722023333200604482015260640161097f565b611642826301e187e06139e7565b601884604051611652919061373d565b908152602001604051809103902060000160008282546116729190613a30565b9091555050505050565b600060188260405161168e919061373d565b908152604051908190036020019020546116aa57506001919050565b506000919050565b919050565b6019602052600090815260409020805481906116d290613644565b80601f01602080910402602001604051908101604052809291908181526020018280546116fe90613644565b801561174b5780601f106117205761010080835404028352916020019161174b565b820191906000526020600020905b81548152906001019060200180831161172e57829003601f168201915b5050505050905081565b61175f3383612472565b61177b5760405162461bcd60e51b815260040161097f90613759565b610a9a848484846127b9565b606061179282612307565b600061179c6127ec565b905060008151116117bc57604051806020016040528060008152506117e7565b806117c6846127fb565b6040516020016117d7929190613a48565b6040516020818303038152906040525b9392505050565b6117f7816111a3565b6001600160a01b0316336001600160a01b0316146118625760405162461bcd60e51b815260206004820152602260248201527f596f75206d757374206f776e2074686520746f6b656e20746f20747261766572604482015261736560f01b606482015260840161097f565b61ffff82166000908152600d60205260408120805461188090613644565b9050116118e65760405162461bcd60e51b815260206004820152602e60248201527f5468697320636861696e2069732063757272656e746c7920756e617661696c6160448201526d189b1948199bdc881d1c985d995b60921b606482015260840161097f565b600081815260196020526040808220905133918491601891611907916136e8565b9081526040805160209281900383018120546000888152601985529290922061193495949390910161389a565b60408051601f1981840301815290829052601654600160f01b60208401526022830152915060019060009060420160408051601f1981840301815290829052600b5463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb10906119ae90899030908990879089906004016138d1565b6040805180830381865afa1580156119ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ee9190613925565b50905080341015611a775760405162461bcd60e51b815260206004820152604760248201527f4c5a3a206d73672e76616c7565206e6f7420656e6f75676820746f20636f766560448201527f72206d6573736167654665652e2053656e642067617320666f72206d657373616064820152666765206665657360c81b608482015260a40161097f565b600b5461ffff87166000908152600d6020526040808220905162c5803160e81b81526001600160a01b039093169263c5803100923492611ac2928c928b913391908b90600401613a77565b6000604051808303818588803b158015611adb57600080fd5b505af1158015611aef573d6000803e3d6000fd5b5050505050611afd856128f8565b505050505050565b61ffff85166000908152600c60205260408082209051611b2690879061373d565b90815260408051602092819003830190206001600160401b0387166000908152925290206001810154909150611bad5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e6752656365697665723a206e6f2073746f726564206d60448201526565737361676560d01b606482015260840161097f565b805482148015611bd7575080600101548383604051611bcd929190613ade565b6040518091039020145b611c235760405162461bcd60e51b815260206004820152601a60248201527f4c617965725a65726f3a20696e76616c6964207061796c6f6164000000000000604482015260640161097f565b60008082556001820155604051630e1bd41160e11b81523090631c37a82290611c589089908990899089908990600401613aee565b600060405180830381600087803b158015611c7257600080fd5b505af1158015611c86573d6000803e3d6000fd5b50505050505050505050565b6006546001600160a01b03163314611cbc5760405162461bcd60e51b815260040161097f906137a7565b42601882604051611ccd919061373d565b9081526040519081900360200190205410611d2a5760405162461bcd60e51b815260206004820181905260248201527f446f6d61696e206973206e6f7420657870697265642e204572726f7220233636604482015260640161097f565b611d6c601882604051611d3d919061373d565b9081526020016040518091039020600101546000908152600260205260409020546001600160a01b0316151590565b15611d9b57611d9b601882604051611d84919061373d565b9081526020016040518091039020600101546128f8565b60196000601883604051611daf919061373d565b90815260200160405180910390206001015481526020019081526020016000206000016000611dde9190612f56565b6000601882604051611df0919061373d565b90815260405190819003602001812091909155600090601890611e1490849061373d565b9081526040519081900360200190206001015550565b6006546001600160a01b03163314611e545760405162461bcd60e51b815260040161097f906137a7565b601555565b60105460ff1615611eca5760405162461bcd60e51b815260206004820152603560248201527f5265676973746572206e6f77206e6f74206176616c6961626c652e2054727920604482015274616761696e206c617465722e204572726f7220233160581b606482015260840161097f565b6001811015611f1b5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420796561722076616c75652e204572726f7220233330000000604482015260640161097f565b600382511015611fa15760405162461bcd60e51b815260206004820152604560248201527f4e616d6520697320746f6f2073686f72742e204e616d6573206d75737420626560448201527f206174206c6561737420332063686172616374657273206c6f6e672e2045727260648201526437b910119960d91b608482015260a40161097f565b611faa8261167c565b15156001146120175760405162461bcd60e51b815260206004820152603360248201527f446f6d61696e20756e6176616c6961626c652028486173206265656e2072656760448201527269737465726564292e204572726f722023343160681b606482015260840161097f565b60008161202384612246565b61202d91906139e7565b60155490915061203e606483613a1c565b61204891906139e7565b3410156120975760405162461bcd60e51b815260206004820152601e60248201527f436865636b2072656769737465722070726963652e204572726f722023330000604482015260640161097f565b6120a5826301e187e06139e7565b6120af9042613a30565b6018846040516120bf919061373d565b908152604051908190036020019020556017546120dd906001613a30565b6018846040516120ed919061373d565b908152602001604051809103902060010181905550826019600060175460016121169190613a30565b8152602001908152602001600020600001908051906020019061213a929190612ed6565b5061215333601754600161214e9190613a30565b61299f565b6001601760008282546116729190613a30565b6006546001600160a01b031633146121905760405162461bcd60e51b815260040161097f906137a7565b61ffff83166000908152600d60205260409020610a9a908383612f90565b6006546001600160a01b031633146121d85760405162461bcd60e51b815260040161097f906137a7565b6001600160a01b03811661223d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097f565b610ef981612698565b805160009060038111612270576117e761225e611421565b60145461226b9190613b4f565b6129b9565b8060041415612291576117e7612284611421565b60135461226b9190613b4f565b600581106122b1576117e76122a4611421565b60125461226b9190613b4f565b50919050565b60006001600160e01b031982166380ac58cd60e01b14806122e857506001600160e01b03198216635b5e139f60e01b145b80610ac557506301ffc9a760e01b6001600160e01b0319831614610ac5565b6000818152600260205260409020546001600160a01b0316610ef95760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061239b826111a3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600080848060200190518101906123ee9190613b7d565b935093509350935081601882604051612407919061373d565b90815260405190819003602001812091909155839060189061242a90849061373d565b90815260408051602092819003830190206001019290925560008581526019825291909120825161245d92840190612ed6565b50612468848461299f565b5050505050505050565b60008061247e836111a3565b9050806001600160a01b0316846001600160a01b031614806124c557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806124e95750836001600160a01b03166124de84610b5d565b6001600160a01b0316145b949350505050565b826001600160a01b0316612504826111a3565b6001600160a01b0316146125685760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161097f565b6001600160a01b0382166125ca5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161097f565b6125d5838383612a0f565b6125e0600082612366565b6001600160a01b0383166000908152600360205260408120805460019290612609908490613c1b565b90915550506001600160a01b0382166000908152600360205260408120805460019290612637908490613a30565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561274c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161097f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127c48484846124f1565b6127d084848484612ac7565b610a9a5760405162461bcd60e51b815260040161097f90613c32565b606060118054610ada90613644565b60608161281f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612849578061283381613808565b91506128429050600a83613a1c565b9150612823565b6000816001600160401b038111156128635761286361302b565b6040519080825280601f01601f19166020018201604052801561288d576020820181803683370190505b5090505b84156124e9576128a2600183613c1b565b91506128af600a86613c84565b6128ba906030613a30565b60f81b8183815181106128cf576128cf6137dc565b60200101906001600160f81b031916908160001a9053506128f1600a86613a1c565b9450612891565b6000612903826111a3565b905061291181600084612a0f565b61291c600083612366565b6001600160a01b0381166000908152600360205260408120805460019290612945908490613c1b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611088828260405180602001604052806000815250612bc5565b600080821215612a0b5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f736974697665604482015260640161097f565b5090565b6001600160a01b038316612a6a57612a6581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612a8d565b816001600160a01b0316836001600160a01b031614612a8d57612a8d8382612bf8565b6001600160a01b038216612aa457610c9581612c95565b826001600160a01b0316826001600160a01b031614610c9557610c958282612d44565b60006001600160a01b0384163b15612bba57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b0b903390899088908890600401613c98565b6020604051808303816000875af1925050508015612b46575060408051601f3d908101601f19168201909252612b4391810190613ccb565b60015b612ba0573d808015612b74576040519150601f19603f3d011682016040523d82523d6000602084013e612b79565b606091505b508051612b985760405162461bcd60e51b815260040161097f90613c32565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506124e9565b506001949350505050565b612bcf8383612d88565b612bdc6000848484612ac7565b610c955760405162461bcd60e51b815260040161097f90613c32565b60006001612c058461125f565b612c0f9190613c1b565b600083815260086020526040902054909150808214612c62576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090612ca790600190613c1b565b6000838152600a602052604081205460098054939450909284908110612ccf57612ccf6137dc565b906000526020600020015490508060098381548110612cf057612cf06137dc565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612d2857612d28613ce8565b6001900381819060005260206000200160009055905550505050565b6000612d4f8361125f565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216612dde5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161097f565b6000818152600260205260409020546001600160a01b031615612e435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161097f565b612e4f60008383612a0f565b6001600160a01b0382166000908152600360205260408120805460019290612e78908490613a30565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612ee290613644565b90600052602060002090601f016020900481019282612f045760008555612f4a565b82601f10612f1d57805160ff1916838001178555612f4a565b82800160010185558215612f4a579182015b82811115612f4a578251825591602001919060010190612f2f565b50612a0b929150613004565b508054612f6290613644565b6000825580601f10612f72575050565b601f016020900490600052602060002090810190610ef99190613004565b828054612f9c90613644565b90600052602060002090601f016020900481019282612fbe5760008555612f4a565b82601f10612fd75782800160ff19823516178555612f4a565b82800160010185558215612f4a579182015b82811115612f4a578235825591602001919060010190612fe9565b5b80821115612a0b5760008155600101613005565b803561ffff811681146116b257600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156130695761306961302b565b604052919050565b60006001600160401b0382111561308a5761308a61302b565b50601f01601f191660200190565b600082601f8301126130a957600080fd5b81356130bc6130b782613071565b613041565b8181528460208386010111156130d157600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160401b03811681146116b257600080fd5b6000806000806080858703121561311b57600080fd5b61312485613019565b935060208501356001600160401b038082111561314057600080fd5b61314c88838901613098565b945061315a604088016130ee565b9350606087013591508082111561317057600080fd5b5061317d87828801613098565b91505092959194509250565b6001600160e01b031981168114610ef957600080fd5b6000602082840312156131b157600080fd5b81356117e781613189565b60005b838110156131d75781810151838201526020016131bf565b83811115610a9a5750506000910152565b600081518084526132008160208601602086016131bc565b601f01601f19169290920160200192915050565b6020815260006117e760208301846131e8565b60006020828403121561323957600080fd5b5035919050565b6001600160a01b0381168114610ef957600080fd5b6000806040838503121561326857600080fd5b823561327381613240565b946020939093013593505050565b60008060006060848603121561329657600080fd5b83356132a181613240565b925060208401356132b181613240565b929592945050506040919091013590565b6000602082840312156132d457600080fd5b81356001600160401b038111156132ea57600080fd5b6124e984828501613098565b60006020828403121561330857600080fd5b81356117e781613240565b6020808252825182820181905260009190848201906040850190845b8181101561334b5783518352928401929184019160010161332f565b50909695505050505050565b6000806040838503121561336a57600080fd5b61327383613019565b60008060006060848603121561338857600080fd5b505081359360208301359350604090920135919050565b6000602082840312156133b157600080fd5b6117e782613019565b6000806000606084860312156133cf57600080fd5b6133d884613019565b925060208401356001600160401b038111156133f357600080fd5b6133ff86828701613098565b925050604084013590509250925092565b6000806040838503121561342357600080fd5b82356001600160401b0381111561343957600080fd5b61344585828601613098565b95602094909401359450505050565b6000806040838503121561346757600080fd5b823561347281613240565b91506020830135801515811461348757600080fd5b809150509250929050565b600080600080608085870312156134a857600080fd5b84356134b381613240565b935060208501356134c381613240565b92506040850135915060608501356001600160401b038111156134e557600080fd5b61317d87828801613098565b60008083601f84011261350357600080fd5b5081356001600160401b0381111561351a57600080fd5b60208301915083602082850101111561353257600080fd5b9250929050565b60008060008060006080868803121561355157600080fd5b61355a86613019565b945060208601356001600160401b038082111561357657600080fd5b61358289838a01613098565b9550613590604089016130ee565b945060608801359150808211156135a657600080fd5b506135b3888289016134f1565b969995985093965092949392505050565b600080604083850312156135d757600080fd5b82356135e281613240565b9150602083013561348781613240565b60008060006040848603121561360757600080fd5b61361084613019565b925060208401356001600160401b0381111561362b57600080fd5b613637868287016134f1565b9497909650939450505050565b600181811c9082168061365857607f821691505b602082108114156122b157634e487b7160e01b600052602260045260246000fd5b6000815461368681613644565b6001828116801561369e57600181146136af576136de565b60ff198416875282870194506136de565b8560005260208060002060005b858110156136d55781548a8201529084019082016136bc565b50505082870194505b5050505092915050565b60006117e78284613679565b61ffff8516815260806020820152600061371160808301866131e8565b6001600160401b0385166040840152828103606084015261373281856131e8565b979650505050505050565b6000825161374f8184602087016131bc565b9190910192915050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561381c5761381c6137f2565b5060010190565b6000815461383081613644565b80855260206001838116801561384d57600181146138615761388f565b60ff1985168884015260408801955061388f565b866000528260002060005b858110156138875781548a820186015290830190840161386c565b890184019650505b505050505092915050565b60018060a01b03851681528360208201528260408201526080606082015260006138c76080830184613823565b9695505050505050565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906138ff908301866131e8565b8415156060840152828103608084015261391981856131e8565b98975050505050505050565b6000806040838503121561393857600080fd5b505080516020909101519092909150565b60006020828403121561395b57600080fd5b5051919050565b60006001600160ff1b0381841382841380821686840486111615613988576139886137f2565b600160ff1b60008712828116878305891216156139a7576139a76137f2565b600087129250878205871284841616156139c3576139c36137f2565b878505871281841616156139d9576139d96137f2565b505050929093029392505050565b6000816000190483118215151615613a0157613a016137f2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613a2b57613a2b613a06565b500490565b60008219821115613a4357613a436137f2565b500190565b60008351613a5a8184602088016131bc565b835190830190613a6e8183602088016131bc565b01949350505050565b61ffff8716815260c060208201526000613a9460c0830188613823565b8281036040840152613aa681886131e8565b6001600160a01b0387811660608601528616608085015283810360a08501529050613ad181856131e8565b9998505050505050505050565b8183823760009101908152919050565b61ffff86168152608060208201526000613b0b60808301876131e8565b6001600160401b03861660408401528281036060840152838152838560208301376000602085830101526020601f19601f8601168201019150509695505050505050565b600082613b5e57613b5e613a06565b600160ff1b821460001984141615613b7857613b786137f2565b500590565b60008060008060808587031215613b9357600080fd5b8451613b9e81613240565b80945050602085015192506040850151915060608501516001600160401b03811115613bc957600080fd5b8501601f81018713613bda57600080fd5b8051613be86130b782613071565b818152886020838501011115613bfd57600080fd5b613c0e8260208301602086016131bc565b9598949750929550505050565b600082821015613c2d57613c2d6137f2565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082613c9357613c93613a06565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138c7908301846131e8565b600060208284031215613cdd57600080fd5b81516117e781613189565b634e487b7160e01b600052603160045260246000fdfea264697066735822122011ebd654bb6c72a0316b8e34b266f09594fbdb5c43a8eb8a8c45c73b6df65e1d64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f7777772e6c7a2e646f6d61696e732f6d657461646174612f6a736f6e2f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028b5760003560e01c80637533d7881161015a578063b4e439ff116100c1578063dd58bbb11161007a578063dd58bbb1146107ca578063e985e9c5146107ea578063ea87152b14610833578063eb8d72b714610846578063f2fde38b14610866578063ffeac8ec1461088657600080fd5b8063b4e439ff14610724578063b88d4fde14610744578063c87b56dd14610764578063cf89fa0314610784578063d1deba1f14610797578063d986da07146107aa57600080fd5b8063a192101b11610113578063a192101b14610687578063a22cb465146106a7578063a87d942c146106c7578063ac48bd5a146106dc578063acf1a841146106f1578063ae27f26e1461070457600080fd5b80637533d788146105a95780638da5cb5b146105c95780638ee74912146105e7578063943fb8721461063d57806395d89b411461065d5780639eb4eae51461067257600080fd5b806341bc1c7b116101fe5780635c975abb116101b75780635c975abb146105055780636352211e1461051f5780636c0360eb1461053f5780636c92c2bf1461055457806370a0823114610574578063715018a61461059457600080fd5b806341bc1c7b1461040457806342842e0e14610458578063438b6300146104785780634f6ccce7146104a557806355f804b3146104c55780635b30d081146104e557600080fd5b806318160ddd1161025057806318160ddd146103685780631c37a822146103875780631c93b03a146103a757806323b872dd146103bc5780632f745c59146103dc5780633ccfd60b146103fc57600080fd5b80621d35671461029757806301ffc9a7146102b957806306fdde03146102ee578063081812fc14610310578063095ea7b31461034857600080fd5b3661029257005b600080fd5b3480156102a357600080fd5b506102b76102b2366004613105565b6108a6565b005b3480156102c557600080fd5b506102d96102d436600461319f565b610aa0565b60405190151581526020015b60405180910390f35b3480156102fa57600080fd5b50610303610acb565b6040516102e59190613214565b34801561031c57600080fd5b5061033061032b366004613227565b610b5d565b6040516001600160a01b0390911681526020016102e5565b34801561035457600080fd5b506102b7610363366004613255565b610b84565b34801561037457600080fd5b506009545b6040519081526020016102e5565b34801561039357600080fd5b506102b76103a2366004613105565b610c9a565b3480156103b357600080fd5b50610303610d09565b3480156103c857600080fd5b506102b76103d7366004613281565b610d97565b3480156103e857600080fd5b506103796103f7366004613255565b610dc8565b6102b7610e5e565b34801561041057600080fd5b5061044361041f3660046132c2565b80516020818301810180516018825292820191909301209152805460019091015482565b604080519283526020830191909152016102e5565b34801561046457600080fd5b506102b7610473366004613281565b610efc565b34801561048457600080fd5b506104986104933660046132f6565b610f17565b6040516102e59190613313565b3480156104b157600080fd5b506103796104c0366004613227565b610fb8565b3480156104d157600080fd5b506102b76104e03660046132c2565b61104b565b3480156104f157600080fd5b50610379610500366004613357565b61108c565b34801561051157600080fd5b506010546102d99060ff1681565b34801561052b57600080fd5b5061033061053a366004613227565b6111a3565b34801561054b57600080fd5b50610303611203565b34801561056057600080fd5b506102b761056f366004613373565b611210565b34801561058057600080fd5b5061037961058f3660046132f6565b61125f565b3480156105a057600080fd5b506102b76112e5565b3480156105b557600080fd5b506103036105c436600461339f565b61131b565b3480156105d557600080fd5b506006546001600160a01b0316610330565b3480156105f357600080fd5b506104436106023660046133ba565b600c60209081526000938452604080852084518086018401805192815290840195840195909520945292905282529020805460019091015482565b34801561064957600080fd5b506102b7610658366004613227565b611334565b34801561066957600080fd5b50610303611363565b34801561067e57600080fd5b506102b7611372565b34801561069357600080fd5b506102b76106a2366004613410565b6113c7565b3480156106b357600080fd5b506102b76106c2366004613454565b611416565b3480156106d357600080fd5b50601754610379565b3480156106e857600080fd5b50610379611421565b6102b76106ff366004613410565b6114a3565b34801561071057600080fd5b506102d961071f3660046132c2565b61167c565b34801561073057600080fd5b5061030361073f366004613227565b6116b7565b34801561075057600080fd5b506102b761075f366004613492565b611755565b34801561077057600080fd5b5061030361077f366004613227565b611787565b6102b7610792366004613357565b6117ee565b6102b76107a5366004613539565b611b05565b3480156107b657600080fd5b506102b76107c53660046132c2565b611c92565b3480156107d657600080fd5b506102b76107e5366004613227565b611e2a565b3480156107f657600080fd5b506102d96108053660046135c4565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6102b7610841366004613410565b611e59565b34801561085257600080fd5b506102b76108613660046135f2565b612166565b34801561087257600080fd5b506102b76108813660046132f6565b6121ae565b34801561089257600080fd5b506103796108a13660046132c2565b612246565b600b546001600160a01b031633146108bd57600080fd5b61ffff84166000908152600d6020526040902080546108db90613644565b9050835114801561091a575061ffff84166000908152600d602052604090819020905161090891906136e8565b60405180910390208380519060200120145b6109885760405162461bcd60e51b815260206004820152603460248201527f4e6f6e626c6f636b696e6752656365697665723a20696e76616c696420736f756044820152731c98d9481cd95b991a5b99c818dbdb9d1c9858dd60621b60648201526084015b60405180910390fd5b604051630e1bd41160e11b81523090631c37a822906109b19087908790879087906004016136f4565b600060405180830381600087803b1580156109cb57600080fd5b505af19250505080156109dc575060015b610a9a576040518060400160405280825181526020018280519060200120815250600c60008661ffff1661ffff16815260200190815260200160002084604051610a26919061373d565b9081526040805191829003602090810183206001600160401b038716600090815290825291909120835181559201516001909201919091557fe6f254030bcb01ffd20558175c13fcaed6d1520be7becee4c961b65f79243b0d90610a919086908690869086906136f4565b60405180910390a15b50505050565b60006001600160e01b0319821663780e9d6360e01b1480610ac55750610ac5826122b7565b92915050565b606060008054610ada90613644565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0690613644565b8015610b535780601f10610b2857610100808354040283529160200191610b53565b820191906000526020600020905b815481529060010190602001808311610b3657829003601f168201915b5050505050905090565b6000610b6882612307565b506000908152600460205260409020546001600160a01b031690565b6000610b8f826111a3565b9050806001600160a01b0316836001600160a01b03161415610bfd5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161097f565b336001600160a01b0382161480610c195750610c198133610805565b610c8b5760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000606482015260840161097f565b610c958383612366565b505050565b333014610cfd5760405162461bcd60e51b815260206004820152602b60248201527f4e6f6e626c6f636b696e6752656365697665723a2063616c6c6572206d75737460448201526a10313290213934b233b29760a91b606482015260840161097f565b610a9a848484846123d4565b600f8054610d1690613644565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4290613644565b8015610d8f5780601f10610d6457610100808354040283529160200191610d8f565b820191906000526020600020905b815481529060010190602001808311610d7257829003601f168201915b505050505081565b610da13382612472565b610dbd5760405162461bcd60e51b815260040161097f90613759565b610c958383836124f1565b6000610dd38361125f565b8210610e355760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b606482015260840161097f565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6006546001600160a01b03163314610e885760405162461bcd60e51b815260040161097f906137a7565b6000610e9c6006546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610ee6576040519150601f19603f3d011682016040523d82523d6000602084013e610eeb565b606091505b5050905080610ef957600080fd5b50565b610c9583838360405180602001604052806000815250611755565b60606000610f248361125f565b90506000816001600160401b03811115610f4057610f4061302b565b604051908082528060200260200182016040528015610f69578160200160208202803683370190505b50905060005b82811015610fb057610f818582610dc8565b828281518110610f9357610f936137dc565b602090810291909101015280610fa881613808565b915050610f6f565b509392505050565b6000610fc360095490565b82106110265760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b606482015260840161097f565b60098281548110611039576110396137dc565b90600052602060002001549050919050565b6006546001600160a01b031633146110755760405162461bcd60e51b815260040161097f906137a7565b8051611088906011906020840190612ed6565b5050565b60008181526019602052604080822090518291339185916018916110b091906136e8565b908152604080516020928190038301812054600089815260198552929092206110dd95949390910161389a565b60408051601f1981840301815290829052601654600160f01b60208401526022830152915060019060009060420160408051601f1981840301815290829052600b5463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb1090611157908a9030908990879089906004016138d1565b6040805180830381865afa158015611173573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111979190613925565b50979650505050505050565b6000818152600260205260408120546001600160a01b031680610ac55760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097f565b60118054610d1690613644565b6006546001600160a01b0316331461123a5760405162461bcd60e51b815260040161097f906137a7565b82156112465760148390555b81156112525760138290555b8015610c95576012555050565b60006001600160a01b0382166112c95760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161097f565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b0316331461130f5760405162461bcd60e51b815260040161097f906137a7565b6113196000612698565b565b600d6020526000908152604090208054610d1690613644565b6006546001600160a01b0316331461135e5760405162461bcd60e51b815260040161097f906137a7565b601655565b606060018054610ada90613644565b6006546001600160a01b0316331461139c5760405162461bcd60e51b815260040161097f906137a7565b60105460ff161515600114156113b8576010805460ff19169055565b6010805460ff19166001179055565b6006546001600160a01b031633146113f15760405162461bcd60e51b815260040161097f906137a7565b80601883604051611402919061373d565b908152604051908190036020019020555050565b6110883383836126ea565b600e54604080516350d25bcd60e01b815290516000926001600160a01b0316916350d25bcd9160048083019260209291908290030181865afa15801561146b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148f9190613949565b61149e906402540be400613962565b905090565b60038251101561152a5760405162461bcd60e51b815260206004820152604660248201527f4e616d6520697320746f6f2073686f72742e204e616d6573206d75737420626560448201527f206174206c6561737420332063686172616374657273206c6f6e672e204572726064820152656f722023343560d01b608482015260a40161097f565b61155460188360405161153d919061373d565b9081526020016040518091039020600101546111a3565b6001600160a01b0316336001600160a01b0316146115b45760405162461bcd60e51b815260206004820152601860248201527f4163636573732064656e6965642e204572726f72202333350000000000000000604482015260640161097f565b6000816115c084612246565b6115ca91906139e7565b6015549091506115db606483613a1c565b6115e591906139e7565b3410156116345760405162461bcd60e51b815260206004820152601f60248201527f436865636b2072656769737465722070726963652e204572726f722023333200604482015260640161097f565b611642826301e187e06139e7565b601884604051611652919061373d565b908152602001604051809103902060000160008282546116729190613a30565b9091555050505050565b600060188260405161168e919061373d565b908152604051908190036020019020546116aa57506001919050565b506000919050565b919050565b6019602052600090815260409020805481906116d290613644565b80601f01602080910402602001604051908101604052809291908181526020018280546116fe90613644565b801561174b5780601f106117205761010080835404028352916020019161174b565b820191906000526020600020905b81548152906001019060200180831161172e57829003601f168201915b5050505050905081565b61175f3383612472565b61177b5760405162461bcd60e51b815260040161097f90613759565b610a9a848484846127b9565b606061179282612307565b600061179c6127ec565b905060008151116117bc57604051806020016040528060008152506117e7565b806117c6846127fb565b6040516020016117d7929190613a48565b6040516020818303038152906040525b9392505050565b6117f7816111a3565b6001600160a01b0316336001600160a01b0316146118625760405162461bcd60e51b815260206004820152602260248201527f596f75206d757374206f776e2074686520746f6b656e20746f20747261766572604482015261736560f01b606482015260840161097f565b61ffff82166000908152600d60205260408120805461188090613644565b9050116118e65760405162461bcd60e51b815260206004820152602e60248201527f5468697320636861696e2069732063757272656e746c7920756e617661696c6160448201526d189b1948199bdc881d1c985d995b60921b606482015260840161097f565b600081815260196020526040808220905133918491601891611907916136e8565b9081526040805160209281900383018120546000888152601985529290922061193495949390910161389a565b60408051601f1981840301815290829052601654600160f01b60208401526022830152915060019060009060420160408051601f1981840301815290829052600b5463040a7bb160e41b83529092506000916001600160a01b03909116906340a7bb10906119ae90899030908990879089906004016138d1565b6040805180830381865afa1580156119ca573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ee9190613925565b50905080341015611a775760405162461bcd60e51b815260206004820152604760248201527f4c5a3a206d73672e76616c7565206e6f7420656e6f75676820746f20636f766560448201527f72206d6573736167654665652e2053656e642067617320666f72206d657373616064820152666765206665657360c81b608482015260a40161097f565b600b5461ffff87166000908152600d6020526040808220905162c5803160e81b81526001600160a01b039093169263c5803100923492611ac2928c928b913391908b90600401613a77565b6000604051808303818588803b158015611adb57600080fd5b505af1158015611aef573d6000803e3d6000fd5b5050505050611afd856128f8565b505050505050565b61ffff85166000908152600c60205260408082209051611b2690879061373d565b90815260408051602092819003830190206001600160401b0387166000908152925290206001810154909150611bad5760405162461bcd60e51b815260206004820152602660248201527f4e6f6e626c6f636b696e6752656365697665723a206e6f2073746f726564206d60448201526565737361676560d01b606482015260840161097f565b805482148015611bd7575080600101548383604051611bcd929190613ade565b6040518091039020145b611c235760405162461bcd60e51b815260206004820152601a60248201527f4c617965725a65726f3a20696e76616c6964207061796c6f6164000000000000604482015260640161097f565b60008082556001820155604051630e1bd41160e11b81523090631c37a82290611c589089908990899089908990600401613aee565b600060405180830381600087803b158015611c7257600080fd5b505af1158015611c86573d6000803e3d6000fd5b50505050505050505050565b6006546001600160a01b03163314611cbc5760405162461bcd60e51b815260040161097f906137a7565b42601882604051611ccd919061373d565b9081526040519081900360200190205410611d2a5760405162461bcd60e51b815260206004820181905260248201527f446f6d61696e206973206e6f7420657870697265642e204572726f7220233636604482015260640161097f565b611d6c601882604051611d3d919061373d565b9081526020016040518091039020600101546000908152600260205260409020546001600160a01b0316151590565b15611d9b57611d9b601882604051611d84919061373d565b9081526020016040518091039020600101546128f8565b60196000601883604051611daf919061373d565b90815260200160405180910390206001015481526020019081526020016000206000016000611dde9190612f56565b6000601882604051611df0919061373d565b90815260405190819003602001812091909155600090601890611e1490849061373d565b9081526040519081900360200190206001015550565b6006546001600160a01b03163314611e545760405162461bcd60e51b815260040161097f906137a7565b601555565b60105460ff1615611eca5760405162461bcd60e51b815260206004820152603560248201527f5265676973746572206e6f77206e6f74206176616c6961626c652e2054727920604482015274616761696e206c617465722e204572726f7220233160581b606482015260840161097f565b6001811015611f1b5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c696420796561722076616c75652e204572726f7220233330000000604482015260640161097f565b600382511015611fa15760405162461bcd60e51b815260206004820152604560248201527f4e616d6520697320746f6f2073686f72742e204e616d6573206d75737420626560448201527f206174206c6561737420332063686172616374657273206c6f6e672e2045727260648201526437b910119960d91b608482015260a40161097f565b611faa8261167c565b15156001146120175760405162461bcd60e51b815260206004820152603360248201527f446f6d61696e20756e6176616c6961626c652028486173206265656e2072656760448201527269737465726564292e204572726f722023343160681b606482015260840161097f565b60008161202384612246565b61202d91906139e7565b60155490915061203e606483613a1c565b61204891906139e7565b3410156120975760405162461bcd60e51b815260206004820152601e60248201527f436865636b2072656769737465722070726963652e204572726f722023330000604482015260640161097f565b6120a5826301e187e06139e7565b6120af9042613a30565b6018846040516120bf919061373d565b908152604051908190036020019020556017546120dd906001613a30565b6018846040516120ed919061373d565b908152602001604051809103902060010181905550826019600060175460016121169190613a30565b8152602001908152602001600020600001908051906020019061213a929190612ed6565b5061215333601754600161214e9190613a30565b61299f565b6001601760008282546116729190613a30565b6006546001600160a01b031633146121905760405162461bcd60e51b815260040161097f906137a7565b61ffff83166000908152600d60205260409020610a9a908383612f90565b6006546001600160a01b031633146121d85760405162461bcd60e51b815260040161097f906137a7565b6001600160a01b03811661223d5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161097f565b610ef981612698565b805160009060038111612270576117e761225e611421565b60145461226b9190613b4f565b6129b9565b8060041415612291576117e7612284611421565b60135461226b9190613b4f565b600581106122b1576117e76122a4611421565b60125461226b9190613b4f565b50919050565b60006001600160e01b031982166380ac58cd60e01b14806122e857506001600160e01b03198216635b5e139f60e01b145b80610ac557506301ffc9a760e01b6001600160e01b0319831614610ac5565b6000818152600260205260409020546001600160a01b0316610ef95760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161097f565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061239b826111a3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080600080848060200190518101906123ee9190613b7d565b935093509350935081601882604051612407919061373d565b90815260405190819003602001812091909155839060189061242a90849061373d565b90815260408051602092819003830190206001019290925560008581526019825291909120825161245d92840190612ed6565b50612468848461299f565b5050505050505050565b60008061247e836111a3565b9050806001600160a01b0316846001600160a01b031614806124c557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806124e95750836001600160a01b03166124de84610b5d565b6001600160a01b0316145b949350505050565b826001600160a01b0316612504826111a3565b6001600160a01b0316146125685760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161097f565b6001600160a01b0382166125ca5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161097f565b6125d5838383612a0f565b6125e0600082612366565b6001600160a01b0383166000908152600360205260408120805460019290612609908490613c1b565b90915550506001600160a01b0382166000908152600360205260408120805460019290612637908490613a30565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316141561274c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161097f565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6127c48484846124f1565b6127d084848484612ac7565b610a9a5760405162461bcd60e51b815260040161097f90613c32565b606060118054610ada90613644565b60608161281f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612849578061283381613808565b91506128429050600a83613a1c565b9150612823565b6000816001600160401b038111156128635761286361302b565b6040519080825280601f01601f19166020018201604052801561288d576020820181803683370190505b5090505b84156124e9576128a2600183613c1b565b91506128af600a86613c84565b6128ba906030613a30565b60f81b8183815181106128cf576128cf6137dc565b60200101906001600160f81b031916908160001a9053506128f1600a86613a1c565b9450612891565b6000612903826111a3565b905061291181600084612a0f565b61291c600083612366565b6001600160a01b0381166000908152600360205260408120805460019290612945908490613c1b565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b611088828260405180602001604052806000815250612bc5565b600080821215612a0b5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f736974697665604482015260640161097f565b5090565b6001600160a01b038316612a6a57612a6581600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b612a8d565b816001600160a01b0316836001600160a01b031614612a8d57612a8d8382612bf8565b6001600160a01b038216612aa457610c9581612c95565b826001600160a01b0316826001600160a01b031614610c9557610c958282612d44565b60006001600160a01b0384163b15612bba57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b0b903390899088908890600401613c98565b6020604051808303816000875af1925050508015612b46575060408051601f3d908101601f19168201909252612b4391810190613ccb565b60015b612ba0573d808015612b74576040519150601f19603f3d011682016040523d82523d6000602084013e612b79565b606091505b508051612b985760405162461bcd60e51b815260040161097f90613c32565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506124e9565b506001949350505050565b612bcf8383612d88565b612bdc6000848484612ac7565b610c955760405162461bcd60e51b815260040161097f90613c32565b60006001612c058461125f565b612c0f9190613c1b565b600083815260086020526040902054909150808214612c62576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090612ca790600190613c1b565b6000838152600a602052604081205460098054939450909284908110612ccf57612ccf6137dc565b906000526020600020015490508060098381548110612cf057612cf06137dc565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480612d2857612d28613ce8565b6001900381819060005260206000200160009055905550505050565b6000612d4f8361125f565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216612dde5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161097f565b6000818152600260205260409020546001600160a01b031615612e435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161097f565b612e4f60008383612a0f565b6001600160a01b0382166000908152600360205260408120805460019290612e78908490613a30565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612ee290613644565b90600052602060002090601f016020900481019282612f045760008555612f4a565b82601f10612f1d57805160ff1916838001178555612f4a565b82800160010185558215612f4a579182015b82811115612f4a578251825591602001919060010190612f2f565b50612a0b929150613004565b508054612f6290613644565b6000825580601f10612f72575050565b601f016020900490600052602060002090810190610ef99190613004565b828054612f9c90613644565b90600052602060002090601f016020900481019282612fbe5760008555612f4a565b82601f10612fd75782800160ff19823516178555612f4a565b82800160010185558215612f4a579182015b82811115612f4a578235825591602001919060010190612fe9565b5b80821115612a0b5760008155600101613005565b803561ffff811681146116b257600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156130695761306961302b565b604052919050565b60006001600160401b0382111561308a5761308a61302b565b50601f01601f191660200190565b600082601f8301126130a957600080fd5b81356130bc6130b782613071565b613041565b8181528460208386010111156130d157600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160401b03811681146116b257600080fd5b6000806000806080858703121561311b57600080fd5b61312485613019565b935060208501356001600160401b038082111561314057600080fd5b61314c88838901613098565b945061315a604088016130ee565b9350606087013591508082111561317057600080fd5b5061317d87828801613098565b91505092959194509250565b6001600160e01b031981168114610ef957600080fd5b6000602082840312156131b157600080fd5b81356117e781613189565b60005b838110156131d75781810151838201526020016131bf565b83811115610a9a5750506000910152565b600081518084526132008160208601602086016131bc565b601f01601f19169290920160200192915050565b6020815260006117e760208301846131e8565b60006020828403121561323957600080fd5b5035919050565b6001600160a01b0381168114610ef957600080fd5b6000806040838503121561326857600080fd5b823561327381613240565b946020939093013593505050565b60008060006060848603121561329657600080fd5b83356132a181613240565b925060208401356132b181613240565b929592945050506040919091013590565b6000602082840312156132d457600080fd5b81356001600160401b038111156132ea57600080fd5b6124e984828501613098565b60006020828403121561330857600080fd5b81356117e781613240565b6020808252825182820181905260009190848201906040850190845b8181101561334b5783518352928401929184019160010161332f565b50909695505050505050565b6000806040838503121561336a57600080fd5b61327383613019565b60008060006060848603121561338857600080fd5b505081359360208301359350604090920135919050565b6000602082840312156133b157600080fd5b6117e782613019565b6000806000606084860312156133cf57600080fd5b6133d884613019565b925060208401356001600160401b038111156133f357600080fd5b6133ff86828701613098565b925050604084013590509250925092565b6000806040838503121561342357600080fd5b82356001600160401b0381111561343957600080fd5b61344585828601613098565b95602094909401359450505050565b6000806040838503121561346757600080fd5b823561347281613240565b91506020830135801515811461348757600080fd5b809150509250929050565b600080600080608085870312156134a857600080fd5b84356134b381613240565b935060208501356134c381613240565b92506040850135915060608501356001600160401b038111156134e557600080fd5b61317d87828801613098565b60008083601f84011261350357600080fd5b5081356001600160401b0381111561351a57600080fd5b60208301915083602082850101111561353257600080fd5b9250929050565b60008060008060006080868803121561355157600080fd5b61355a86613019565b945060208601356001600160401b038082111561357657600080fd5b61358289838a01613098565b9550613590604089016130ee565b945060608801359150808211156135a657600080fd5b506135b3888289016134f1565b969995985093965092949392505050565b600080604083850312156135d757600080fd5b82356135e281613240565b9150602083013561348781613240565b60008060006040848603121561360757600080fd5b61361084613019565b925060208401356001600160401b0381111561362b57600080fd5b613637868287016134f1565b9497909650939450505050565b600181811c9082168061365857607f821691505b602082108114156122b157634e487b7160e01b600052602260045260246000fd5b6000815461368681613644565b6001828116801561369e57600181146136af576136de565b60ff198416875282870194506136de565b8560005260208060002060005b858110156136d55781548a8201529084019082016136bc565b50505082870194505b5050505092915050565b60006117e78284613679565b61ffff8516815260806020820152600061371160808301866131e8565b6001600160401b0385166040840152828103606084015261373281856131e8565b979650505050505050565b6000825161374f8184602087016131bc565b9190910192915050565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141561381c5761381c6137f2565b5060010190565b6000815461383081613644565b80855260206001838116801561384d57600181146138615761388f565b60ff1985168884015260408801955061388f565b866000528260002060005b858110156138875781548a820186015290830190840161386c565b890184019650505b505050505092915050565b60018060a01b03851681528360208201528260408201526080606082015260006138c76080830184613823565b9695505050505050565b61ffff861681526001600160a01b038516602082015260a0604082018190526000906138ff908301866131e8565b8415156060840152828103608084015261391981856131e8565b98975050505050505050565b6000806040838503121561393857600080fd5b505080516020909101519092909150565b60006020828403121561395b57600080fd5b5051919050565b60006001600160ff1b0381841382841380821686840486111615613988576139886137f2565b600160ff1b60008712828116878305891216156139a7576139a76137f2565b600087129250878205871284841616156139c3576139c36137f2565b878505871281841616156139d9576139d96137f2565b505050929093029392505050565b6000816000190483118215151615613a0157613a016137f2565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613a2b57613a2b613a06565b500490565b60008219821115613a4357613a436137f2565b500190565b60008351613a5a8184602088016131bc565b835190830190613a6e8183602088016131bc565b01949350505050565b61ffff8716815260c060208201526000613a9460c0830188613823565b8281036040840152613aa681886131e8565b6001600160a01b0387811660608601528616608085015283810360a08501529050613ad181856131e8565b9998505050505050505050565b8183823760009101908152919050565b61ffff86168152608060208201526000613b0b60808301876131e8565b6001600160401b03861660408401528281036060840152838152838560208301376000602085830101526020601f19601f8601168201019150509695505050505050565b600082613b5e57613b5e613a06565b600160ff1b821460001984141615613b7857613b786137f2565b500590565b60008060008060808587031215613b9357600080fd5b8451613b9e81613240565b80945050602085015192506040850151915060608501516001600160401b03811115613bc957600080fd5b8501601f81018713613bda57600080fd5b8051613be86130b782613071565b818152886020838501011115613bfd57600080fd5b613c0e8260208301602086016131bc565b9598949750929550505050565b600082821015613c2d57613c2d6137f2565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082613c9357613c93613a06565b500690565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906138c7908301846131e8565b600060208284031215613cdd57600080fd5b81516117e781613189565b634e487b7160e01b600052603160045260246000fdfea264697066735822122011ebd654bb6c72a0316b8e34b266f09594fbdb5c43a8eb8a8c45c73b6df65e1d64736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f7777772e6c7a2e646f6d61696e732f6d657461646174612f6a736f6e2f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI_ (string): https://www.lz.domains/metadata/json/
Arg [1] : _layerZeroEndpoint (address): 0x66A71Dcef29A0fFBDBE3c6a460a3B5BC225Cd675
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 00000000000000000000000066a71dcef29a0ffbdbe3c6a460a3b5bc225cd675
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [3] : 68747470733a2f2f7777772e6c7a2e646f6d61696e732f6d657461646174612f
Arg [4] : 6a736f6e2f000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
102077:7912:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;98721:949;;;;;;;;;;-1:-1:-1;98721:949:0;;;;;:::i;:::-;;:::i;:::-;;37310:224;;;;;;;;;;-1:-1:-1;37310:224:0;;;;;:::i;:::-;;:::i;:::-;;;2664:14:1;;2657:22;2639:41;;2627:2;2612:18;37310:224:0;;;;;;;;24044:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;25557:171::-;;;;;;;;;;-1:-1:-1;25557:171:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3791:32:1;;;3773:51;;3761:2;3746:18;25557:171:0;3627:203:1;25074:417:0;;;;;;;;;;-1:-1:-1;25074:417:0;;;;;:::i;:::-;;:::i;37950:113::-;;;;;;;;;;-1:-1:-1;38038:10:0;:17;37950:113;;;4437:25:1;;;4425:2;4410:18;37950:113:0;4291:177:1;99678:356:0;;;;;;;;;;-1:-1:-1;99678:356:0;;;;;:::i;:::-;;:::i;102459:36::-;;;;;;;;;;;;;:::i;26257:336::-;;;;;;;;;;-1:-1:-1;26257:336:0;;;;;:::i;:::-;;:::i;37618:256::-;;;;;;;;;;-1:-1:-1;37618:256:0;;;;;:::i;:::-;;:::i;109002:159::-;;;:::i;102941:48::-;;;;;;;;;;-1:-1:-1;102941:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5434:25:1;;;5490:2;5475:18;;5468:34;;;;5407:18;102941:48:0;5260:248:1;26664:185:0;;;;;;;;;;-1:-1:-1;26664:185:0;;;;;:::i;:::-;;:::i;109615:371::-;;;;;;;;;;-1:-1:-1;109615:371:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;38140:233::-;;;;;;;;;;-1:-1:-1;38140:233:0;;;;;:::i;:::-;;:::i;108904:90::-;;;;;;;;;;-1:-1:-1;108904:90:0;;;;;:::i;:::-;;:::i;106309:494::-;;;;;;;;;;-1:-1:-1;106309:494:0;;;;;:::i;:::-;;:::i;102502:25::-;;;;;;;;;;-1:-1:-1;102502:25:0;;;;;;;;23755:222;;;;;;;;;;-1:-1:-1;23755:222:0;;;;;:::i;:::-;;:::i;102534:21::-;;;;;;;;;;;;;:::i;108633:265::-;;;;;;;;;;-1:-1:-1;108633:265:0;;;;;:::i;:::-;;:::i;23486:207::-;;;;;;;;;;-1:-1:-1;23486:207:0;;;;;:::i;:::-;;:::i;97356:103::-;;;;;;;;;;;;;:::i;98563:51::-;;;;;;;;;;-1:-1:-1;98563:51:0;;;;;:::i;:::-;;:::i;96705:87::-;;;;;;;;;;-1:-1:-1;96778:6:0;;-1:-1:-1;;;;;96778:6:0;96705:87;;98466:90;;;;;;;;;;-1:-1:-1;98466:90:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109169:125;;;;;;;;;;-1:-1:-1;109169:125:0;;;;;:::i;:::-;;:::i;24213:104::-;;;;;;;;;;;;;:::i;108452:175::-;;;;;;;;;;;;;:::i;104062:142::-;;;;;;;;;;-1:-1:-1;104062:142:0;;;;;:::i;:::-;;:::i;25800:155::-;;;;;;;;;;-1:-1:-1;25800:155:0;;;;;:::i;:::-;;:::i;109416:79::-;;;;;;;;;;-1:-1:-1;109482:5:0;;109416:79;;103493:104;;;;;;;;;;;;;:::i;105108:513::-;;;;;;:::i;:::-;;:::i;106074:229::-;;;;;;;;;;-1:-1:-1;106074:229:0;;;;;:::i;:::-;;:::i;103052:49::-;;;;;;;;;;-1:-1:-1;103052:49:0;;;;;:::i;:::-;;:::i;26920:323::-;;;;;;;;;;-1:-1:-1;26920:323:0;;;;;:::i;:::-;;:::i;24388:281::-;;;;;;;;;;-1:-1:-1;24388:281:0;;;;;:::i;:::-;;:::i;106809:1159::-;;;;;;:::i;:::-;;:::i;100510:758::-;;;;;;:::i;:::-;;:::i;103603:453::-;;;;;;;;;;-1:-1:-1;103603:453:0;;;;;:::i;:::-;;:::i;109302:106::-;;;;;;;;;;-1:-1:-1;109302:106:0;;;;;:::i;:::-;;:::i;26026:164::-;;;;;;;;;;-1:-1:-1;26026:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;26147:25:0;;;26123:4;26147:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;26026:164;104210:892;;;;;;:::i;:::-;;:::i;101276:158::-;;;;;;;;;;-1:-1:-1;101276:158:0;;;;;:::i;:::-;;:::i;97614:201::-;;;;;;;;;;-1:-1:-1;97614:201:0;;;;;:::i;:::-;;:::i;105631:437::-;;;;;;;;;;-1:-1:-1;105631:437:0;;;;;:::i;:::-;;:::i;98721:949::-;98883:8;;-1:-1:-1;;;;;98883:8:0;98861:10;:31;98853:40;;;;;;99004:32;;;;;;;:19;:32;;;;;:39;;;;;:::i;:::-;;;98982:11;:18;:61;:134;;;;-1:-1:-1;99083:32:0;;;;;;;:19;:32;;;;;;;99073:43;;;;99083:32;99073:43;:::i;:::-;;;;;;;;99057:11;99047:22;;;;;;:69;98982:134;98974:213;;;;-1:-1:-1;;;98974:213:0;;13264:2:1;98974:213:0;;;13246:21:1;13303:2;13283:18;;;13276:30;13342:34;13322:18;;;13315:62;-1:-1:-1;;;13393:18:1;;;13386:50;13453:19;;98974:213:0;;;;;;;;;99315:60;;-1:-1:-1;;;99315:60:0;;:4;;:16;;:60;;99332:11;;99345;;99358:6;;99366:8;;99315:60;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99311:352;;99522:52;;;;;;;;99537:8;:15;99522:52;;;;99564:8;99554:19;;;;;;99522:52;;;99471:14;:27;99486:11;99471:27;;;;;;;;;;;;;;;99499:11;99471:40;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;99471:48:0;;;;;;;;;;;;;:103;;;;;;;;;;;;;;;99594:57;;;;99608:11;;99621;;99512:6;;99642:8;;99594:57;:::i;:::-;;;;;;;;99311:352;98721:949;;;;:::o;37310:224::-;37412:4;-1:-1:-1;;;;;;37436:50:0;;-1:-1:-1;;;37436:50:0;;:90;;;37490:36;37514:11;37490:23;:36::i;:::-;37429:97;37310:224;-1:-1:-1;;37310:224:0:o;24044:100::-;24098:13;24131:5;24124:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24044:100;:::o;25557:171::-;25633:7;25653:23;25668:7;25653:14;:23::i;:::-;-1:-1:-1;25696:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;25696:24:0;;25557:171::o;25074:417::-;25155:13;25171:23;25186:7;25171:14;:23::i;:::-;25155:39;;25219:5;-1:-1:-1;;;;;25213:11:0;:2;-1:-1:-1;;;;;25213:11:0;;;25205:57;;;;-1:-1:-1;;;25205:57:0;;14526:2:1;25205:57:0;;;14508:21:1;14565:2;14545:18;;;14538:30;14604:34;14584:18;;;14577:62;-1:-1:-1;;;14655:18:1;;;14648:31;14696:19;;25205:57:0;14324:397:1;25205:57:0;3256:10;-1:-1:-1;;;;;25297:21:0;;;;:62;;-1:-1:-1;25322:37:0;25339:5;3256:10;26026:164;:::i;25322:37::-;25275:174;;;;-1:-1:-1;;;25275:174:0;;14928:2:1;25275:174:0;;;14910:21:1;14967:2;14947:18;;;14940:30;15006:34;14986:18;;;14979:62;15077:32;15057:18;;;15050:60;15127:19;;25275:174:0;14726:426:1;25275:174:0;25462:21;25471:2;25475:7;25462:8;:21::i;:::-;25144:347;25074:417;;:::o;99678:356::-;99847:10;99869:4;99847:27;99839:83;;;;-1:-1:-1;;;99839:83:0;;15359:2:1;99839:83:0;;;15341:21:1;15398:2;15378:18;;;15371:30;15437:34;15417:18;;;15410:62;-1:-1:-1;;;15488:18:1;;;15481:41;15539:19;;99839:83:0;15157:407:1;99839:83:0;99971:55;99983:11;99996;100009:6;100017:8;99971:10;:55::i;102459:36::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26257:336::-;26452:41;3256:10;26485:7;26452:18;:41::i;:::-;26444:100;;;;-1:-1:-1;;;26444:100:0;;;;;;;:::i;:::-;26557:28;26567:4;26573:2;26577:7;26557:9;:28::i;37618:256::-;37715:7;37751:23;37768:5;37751:16;:23::i;:::-;37743:5;:31;37735:87;;;;-1:-1:-1;;;37735:87:0;;16186:2:1;37735:87:0;;;16168:21:1;16225:2;16205:18;;;16198:30;16264:34;16244:18;;;16237:62;-1:-1:-1;;;16315:18:1;;;16308:41;16366:19;;37735:87:0;15984:407:1;37735:87:0;-1:-1:-1;;;;;;37840:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37618:256::o;109002:159::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;109059:9:::1;109082:7;96778:6:::0;;-1:-1:-1;;;;;96778:6:0;;96705:87;109082:7:::1;-1:-1:-1::0;;;;;109074:21:0::1;109103;109074:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109058:71;;;109148:4;109140:13;;;::::0;::::1;;109047:114;109002:159::o:0;26664:185::-;26802:39;26819:4;26825:2;26829:7;26802:39;;;;;;;;;;;;:16;:39::i;109615:371::-;109674:16;109703:23;109729:17;109739:6;109729:9;:17::i;:::-;109703:43;;109757:25;109799:15;-1:-1:-1;;;;;109785:30:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109785:30:0;;109757:58;;109831:9;109826:127;109846:15;109842:1;:19;109826:127;;;109911:30;109931:6;109939:1;109911:19;:30::i;:::-;109883:8;109893:1;109883:12;;;;;;;;:::i;:::-;;;;;;;;;;:58;109863:3;;;;:::i;:::-;;;;109826:127;;;-1:-1:-1;109970:8:0;109615:371;-1:-1:-1;;;109615:371:0:o;38140:233::-;38215:7;38251:30;38038:10;:17;;37950:113;38251:30;38243:5;:38;38235:95;;;;-1:-1:-1;;;38235:95:0;;17573:2:1;38235:95:0;;;17555:21:1;17612:2;17592:18;;;17585:30;17651:34;17631:18;;;17624:62;-1:-1:-1;;;17702:18:1;;;17695:42;17754:19;;38235:95:0;17371:408:1;38235:95:0;38348:10;38359:5;38348:17;;;;;;;;:::i;:::-;;;;;;;;;38341:24;;38140:233;;;:::o;108904:90::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;108973:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;108904:90:::0;:::o;106309:494::-;106387:4;106473:19;;;:10;:19;;;;;;106461:37;;106387:4;;106438:10;;106451:7;;106461:11;;:37;;106473:19;106461:37;:::i;:::-;;;;;;;;;;;;;;;;:42;;106506:19;;;:10;:19;;;;;;106427:104;;;;106506:19;;106427:104;;:::i;:::-;;;;-1:-1:-1;;106427:104:0;;;;;;;;;;106628:26;;-1:-1:-1;;;106427:104:0;106602:53;;19351:51:1;19418:11;;;19411:27;106427:104:0;-1:-1:-1;106561:1:0;;106544:14;;19454:12:1;;106602:53:0;;;-1:-1:-1;;106602:53:0;;;;;;;;;;106690:8;;-1:-1:-1;;;106690:77:0;;106602:53;;-1:-1:-1;106669:15:0;;-1:-1:-1;;;;;106690:8:0;;;;:21;;:77;;106712:8;;106730:4;;106737:7;;106669:15;;106602:53;;106690:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;106668:99:0;106309:494;-1:-1:-1;;;;;;;106309:494:0:o;23755:222::-;23827:7;23863:16;;;:7;:16;;;;;;-1:-1:-1;;;;;23863:16:0;23898:19;23890:56;;;;-1:-1:-1;;;23890:56:0;;20576:2:1;23890:56:0;;;20558:21:1;20615:2;20595:18;;;20588:30;-1:-1:-1;;;20634:18:1;;;20627:54;20698:18;;23890:56:0;20374:348:1;102534:21:0;;;;;;;:::i;108633:265::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;108717:6;;108713:53:::1;;108739:11;:15:::0;;;108713:53:::1;108781:6:::0;;108776:53:::1;;108803:10;:14:::0;;;108776:53:::1;108843:6:::0;;108839:52:::1;;108865:10;:14:::0;-1:-1:-1;;108633:265:0:o;23486:207::-;23558:7;-1:-1:-1;;;;;23586:19:0;;23578:73;;;;-1:-1:-1;;;23578:73:0;;20929:2:1;23578:73:0;;;20911:21:1;20968:2;20948:18;;;20941:30;21007:34;20987:18;;;20980:62;-1:-1:-1;;;21058:18:1;;;21051:39;21107:19;;23578:73:0;20727:405:1;23578:73:0;-1:-1:-1;;;;;;23669:16:0;;;;;:9;:16;;;;;;;23486:207::o;97356:103::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;97421:30:::1;97448:1;97421:18;:30::i;:::-;97356:103::o:0;98563:51::-;;;;;;;;;;;;;;;;:::i;109169:125::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;109251:26:::1;:35:::0;109169:125::o;24213:104::-;24269:13;24302:7;24295:14;;;;;:::i;108452:175::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;108509:6:::1;::::0;::::1;;:14;;:6:::0;:14:::1;108505:115;;;108540:6;:14:::0;;-1:-1:-1;;108540:14:0::1;::::0;;97356:103::o;108505:115::-:1;108595:6;:13:::0;;-1:-1:-1;;108595:13:0::1;108604:4;108595:13;::::0;;108452:175::o;104062:142::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;104189:7:::1;104158:11;104170:10;104158:23;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:38;-1:-1:-1;;104062:142:0:o;25800:155::-;25895:52;3256:10;25928:8;25938;25895:18;:52::i;103493:104::-;103558:9;;:24;;;-1:-1:-1;;;103558:24:0;;;;103532:6;;-1:-1:-1;;;;;103558:9:0;;:22;;:24;;;;;;;;;;;;;;:9;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:31;;103583:6;103558:31;:::i;:::-;103551:38;;103493:104;:::o;105108:513::-;105225:1;105203:10;105197:24;:29;;105189:112;;;;-1:-1:-1;;;105189:112:0;;22366:2:1;105189:112:0;;;22348:21:1;22405:2;22385:18;;;22378:30;22444:34;22424:18;;;22417:62;22515:34;22495:18;;;22488:62;-1:-1:-1;;;22566:19:1;;;22559:37;22613:19;;105189:112:0;22164:474:1;105189:112:0;105334:38;105342:11;105354:10;105342:23;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;105334:7;:38::i;:::-;-1:-1:-1;;;;;105320:52:0;:10;-1:-1:-1;;;;;105320:52:0;;105312:90;;;;-1:-1:-1;;;105312:90:0;;22845:2:1;105312:90:0;;;22827:21:1;22884:2;22864:18;;;22857:30;22923:26;22903:18;;;22896:54;22967:18;;105312:90:0;22643:348:1;105312:90:0;105413:13;105455:4;105429:23;105441:10;105429:11;:23::i;:::-;:30;;;;:::i;:::-;105507:9;;105413:46;;-1:-1:-1;105492:11:0;105500:3;105413:46;105492:11;:::i;:::-;105491:25;;;;:::i;:::-;105478:9;:38;;105470:83;;;;-1:-1:-1;;;105470:83:0;;23628:2:1;105470:83:0;;;23610:21:1;23667:2;23647:18;;;23640:30;23706:33;23686:18;;;23679:61;23757:18;;105470:83:0;23426:355:1;105470:83:0;105596:15;:4;105603:8;105596:15;:::i;:::-;105564:11;105576:10;105564:23;;;;;;:::i;:::-;;;;;;;;;;;;;:28;;;:47;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;105108:513:0:o;106074:229::-;106150:4;106170:11;106182:10;106170:23;;;;;;:::i;:::-;;;;;;;;;;;;;;:28;106166:130;;-1:-1:-1;106227:4:0;;106074:229;-1:-1:-1;106074:229:0:o;106166:130::-;-1:-1:-1;106279:5:0;;106074:229;-1:-1:-1;106074:229:0:o;106166:130::-;106074:229;;;:::o;103052:49::-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;26920:323::-;27094:41;3256:10;27127:7;27094:18;:41::i;:::-;27086:100;;;;-1:-1:-1;;;27086:100:0;;;;;;;:::i;:::-;27197:38;27211:4;27217:2;27221:7;27230:4;27197:13;:38::i;24388:281::-;24461:13;24487:23;24502:7;24487:14;:23::i;:::-;24523:21;24547:10;:8;:10::i;:::-;24523:34;;24599:1;24581:7;24575:21;:25;:86;;;;;;;;;;;;;;;;;24627:7;24636:18;:7;:16;:18::i;:::-;24610:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;24575:86;24568:93;24388:281;-1:-1:-1;;;24388:281:0:o;106809:1159::-;106912:16;106920:7;106912;:16::i;:::-;-1:-1:-1;;;;;106898:30:0;:10;-1:-1:-1;;;;;106898:30:0;;106890:77;;;;-1:-1:-1;;;106890:77:0;;24596:2:1;106890:77:0;;;24578:21:1;24635:2;24615:18;;;24608:30;24674:34;24654:18;;;24647:62;-1:-1:-1;;;24725:18:1;;;24718:32;24767:19;;106890:77:0;24394:398:1;106890:77:0;106986:29;;;107025:1;106986:29;;;:19;:29;;;;;:36;;;;;:::i;:::-;;;:40;106978:99;;;;-1:-1:-1;;;106978:99:0;;24999:2:1;106978:99:0;;;24981:21:1;25038:2;25018:18;;;25011:30;25077:34;25057:18;;;25050:62;-1:-1:-1;;;25128:18:1;;;25121:44;25182:19;;106978:99:0;24797:410:1;106978:99:0;107090:20;107160:19;;;:10;:19;;;;;;107148:37;;107124:10;;107137:7;;107148:11;;:37;;;:::i;:::-;;;;;;;;;;;;;;;;:42;;107193:19;;;:10;:19;;;;;;107113:105;;;;107193:19;;107113:105;;:::i;:::-;;;;-1:-1:-1;;107113:105:0;;;;;;;;;;107315:26;;-1:-1:-1;;;107113:105:0;107289:53;;19351:51:1;19418:11;;;19411:27;107113:105:0;-1:-1:-1;107248:1:0;;107231:14;;19454:12:1;;107289:53:0;;;-1:-1:-1;;107289:53:0;;;;;;;;;;107377:8;;-1:-1:-1;;;107377:77:0;;107289:53;;-1:-1:-1;107356:15:0;;-1:-1:-1;;;;;107377:8:0;;;;:21;;:77;;107399:8;;107417:4;;107424:7;;107356:15;;107289:53;;107377:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;107355:99;;;107496:10;107483:9;:23;;107475:107;;;;-1:-1:-1;;;107475:107:0;;25414:2:1;107475:107:0;;;25396:21:1;25453:2;25433:18;;;25426:30;25492:34;25472:18;;;25465:62;25563:34;25543:18;;;25536:62;-1:-1:-1;;;25614:19:1;;;25607:38;25662:19;;107475:107:0;25212:475:1;107475:107:0;107595:8;;107691:29;;;107595:8;107691:29;;;:19;:29;;;;;;107595:340;;-1:-1:-1;;;107595:340:0;;-1:-1:-1;;;;;107595:8:0;;;;:13;;107616:9;;107595:340;;107641:8;;107741:7;;107798:10;;107595:8;107889:13;;107595:340;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;107946:14;107952:7;107946:5;:14::i;:::-;106879:1089;;;;106809:1159;;:::o;100510:758::-;100726:27;;;100691:32;100726:27;;;:14;:27;;;;;;:40;;;;100754:11;;100726:40;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;100726:48:0;;;;;;;;;;100793:21;;;;100726:48;;-1:-1:-1;100785:86:0;;;;-1:-1:-1;;;100785:86:0;;26744:2:1;100785:86:0;;;26726:21:1;26783:2;26763:18;;;26756:30;26822:34;26802:18;;;26795:62;-1:-1:-1;;;26873:18:1;;;26866:36;26919:19;;100785:86:0;26542:402:1;100785:86:0;100909:23;;100890:42;;:90;;;;;100959:9;:21;;;100946:8;;100936:19;;;;;;;:::i;:::-;;;;;;;;:44;100890:90;100882:129;;;;-1:-1:-1;;;100882:129:0;;27427:2:1;100882:129:0;;;27409:21:1;27466:2;27446:18;;;27439:30;27505:28;27485:18;;;27478:56;27551:18;;100882:129:0;27225:350:1;100882:129:0;101085:1;101059:27;;;101097:21;;;:34;101200:60;;-1:-1:-1;;;101200:60:0;;:4;;:16;;:60;;101217:11;;101230;;101243:6;;101251:8;;;;101200:60;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100635:633;100510:758;;;;;:::o;103603:453::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;103722:15:::1;103691:11;103703:10;103691:23;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:28;:46:::1;103683:91;;;::::0;-1:-1:-1;;;103683:91:0;;28505:2:1;103683:91:0::1;::::0;::::1;28487:21:1::0;;;28524:18;;;28517:30;28583:34;28563:18;;;28556:62;28635:18;;103683:91:0::1;28303:356:1::0;103683:91:0::1;103788:38;103796:11;103808:10;103796:23;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;28815:4:::0;28839:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28839:16:0;:30;;;28750:127;103788:38:::1;103785:105;;;103842:36;103848:11;103860:10;103848:23;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;103842:5;:36::i;:::-;103915:10;:41;103926:11;103938:10;103926:23;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;;103915:41;;;;;;;;;;;:46;;;103908:53;;;;:::i;:::-;104003:1;103972:11;103984:10;103972:23;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:32;;;;:28:::1;::::0;104015:11:::1;::::0;:23:::1;::::0;104027:10;;104015:23:::1;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:29:::1;;:33:::0;-1:-1:-1;103603:453:0:o;109302:106::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;109376:9:::1;:24:::0;109302:106::o;104210:892::-;104303:6;;;;104302:7;104294:74;;;;-1:-1:-1;;;104294:74:0;;28866:2:1;104294:74:0;;;28848:21:1;28905:2;28885:18;;;28878:30;28944:34;28924:18;;;28917:62;-1:-1:-1;;;28995:18:1;;;28988:51;29056:19;;104294:74:0;28664:417:1;104294:74:0;104395:1;104387:4;:9;;104379:52;;;;-1:-1:-1;;;104379:52:0;;29288:2:1;104379:52:0;;;29270:21:1;29327:2;29307:18;;;29300:30;29366:31;29346:18;;;29339:59;29415:18;;104379:52:0;29086:353:1;104379:52:0;104478:1;104456:10;104450:24;:29;;104442:111;;;;-1:-1:-1;;;104442:111:0;;29646:2:1;104442:111:0;;;29628:21:1;29685:2;29665:18;;;29658:30;29724:34;29704:18;;;29697:62;29795:34;29775:18;;;29768:62;-1:-1:-1;;;29846:19:1;;;29839:36;29892:19;;104442:111:0;29444:473:1;104442:111:0;104572:32;104593:10;104572:20;:32::i;:::-;:40;;104608:4;104572:40;104564:105;;;;-1:-1:-1;;;104564:105:0;;30124:2:1;104564:105:0;;;30106:21:1;30163:2;30143:18;;;30136:30;30202:34;30182:18;;;30175:62;-1:-1:-1;;;30253:18:1;;;30246:49;30312:19;;104564:105:0;29922:415:1;104564:105:0;104680:13;104722:4;104696:23;104708:10;104696:11;:23::i;:::-;:30;;;;:::i;:::-;104774:9;;104680:46;;-1:-1:-1;104759:11:0;104767:3;104680:46;104759:11;:::i;:::-;104758:25;;;;:::i;:::-;104745:9;:38;;104737:82;;;;-1:-1:-1;;;104737:82:0;;30544:2:1;104737:82:0;;;30526:21:1;30583:2;30563:18;;;30556:30;30622:32;30602:18;;;30595:60;30672:18;;104737:82:0;30342:354:1;104737:82:0;104881:15;:4;104888:8;104881:15;:::i;:::-;104863:33;;:15;:33;:::i;:::-;104832:11;104844:10;104832:23;;;;;;:::i;:::-;;;;;;;;;;;;;;:64;104939:5;;:9;;104947:1;104939:9;:::i;:::-;104907:11;104919:10;104907:23;;;;;;:::i;:::-;;;;;;;;;;;;;:29;;:41;;;;105018:10;104989;:21;105000:5;;105008:1;105000:9;;;;:::i;:::-;104989:21;;;;;;;;;;;:26;;:39;;;;;;;;;;;;:::i;:::-;;105039:32;105049:10;105061:5;;105069:1;105061:9;;;;:::i;:::-;105039;:32::i;:::-;105091:1;105082:5;;:10;;;;;;;:::i;101276:158::-;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;101380:29:::1;::::0;::::1;;::::0;;;:19:::1;:29;::::0;;;;:46:::1;::::0;101412:14;;101380:46:::1;:::i;97614:201::-:0;96778:6;;-1:-1:-1;;;;;96778:6:0;3256:10;96925:23;96917:68;;;;-1:-1:-1;;;96917:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;97703:22:0;::::1;97695:73;;;::::0;-1:-1:-1;;;97695:73:0;;30903:2:1;97695:73:0::1;::::0;::::1;30885:21:1::0;30942:2;30922:18;;;30915:30;30981:34;30961:18;;;30954:62;-1:-1:-1;;;31032:18:1;;;31025:36;31078:19;;97695:73:0::1;30701:402:1::0;97695:73:0::1;97779:28;97798:8;97779:18;:28::i;105631:437::-:0;105736:24;;105698:7;;105787:1;105775:13;;105771:290;;105811:36;105826:8;:6;:8::i;:::-;105812:11;;:22;;;;:::i;:::-;105811:34;:36::i;105771:290::-;105877:8;105889:1;105877:13;105874:187;;;105913:35;105927:8;:6;:8::i;:::-;105914:10;;:21;;;;:::i;105874:187::-;105990:1;105978:8;:13;105975:86;;106014:35;106028:8;:6;:8::i;:::-;106015:10;;:21;;;;:::i;105975:86::-;105706:362;105631:437;;;:::o;23117:305::-;23219:4;-1:-1:-1;;;;;;23256:40:0;;-1:-1:-1;;;23256:40:0;;:105;;-1:-1:-1;;;;;;;23313:48:0;;-1:-1:-1;;;23313:48:0;23256:105;:158;;;-1:-1:-1;;;;;;;;;;14888:40:0;;;23378:36;14779:157;33532:135;28815:4;28839:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28839:16:0;33606:53;;;;-1:-1:-1;;;33606:53:0;;20576:2:1;33606:53:0;;;20558:21:1;20615:2;20595:18;;;20588:30;-1:-1:-1;;;20634:18:1;;;20627:54;20698:18;;33606:53:0;20374:348:1;32811:174:0;32886:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;32886:29:0;-1:-1:-1;;;;;32886:29:0;;;;;;;;:24;;32940:23;32886:24;32940:14;:23::i;:::-;-1:-1:-1;;;;;32931:46:0;;;;;;;;;;;32811:174;;:::o;107974:470::-;108127:14;108143:12;108157;108171:24;108210:8;108199:54;;;;;;;;;;;;:::i;:::-;108126:127;;;;;;;;108295:4;108264:11;108276:10;108264:23;;;;;;:::i;:::-;;;;;;;;;;;;;;:35;;;;108342:7;;108310:11;;:23;;108322:10;;108310:23;:::i;:::-;;;;;;;;;;;;;;;;:29;;:39;;;;108360:19;;;;:10;:19;;;;;;:37;;;;;;;;:::i;:::-;;108408:26;108418:6;108426:7;108408:9;:26::i;:::-;108096:348;;;;107974:470;;;;:::o;29044:264::-;29137:4;29154:13;29170:23;29185:7;29170:14;:23::i;:::-;29154:39;;29223:5;-1:-1:-1;;;;;29212:16:0;:7;-1:-1:-1;;;;;29212:16:0;;:52;;;-1:-1:-1;;;;;;26147:25:0;;;26123:4;26147:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;29232:32;29212:87;;;;29292:7;-1:-1:-1;;;;;29268:31:0;:20;29280:7;29268:11;:20::i;:::-;-1:-1:-1;;;;;29268:31:0;;29212:87;29204:96;29044:264;-1:-1:-1;;;;29044:264:0:o;32067:625::-;32226:4;-1:-1:-1;;;;;32199:31:0;:23;32214:7;32199:14;:23::i;:::-;-1:-1:-1;;;;;32199:31:0;;32191:81;;;;-1:-1:-1;;;32191:81:0;;32407:2:1;32191:81:0;;;32389:21:1;32446:2;32426:18;;;32419:30;32485:34;32465:18;;;32458:62;-1:-1:-1;;;32536:18:1;;;32529:35;32581:19;;32191:81:0;32205:401:1;32191:81:0;-1:-1:-1;;;;;32291:16:0;;32283:65;;;;-1:-1:-1;;;32283:65:0;;32813:2:1;32283:65:0;;;32795:21:1;32852:2;32832:18;;;32825:30;32891:34;32871:18;;;32864:62;-1:-1:-1;;;32942:18:1;;;32935:34;32986:19;;32283:65:0;32611:400:1;32283:65:0;32361:39;32382:4;32388:2;32392:7;32361:20;:39::i;:::-;32465:29;32482:1;32486:7;32465:8;:29::i;:::-;-1:-1:-1;;;;;32507:15:0;;;;;;:9;:15;;;;;:20;;32526:1;;32507:15;:20;;32526:1;;32507:20;:::i;:::-;;;;-1:-1:-1;;;;;;;32538:13:0;;;;;;:9;:13;;;;;:18;;32555:1;;32538:13;:18;;32555:1;;32538:18;:::i;:::-;;;;-1:-1:-1;;32567:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;32567:21:0;-1:-1:-1;;;;;32567:21:0;;;;;;;;;32606:27;;32567:16;;32606:27;;;;;;;25144:347;25074:417;;:::o;97975:191::-;98068:6;;;-1:-1:-1;;;;;98085:17:0;;;-1:-1:-1;;;;;;98085:17:0;;;;;;;98118:40;;98068:6;;;98085:17;98068:6;;98118:40;;98049:16;;98118:40;98038:128;97975:191;:::o;33128:315::-;33283:8;-1:-1:-1;;;;;33274:17:0;:5;-1:-1:-1;;;;;33274:17:0;;;33266:55;;;;-1:-1:-1;;;33266:55:0;;33348:2:1;33266:55:0;;;33330:21:1;33387:2;33367:18;;;33360:30;33426:27;33406:18;;;33399:55;33471:18;;33266:55:0;33146:349:1;33266:55:0;-1:-1:-1;;;;;33332:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;33332:46:0;;;;;;;;;;33394:41;;2639::1;;;33394::0;;2612:18:1;33394:41:0;;;;;;;33128:315;;;:::o;28124:313::-;28280:28;28290:4;28296:2;28300:7;28280:9;:28::i;:::-;28327:47;28350:4;28356:2;28360:7;28369:4;28327:22;:47::i;:::-;28319:110;;;;-1:-1:-1;;;28319:110:0;;;;;;;:::i;109503:100::-;109555:13;109588:7;109581:14;;;;;:::i;430:723::-;486:13;707:10;703:53;;-1:-1:-1;;734:10:0;;;;;;;;;;;;-1:-1:-1;;;734:10:0;;;;;430:723::o;703:53::-;781:5;766:12;822:78;829:9;;822:78;;855:8;;;;:::i;:::-;;-1:-1:-1;878:10:0;;-1:-1:-1;886:2:0;878:10;;:::i;:::-;;;822:78;;;910:19;942:6;-1:-1:-1;;;;;932:17:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;932:17:0;;910:39;;960:154;967:10;;960:154;;994:11;1004:1;994:11;;:::i;:::-;;-1:-1:-1;1063:10:0;1071:2;1063:5;:10;:::i;:::-;1050:24;;:2;:24;:::i;:::-;1037:39;;1020:6;1027;1020:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;1020:56:0;;;;;;;;-1:-1:-1;1091:11:0;1100:2;1091:11;;:::i;:::-;;;960:154;;31310:420;31370:13;31386:23;31401:7;31386:14;:23::i;:::-;31370:39;;31422:48;31443:5;31458:1;31462:7;31422:20;:48::i;:::-;31511:29;31528:1;31532:7;31511:8;:29::i;:::-;-1:-1:-1;;;;;31553:16:0;;;;;;:9;:16;;;;;:21;;31573:1;;31553:16;:21;;31573:1;;31553:21;:::i;:::-;;;;-1:-1:-1;;31592:16:0;;;;:7;:16;;;;;;31585:23;;-1:-1:-1;;;;;;31585:23:0;;;31626:36;31600:7;;31592:16;-1:-1:-1;;;;;31626:36:0;;;;;31592:16;;31626:36;108973:13:::1;108904:90:::0;:::o;29650:110::-;29726:26;29736:2;29740:7;29726:26;;;;;;;;;;;;:9;:26::i;68187:171::-;68243:7;68280:1;68271:5;:10;;68263:55;;;;-1:-1:-1;;;68263:55:0;;34238:2:1;68263:55:0;;;34220:21:1;;;34257:18;;;34250:30;34316:34;34296:18;;;34289:62;34368:18;;68263:55:0;34036:356:1;68263:55:0;-1:-1:-1;68344:5:0;68187:171::o;38986:589::-;-1:-1:-1;;;;;39192:18:0;;39188:187;;39227:40;39259:7;40402:10;:17;;40375:24;;;;:15;:24;;;;;:44;;;40430:24;;;;;;;;;;;;40298:164;39227:40;39188:187;;;39297:2;-1:-1:-1;;;;;39289:10:0;:4;-1:-1:-1;;;;;39289:10:0;;39285:90;;39316:47;39349:4;39355:7;39316:32;:47::i;:::-;-1:-1:-1;;;;;39389:16:0;;39385:183;;39422:45;39459:7;39422:36;:45::i;39385:183::-;39495:4;-1:-1:-1;;;;;39489:10:0;:2;-1:-1:-1;;;;;39489:10:0;;39485:83;;39516:40;39544:2;39548:7;39516:27;:40::i;34231:853::-;34385:4;-1:-1:-1;;;;;34406:13:0;;4918:19;:23;34402:675;;34442:71;;-1:-1:-1;;;34442:71:0;;-1:-1:-1;;;;;34442:36:0;;;;;:71;;3256:10;;34493:4;;34499:7;;34508:4;;34442:71;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34442:71:0;;;;;;;;-1:-1:-1;;34442:71:0;;;;;;;;;;;;:::i;:::-;;;34438:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34683:13:0;;34679:328;;34726:60;;-1:-1:-1;;;34726:60:0;;;;;;;:::i;34679:328::-;34957:6;34951:13;34942:6;34938:2;34934:15;34927:38;34438:584;-1:-1:-1;;;;;;34564:51:0;-1:-1:-1;;;34564:51:0;;-1:-1:-1;34557:58:0;;34402:675;-1:-1:-1;35061:4:0;34231:853;;;;;;:::o;29987:319::-;30116:18;30122:2;30126:7;30116:5;:18::i;:::-;30167:53;30198:1;30202:2;30206:7;30215:4;30167:22;:53::i;:::-;30145:153;;;;-1:-1:-1;;;30145:153:0;;;;;;;:::i;41089:988::-;41355:22;41405:1;41380:22;41397:4;41380:16;:22::i;:::-;:26;;;;:::i;:::-;41417:18;41438:26;;;:17;:26;;;;;;41355:51;;-1:-1:-1;41571:28:0;;;41567:328;;-1:-1:-1;;;;;41638:18:0;;41616:19;41638:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41689:30;;;;;;:44;;;41806:30;;:17;:30;;;;;:43;;;41567:328;-1:-1:-1;41991:26:0;;;;:17;:26;;;;;;;;41984:33;;;-1:-1:-1;;;;;42035:18:0;;;;;:12;:18;;;;;:34;;;;;;;42028:41;41089:988::o;42372:1079::-;42650:10;:17;42625:22;;42650:21;;42670:1;;42650:21;:::i;:::-;42682:18;42703:24;;;:15;:24;;;;;;43076:10;:26;;42625:46;;-1:-1:-1;42703:24:0;;42625:46;;43076:26;;;;;;:::i;:::-;;;;;;;;;43054:48;;43140:11;43115:10;43126;43115:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;43220:28;;;:15;:28;;;;;;;:41;;;43392:24;;;;;43385:31;43427:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;42443:1008;;;42372:1079;:::o;39876:221::-;39961:14;39978:20;39995:2;39978:16;:20::i;:::-;-1:-1:-1;;;;;40009:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;40054:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39876:221:0:o;30642:439::-;-1:-1:-1;;;;;30722:16:0;;30714:61;;;;-1:-1:-1;;;30714:61:0;;35479:2:1;30714:61:0;;;35461:21:1;;;35498:18;;;35491:30;35557:34;35537:18;;;35530:62;35609:18;;30714:61:0;35277:356:1;30714:61:0;28815:4;28839:16;;;:7;:16;;;;;;-1:-1:-1;;;;;28839:16:0;:30;30786:58;;;;-1:-1:-1;;;30786:58:0;;35840:2:1;30786:58:0;;;35822:21:1;35879:2;35859:18;;;35852:30;35918;35898:18;;;35891:58;35966:18;;30786:58:0;35638:352:1;30786:58:0;30857:45;30886:1;30890:2;30894:7;30857:20;:45::i;:::-;-1:-1:-1;;;;;30915:13:0;;;;;;:9;:13;;;;;:18;;30932:1;;30915:13;:18;;30932:1;;30915:18;:::i;:::-;;;;-1:-1:-1;;30944:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30944:21:0;-1:-1:-1;;;;;30944:21:0;;;;;;;;30983:33;;30944:16;;;30983:33;;30944:16;;30983:33;108973:13:::1;108904:90:::0;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:159:1;81:20;;141:6;130:18;;120:29;;110:57;;163:1;160;153:12;178:127;239:10;234:3;230:20;227:1;220:31;270:4;267:1;260:15;294:4;291:1;284:15;310:275;381:2;375:9;446:2;427:13;;-1:-1:-1;;423:27:1;411:40;;-1:-1:-1;;;;;466:34:1;;502:22;;;463:62;460:88;;;528:18;;:::i;:::-;564:2;557:22;310:275;;-1:-1:-1;310:275:1:o;590:186::-;638:4;-1:-1:-1;;;;;663:6:1;660:30;657:56;;;693:18;;:::i;:::-;-1:-1:-1;759:2:1;738:15;-1:-1:-1;;734:29:1;765:4;730:40;;590:186::o;781:462::-;823:5;876:3;869:4;861:6;857:17;853:27;843:55;;894:1;891;884:12;843:55;930:6;917:20;961:48;977:31;1005:2;977:31;:::i;:::-;961:48;:::i;:::-;1034:2;1025:7;1018:19;1080:3;1073:4;1068:2;1060:6;1056:15;1052:26;1049:35;1046:55;;;1097:1;1094;1087:12;1046:55;1162:2;1155:4;1147:6;1143:17;1136:4;1127:7;1123:18;1110:55;1210:1;1185:16;;;1203:4;1181:27;1174:38;;;;1189:7;781:462;-1:-1:-1;;;781:462:1:o;1248:171::-;1315:20;;-1:-1:-1;;;;;1364:30:1;;1354:41;;1344:69;;1409:1;1406;1399:12;1424:684;1526:6;1534;1542;1550;1603:3;1591:9;1582:7;1578:23;1574:33;1571:53;;;1620:1;1617;1610:12;1571:53;1643:28;1661:9;1643:28;:::i;:::-;1633:38;;1722:2;1711:9;1707:18;1694:32;-1:-1:-1;;;;;1786:2:1;1778:6;1775:14;1772:34;;;1802:1;1799;1792:12;1772:34;1825:49;1866:7;1857:6;1846:9;1842:22;1825:49;:::i;:::-;1815:59;;1893:37;1926:2;1915:9;1911:18;1893:37;:::i;:::-;1883:47;;1983:2;1972:9;1968:18;1955:32;1939:48;;2012:2;2002:8;1999:16;1996:36;;;2028:1;2025;2018:12;1996:36;;2051:51;2094:7;2083:8;2072:9;2068:24;2051:51;:::i;:::-;2041:61;;;1424:684;;;;;;;:::o;2113:131::-;-1:-1:-1;;;;;;2187:32:1;;2177:43;;2167:71;;2234:1;2231;2224:12;2249:245;2307:6;2360:2;2348:9;2339:7;2335:23;2331:32;2328:52;;;2376:1;2373;2366:12;2328:52;2415:9;2402:23;2434:30;2458:5;2434:30;:::i;2691:258::-;2763:1;2773:113;2787:6;2784:1;2781:13;2773:113;;;2863:11;;;2857:18;2844:11;;;2837:39;2809:2;2802:10;2773:113;;;2904:6;2901:1;2898:13;2895:48;;;-1:-1:-1;;2939:1:1;2921:16;;2914:27;2691:258::o;2954:::-;2996:3;3034:5;3028:12;3061:6;3056:3;3049:19;3077:63;3133:6;3126:4;3121:3;3117:14;3110:4;3103:5;3099:16;3077:63;:::i;:::-;3194:2;3173:15;-1:-1:-1;;3169:29:1;3160:39;;;;3201:4;3156:50;;2954:258;-1:-1:-1;;2954:258:1:o;3217:220::-;3366:2;3355:9;3348:21;3329:4;3386:45;3427:2;3416:9;3412:18;3404:6;3386:45;:::i;3442:180::-;3501:6;3554:2;3542:9;3533:7;3529:23;3525:32;3522:52;;;3570:1;3567;3560:12;3522:52;-1:-1:-1;3593:23:1;;3442:180;-1:-1:-1;3442:180:1:o;3835:131::-;-1:-1:-1;;;;;3910:31:1;;3900:42;;3890:70;;3956:1;3953;3946:12;3971:315;4039:6;4047;4100:2;4088:9;4079:7;4075:23;4071:32;4068:52;;;4116:1;4113;4106:12;4068:52;4155:9;4142:23;4174:31;4199:5;4174:31;:::i;:::-;4224:5;4276:2;4261:18;;;;4248:32;;-1:-1:-1;;;3971:315:1:o;4473:456::-;4550:6;4558;4566;4619:2;4607:9;4598:7;4594:23;4590:32;4587:52;;;4635:1;4632;4625:12;4587:52;4674:9;4661:23;4693:31;4718:5;4693:31;:::i;:::-;4743:5;-1:-1:-1;4800:2:1;4785:18;;4772:32;4813:33;4772:32;4813:33;:::i;:::-;4473:456;;4865:7;;-1:-1:-1;;;4919:2:1;4904:18;;;;4891:32;;4473:456::o;4934:321::-;5003:6;5056:2;5044:9;5035:7;5031:23;5027:32;5024:52;;;5072:1;5069;5062:12;5024:52;5112:9;5099:23;-1:-1:-1;;;;;5137:6:1;5134:30;5131:50;;;5177:1;5174;5167:12;5131:50;5200:49;5241:7;5232:6;5221:9;5217:22;5200:49;:::i;5513:247::-;5572:6;5625:2;5613:9;5604:7;5600:23;5596:32;5593:52;;;5641:1;5638;5631:12;5593:52;5680:9;5667:23;5699:31;5724:5;5699:31;:::i;5765:632::-;5936:2;5988:21;;;6058:13;;5961:18;;;6080:22;;;5907:4;;5936:2;6159:15;;;;6133:2;6118:18;;;5907:4;6202:169;6216:6;6213:1;6210:13;6202:169;;;6277:13;;6265:26;;6346:15;;;;6311:12;;;;6238:1;6231:9;6202:169;;;-1:-1:-1;6388:3:1;;5765:632;-1:-1:-1;;;;;;5765:632:1:o;6402:252::-;6469:6;6477;6530:2;6518:9;6509:7;6505:23;6501:32;6498:52;;;6546:1;6543;6536:12;6498:52;6569:28;6587:9;6569:28;:::i;6659:313::-;6733:6;6741;6749;6802:2;6790:9;6781:7;6777:23;6773:32;6770:52;;;6818:1;6815;6808:12;6770:52;-1:-1:-1;;6841:23:1;;;6911:2;6896:18;;6883:32;;-1:-1:-1;6962:2:1;6947:18;;;6934:32;;6659:313;-1:-1:-1;6659:313:1:o;6977:184::-;7035:6;7088:2;7076:9;7067:7;7063:23;7059:32;7056:52;;;7104:1;7101;7094:12;7056:52;7127:28;7145:9;7127:28;:::i;7389:460::-;7474:6;7482;7490;7543:2;7531:9;7522:7;7518:23;7514:32;7511:52;;;7559:1;7556;7549:12;7511:52;7582:28;7600:9;7582:28;:::i;:::-;7572:38;;7661:2;7650:9;7646:18;7633:32;-1:-1:-1;;;;;7680:6:1;7677:30;7674:50;;;7720:1;7717;7710:12;7674:50;7743:49;7784:7;7775:6;7764:9;7760:22;7743:49;:::i;:::-;7733:59;;;7839:2;7828:9;7824:18;7811:32;7801:42;;7389:460;;;;;:::o;8107:389::-;8185:6;8193;8246:2;8234:9;8225:7;8221:23;8217:32;8214:52;;;8262:1;8259;8252:12;8214:52;8302:9;8289:23;-1:-1:-1;;;;;8327:6:1;8324:30;8321:50;;;8367:1;8364;8357:12;8321:50;8390:49;8431:7;8422:6;8411:9;8407:22;8390:49;:::i;:::-;8380:59;8486:2;8471:18;;;;8458:32;;-1:-1:-1;;;;8107:389:1:o;8501:416::-;8566:6;8574;8627:2;8615:9;8606:7;8602:23;8598:32;8595:52;;;8643:1;8640;8633:12;8595:52;8682:9;8669:23;8701:31;8726:5;8701:31;:::i;:::-;8751:5;-1:-1:-1;8808:2:1;8793:18;;8780:32;8850:15;;8843:23;8831:36;;8821:64;;8881:1;8878;8871:12;8821:64;8904:7;8894:17;;;8501:416;;;;;:::o;9102:665::-;9197:6;9205;9213;9221;9274:3;9262:9;9253:7;9249:23;9245:33;9242:53;;;9291:1;9288;9281:12;9242:53;9330:9;9317:23;9349:31;9374:5;9349:31;:::i;:::-;9399:5;-1:-1:-1;9456:2:1;9441:18;;9428:32;9469:33;9428:32;9469:33;:::i;:::-;9521:7;-1:-1:-1;9575:2:1;9560:18;;9547:32;;-1:-1:-1;9630:2:1;9615:18;;9602:32;-1:-1:-1;;;;;9646:30:1;;9643:50;;;9689:1;9686;9679:12;9643:50;9712:49;9753:7;9744:6;9733:9;9729:22;9712:49;:::i;9772:347::-;9823:8;9833:6;9887:3;9880:4;9872:6;9868:17;9864:27;9854:55;;9905:1;9902;9895:12;9854:55;-1:-1:-1;9928:20:1;;-1:-1:-1;;;;;9960:30:1;;9957:50;;;10003:1;10000;9993:12;9957:50;10040:4;10032:6;10028:17;10016:29;;10092:3;10085:4;10076:6;10068;10064:19;10060:30;10057:39;10054:59;;;10109:1;10106;10099:12;10054:59;9772:347;;;;;:::o;10124:773::-;10228:6;10236;10244;10252;10260;10313:3;10301:9;10292:7;10288:23;10284:33;10281:53;;;10330:1;10327;10320:12;10281:53;10353:28;10371:9;10353:28;:::i;:::-;10343:38;;10432:2;10421:9;10417:18;10404:32;-1:-1:-1;;;;;10496:2:1;10488:6;10485:14;10482:34;;;10512:1;10509;10502:12;10482:34;10535:49;10576:7;10567:6;10556:9;10552:22;10535:49;:::i;:::-;10525:59;;10603:37;10636:2;10625:9;10621:18;10603:37;:::i;:::-;10593:47;;10693:2;10682:9;10678:18;10665:32;10649:48;;10722:2;10712:8;10709:16;10706:36;;;10738:1;10735;10728:12;10706:36;;10777:60;10829:7;10818:8;10807:9;10803:24;10777:60;:::i;:::-;10124:773;;;;-1:-1:-1;10124:773:1;;-1:-1:-1;10856:8:1;;10751:86;10124:773;-1:-1:-1;;;10124:773:1:o;10902:388::-;10970:6;10978;11031:2;11019:9;11010:7;11006:23;11002:32;10999:52;;;11047:1;11044;11037:12;10999:52;11086:9;11073:23;11105:31;11130:5;11105:31;:::i;:::-;11155:5;-1:-1:-1;11212:2:1;11197:18;;11184:32;11225:33;11184:32;11225:33;:::i;11295:481::-;11373:6;11381;11389;11442:2;11430:9;11421:7;11417:23;11413:32;11410:52;;;11458:1;11455;11448:12;11410:52;11481:28;11499:9;11481:28;:::i;:::-;11471:38;;11560:2;11549:9;11545:18;11532:32;-1:-1:-1;;;;;11579:6:1;11576:30;11573:50;;;11619:1;11616;11609:12;11573:50;11658:58;11708:7;11699:6;11688:9;11684:22;11658:58;:::i;:::-;11295:481;;11735:8;;-1:-1:-1;11632:84:1;;-1:-1:-1;;;;11295:481:1:o;11781:380::-;11860:1;11856:12;;;;11903;;;11924:61;;11978:4;11970:6;11966:17;11956:27;;11924:61;12031:2;12023:6;12020:14;12000:18;11997:38;11994:161;;;12077:10;12072:3;12068:20;12065:1;12058:31;12112:4;12109:1;12102:15;12140:4;12137:1;12130:15;12166:692;12215:3;12256:5;12250:12;12285:36;12311:9;12285:36;:::i;:::-;12340:1;12357:18;;;12384:104;;;;12502:1;12497:355;;;;12350:502;;12384:104;-1:-1:-1;;12417:24:1;;12405:37;;12462:16;;;;-1:-1:-1;12384:104:1;;12497:355;12528:5;12525:1;12518:16;12557:4;12602:2;12599:1;12589:16;12627:1;12641:165;12655:6;12652:1;12649:13;12641:165;;;12733:14;;12720:11;;;12713:35;12776:16;;;;12670:10;;12641:165;;;12645:3;;;12835:6;12830:3;12826:16;12819:23;;12350:502;;;;;12166:692;;;;:::o;12863:194::-;12989:3;13014:37;13047:3;13039:6;13014:37;:::i;13483:557::-;13740:6;13732;13728:19;13717:9;13710:38;13784:3;13779:2;13768:9;13764:18;13757:31;13691:4;13811:46;13852:3;13841:9;13837:19;13829:6;13811:46;:::i;:::-;-1:-1:-1;;;;;13897:6:1;13893:31;13888:2;13877:9;13873:18;13866:59;13973:9;13965:6;13961:22;13956:2;13945:9;13941:18;13934:50;14001:33;14027:6;14019;14001:33;:::i;:::-;13993:41;13483:557;-1:-1:-1;;;;;;;13483:557:1:o;14045:274::-;14174:3;14212:6;14206:13;14228:53;14274:6;14269:3;14262:4;14254:6;14250:17;14228:53;:::i;:::-;14297:16;;;;;14045:274;-1:-1:-1;;14045:274:1:o;15569:410::-;15771:2;15753:21;;;15810:2;15790:18;;;15783:30;15849:34;15844:2;15829:18;;15822:62;-1:-1:-1;;;15915:2:1;15900:18;;15893:44;15969:3;15954:19;;15569:410::o;16396:356::-;16598:2;16580:21;;;16617:18;;;16610:30;16676:34;16671:2;16656:18;;16649:62;16743:2;16728:18;;16396:356::o;16967:127::-;17028:10;17023:3;17019:20;17016:1;17009:31;17059:4;17056:1;17049:15;17083:4;17080:1;17073:15;17099:127;17160:10;17155:3;17151:20;17148:1;17141:31;17191:4;17188:1;17181:15;17215:4;17212:1;17205:15;17231:135;17270:3;-1:-1:-1;;17291:17:1;;17288:43;;;17311:18;;:::i;:::-;-1:-1:-1;17358:1:1;17347:13;;17231:135::o;17985:735::-;18035:3;18076:5;18070:12;18105:36;18131:9;18105:36;:::i;:::-;18150:19;;;18188:4;18211:1;18228:18;;;18255:109;;;;18378:1;18373:341;;;;18221:493;;18255:109;-1:-1:-1;;18297:24:1;;18283:12;;;18276:46;18351:2;18342:12;;;-1:-1:-1;18255:109:1;;18373:341;18404:5;18401:1;18394:16;18451:2;18448:1;18438:16;18476:1;18490:174;18504:6;18501:1;18498:13;18490:174;;;18591:14;;18573:11;;;18569:20;;18562:44;18634:16;;;;18519:10;;18490:174;;;18688:11;;18684:20;;;-1:-1:-1;;18221:493:1;;;;;;17985:735;;;;:::o;18725:466::-;18984:1;18980;18975:3;18971:11;18967:19;18959:6;18955:32;18944:9;18937:51;19024:6;19019:2;19008:9;19004:18;18997:34;19067:6;19062:2;19051:9;19047:18;19040:34;19110:3;19105:2;19094:9;19090:18;19083:31;18918:4;19131:54;19180:3;19169:9;19165:19;19157:6;19131:54;:::i;:::-;19123:62;18725:466;-1:-1:-1;;;;;;18725:466:1:o;19477:642::-;19758:6;19746:19;;19728:38;;-1:-1:-1;;;;;19802:32:1;;19797:2;19782:18;;19775:60;19822:3;19866:2;19851:18;;19844:31;;;-1:-1:-1;;19898:46:1;;19924:19;;19916:6;19898:46;:::i;:::-;19994:6;19987:14;19980:22;19975:2;19964:9;19960:18;19953:50;20052:9;20044:6;20040:22;20034:3;20023:9;20019:19;20012:51;20080:33;20106:6;20098;20080:33;:::i;:::-;20072:41;19477:642;-1:-1:-1;;;;;;;;19477:642:1:o;20124:245::-;20203:6;20211;20264:2;20252:9;20243:7;20239:23;20235:32;20232:52;;;20280:1;20277;20270:12;20232:52;-1:-1:-1;;20303:16:1;;20359:2;20344:18;;;20338:25;20303:16;;20338:25;;-1:-1:-1;20124:245:1:o;21418:183::-;21487:6;21540:2;21528:9;21519:7;21515:23;21511:32;21508:52;;;21556:1;21553;21546:12;21508:52;-1:-1:-1;21579:16:1;;21418:183;-1:-1:-1;21418:183:1:o;21606:553::-;21645:7;-1:-1:-1;;;;;21715:9:1;;;21743;;;21768:11;;;21787:10;;;21781:17;;21764:35;21761:61;;;21802:18;;:::i;:::-;-1:-1:-1;;;21878:1:1;21871:9;;21896:11;;;21916;;;21909:19;;21892:37;21889:63;;;21932:18;;:::i;:::-;21978:1;21975;21971:9;21961:19;;22025:1;22021:2;22016:11;22013:1;22009:19;22004:2;22000;21996:11;21992:37;21989:63;;;22032:18;;:::i;:::-;22097:1;22093:2;22088:11;22085:1;22081:19;22076:2;22072;22068:11;22064:37;22061:63;;;22104:18;;:::i;:::-;-1:-1:-1;;;22144:9:1;;;;;21606:553;-1:-1:-1;;;21606:553:1:o;22996:168::-;23036:7;23102:1;23098;23094:6;23090:14;23087:1;23084:21;23079:1;23072:9;23065:17;23061:45;23058:71;;;23109:18;;:::i;:::-;-1:-1:-1;23149:9:1;;22996:168::o;23169:127::-;23230:10;23225:3;23221:20;23218:1;23211:31;23261:4;23258:1;23251:15;23285:4;23282:1;23275:15;23301:120;23341:1;23367;23357:35;;23372:18;;:::i;:::-;-1:-1:-1;23406:9:1;;23301:120::o;23786:128::-;23826:3;23857:1;23853:6;23850:1;23847:13;23844:39;;;23863:18;;:::i;:::-;-1:-1:-1;23899:9:1;;23786:128::o;23919:470::-;24098:3;24136:6;24130:13;24152:53;24198:6;24193:3;24186:4;24178:6;24174:17;24152:53;:::i;:::-;24268:13;;24227:16;;;;24290:57;24268:13;24227:16;24324:4;24312:17;;24290:57;:::i;:::-;24363:20;;23919:470;-1:-1:-1;;;;23919:470:1:o;25692:845::-;26038:6;26030;26026:19;26015:9;26008:38;26082:3;26077:2;26066:9;26062:18;26055:31;25989:4;26109:54;26158:3;26147:9;26143:19;26135:6;26109:54;:::i;:::-;26211:9;26203:6;26199:22;26194:2;26183:9;26179:18;26172:50;26245:33;26271:6;26263;26245:33;:::i;:::-;-1:-1:-1;;;;;26352:15:1;;;26347:2;26332:18;;26325:43;26405:15;;26399:3;26384:19;;26377:44;26458:22;;;26305:3;26437:19;;26430:51;26231:47;-1:-1:-1;26498:33:1;26231:47;26516:6;26498:33;:::i;:::-;26490:41;25692:845;-1:-1:-1;;;;;;;;;25692:845:1:o;26949:271::-;27132:6;27124;27119:3;27106:33;27088:3;27158:16;;27183:13;;;27158:16;26949:271;-1:-1:-1;26949:271:1:o;27580:718::-;27847:6;27839;27835:19;27824:9;27817:38;27891:3;27886:2;27875:9;27871:18;27864:31;27798:4;27918:46;27959:3;27948:9;27944:19;27936:6;27918:46;:::i;:::-;-1:-1:-1;;;;;28004:6:1;28000:31;27995:2;27984:9;27980:18;27973:59;28080:9;28072:6;28068:22;28063:2;28052:9;28048:18;28041:50;28115:6;28107;28100:22;28169:6;28161;28156:2;28148:6;28144:15;28131:45;28222:1;28217:2;28208:6;28200;28196:19;28192:28;28185:39;28289:2;28282;28278:7;28273:2;28265:6;28261:15;28257:29;28249:6;28245:42;28241:51;28233:59;;;27580:718;;;;;;;;:::o;31108:193::-;31147:1;31173;31163:35;;31178:18;;:::i;:::-;-1:-1:-1;;;31214:18:1;;-1:-1:-1;;31234:13:1;;31210:38;31207:64;;;31251:18;;:::i;:::-;-1:-1:-1;31285:10:1;;31108:193::o;31306:894::-;31421:6;31429;31437;31445;31498:3;31486:9;31477:7;31473:23;31469:33;31466:53;;;31515:1;31512;31505:12;31466:53;31547:9;31541:16;31566:31;31591:5;31566:31;:::i;:::-;31616:5;31606:15;;;31661:2;31650:9;31646:18;31640:25;31630:35;;31705:2;31694:9;31690:18;31684:25;31674:35;;31753:2;31742:9;31738:18;31732:25;-1:-1:-1;;;;;31772:6:1;31769:30;31766:50;;;31812:1;31809;31802:12;31766:50;31835:22;;31888:4;31880:13;;31876:27;-1:-1:-1;31866:55:1;;31917:1;31914;31907:12;31866:55;31946:2;31940:9;31971:48;31987:31;32015:2;31987:31;:::i;31971:48::-;32042:2;32035:5;32028:17;32082:7;32077:2;32072;32068;32064:11;32060:20;32057:33;32054:53;;;32103:1;32100;32093:12;32054:53;32116:54;32167:2;32162;32155:5;32151:14;32146:2;32142;32138:11;32116:54;:::i;:::-;31306:894;;;;-1:-1:-1;31306:894:1;;-1:-1:-1;;;;31306:894:1:o;33016:125::-;33056:4;33084:1;33081;33078:8;33075:34;;;33089:18;;:::i;:::-;-1:-1:-1;33126:9:1;;33016:125::o;33500:414::-;33702:2;33684:21;;;33741:2;33721:18;;;33714:30;33780:34;33775:2;33760:18;;33753:62;-1:-1:-1;;;33846:2:1;33831:18;;33824:48;33904:3;33889:19;;33500:414::o;33919:112::-;33951:1;33977;33967:35;;33982:18;;:::i;:::-;-1:-1:-1;34016:9:1;;33919:112::o;34397:489::-;-1:-1:-1;;;;;34666:15:1;;;34648:34;;34718:15;;34713:2;34698:18;;34691:43;34765:2;34750:18;;34743:34;;;34813:3;34808:2;34793:18;;34786:31;;;34591:4;;34834:46;;34860:19;;34852:6;34834:46;:::i;34891:249::-;34960:6;35013:2;35001:9;34992:7;34988:23;34984:32;34981:52;;;35029:1;35026;35019:12;34981:52;35061:9;35055:16;35080:30;35104:5;35080:30;:::i;35145:127::-;35206:10;35201:3;35197:20;35194:1;35187:31;35237:4;35234:1;35227:15;35261:4;35258:1;35251:15
Swarm Source
ipfs://11ebd654bb6c72a0316b8e34b266f09594fbdb5c43a8eb8a8c45c73b6df65e1d
Loading...
Loading
Loading...
Loading
[ 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.