Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 190 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20207044 | 52 days ago | IN | 0 ETH | 0.00021787 | ||||
Set Approval For... | 20207042 | 52 days ago | IN | 0 ETH | 0.00021489 | ||||
Set Approval For... | 16504185 | 571 days ago | IN | 0 ETH | 0.00071446 | ||||
Claim | 16205947 | 613 days ago | IN | 0 ETH | 0.00082506 | ||||
Claim | 15912586 | 654 days ago | IN | 0 ETH | 0.00111161 | ||||
Claim | 15834962 | 665 days ago | IN | 0 ETH | 0.00092944 | ||||
Claim | 15724438 | 680 days ago | IN | 0 ETH | 0.00138784 | ||||
Set Approval For... | 15656075 | 690 days ago | IN | 0 ETH | 0.00055729 | ||||
Claim | 15639040 | 692 days ago | IN | 0 ETH | 0.0015646 | ||||
Claim | 15639033 | 692 days ago | IN | 0 ETH | 0.0004741 | ||||
Claim | 15638121 | 692 days ago | IN | 0 ETH | 0.00056544 | ||||
Claim | 15618847 | 695 days ago | IN | 0 ETH | 0.00151956 | ||||
Claim | 15607986 | 696 days ago | IN | 0 ETH | 0.00035364 | ||||
Claim | 15605382 | 697 days ago | IN | 0 ETH | 0.00023813 | ||||
Claim | 15591569 | 699 days ago | IN | 0 ETH | 0.00074303 | ||||
Claim | 15578136 | 701 days ago | IN | 0 ETH | 0.0015845 | ||||
Set Approval For... | 15560527 | 703 days ago | IN | 0 ETH | 0.00032256 | ||||
Set Approval For... | 15549210 | 705 days ago | IN | 0 ETH | 0.00031337 | ||||
Claim | 15547101 | 705 days ago | IN | 0 ETH | 0.00092148 | ||||
Claim | 15531911 | 707 days ago | IN | 0 ETH | 0.00119466 | ||||
Claim | 15522153 | 709 days ago | IN | 0 ETH | 0.00076505 | ||||
Claim | 15520490 | 709 days ago | IN | 0 ETH | 0.00056478 | ||||
Claim | 15512192 | 710 days ago | IN | 0 ETH | 0.00040836 | ||||
Claim | 15511705 | 711 days ago | IN | 0 ETH | 0.00077674 | ||||
Claim | 15508438 | 711 days ago | IN | 0 ETH | 0.0003534 |
Latest 3 internal transactions
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15283641 | 747 days ago | 0.00454 ETH | ||||
15283641 | 747 days ago | 0.00454 ETH | ||||
15264566 | 750 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
UnderworldKeys
Compiler Version
v0.8.15+commit.e14f2714
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-08-02 */ pragma solidity 0.8.15; // SPDX-License-Identifier: MIT /** * @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); } /* * @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`, 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 be 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; } /** * @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 tokenId); /** * @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); } /** * @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/utils/Strings.sol /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @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); } } // File: @openzeppelin/contracts/utils/Address.sol /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol /** * @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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/Context.sol /** * @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/token/ERC721/ERC721.sol /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); 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: owner query for nonexistent token"); 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) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 overriden 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 owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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: transfer caller is not 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: transfer caller is not 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) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @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 { 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 {} } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev 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/access/Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function name() external view returns (string memory); function symbol() external view returns (string memory); function decimals() external view returns (uint8); } interface IDexRouter { function factory() external pure returns (address); function WETH() external pure returns (address); function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function addLiquidityETH( address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline ) external payable returns ( uint256 amountToken, uint256 amountETH, uint256 liquidity ); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function removeLiquidityETH(address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline) external returns (uint amountToken, uint amountETH); } interface DividendPayingTokenOptionalInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) external view returns(uint256); /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) external view returns(uint256); } interface DividendPayingTokenInterface { /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) external view returns(uint256); /// @notice Distributes ether to token holders as dividends. /// @dev SHOULD distribute the paid ether to token holders as dividends. /// SHOULD NOT directly transfer ether to token holders in this function. /// MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0. function distributeDividends() external payable; /// @notice Withdraws the ether distributed to the sender. /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer. /// MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0. function withdrawDividend() external; /// @dev This event MUST emit when ether is distributed to token holders. /// @param from The address which sends ether to this contract. /// @param weiAmount The amount of distributed ether in wei. event DividendsDistributed( address indexed from, uint256 weiAmount ); /// @dev This event MUST emit when an address withdraws their dividend. /// @param to The address which withdraws ether from this contract. /// @param weiAmount The amount of withdrawn ether in wei. event DividendWithdrawn( address indexed to, uint256 weiAmount ); } library SafeMath { /** * @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) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @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 sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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 mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } library SafeMathInt { int256 private constant MIN_INT256 = int256(1) << 255; int256 private constant MAX_INT256 = ~(int256(1) << 255); /** * @dev Multiplies two int256 variables and fails on overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { int256 c = a * b; // Detect overflow when multiplying MIN_INT256 with -1 require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256)); require((b == 0) || (c / b == a)); return c; } /** * @dev Division of two int256 variables and fails on overflow. */ function div(int256 a, int256 b) internal pure returns (int256) { // Prevent overflow when dividing MIN_INT256 by -1 require(b != -1 || a != MIN_INT256); // Solidity already throws when dividing by 0. return a / b; } /** * @dev Subtracts two int256 variables and fails on overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a)); return c; } /** * @dev Adds two int256 variables and fails on overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a)); return c; } /** * @dev Converts to absolute value, and fails on overflow. */ function abs(int256 a) internal pure returns (int256) { require(a != MIN_INT256); return a < 0 ? -a : a; } function toUint256Safe(int256 a) internal pure returns (uint256) { require(a >= 0); return uint256(a); } } library SafeMathUint { function toInt256Safe(uint256 a) internal pure returns (int256) { int256 b = int256(a); require(b >= 0); return b; } } contract DividendPayingToken is DividendPayingTokenInterface, DividendPayingTokenOptionalInterface, Ownable { using SafeMath for uint256; using SafeMathUint for uint256; using SafeMathInt for int256; // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small. // For more discussion about choosing the value of `magnitude`, // see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728 uint256 constant internal magnitude = 2**128; uint256 internal magnifiedDividendPerShare; // About dividendCorrection: // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with: // `dividendOf(_user) = dividendPerShare * balanceOf(_user)`. // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens), // `dividendOf(_user)` should not be changed, // but the computed value of `dividendPerShare * balanceOf(_user)` is changed. // To keep the `dividendOf(_user)` unchanged, we add a correction term: // `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`, // where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed: // `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`. // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed. mapping(address => int256) internal magnifiedDividendCorrections; mapping(address => uint256) internal withdrawnDividends; mapping (address => uint256) public holderBalance; uint256 public totalBalance; uint256 public totalDividendsDistributed; /// @dev Distributes dividends whenever ether is paid to this contract. receive() external payable { distributeDividends(); } /// @notice Distributes ether to token holders as dividends. /// @dev It reverts if the total supply of tokens is 0. /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0. /// About undistributed ether: /// In each distribution, there is a small amount of ether not distributed, /// the magnified amount of which is /// `(msg.value * magnitude) % totalSupply()`. /// With a well-chosen `magnitude`, the amount of undistributed ether /// (de-magnified) in a distribution can be less than 1 wei. /// We can actually keep track of the undistributed ether in a distribution /// and try to distribute it in the next distribution, /// but keeping track of such data on-chain costs much more than /// the saved ether, so we don't do that. function distributeDividends() public override payable { if(totalBalance > 0){ if (msg.value > 0) { magnifiedDividendPerShare = magnifiedDividendPerShare.add( (msg.value).mul(magnitude) / totalBalance ); emit DividendsDistributed(msg.sender, msg.value); totalDividendsDistributed = totalDividendsDistributed.add(msg.value); } } } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function withdrawDividend() public virtual override { _withdrawDividendOfUser(payable(msg.sender)); } /// @notice Withdraws the ether distributed to the sender. /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0. function _withdrawDividendOfUser(address payable user) internal returns (uint256) { uint256 _withdrawableDividend = withdrawableDividendOf(user); if (_withdrawableDividend > 0) { withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend); emit DividendWithdrawn(user, _withdrawableDividend); (bool success, ) = payable(user).call{value: _withdrawableDividend}(""); if(!success) { withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend); return 0; } return _withdrawableDividend; } return 0; } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function dividendOf(address _owner) public view override returns(uint256) { return withdrawableDividendOf(_owner); } /// @notice View the amount of dividend in wei that an address can withdraw. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` can withdraw. function withdrawableDividendOf(address _owner) public view override returns(uint256) { return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]); } /// @notice View the amount of dividend in wei that an address has withdrawn. /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has withdrawn. function withdrawnDividendOf(address _owner) public view override returns(uint256) { return withdrawnDividends[_owner]; } /// @notice View the amount of dividend in wei that an address has earned in total. /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner) /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude /// @param _owner The address of a token holder. /// @return The amount of dividend in wei that `_owner` has earned in total. function accumulativeDividendOf(address _owner) public view override returns(uint256) { return magnifiedDividendPerShare.mul(holderBalance[_owner]).toInt256Safe() .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude; } /// @dev Internal function that increases tokens to an account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account that will receive the created tokens. /// @param value The amount that will be created. function _increase(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } /// @dev Internal function that reduces an amount of the token of a given account. /// Update magnifiedDividendCorrections to keep dividends unchanged. /// @param account The account whose tokens will be burnt. /// @param value The amount that will be burnt. function _reduce(address account, uint256 value) internal { magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account] .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() ); } function _setBalance(address account, uint256 newBalance) internal { uint256 currentBalance = holderBalance[account]; holderBalance[account] = newBalance; if(newBalance > currentBalance) { uint256 increaseAmount = newBalance.sub(currentBalance); _increase(account, increaseAmount); totalBalance += increaseAmount; } else if(newBalance < currentBalance) { uint256 reduceAmount = currentBalance.sub(newBalance); _reduce(account, reduceAmount); totalBalance -= reduceAmount; } } } contract DividendTracker is DividendPayingToken { using SafeMath for uint256; using SafeMathInt for int256; Map private tokenHoldersMap; uint256 public lastProcessedIndex; mapping (address => bool) public excludedFromDividends; mapping (address => uint256) public lastClaimTimes; uint256 public claimWait; uint256 public immutable minimumTokenBalanceForDividends; event ExcludeFromDividends(address indexed account); event IncludeInDividends(address indexed account); event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue); event Claim(address indexed account, uint256 amount, bool indexed automatic); constructor() { claimWait = 1; minimumTokenBalanceForDividends = 1; } struct Map { address[] keys; mapping(address => uint) values; mapping(address => uint) indexOf; mapping(address => bool) inserted; } function get(address key) private view returns (uint) { return tokenHoldersMap.values[key]; } function getIndexOfKey(address key) private view returns (int) { if(!tokenHoldersMap.inserted[key]) { return -1; } return int(tokenHoldersMap.indexOf[key]); } function getKeyAtIndex(uint index) private view returns (address) { return tokenHoldersMap.keys[index]; } function size() private view returns (uint) { return tokenHoldersMap.keys.length; } function set(address key, uint val) private { if (tokenHoldersMap.inserted[key]) { tokenHoldersMap.values[key] = val; } else { tokenHoldersMap.inserted[key] = true; tokenHoldersMap.values[key] = val; tokenHoldersMap.indexOf[key] = tokenHoldersMap.keys.length; tokenHoldersMap.keys.push(key); } } function remove(address key) private { if (!tokenHoldersMap.inserted[key]) { return; } delete tokenHoldersMap.inserted[key]; delete tokenHoldersMap.values[key]; uint index = tokenHoldersMap.indexOf[key]; uint lastIndex = tokenHoldersMap.keys.length - 1; address lastKey = tokenHoldersMap.keys[lastIndex]; tokenHoldersMap.indexOf[lastKey] = index; delete tokenHoldersMap.indexOf[key]; tokenHoldersMap.keys[index] = lastKey; tokenHoldersMap.keys.pop(); } function excludeFromDividends(address account) external onlyOwner { excludedFromDividends[account] = true; _setBalance(account, 0); remove(account); emit ExcludeFromDividends(account); } function includeInDividends(address account) external onlyOwner { require(excludedFromDividends[account]); excludedFromDividends[account] = false; emit IncludeInDividends(account); } function updateClaimWait(uint256 newClaimWait) external onlyOwner { require(newClaimWait >= 1200 && newClaimWait <= 86400, "Dividend_Tracker: claimWait must be updated to between 1 and 24 hours"); require(newClaimWait != claimWait, "Dividend_Tracker: Cannot update claimWait to same value"); emit ClaimWaitUpdated(newClaimWait, claimWait); claimWait = newClaimWait; } function getLastProcessedIndex() external view returns(uint256) { return lastProcessedIndex; } function getNumberOfTokenHolders() external view returns(uint256) { return tokenHoldersMap.keys.length; } // Check to see if I really made this contract or if it is a clone! // @Sir_Tris on TG, @SirTrisCrypto on Twitter function getAccount(address _account) public view returns ( address account, int256 index, int256 iterationsUntilProcessed, uint256 withdrawableDividends, uint256 totalDividends, uint256 lastClaimTime, uint256 nextClaimTime, uint256 secondsUntilAutoClaimAvailable) { account = _account; index = getIndexOfKey(account); iterationsUntilProcessed = -1; if(index >= 0) { if(uint256(index) > lastProcessedIndex) { iterationsUntilProcessed = index.sub(int256(lastProcessedIndex)); } else { uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ? tokenHoldersMap.keys.length.sub(lastProcessedIndex) : 0; iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray)); } } withdrawableDividends = withdrawableDividendOf(account); totalDividends = accumulativeDividendOf(account); lastClaimTime = lastClaimTimes[account]; nextClaimTime = lastClaimTime > 0 ? lastClaimTime.add(claimWait) : 0; secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ? nextClaimTime.sub(block.timestamp) : 0; } function getAccountAtIndex(uint256 index) public view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { if(index >= size()) { return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0); } address account = getKeyAtIndex(index); return getAccount(account); } function canAutoClaim(uint256 lastClaimTime) private view returns (bool) { if(lastClaimTime > block.timestamp) { return false; } return block.timestamp.sub(lastClaimTime) >= claimWait; } function setBalance(address payable account, uint256 newBalance) external onlyOwner { if(excludedFromDividends[account]) { return; } if(newBalance >= minimumTokenBalanceForDividends) { _setBalance(account, newBalance); set(account, newBalance); } else { _setBalance(account, 0); remove(account); } processAccount(account, true); } function process(uint256 gas) public returns (uint256, uint256, uint256) { uint256 numberOfTokenHolders = tokenHoldersMap.keys.length; if(numberOfTokenHolders == 0) { return (0, 0, lastProcessedIndex); } uint256 _lastProcessedIndex = lastProcessedIndex; uint256 gasUsed = 0; uint256 gasLeft = gasleft(); uint256 iterations = 0; uint256 claims = 0; while(gasUsed < gas && iterations < numberOfTokenHolders) { _lastProcessedIndex++; if(_lastProcessedIndex >= tokenHoldersMap.keys.length) { _lastProcessedIndex = 0; } address account = tokenHoldersMap.keys[_lastProcessedIndex]; if(canAutoClaim(lastClaimTimes[account])) { if(processAccount(payable(account), true)) { claims++; } } iterations++; uint256 newGasLeft = gasleft(); if(gasLeft > newGasLeft) { gasUsed = gasUsed.add(gasLeft.sub(newGasLeft)); } gasLeft = newGasLeft; } lastProcessedIndex = _lastProcessedIndex; return (iterations, claims, lastProcessedIndex); } function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) { uint256 amount = _withdrawDividendOfUser(account); if(amount > 0) { lastClaimTimes[account] = block.timestamp; emit Claim(account, amount, automatic); return true; } return false; } } contract UnderworldKeys is ERC721Enumerable, Ownable { using Strings for uint256; uint256 public maximumWalletHoldings = 1; string baseURI; string public baseExtension = ""; uint256 public maxSupply = 40; bool public paused = true; bool public revealed = false; string public notRevealedUri; DividendTracker public dividendTracker; constructor() ERC721("The Keys To The Underworld", "KEYS"){ setBaseURI(""); setNotRevealedURI(""); dividendTracker = new DividendTracker(); privateMint(40, 0x1D6eE36D23012660DfFd470e9142736E7d3F3C77); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function privateMint(uint256 _mintAmount, address destination) public onlyOwner { uint256 supply = totalSupply(); require(_mintAmount > 0, "cannot mint 0"); require(_mintAmount + supply <= maxSupply, "cannot mint over max supply"); for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(destination, supply + i); } dividendTracker.setBalance(payable(destination), balanceOf(destination)); } 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; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if(revealed == false) { return notRevealedUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } //only owner function reveal() public onlyOwner { revealed = true; } function setMaxHoldings(uint256 _newAmount) public onlyOwner { require(_newAmount >= 1, "Cannot set lower than 1"); maximumWalletHoldings = _newAmount; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function pause(bool _state) public onlyOwner { paused = _state; } function withdraw() public payable onlyOwner { (bool os, ) = payable(msg.sender).call{value: address(this).balance}(""); require(os); } receive() external payable { (bool os, ) = payable(address(dividendTracker)).call{value: msg.value}(""); require(os); } function _transfer(address from, address to, uint256 tokenId) internal override { require(balanceOf(to) + 1 <= maximumWalletHoldings || to == owner(), "Cannot hold over max holdings."); super._transfer(from, to, tokenId); dividendTracker.setBalance(payable(from), balanceOf(from)); dividendTracker.setBalance(payable(to), balanceOf(to)); } function claim() external{ dividendTracker.processAccount(payable(msg.sender), false); } function updateClaimWait(uint256 claimWait) external onlyOwner { dividendTracker.updateClaimWait(claimWait); } function getClaimWait() external view returns(uint256) { return dividendTracker.claimWait(); } function getTotalDividendsDistributed() external view returns (uint256) { return dividendTracker.totalDividendsDistributed(); } function withdrawableDividendOf(address account) public view returns(uint256) { return dividendTracker.withdrawableDividendOf(account); } function dividendTokenBalanceOf(address account) public view returns (uint256) { return dividendTracker.holderBalance(account); } function getAccountDividendsInfo(address account) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccount(account); } function getAccountDividendsInfoAtIndex(uint256 index) external view returns ( address, int256, int256, uint256, uint256, uint256, uint256, uint256) { return dividendTracker.getAccountAtIndex(index); } function getLastProcessedIndex() external view returns(uint256) { return dividendTracker.getLastProcessedIndex(); } function getNumberOfDividendTokenHolders() external view returns(uint256) { return dividendTracker.getNumberOfTokenHolders(); } function getNumberOfDividends() external view returns(uint256) { return dividendTracker.totalBalance(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":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":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","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":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumWalletHoldings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newAmount","type":"uint256"}],"name":"setMaxHoldings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","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":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","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"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6001600b5560a060405260006080908152600d906200001f908262000b5d565b506028600e55600f805461ffff191660011790553480156200004057600080fd5b506040518060400160405280601a81526020017f546865204b65797320546f2054686520556e646572776f726c64000000000000815250604051806040016040528060048152602001634b45595360e01b8152508160009081620000a5919062000b5d565b506001620000b4828262000b5d565b505050620000d1620000cb6200017860201b60201c565b6200017c565b604080516020810190915260008152620000eb90620001ce565b60408051602081019091526000815262000105906200022f565b604051620001139062000aab565b604051809103906000f08015801562000130573d6000803e3d6000fd5b50601180546001600160a01b0319166001600160a01b0392909216919091179055620001726028731d6ee36d23012660dffd470e9142736e7d3f3c7762000288565b62000d6a565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b031633146200021d5760405162461bcd60e51b815260206004820181905260248201526000805160206200536083398151915260448201526064015b60405180910390fd5b600c6200022b828262000b5d565b5050565b600a546001600160a01b031633146200027a5760405162461bcd60e51b8152602060048201819052602482015260008051602062005360833981519152604482015260640162000214565b60106200022b828262000b5d565b600a546001600160a01b03163314620002d35760405162461bcd60e51b8152602060048201819052602482015260008051602062005360833981519152604482015260640162000214565b6000620002df60085490565b905060008311620003235760405162461bcd60e51b815260206004820152600d60248201526c063616e6e6f74206d696e74203609c1b604482015260640162000214565b600e5462000332828562000c3f565b1115620003825760405162461bcd60e51b815260206004820152601b60248201527f63616e6e6f74206d696e74206f766572206d617820737570706c790000000000604482015260640162000214565b60015b838111620003b957620003a4836200039e838562000c3f565b6200043c565b80620003b08162000c5a565b91505062000385565b506011546001600160a01b031663e30443bc83620003d7816200045e565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156200041e57600080fd5b505af115801562000433573d6000803e3d6000fd5b50505050505050565b6200022b828260405180602001604052806000815250620004e760201b60201c565b60006001600160a01b038216620004cb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840162000214565b506001600160a01b031660009081526003602052604090205490565b620004f383836200055f565b620005026000848484620006b5565b6200055a5760405162461bcd60e51b815260206004820152603260248201526000805160206200534083398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000214565b505050565b6001600160a01b038216620005b75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000214565b6000818152600260205260409020546001600160a01b0316156200061e5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000214565b6200062c6000838362000811565b6001600160a01b03821660009081526003602052604081208054600192906200065790849062000c3f565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620006d6846001600160a01b0316620008ed60201b620019e01760201c565b156200080557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200071090339089908890889060040162000c76565b6020604051808303816000875af19250505080156200074e575060408051601f3d908101601f191682019092526200074b9181019062000cf1565b60015b620007ea573d8080156200077f576040519150601f19603f3d011682016040523d82523d6000602084013e62000784565b606091505b508051600003620007e25760405162461bcd60e51b815260206004820152603260248201526000805160206200534083398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606482015260840162000214565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000809565b5060015b949350505050565b620008298383836200055a60201b62000bde1760201c565b6001600160a01b03831662000887576200088181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b620008ad565b816001600160a01b0316836001600160a01b031614620008ad57620008ad8382620008f3565b6001600160a01b038216620008c7576200055a81620009a0565b826001600160a01b0316826001600160a01b0316146200055a576200055a828262000a5a565b3b151590565b600060016200090d846200045e60201b6200114f1760201c565b62000919919062000d24565b6000838152600760205260409020549091508082146200096d576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090620009b49060019062000d24565b60008381526009602052604081205460088054939450909284908110620009df57620009df62000d3e565b90600052602060002001549050806008838154811062000a035762000a0362000d3e565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548062000a3e5762000a3e62000d54565b6001900381819060005260206000200160009055905550505050565b600062000a72836200045e60201b6200114f1760201c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b61188b8062003ab583390190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000ae457607f821691505b60208210810362000b0557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200055a57600081815260208120601f850160051c8101602086101562000b345750805b601f850160051c820191505b8181101562000b555782815560010162000b40565b505050505050565b81516001600160401b0381111562000b795762000b7962000ab9565b62000b918162000b8a845462000acf565b8462000b0b565b602080601f83116001811462000bc9576000841562000bb05750858301515b600019600386901b1c1916600185901b17855562000b55565b600085815260208120601f198616915b8281101562000bfa5788860151825594840194600190910190840162000bd9565b508582101562000c195787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b6000821982111562000c555762000c5562000c29565b500190565b60006001820162000c6f5762000c6f62000c29565b5060010190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b8281101562000cc55785810182015185820160a00152810162000ca7565b8281111562000cd857600060a084870101525b5050601f01601f19169190910160a00195945050505050565b60006020828403121562000d0457600080fd5b81516001600160e01b03198116811462000d1d57600080fd5b9392505050565b60008282101562000d395762000d3962000c29565b500390565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b612d3b8062000d7a6000396000f3fe6080604052600436106102815760003560e01c806370a082311161014f578063b90dec1d116100c1578063e7841ec01161007a578063e7841ec0146107ca578063e98030c7146107df578063e985e9c5146107ff578063f27fd25414610848578063f2c4ce1e14610868578063f2fde38b1461088857600080fd5b8063b90dec1d14610729578063bef870ca1461073f578063c66828621461075f578063c87b56dd14610774578063d5abeb0114610794578063da3ef23f146107aa57600080fd5b8063a22cb46511610113578063a22cb4651461063a578063a26579ad1461065a578063a475b5dd1461066f578063a8b9d24014610684578063ad56c13c146106a4578063b88d4fde1461070957600080fd5b806370a08231146105bd578063715018a6146105dd57806371778e7d146105f25780638da5cb5b1461060757806395d89b411461062557600080fd5b80633ccfd60b116101f357806355f804b3116101ac57806355f804b31461050e5780635ae9e94b1461052e5780635c975abb1461054e5780636352211e1461056857806364b0f653146105885780636843cd841461059d57600080fd5b80633ccfd60b1461046557806342842e0e1461046d578063438b63001461048d5780634e71d92d146104ba5780634f6ccce7146104cf57806351830227146104ef57600080fd5b8063095ea7b311610245578063095ea7b3146103b157806318160ddd146103d157806323b872dd146103f05780632c1f5216146104105780632f745c591461043057806330bb4cff1461045057600080fd5b806301ffc9a7146102ed57806302329a291461032257806306fdde0314610342578063081812fc14610364578063081c8c441461039c57600080fd5b366102e8576011546040516000916001600160a01b03169034908381818185875af1925050503d80600081146102d3576040519150601f19603f3d011682016040523d82523d6000602084013e6102d8565b606091505b50509050806102e657600080fd5b005b600080fd5b3480156102f957600080fd5b5061030d6103083660046124f3565b6108a8565b60405190151581526020015b60405180910390f35b34801561032e57600080fd5b506102e661033d36600461251e565b6108d3565b34801561034e57600080fd5b50610357610919565b6040516103199190612593565b34801561037057600080fd5b5061038461037f3660046125a6565b6109ab565b6040516001600160a01b039091168152602001610319565b3480156103a857600080fd5b50610357610a40565b3480156103bd57600080fd5b506102e66103cc3660046125d4565b610ace565b3480156103dd57600080fd5b506008545b604051908152602001610319565b3480156103fc57600080fd5b506102e661040b366004612600565b610be3565b34801561041c57600080fd5b50601154610384906001600160a01b031681565b34801561043c57600080fd5b506103e261044b3660046125d4565b610c14565b34801561045c57600080fd5b506103e2610caa565b6102e6610d1d565b34801561047957600080fd5b506102e6610488366004612600565b610d9f565b34801561049957600080fd5b506104ad6104a8366004612641565b610dba565b604051610319919061265e565b3480156104c657600080fd5b506102e6610e5c565b3480156104db57600080fd5b506103e26104ea3660046125a6565b610ed1565b3480156104fb57600080fd5b50600f5461030d90610100900460ff1681565b34801561051a57600080fd5b506102e661052936600461272e565b610f64565b34801561053a57600080fd5b506102e66105493660046125a6565b610f9e565b34801561055a57600080fd5b50600f5461030d9060ff1681565b34801561057457600080fd5b506103846105833660046125a6565b61101e565b34801561059457600080fd5b506103e2611095565b3480156105a957600080fd5b506103e26105b8366004612641565b6110df565b3480156105c957600080fd5b506103e26105d8366004612641565b61114f565b3480156105e957600080fd5b506102e66111d6565b3480156105fe57600080fd5b506103e261120c565b34801561061357600080fd5b50600a546001600160a01b0316610384565b34801561063157600080fd5b50610357611256565b34801561064657600080fd5b506102e6610655366004612777565b611265565b34801561066657600080fd5b506103e2611329565b34801561067b57600080fd5b506102e6611373565b34801561069057600080fd5b506103e261069f366004612641565b6113ae565b3480156106b057600080fd5b506106c46106bf366004612641565b6113e1565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610319565b34801561071557600080fd5b506102e66107243660046127b0565b61147c565b34801561073557600080fd5b506103e2600b5481565b34801561074b57600080fd5b506102e661075a366004612830565b6114b4565b34801561076b57600080fd5b50610357611634565b34801561078057600080fd5b5061035761078f3660046125a6565b611641565b3480156107a057600080fd5b506103e2600e5481565b3480156107b657600080fd5b506102e66107c536600461272e565b6117c5565b3480156107d657600080fd5b506103e26117fb565b3480156107eb57600080fd5b506102e66107fa3660046125a6565b611845565b34801561080b57600080fd5b5061030d61081a366004612855565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085457600080fd5b506106c46108633660046125a6565b6118d0565b34801561087457600080fd5b506102e661088336600461272e565b611912565b34801561089457600080fd5b506102e66108a3366004612641565b611948565b60006001600160e01b0319821663780e9d6360e01b14806108cd57506108cd826119e6565b92915050565b600a546001600160a01b031633146109065760405162461bcd60e51b81526004016108fd90612883565b60405180910390fd5b600f805460ff1916911515919091179055565b606060008054610928906128b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610954906128b8565b80156109a15780601f10610976576101008083540402835291602001916109a1565b820191906000526020600020905b81548152906001019060200180831161098457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a245760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fd565b506000908152600460205260409020546001600160a01b031690565b60108054610a4d906128b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610a79906128b8565b8015610ac65780601f10610a9b57610100808354040283529160200191610ac6565b820191906000526020600020905b815481529060010190602001808311610aa957829003601f168201915b505050505081565b6000610ad98261101e565b9050806001600160a01b0316836001600160a01b031603610b465760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108fd565b336001600160a01b0382161480610b625750610b62813361081a565b610bd45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fd565b610bde8383611a36565b505050565b610bed3382611aa4565b610c095760405162461bcd60e51b81526004016108fd906128f2565b610bde838383611b9b565b6000610c1f8361114f565b8210610c815760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108fd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b601154604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d189190612943565b905090565b600a546001600160a01b03163314610d475760405162461bcd60e51b81526004016108fd90612883565b604051600090339047908381818185875af1925050503d8060008114610d89576040519150601f19603f3d011682016040523d82523d6000602084013e610d8e565b606091505b5050905080610d9c57600080fd5b50565b610bde8383836040518060200160405280600081525061147c565b60606000610dc78361114f565b905060008167ffffffffffffffff811115610de457610de46126a2565b604051908082528060200260200182016040528015610e0d578160200160208202803683370190505b50905060005b82811015610e5457610e258582610c14565b828281518110610e3757610e3761295c565b602090810291909101015280610e4c81612988565b915050610e13565b509392505050565b60115460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610ead573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9c91906129a1565b6000610edc60085490565b8210610f3f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108fd565b60088281548110610f5257610f5261295c565b90600052602060002001549050919050565b600a546001600160a01b03163314610f8e5760405162461bcd60e51b81526004016108fd90612883565b600c610f9a8282612a0c565b5050565b600a546001600160a01b03163314610fc85760405162461bcd60e51b81526004016108fd90612883565b60018110156110195760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420736574206c6f776572207468616e203100000000000000000060448201526064016108fd565b600b55565b6000818152600260205260408120546001600160a01b0316806108cd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108fd565b601154604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b60115460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa15801561112b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cd9190612943565b60006001600160a01b0382166111ba5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108fd565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146112005760405162461bcd60e51b81526004016108fd90612883565b61120a6000611cb9565b565b6011546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b606060018054610928906128b8565b336001600160a01b038316036112bd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fd565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60115460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b600a546001600160a01b0316331461139d5760405162461bcd60e51b81526004016108fd90612883565b600f805461ff001916610100179055565b6011546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d2409060240161110e565b60115460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa15801561143d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114619190612acc565b97509750975097509750975097509750919395975091939597565b6114863383611aa4565b6114a25760405162461bcd60e51b81526004016108fd906128f2565b6114ae84848484611d0b565b50505050565b600a546001600160a01b031633146114de5760405162461bcd60e51b81526004016108fd90612883565b60006114e960085490565b90506000831161152b5760405162461bcd60e51b815260206004820152600d60248201526c063616e6e6f74206d696e74203609c1b60448201526064016108fd565b600e546115388285612b36565b11156115865760405162461bcd60e51b815260206004820152601b60248201527f63616e6e6f74206d696e74206f766572206d617820737570706c79000000000060448201526064016108fd565b60015b8381116115b5576115a38361159e8385612b36565b611d3e565b806115ad81612988565b915050611589565b506011546001600160a01b031663e30443bc836115d18161114f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561161757600080fd5b505af115801561162b573d6000803e3d6000fd5b50505050505050565b600d8054610a4d906128b8565b6000818152600260205260409020546060906001600160a01b03166116c05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108fd565b600f54610100900460ff16151560000361176657601080546116e1906128b8565b80601f016020809104026020016040519081016040528092919081815260200182805461170d906128b8565b801561175a5780601f1061172f5761010080835404028352916020019161175a565b820191906000526020600020905b81548152906001019060200180831161173d57829003601f168201915b50505050509050919050565b6000611770611d58565b9050600081511161179057604051806020016040528060008152506117be565b8061179a84611d67565b600d6040516020016117ae93929190612b4e565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146117ef5760405162461bcd60e51b81526004016108fd90612883565b600d610f9a8282612a0c565b6011546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b600a546001600160a01b0316331461186f5760405162461bcd60e51b81526004016108fd90612883565b60115460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401600060405180830381600087803b1580156118b557600080fd5b505af11580156118c9573d6000803e3d6000fd5b5050505050565b601154604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd9060240161141f565b600a546001600160a01b0316331461193c5760405162461bcd60e51b81526004016108fd90612883565b6010610f9a8282612a0c565b600a546001600160a01b031633146119725760405162461bcd60e51b81526004016108fd90612883565b6001600160a01b0381166119d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fd565b610d9c81611cb9565b3b151590565b60006001600160e01b031982166380ac58cd60e01b1480611a1757506001600160e01b03198216635b5e139f60e01b145b806108cd57506301ffc9a760e01b6001600160e01b03198316146108cd565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a6b8261101e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b1d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fd565b6000611b288361101e565b9050806001600160a01b0316846001600160a01b03161480611b635750836001600160a01b0316611b58846109ab565b6001600160a01b0316145b80611b9357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b600b54611ba78361114f565b611bb2906001612b36565b111580611bcc5750600a546001600160a01b038381169116145b611c185760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420686f6c64206f766572206d617820686f6c64696e67732e000060448201526064016108fd565b611c23838383611e68565b6011546001600160a01b031663e30443bc84611c3e8161114f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611c8457600080fd5b505af1158015611c98573d6000803e3d6000fd5b50506011546001600160a01b0316915063e30443bc9050836115d18161114f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611d16848484611b9b565b611d2284848484612013565b6114ae5760405162461bcd60e51b81526004016108fd90612bee565b610f9a828260405180602001604052806000815250612114565b6060600c8054610928906128b8565b606081600003611d8e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611db85780611da281612988565b9150611db19050600a83612c56565b9150611d92565b60008167ffffffffffffffff811115611dd357611dd36126a2565b6040519080825280601f01601f191660200182016040528015611dfd576020820181803683370190505b5090505b8415611b9357611e12600183612c6a565b9150611e1f600a86612c81565b611e2a906030612b36565b60f81b818381518110611e3f57611e3f61295c565b60200101906001600160f81b031916908160001a905350611e61600a86612c56565b9450611e01565b826001600160a01b0316611e7b8261101e565b6001600160a01b031614611ee35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108fd565b6001600160a01b038216611f455760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108fd565b611f50838383612147565b611f5b600082611a36565b6001600160a01b0383166000908152600360205260408120805460019290611f84908490612c6a565b90915550506001600160a01b0382166000908152600360205260408120805460019290611fb2908490612b36565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b0384163b1561210957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612057903390899088908890600401612c95565b6020604051808303816000875af1925050508015612092575060408051601f3d908101601f1916820190925261208f91810190612cd2565b60015b6120ef573d8080156120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b5080516000036120e75760405162461bcd60e51b81526004016108fd90612bee565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b93565b506001949350505050565b61211e83836121ff565b61212b6000848484612013565b610bde5760405162461bcd60e51b81526004016108fd90612bee565b6001600160a01b0383166121a25761219d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121c5565b816001600160a01b0316836001600160a01b0316146121c5576121c5838261234d565b6001600160a01b0382166121dc57610bde816123ea565b826001600160a01b0316826001600160a01b031614610bde57610bde8282612499565b6001600160a01b0382166122555760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108fd565b6000818152600260205260409020546001600160a01b0316156122ba5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108fd565b6122c660008383612147565b6001600160a01b03821660009081526003602052604081208054600192906122ef908490612b36565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161235a8461114f565b6123649190612c6a565b6000838152600760205260409020549091508082146123b7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123fc90600190612c6a565b600083815260096020526040812054600880549394509092849081106124245761242461295c565b9060005260206000200154905080600883815481106124455761244561295c565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061247d5761247d612cef565b6001900381819060005260206000200160009055905550505050565b60006124a48361114f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610d9c57600080fd5b60006020828403121561250557600080fd5b81356117be816124dd565b8015158114610d9c57600080fd5b60006020828403121561253057600080fd5b81356117be81612510565b60005b8381101561255657818101518382015260200161253e565b838111156114ae5750506000910152565b6000815180845261257f81602086016020860161253b565b601f01601f19169290920160200192915050565b6020815260006117be6020830184612567565b6000602082840312156125b857600080fd5b5035919050565b6001600160a01b0381168114610d9c57600080fd5b600080604083850312156125e757600080fd5b82356125f2816125bf565b946020939093013593505050565b60008060006060848603121561261557600080fd5b8335612620816125bf565b92506020840135612630816125bf565b929592945050506040919091013590565b60006020828403121561265357600080fd5b81356117be816125bf565b6020808252825182820181905260009190848201906040850190845b818110156126965783518352928401929184019160010161267a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156126d3576126d36126a2565b604051601f8501601f19908116603f011681019082821181831017156126fb576126fb6126a2565b8160405280935085815286868601111561271457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561274057600080fd5b813567ffffffffffffffff81111561275757600080fd5b8201601f8101841361276857600080fd5b611b93848235602084016126b8565b6000806040838503121561278a57600080fd5b8235612795816125bf565b915060208301356127a581612510565b809150509250929050565b600080600080608085870312156127c657600080fd5b84356127d1816125bf565b935060208501356127e1816125bf565b925060408501359150606085013567ffffffffffffffff81111561280457600080fd5b8501601f8101871361281557600080fd5b612824878235602084016126b8565b91505092959194509250565b6000806040838503121561284357600080fd5b8235915060208301356127a5816125bf565b6000806040838503121561286857600080fd5b8235612873816125bf565b915060208301356127a5816125bf565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806128cc57607f821691505b6020821081036128ec57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60006020828403121561295557600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161299a5761299a612972565b5060010190565b6000602082840312156129b357600080fd5b81516117be81612510565b601f821115610bde57600081815260208120601f850160051c810160208610156129e55750805b601f850160051c820191505b81811015612a04578281556001016129f1565b505050505050565b815167ffffffffffffffff811115612a2657612a266126a2565b612a3a81612a3484546128b8565b846129be565b602080601f831160018114612a6f5760008415612a575750858301515b600019600386901b1c1916600185901b178555612a04565b600085815260208120601f198616915b82811015612a9e57888601518255948401946001909101908401612a7f565b5085821015612abc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080600080600080600080610100898b031215612ae957600080fd5b8851612af4816125bf565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008219821115612b4957612b49612972565b500190565b600084516020612b618285838a0161253b565b855191840191612b748184848a0161253b565b8554920191600090612b85816128b8565b60018281168015612b9d5760018114612bb257612bde565b60ff1984168752821515830287019450612bde565b896000528560002060005b84811015612bd657815489820152908301908701612bbd565b505082870194505b50929a9950505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612c6557612c65612c40565b500490565b600082821015612c7c57612c7c612972565b500390565b600082612c9057612c90612c40565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cc890830184612567565b9695505050505050565b600060208284031215612ce457600080fd5b81516117be816124dd565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208f5f19b6c252d33f85e4f5ebc1124face2c1877ff19c83950e65ae77102fe52d64736f6c634300080f003360a060405234801561001057600080fd5b5061001a33610029565b6001600e819055608052610079565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6080516117f061009b60003960008181610471015261097801526117f06000f3fe6080604052600436106101a05760003560e01c806391b89fba116100ec578063c0f306ef1161008a578063e98030c711610064578063e98030c7146104e8578063f2fde38b14610508578063fbcbc0f114610528578063ffb2c4791461054857600080fd5b8063c0f306ef14610493578063e30443bc146104b3578063e7841ec0146104d357600080fd5b8063ab6ddfa8116100c6578063ab6ddfa8146103fc578063ad7a672f14610429578063bc4c4b371461043f578063be10b6141461045f57600080fd5b806391b89fba14610386578063a8b9d240146103a6578063aafd847a146103c657600080fd5b80634e7b827f116101595780636f2789ec116101335780636f2789ec1461031d578063715018a61461033357806385a6b3ae146103485780638da5cb5b1461035e57600080fd5b80634e7b827f146102635780635183d6fd146102a35780636a4740021461030857600080fd5b806303c83302146101b457806309bbedde146101bc578063226cfa3d146101e057806327ce01471461020d5780633009a6091461022d57806331e79db01461024357600080fd5b366101af576101ad610583565b005b600080fd5b6101ad610583565b3480156101c857600080fd5b506007545b6040519081526020015b60405180910390f35b3480156101ec57600080fd5b506101cd6101fb366004611545565b600d6020526000908152604090205481565b34801561021957600080fd5b506101cd610228366004611545565b610604565b34801561023957600080fd5b506101cd600b5481565b34801561024f57600080fd5b506101ad61025e366004611545565b610667565b34801561026f57600080fd5b5061029361027e366004611545565b600c6020526000908152604090205460ff1681565b60405190151581526020016101d7565b3480156102af57600080fd5b506102c36102be366004611562565b610708565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e0820152610100016101d7565b34801561031457600080fd5b506101ad610775565b34801561032957600080fd5b506101cd600e5481565b34801561033f57600080fd5b506101ad610781565b34801561035457600080fd5b506101cd60065481565b34801561036a57600080fd5b506000546040516001600160a01b0390911681526020016101d7565b34801561039257600080fd5b506101cd6103a1366004611545565b6107b5565b3480156103b257600080fd5b506101cd6103c1366004611545565b6107bc565b3480156103d257600080fd5b506101cd6103e1366004611545565b6001600160a01b031660009081526003602052604090205490565b34801561040857600080fd5b506101cd610417366004611545565b60046020526000908152604090205481565b34801561043557600080fd5b506101cd60055481565b34801561044b57600080fd5b5061029361045a36600461157b565b6107e8565b34801561046b57600080fd5b506101cd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561049f57600080fd5b506101ad6104ae366004611545565b610894565b3480156104bf57600080fd5b506101ad6104ce3660046115b9565b61092c565b3480156104df57600080fd5b50600b546101cd565b3480156104f457600080fd5b506101ad610503366004611562565b6109db565b34801561051457600080fd5b506101ad610523366004611545565b610b44565b34801561053457600080fd5b506102c3610543366004611545565b610bdc565b34801561055457600080fd5b50610568610563366004611562565b610cc3565b604080519384526020840192909252908201526060016101d7565b60055415610602573415610602576005546105b9906105a634600160801b610de0565b6105b091906115fb565b60015490610e69565b60015560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26006546105fe9034610e69565b6006555b565b6001600160a01b0381166000908152600260209081526040808320546004909252822054600154600160801b92610657926106529261064c916106479190610de0565b610ec8565b90610ed8565b610f16565b61066191906115fb565b92915050565b6000546001600160a01b0316331461069a5760405162461bcd60e51b81526004016106919061161d565b60405180910390fd5b6001600160a01b0381166000908152600c60205260408120805460ff191660011790556106c8908290610f29565b6106d181610fc2565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b60008060008060008060008061071d60075490565b891061074257506000965060001995508594508693508392508291508190508061076a565b600061074d8a6110f5565b905061075881610bdc565b98509850985098509850985098509850505b919395975091939597565b61077e33611128565b50565b6000546001600160a01b031633146107ab5760405162461bcd60e51b81526004016106919061161d565b6106026000611269565b6000610661825b6001600160a01b038116600090815260036020526040812054610661906107e284610604565b906112b9565b600080546001600160a01b031633146108135760405162461bcd60e51b81526004016106919061161d565b600061081e84611128565b9050801561088a576001600160a01b0384166000818152600d6020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf092906108789085815260200190565b60405180910390a36001915050610661565b5060009392505050565b6000546001600160a01b031633146108be5760405162461bcd60e51b81526004016106919061161d565b6001600160a01b0381166000908152600c602052604090205460ff166108e357600080fd5b6001600160a01b0381166000818152600c6020526040808220805460ff19169055517f40a78dcf8526b72f2eaf598af1c7e49c8d5fc577f6c8f1bed887f3e4dfa289329190a250565b6000546001600160a01b031633146109565760405162461bcd60e51b81526004016106919061161d565b6001600160a01b0382166000908152600c602052604090205460ff166109d7577f000000000000000000000000000000000000000000000000000000000000000081106109b6576109a78282610f29565b6109b182826112fb565b6109ca565b6109c1826000610f29565b6109ca82610fc2565b6109d58260016107e8565b505b5050565b6000546001600160a01b03163314610a055760405162461bcd60e51b81526004016106919061161d565b6104b08110158015610a1a5750620151808111155b610a9a5760405162461bcd60e51b815260206004820152604560248201527f4469766964656e645f547261636b65723a20636c61696d57616974206d75737460448201527f206265207570646174656420746f206265747765656e203120616e6420323420606482015264686f75727360d81b608482015260a401610691565b600e548103610b115760405162461bcd60e51b815260206004820152603760248201527f4469766964656e645f547261636b65723a2043616e6e6f74207570646174652060448201527f636c61696d5761697420746f2073616d652076616c75650000000000000000006064820152608401610691565b600e5460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3600e55565b6000546001600160a01b03163314610b6e5760405162461bcd60e51b81526004016106919061161d565b6001600160a01b038116610bd35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610691565b61077e81611269565b806000808080808080610bee886113b9565b9650600019955060008712610c5057600b54871115610c1c57600b54610c159088906113fe565b9550610c50565b600b5460075460009110610c31576000610c40565b600b54600754610c40916112b9565b9050610c4c8882610ed8565b9650505b610c59886107bc565b9450610c6488610604565b6001600160a01b0389166000908152600d6020526040902054909450925082610c8e576000610c9c565b600e54610c9c908490610e69565b9150428211610cac576000610cb6565b610cb682426112b9565b9050919395975091939597565b60075460009081908190808203610ce5575050600b5460009250829150610dd9565b600b546000805a90506000805b8984108015610d0057508582105b15610dc85784610d0f81611652565b60075490965086109050610d2257600094505b600060076000018681548110610d3a57610d3a61166b565b60009182526020808320909101546001600160a01b0316808352600d909152604090912054909150610d6b9061143b565b15610d8e57610d7b8160016107e8565b15610d8e5781610d8a81611652565b9250505b82610d9881611652565b93505060005a905080851115610dbf57610dbc610db586836112b9565b8790610e69565b95505b9350610cf29050565b600b85905590975095509193505050505b9193909250565b600082600003610df257506000610661565b6000610dfe8385611681565b905082610e0b85836115fb565b14610e625760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610691565b9392505050565b600080610e7683856116a0565b905083811015610e625760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610691565b6000818181121561066157600080fd5b600080610ee583856116b8565b905060008312158015610ef85750838112155b80610f0d5750600083128015610f0d57508381125b610e6257600080fd5b600080821215610f2557600080fd5b5090565b6001600160a01b038216600090815260046020526040902080549082905580821115610f85576000610f5b83836112b9565b9050610f678482611462565b8060056000828254610f7991906116a0565b909155506109d5915050565b808210156109d5576000610f9982846112b9565b9050610fa584826114bc565b8060056000828254610fb791906116f9565b909155505050505050565b6001600160a01b0381166000908152600a602052604090205460ff16610fe55750565b6001600160a01b0381166000908152600a60209081526040808320805460ff1916905560088252808320839055600990915281205460075490919061102c906001906116f9565b90506000600760000182815481106110465761104661166b565b60009182526020808320909101546001600160a01b03908116808452600990925260408084208790559087168352822091909155600780549192508291859081106110935761109361166b565b600091825260209091200180546001600160a01b0319166001600160a01b039290921691909117905560078054806110cd576110cd611710565b600082815260209020810160001990810180546001600160a01b031916905501905550505050565b60006007600001828154811061110d5761110d61166b565b6000918252602090912001546001600160a01b031692915050565b600080611134836107bc565b90508015611260576001600160a01b03831660009081526003602052604090205461115f9082610e69565b6001600160a01b038416600081815260036020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906111ae9084815260200190565b60405180910390a26000836001600160a01b03168260405160006040518083038185875af1925050503d8060008114611203576040519150601f19603f3d011682016040523d82523d6000602084013e611208565b606091505b5050905080611259576001600160a01b03841660009081526003602052604090205461123490836112b9565b6001600160a01b03909416600090815260036020526040812094909455509192915050565b5092915050565b50600092915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000610e6283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506114f6565b6001600160a01b0382166000908152600a602052604090205460ff1615611339576001600160a01b0391909116600090815260086020526040902055565b6001600160a01b0382166000818152600a60209081526040808320805460ff1916600190811790915560088352818420869055600780546009909452918420839055820181559091527fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c6880180546001600160a01b03191690911790555050565b6001600160a01b0381166000908152600a602052604081205460ff166113e25750600019919050565b506001600160a01b031660009081526009602052604090205490565b60008061140b8385611726565b90506000831215801561141e5750838113155b80610f0d5750600083128015610f0d5750838113610e6257600080fd5b60004282111561144d57506000919050565b600e5461145a42846112b9565b101592915050565b61149c61147d61064783600154610de090919063ffffffff16565b6001600160a01b038416600090815260026020526040902054906113fe565b6001600160a01b0390921660009081526002602052604090209190915550565b61149c6114d761064783600154610de090919063ffffffff16565b6001600160a01b03841660009081526002602052604090205490610ed8565b6000818484111561151a5760405162461bcd60e51b81526004016106919190611765565b50600061152784866116f9565b95945050505050565b6001600160a01b038116811461077e57600080fd5b60006020828403121561155757600080fd5b8135610e6281611530565b60006020828403121561157457600080fd5b5035919050565b6000806040838503121561158e57600080fd5b823561159981611530565b9150602083013580151581146115ae57600080fd5b809150509250929050565b600080604083850312156115cc57600080fd5b82356115d781611530565b946020939093013593505050565b634e487b7160e01b600052601160045260246000fd5b60008261161857634e487b7160e01b600052601260045260246000fd5b500490565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060018201611664576116646115e5565b5060010190565b634e487b7160e01b600052603260045260246000fd5b600081600019048311821515161561169b5761169b6115e5565b500290565b600082198211156116b3576116b36115e5565b500190565b600080821280156001600160ff1b03849003851316156116da576116da6115e5565b600160ff1b83900384128116156116f3576116f36115e5565b50500190565b60008282101561170b5761170b6115e5565b500390565b634e487b7160e01b600052603160045260246000fd5b60008083128015600160ff1b850184121615611744576117446115e5565b6001600160ff1b038401831381161561175f5761175f6115e5565b50500390565b600060208083528351808285015260005b8181101561179257858101830151858201604001528201611776565b818111156117a4576000604083870101525b50601f01601f191692909201604001939250505056fea2646970667358221220ee9e612832d8680c0d03423d9a7a42216325732685c95ceb2345209c4d04148a64736f6c634300080f00334552433732313a207472616e7366657220746f206e6f6e2045524337323152654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572
Deployed Bytecode
0x6080604052600436106102815760003560e01c806370a082311161014f578063b90dec1d116100c1578063e7841ec01161007a578063e7841ec0146107ca578063e98030c7146107df578063e985e9c5146107ff578063f27fd25414610848578063f2c4ce1e14610868578063f2fde38b1461088857600080fd5b8063b90dec1d14610729578063bef870ca1461073f578063c66828621461075f578063c87b56dd14610774578063d5abeb0114610794578063da3ef23f146107aa57600080fd5b8063a22cb46511610113578063a22cb4651461063a578063a26579ad1461065a578063a475b5dd1461066f578063a8b9d24014610684578063ad56c13c146106a4578063b88d4fde1461070957600080fd5b806370a08231146105bd578063715018a6146105dd57806371778e7d146105f25780638da5cb5b1461060757806395d89b411461062557600080fd5b80633ccfd60b116101f357806355f804b3116101ac57806355f804b31461050e5780635ae9e94b1461052e5780635c975abb1461054e5780636352211e1461056857806364b0f653146105885780636843cd841461059d57600080fd5b80633ccfd60b1461046557806342842e0e1461046d578063438b63001461048d5780634e71d92d146104ba5780634f6ccce7146104cf57806351830227146104ef57600080fd5b8063095ea7b311610245578063095ea7b3146103b157806318160ddd146103d157806323b872dd146103f05780632c1f5216146104105780632f745c591461043057806330bb4cff1461045057600080fd5b806301ffc9a7146102ed57806302329a291461032257806306fdde0314610342578063081812fc14610364578063081c8c441461039c57600080fd5b366102e8576011546040516000916001600160a01b03169034908381818185875af1925050503d80600081146102d3576040519150601f19603f3d011682016040523d82523d6000602084013e6102d8565b606091505b50509050806102e657600080fd5b005b600080fd5b3480156102f957600080fd5b5061030d6103083660046124f3565b6108a8565b60405190151581526020015b60405180910390f35b34801561032e57600080fd5b506102e661033d36600461251e565b6108d3565b34801561034e57600080fd5b50610357610919565b6040516103199190612593565b34801561037057600080fd5b5061038461037f3660046125a6565b6109ab565b6040516001600160a01b039091168152602001610319565b3480156103a857600080fd5b50610357610a40565b3480156103bd57600080fd5b506102e66103cc3660046125d4565b610ace565b3480156103dd57600080fd5b506008545b604051908152602001610319565b3480156103fc57600080fd5b506102e661040b366004612600565b610be3565b34801561041c57600080fd5b50601154610384906001600160a01b031681565b34801561043c57600080fd5b506103e261044b3660046125d4565b610c14565b34801561045c57600080fd5b506103e2610caa565b6102e6610d1d565b34801561047957600080fd5b506102e6610488366004612600565b610d9f565b34801561049957600080fd5b506104ad6104a8366004612641565b610dba565b604051610319919061265e565b3480156104c657600080fd5b506102e6610e5c565b3480156104db57600080fd5b506103e26104ea3660046125a6565b610ed1565b3480156104fb57600080fd5b50600f5461030d90610100900460ff1681565b34801561051a57600080fd5b506102e661052936600461272e565b610f64565b34801561053a57600080fd5b506102e66105493660046125a6565b610f9e565b34801561055a57600080fd5b50600f5461030d9060ff1681565b34801561057457600080fd5b506103846105833660046125a6565b61101e565b34801561059457600080fd5b506103e2611095565b3480156105a957600080fd5b506103e26105b8366004612641565b6110df565b3480156105c957600080fd5b506103e26105d8366004612641565b61114f565b3480156105e957600080fd5b506102e66111d6565b3480156105fe57600080fd5b506103e261120c565b34801561061357600080fd5b50600a546001600160a01b0316610384565b34801561063157600080fd5b50610357611256565b34801561064657600080fd5b506102e6610655366004612777565b611265565b34801561066657600080fd5b506103e2611329565b34801561067b57600080fd5b506102e6611373565b34801561069057600080fd5b506103e261069f366004612641565b6113ae565b3480156106b057600080fd5b506106c46106bf366004612641565b6113e1565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610319565b34801561071557600080fd5b506102e66107243660046127b0565b61147c565b34801561073557600080fd5b506103e2600b5481565b34801561074b57600080fd5b506102e661075a366004612830565b6114b4565b34801561076b57600080fd5b50610357611634565b34801561078057600080fd5b5061035761078f3660046125a6565b611641565b3480156107a057600080fd5b506103e2600e5481565b3480156107b657600080fd5b506102e66107c536600461272e565b6117c5565b3480156107d657600080fd5b506103e26117fb565b3480156107eb57600080fd5b506102e66107fa3660046125a6565b611845565b34801561080b57600080fd5b5061030d61081a366004612855565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561085457600080fd5b506106c46108633660046125a6565b6118d0565b34801561087457600080fd5b506102e661088336600461272e565b611912565b34801561089457600080fd5b506102e66108a3366004612641565b611948565b60006001600160e01b0319821663780e9d6360e01b14806108cd57506108cd826119e6565b92915050565b600a546001600160a01b031633146109065760405162461bcd60e51b81526004016108fd90612883565b60405180910390fd5b600f805460ff1916911515919091179055565b606060008054610928906128b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610954906128b8565b80156109a15780601f10610976576101008083540402835291602001916109a1565b820191906000526020600020905b81548152906001019060200180831161098457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610a245760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fd565b506000908152600460205260409020546001600160a01b031690565b60108054610a4d906128b8565b80601f0160208091040260200160405190810160405280929190818152602001828054610a79906128b8565b8015610ac65780601f10610a9b57610100808354040283529160200191610ac6565b820191906000526020600020905b815481529060010190602001808311610aa957829003601f168201915b505050505081565b6000610ad98261101e565b9050806001600160a01b0316836001600160a01b031603610b465760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108fd565b336001600160a01b0382161480610b625750610b62813361081a565b610bd45760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108fd565b610bde8383611a36565b505050565b610bed3382611aa4565b610c095760405162461bcd60e51b81526004016108fd906128f2565b610bde838383611b9b565b6000610c1f8361114f565b8210610c815760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016108fd565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b601154604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d189190612943565b905090565b600a546001600160a01b03163314610d475760405162461bcd60e51b81526004016108fd90612883565b604051600090339047908381818185875af1925050503d8060008114610d89576040519150601f19603f3d011682016040523d82523d6000602084013e610d8e565b606091505b5050905080610d9c57600080fd5b50565b610bde8383836040518060200160405280600081525061147c565b60606000610dc78361114f565b905060008167ffffffffffffffff811115610de457610de46126a2565b604051908082528060200260200182016040528015610e0d578160200160208202803683370190505b50905060005b82811015610e5457610e258582610c14565b828281518110610e3757610e3761295c565b602090810291909101015280610e4c81612988565b915050610e13565b509392505050565b60115460405163bc4c4b3760e01b8152336004820152600060248201526001600160a01b039091169063bc4c4b37906044016020604051808303816000875af1158015610ead573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d9c91906129a1565b6000610edc60085490565b8210610f3f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108fd565b60088281548110610f5257610f5261295c565b90600052602060002001549050919050565b600a546001600160a01b03163314610f8e5760405162461bcd60e51b81526004016108fd90612883565b600c610f9a8282612a0c565b5050565b600a546001600160a01b03163314610fc85760405162461bcd60e51b81526004016108fd90612883565b60018110156110195760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f7420736574206c6f776572207468616e203100000000000000000060448201526064016108fd565b600b55565b6000818152600260205260408120546001600160a01b0316806108cd5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108fd565b601154604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b60115460405163156dbbf560e31b81526001600160a01b038381166004830152600092169063ab6ddfa8906024015b602060405180830381865afa15801561112b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108cd9190612943565b60006001600160a01b0382166111ba5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108fd565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146112005760405162461bcd60e51b81526004016108fd90612883565b61120a6000611cb9565b565b6011546040805163ad7a672f60e01b815290516000926001600160a01b03169163ad7a672f9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b606060018054610928906128b8565b336001600160a01b038316036112bd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108fd565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60115460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec9160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b600a546001600160a01b0316331461139d5760405162461bcd60e51b81526004016108fd90612883565b600f805461ff001916610100179055565b6011546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d2409060240161110e565b60115460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b61010060405180830381865afa15801561143d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114619190612acc565b97509750975097509750975097509750919395975091939597565b6114863383611aa4565b6114a25760405162461bcd60e51b81526004016108fd906128f2565b6114ae84848484611d0b565b50505050565b600a546001600160a01b031633146114de5760405162461bcd60e51b81526004016108fd90612883565b60006114e960085490565b90506000831161152b5760405162461bcd60e51b815260206004820152600d60248201526c063616e6e6f74206d696e74203609c1b60448201526064016108fd565b600e546115388285612b36565b11156115865760405162461bcd60e51b815260206004820152601b60248201527f63616e6e6f74206d696e74206f766572206d617820737570706c79000000000060448201526064016108fd565b60015b8381116115b5576115a38361159e8385612b36565b611d3e565b806115ad81612988565b915050611589565b506011546001600160a01b031663e30443bc836115d18161114f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561161757600080fd5b505af115801561162b573d6000803e3d6000fd5b50505050505050565b600d8054610a4d906128b8565b6000818152600260205260409020546060906001600160a01b03166116c05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016108fd565b600f54610100900460ff16151560000361176657601080546116e1906128b8565b80601f016020809104026020016040519081016040528092919081815260200182805461170d906128b8565b801561175a5780601f1061172f5761010080835404028352916020019161175a565b820191906000526020600020905b81548152906001019060200180831161173d57829003601f168201915b50505050509050919050565b6000611770611d58565b9050600081511161179057604051806020016040528060008152506117be565b8061179a84611d67565b600d6040516020016117ae93929190612b4e565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146117ef5760405162461bcd60e51b81526004016108fd90612883565b600d610f9a8282612a0c565b6011546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec09160048083019260209291908290030181865afa158015610cf4573d6000803e3d6000fd5b600a546001600160a01b0316331461186f5760405162461bcd60e51b81526004016108fd90612883565b60115460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401600060405180830381600087803b1580156118b557600080fd5b505af11580156118c9573d6000803e3d6000fd5b5050505050565b601154604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd9060240161141f565b600a546001600160a01b0316331461193c5760405162461bcd60e51b81526004016108fd90612883565b6010610f9a8282612a0c565b600a546001600160a01b031633146119725760405162461bcd60e51b81526004016108fd90612883565b6001600160a01b0381166119d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108fd565b610d9c81611cb9565b3b151590565b60006001600160e01b031982166380ac58cd60e01b1480611a1757506001600160e01b03198216635b5e139f60e01b145b806108cd57506301ffc9a760e01b6001600160e01b03198316146108cd565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611a6b8261101e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b1d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108fd565b6000611b288361101e565b9050806001600160a01b0316846001600160a01b03161480611b635750836001600160a01b0316611b58846109ab565b6001600160a01b0316145b80611b9357506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b600b54611ba78361114f565b611bb2906001612b36565b111580611bcc5750600a546001600160a01b038381169116145b611c185760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420686f6c64206f766572206d617820686f6c64696e67732e000060448201526064016108fd565b611c23838383611e68565b6011546001600160a01b031663e30443bc84611c3e8161114f565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015611c8457600080fd5b505af1158015611c98573d6000803e3d6000fd5b50506011546001600160a01b0316915063e30443bc9050836115d18161114f565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611d16848484611b9b565b611d2284848484612013565b6114ae5760405162461bcd60e51b81526004016108fd90612bee565b610f9a828260405180602001604052806000815250612114565b6060600c8054610928906128b8565b606081600003611d8e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611db85780611da281612988565b9150611db19050600a83612c56565b9150611d92565b60008167ffffffffffffffff811115611dd357611dd36126a2565b6040519080825280601f01601f191660200182016040528015611dfd576020820181803683370190505b5090505b8415611b9357611e12600183612c6a565b9150611e1f600a86612c81565b611e2a906030612b36565b60f81b818381518110611e3f57611e3f61295c565b60200101906001600160f81b031916908160001a905350611e61600a86612c56565b9450611e01565b826001600160a01b0316611e7b8261101e565b6001600160a01b031614611ee35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108fd565b6001600160a01b038216611f455760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108fd565b611f50838383612147565b611f5b600082611a36565b6001600160a01b0383166000908152600360205260408120805460019290611f84908490612c6a565b90915550506001600160a01b0382166000908152600360205260408120805460019290611fb2908490612b36565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b0384163b1561210957604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612057903390899088908890600401612c95565b6020604051808303816000875af1925050508015612092575060408051601f3d908101601f1916820190925261208f91810190612cd2565b60015b6120ef573d8080156120c0576040519150601f19603f3d011682016040523d82523d6000602084013e6120c5565b606091505b5080516000036120e75760405162461bcd60e51b81526004016108fd90612bee565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b93565b506001949350505050565b61211e83836121ff565b61212b6000848484612013565b610bde5760405162461bcd60e51b81526004016108fd90612bee565b6001600160a01b0383166121a25761219d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6121c5565b816001600160a01b0316836001600160a01b0316146121c5576121c5838261234d565b6001600160a01b0382166121dc57610bde816123ea565b826001600160a01b0316826001600160a01b031614610bde57610bde8282612499565b6001600160a01b0382166122555760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108fd565b6000818152600260205260409020546001600160a01b0316156122ba5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108fd565b6122c660008383612147565b6001600160a01b03821660009081526003602052604081208054600192906122ef908490612b36565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000600161235a8461114f565b6123649190612c6a565b6000838152600760205260409020549091508082146123b7576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906123fc90600190612c6a565b600083815260096020526040812054600880549394509092849081106124245761242461295c565b9060005260206000200154905080600883815481106124455761244561295c565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061247d5761247d612cef565b6001900381819060005260206000200160009055905550505050565b60006124a48361114f565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610d9c57600080fd5b60006020828403121561250557600080fd5b81356117be816124dd565b8015158114610d9c57600080fd5b60006020828403121561253057600080fd5b81356117be81612510565b60005b8381101561255657818101518382015260200161253e565b838111156114ae5750506000910152565b6000815180845261257f81602086016020860161253b565b601f01601f19169290920160200192915050565b6020815260006117be6020830184612567565b6000602082840312156125b857600080fd5b5035919050565b6001600160a01b0381168114610d9c57600080fd5b600080604083850312156125e757600080fd5b82356125f2816125bf565b946020939093013593505050565b60008060006060848603121561261557600080fd5b8335612620816125bf565b92506020840135612630816125bf565b929592945050506040919091013590565b60006020828403121561265357600080fd5b81356117be816125bf565b6020808252825182820181905260009190848201906040850190845b818110156126965783518352928401929184019160010161267a565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156126d3576126d36126a2565b604051601f8501601f19908116603f011681019082821181831017156126fb576126fb6126a2565b8160405280935085815286868601111561271457600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561274057600080fd5b813567ffffffffffffffff81111561275757600080fd5b8201601f8101841361276857600080fd5b611b93848235602084016126b8565b6000806040838503121561278a57600080fd5b8235612795816125bf565b915060208301356127a581612510565b809150509250929050565b600080600080608085870312156127c657600080fd5b84356127d1816125bf565b935060208501356127e1816125bf565b925060408501359150606085013567ffffffffffffffff81111561280457600080fd5b8501601f8101871361281557600080fd5b612824878235602084016126b8565b91505092959194509250565b6000806040838503121561284357600080fd5b8235915060208301356127a5816125bf565b6000806040838503121561286857600080fd5b8235612873816125bf565b915060208301356127a5816125bf565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806128cc57607f821691505b6020821081036128ec57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60006020828403121561295557600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006001820161299a5761299a612972565b5060010190565b6000602082840312156129b357600080fd5b81516117be81612510565b601f821115610bde57600081815260208120601f850160051c810160208610156129e55750805b601f850160051c820191505b81811015612a04578281556001016129f1565b505050505050565b815167ffffffffffffffff811115612a2657612a266126a2565b612a3a81612a3484546128b8565b846129be565b602080601f831160018114612a6f5760008415612a575750858301515b600019600386901b1c1916600185901b178555612a04565b600085815260208120601f198616915b82811015612a9e57888601518255948401946001909101908401612a7f565b5085821015612abc5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080600080600080600080610100898b031215612ae957600080fd5b8851612af4816125bf565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b60008219821115612b4957612b49612972565b500190565b600084516020612b618285838a0161253b565b855191840191612b748184848a0161253b565b8554920191600090612b85816128b8565b60018281168015612b9d5760018114612bb257612bde565b60ff1984168752821515830287019450612bde565b896000528560002060005b84811015612bd657815489820152908301908701612bbd565b505082870194505b50929a9950505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b600082612c6557612c65612c40565b500490565b600082821015612c7c57612c7c612972565b500390565b600082612c9057612c90612c40565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612cc890830184612567565b9695505050505050565b600060208284031215612ce457600080fd5b81516117be816124dd565b634e487b7160e01b600052603160045260246000fdfea26469706673582212208f5f19b6c252d33f85e4f5ebc1124face2c1877ff19c83950e65ae77102fe52d64736f6c634300080f0033
Deployed Bytecode Sourcemap
69525:5546:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72733:15;;72717:60;;72704:7;;-1:-1:-1;;;;;72733:15:0;;72763:9;;72704:7;72717:60;72704:7;72717:60;72763:9;72733:15;72717:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72703:74;;;72796:2;72788:11;;;;;;72692:115;69525:5546;;;;34106:224;;;;;;;;;;-1:-1:-1;34106:224:0;;;;;:::i;:::-;;:::i;:::-;;;775:14:1;;768:22;750:41;;738:2;723:18;34106:224:0;;;;;;;;72408:79;;;;;;;;;;-1:-1:-1;72408:79:0;;;;;:::i;:::-;;:::i;22033:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;23592:221::-;;;;;;;;;;-1:-1:-1;23592:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2271:32:1;;;2253:51;;2241:2;2226:18;23592:221:0;2107:203:1;69829:28:0;;;;;;;;;;;;;:::i;23115:411::-;;;;;;;;;;-1:-1:-1;23115:411:0;;;;;:::i;:::-;;:::i;34746:113::-;;;;;;;;;;-1:-1:-1;34834:10:0;:17;34746:113;;;2917:25:1;;;2905:2;2890:18;34746:113:0;2771:177:1;24482:339:0;;;;;;;;;;-1:-1:-1;24482:339:0;;;;;:::i;:::-;;:::i;69866:38::-;;;;;;;;;;-1:-1:-1;69866:38:0;;;;-1:-1:-1;;;;;69866:38:0;;;34414:256;;;;;;;;;;-1:-1:-1;34414:256:0;;;;;:::i;:::-;;:::i;73563:141::-;;;;;;;;;;;;;:::i;72499:158::-;;;:::i;24892:185::-;;;;;;;;;;-1:-1:-1;24892:185:0;;;;;:::i;:::-;;:::i;70772:386::-;;;;;;;;;;-1:-1:-1;70772:386:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;73205:102::-;;;;;;;;;;;;;:::i;34936:233::-;;;;;;;;;;-1:-1:-1;34936:233:0;;;;;:::i;:::-;;:::i;69794:28::-;;;;;;;;;;-1:-1:-1;69794:28:0;;;;;;;;;;;72160:104;;;;;;;;;;-1:-1:-1;72160:104:0;;;;;:::i;:::-;;:::i;71838:176::-;;;;;;;;;;-1:-1:-1;71838:176:0;;;;;:::i;:::-;;:::i;69762:25::-;;;;;;;;;;-1:-1:-1;69762:25:0;;;;;;;;21727:239;;;;;;;;;;-1:-1:-1;21727:239:0;;;;;:::i;:::-;;:::i;74796:141::-;;;;;;;;;;;;;:::i;73864:134::-;;;;;;;;;;-1:-1:-1;73864:134:0;;;;;:::i;:::-;;:::i;21457:208::-;;;;;;;;;;-1:-1:-1;21457:208:0;;;;;:::i;:::-;;:::i;41872:94::-;;;;;;;;;;;;;:::i;74949:119::-;;;;;;;;;;;;;:::i;41221:87::-;;;;;;;;;;-1:-1:-1;41294:6:0;;-1:-1:-1;;;;;41294:6:0;41221:87;;22202:104;;;;;;;;;;;;;:::i;23885:295::-;;;;;;;;;;-1:-1:-1;23885:295:0;;;;;:::i;:::-;;:::i;73447:108::-;;;;;;;;;;;;;:::i;71757:69::-;;;;;;;;;;;;;:::i;73712:147::-;;;;;;;;;;-1:-1:-1;73712:147:0;;;;;:::i;:::-;;:::i;74006:318::-;;;;;;;;;;-1:-1:-1;74006:318:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6512:32:1;;;6494:51;;6576:2;6561:18;;6554:34;;;;6604:18;;;6597:34;;;;6662:2;6647:18;;6640:34;;;;6705:3;6690:19;;6683:35;6532:3;6734:19;;6727:35;6793:3;6778:19;;6771:35;6837:3;6822:19;;6815:35;6481:3;6466:19;74006:318:0;6155:701:1;25148:328:0;;;;;;;;;;-1:-1:-1;25148:328:0;;;;;:::i;:::-;;:::i;69619:40::-;;;;;;;;;;;;;;;;70297:467;;;;;;;;;;-1:-1:-1;70297:467:0;;;;;:::i;:::-;;:::i;69687:32::-;;;;;;;;;;;;;:::i;71166:565::-;;;;;;;;;;-1:-1:-1;71166:565:0;;;;;:::i;:::-;;:::i;69726:29::-;;;;;;;;;;;;;;;;72272:128;;;;;;;;;;-1:-1:-1;72272:128:0;;;;;:::i;:::-;;:::i;74662:126::-;;;;;;;;;;;;;:::i;73315:124::-;;;;;;;;;;-1:-1:-1;73315:124:0;;;;;:::i;:::-;;:::i;24251:164::-;;;;;;;;;;-1:-1:-1;24251:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;24372:25:0;;;24348:4;24372:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24251:164;74329:325;;;;;;;;;;-1:-1:-1;74329:325:0;;;;;:::i;:::-;;:::i;72026:126::-;;;;;;;;;;-1:-1:-1;72026:126:0;;;;;:::i;:::-;;:::i;42121:192::-;;;;;;;;;;-1:-1:-1;42121:192:0;;;;;:::i;:::-;;:::i;34106:224::-;34208:4;-1:-1:-1;;;;;;34232:50:0;;-1:-1:-1;;;34232:50:0;;:90;;;34286:36;34310:11;34286:23;:36::i;:::-;34225:97;34106:224;-1:-1:-1;;34106:224:0:o;72408:79::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;;;;;;;;;72464:6:::1;:15:::0;;-1:-1:-1;;72464:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;72408:79::o;22033:100::-;22087:13;22120:5;22113:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22033:100;:::o;23592:221::-;23668:7;27075:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27075:16:0;23688:73;;;;-1:-1:-1;;;23688:73:0;;9322:2:1;23688:73:0;;;9304:21:1;9361:2;9341:18;;;9334:30;9400:34;9380:18;;;9373:62;-1:-1:-1;;;9451:18:1;;;9444:42;9503:19;;23688:73:0;9120:408:1;23688:73:0;-1:-1:-1;23781:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;23781:24:0;;23592:221::o;69829:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23115:411::-;23196:13;23212:23;23227:7;23212:14;:23::i;:::-;23196:39;;23260:5;-1:-1:-1;;;;;23254:11:0;:2;-1:-1:-1;;;;;23254:11:0;;23246:57;;;;-1:-1:-1;;;23246:57:0;;9735:2:1;23246:57:0;;;9717:21:1;9774:2;9754:18;;;9747:30;9813:34;9793:18;;;9786:62;-1:-1:-1;;;9864:18:1;;;9857:31;9905:19;;23246:57:0;9533:397:1;23246:57:0;19667:10;-1:-1:-1;;;;;23338:21:0;;;;:62;;-1:-1:-1;23363:37:0;23380:5;19667:10;24251:164;:::i;23363:37::-;23316:168;;;;-1:-1:-1;;;23316:168:0;;10137:2:1;23316:168:0;;;10119:21:1;10176:2;10156:18;;;10149:30;10215:34;10195:18;;;10188:62;10286:26;10266:18;;;10259:54;10330:19;;23316:168:0;9935:420:1;23316:168:0;23497:21;23506:2;23510:7;23497:8;:21::i;:::-;23185:341;23115:411;;:::o;24482:339::-;24677:41;19667:10;24710:7;24677:18;:41::i;:::-;24669:103;;;;-1:-1:-1;;;24669:103:0;;;;;;;:::i;:::-;24785:28;24795:4;24801:2;24805:7;24785:9;:28::i;34414:256::-;34511:7;34547:23;34564:5;34547:16;:23::i;:::-;34539:5;:31;34531:87;;;;-1:-1:-1;;;34531:87:0;;10980:2:1;34531:87:0;;;10962:21:1;11019:2;10999:18;;;10992:30;11058:34;11038:18;;;11031:62;-1:-1:-1;;;11109:18:1;;;11102:41;11160:19;;34531:87:0;10778:407:1;34531:87:0;-1:-1:-1;;;;;;34636:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34414:256::o;73563:141::-;73653:15;;:43;;;-1:-1:-1;;;73653:43:0;;;;73626:7;;-1:-1:-1;;;;;73653:15:0;;:41;;:43;;;;;;;;;;;;;;:15;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73646:50;;73563:141;:::o;72499:158::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;72569:58:::1;::::0;72556:7:::1;::::0;72577:10:::1;::::0;72601:21:::1;::::0;72556:7;72569:58;72556:7;72569:58;72601:21;72577:10;72569:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72555:72;;;72646:2;72638:11;;;::::0;::::1;;72544:113;72499:158::o:0;24892:185::-;25030:39;25047:4;25053:2;25057:7;25030:39;;;;;;;;;;;;:16;:39::i;70772:386::-;70859:16;70893:23;70919:17;70929:6;70919:9;:17::i;:::-;70893:43;;70947:25;70989:15;70975:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70975:30:0;;70947:58;;71021:9;71016:109;71036:15;71032:1;:19;71016:109;;;71083:30;71103:6;71111:1;71083:19;:30::i;:::-;71069:8;71078:1;71069:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;71053:3;;;;:::i;:::-;;;;71016:109;;;-1:-1:-1;71142:8:0;70772:386;-1:-1:-1;;;70772:386:0:o;73205:102::-;73241:15;;:58;;-1:-1:-1;;;73241:58:0;;73280:10;73241:58;;;11967:51:1;73241:15:0;12034:18:1;;;12027:50;-1:-1:-1;;;;;73241:15:0;;;;:30;;11940:18:1;;73241:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;34936:233::-;35011:7;35047:30;34834:10;:17;;34746:113;35047:30;35039:5;:38;35031:95;;;;-1:-1:-1;;;35031:95:0;;12540:2:1;35031:95:0;;;12522:21:1;12579:2;12559:18;;;12552:30;12618:34;12598:18;;;12591:62;-1:-1:-1;;;12669:18:1;;;12662:42;12721:19;;35031:95:0;12338:408:1;35031:95:0;35144:10;35155:5;35144:17;;;;;;;;:::i;:::-;;;;;;;;;35137:24;;34936:233;;;:::o;72160:104::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;72235:7:::1;:21;72245:11:::0;72235:7;:21:::1;:::i;:::-;;72160:104:::0;:::o;71838:176::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;71932:1:::1;71918:10;:15;;71910:51;;;::::0;-1:-1:-1;;;71910:51:0;;15157:2:1;71910:51:0::1;::::0;::::1;15139:21:1::0;15196:2;15176:18;;;15169:30;15235:25;15215:18;;;15208:53;15278:18;;71910:51:0::1;14955:347:1::0;71910:51:0::1;71972:21;:34:::0;71838:176::o;21727:239::-;21799:7;21835:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21835:16:0;;21862:73;;;;-1:-1:-1;;;21862:73:0;;15509:2:1;21862:73:0;;;15491:21:1;15548:2;15528:18;;;15521:30;15587:34;15567:18;;;15560:62;-1:-1:-1;;;15638:18:1;;;15631:39;15687:19;;21862:73:0;15307:405:1;74796:141:0;74888:15;;:41;;;-1:-1:-1;;;74888:41:0;;;;74861:7;;-1:-1:-1;;;;;74888:15:0;;:39;;:41;;;;;;;;;;;;;;:15;:41;;;;;;;;;;;;;;73864:134;73955:15;;:38;;-1:-1:-1;;;73955:38:0;;-1:-1:-1;;;;;2271:32:1;;;73955:38:0;;;2253:51:1;73934:7:0;;73955:15;;:29;;2226:18:1;;73955:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21457:208::-;21529:7;-1:-1:-1;;;;;21557:19:0;;21549:74;;;;-1:-1:-1;;;21549:74:0;;15919:2:1;21549:74:0;;;15901:21:1;15958:2;15938:18;;;15931:30;15997:34;15977:18;;;15970:62;-1:-1:-1;;;16048:18:1;;;16041:40;16098:19;;21549:74:0;15717:406:1;21549:74:0;-1:-1:-1;;;;;;21641:16:0;;;;;:9;:16;;;;;;;21457:208::o;41872:94::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;41937:21:::1;41955:1;41937:9;:21::i;:::-;41872:94::o:0;74949:119::-;75030:15;;:30;;;-1:-1:-1;;;75030:30:0;;;;75003:7;;-1:-1:-1;;;;;75030:15:0;;:28;;:30;;;;;;;;;;;;;;:15;:30;;;;;;;;;;;;;;22202:104;22258:13;22291:7;22284:14;;;;;:::i;23885:295::-;19667:10;-1:-1:-1;;;;;23988:24:0;;;23980:62;;;;-1:-1:-1;;;23980:62:0;;16330:2:1;23980:62:0;;;16312:21:1;16369:2;16349:18;;;16342:30;16408:27;16388:18;;;16381:55;16453:18;;23980:62:0;16128:349:1;23980:62:0;19667:10;24055:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;24055:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;24055:53:0;;;;;;;;;;24124:48;;750:41:1;;;24055:42:0;;19667:10;24124:48;;723:18:1;24124:48:0;;;;;;;23885:295;;:::o;73447:108::-;73520:15;;:27;;;-1:-1:-1;;;73520:27:0;;;;73493:7;;-1:-1:-1;;;;;73520:15:0;;:25;;:27;;;;;;;;;;;;;;:15;:27;;;;;;;;;;;;;;71757:69;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;71803:8:::1;:15:::0;;-1:-1:-1;;71803:15:0::1;;;::::0;;71757:69::o;73712:147::-;73805:15;;:47;;-1:-1:-1;;;73805:47:0;;-1:-1:-1;;;;;2271:32:1;;;73805:47:0;;;2253:51:1;73781:7:0;;73805:15;;:38;;2226:18:1;;73805:47:0;2107:203:1;74006:318:0;74281:15;;:35;;-1:-1:-1;;;74281:35:0;;-1:-1:-1;;;;;2271:32:1;;;74281:35:0;;;2253:51:1;74102:7:0;;;;;;;;;;;;;;;;74281:15;;;:26;;2226:18:1;;74281:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74274:42;;;;;;;;;;;;;;;;74006:318;;;;;;;;;:::o;25148:328::-;25323:41;19667:10;25356:7;25323:18;:41::i;:::-;25315:103;;;;-1:-1:-1;;;25315:103:0;;;;;;;:::i;:::-;25429:39;25443:4;25449:2;25453:7;25462:5;25429:13;:39::i;:::-;25148:328;;;;:::o;70297:467::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;70388:14:::1;70405:13;34834:10:::0;:17;;34746:113;70405:13:::1;70388:30;;70451:1;70437:11;:15;70429:41;;;::::0;-1:-1:-1;;;70429:41:0;;17370:2:1;70429:41:0::1;::::0;::::1;17352:21:1::0;17409:2;17389:18;;;17382:30;-1:-1:-1;;;17428:18:1;;;17421:43;17481:18;;70429:41:0::1;17168:337:1::0;70429:41:0::1;70513:9;::::0;70489:20:::1;70503:6:::0;70489:11;:20:::1;:::i;:::-;:33;;70481:73;;;::::0;-1:-1:-1;;;70481:73:0;;17845:2:1;70481:73:0::1;::::0;::::1;17827:21:1::0;17884:2;17864:18;;;17857:30;17923:29;17903:18;;;17896:57;17970:18;;70481:73:0::1;17643:351:1::0;70481:73:0::1;70584:1;70567:104;70592:11;70587:1;:16;70567:104;;70625:34;70635:11:::0;70648:10:::1;70657:1:::0;70648:6;:10:::1;:::i;:::-;70625:9;:34::i;:::-;70605:3:::0;::::1;::::0;::::1;:::i;:::-;;;;70567:104;;;-1:-1:-1::0;70683:15:0::1;::::0;-1:-1:-1;;;;;70683:15:0::1;:26;70718:11:::0;70733:22:::1;70718:11:::0;70733:9:::1;:22::i;:::-;70683:73;::::0;-1:-1:-1;;;;;;70683:73:0::1;::::0;;;;;;-1:-1:-1;;;;;18207:32:1;;;70683:73:0::1;::::0;::::1;18189:51:1::0;18256:18;;;18249:34;18162:18;;70683:73:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;70377:387;70297:467:::0;;:::o;69687:32::-;;;;;;;:::i;71166:565::-;27051:4;27075:16;;;:7;:16;;;;;;71284:13;;-1:-1:-1;;;;;27075:16:0;71315:105;;;;-1:-1:-1;;;71315:105:0;;18496:2:1;71315:105:0;;;18478:21:1;18535:2;18515:18;;;18508:30;18574:34;18554:18;;;18547:62;-1:-1:-1;;;18625:18:1;;;18618:45;18680:19;;71315:105:0;18294:411:1;71315:105:0;71444:8;;;;;;;:17;;71456:5;71444:17;71441:70;;71485:14;71478:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71166:565;;;:::o;71441:70::-;71523:28;71554:10;:8;:10::i;:::-;71523:41;;71613:1;71588:14;71582:28;:32;:141;;;;;;;;;;;;;;;;;71654:14;71670:18;:7;:16;:18::i;:::-;71690:13;71637:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71582:141;71575:148;71166:565;-1:-1:-1;;;71166:565:0:o;72272:128::-;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;72359:13:::1;:33;72375:17:::0;72359:13;:33:::1;:::i;74662:126::-:0;74741:15;;:39;;;-1:-1:-1;;;74741:39:0;;;;74717:7;;-1:-1:-1;;;;;74741:15:0;;:37;;:39;;;;;;;;;;;;;;:15;:39;;;;;;;;;;;;;;73315:124;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;73389:15:::1;::::0;:42:::1;::::0;-1:-1:-1;;;73389:42:0;;::::1;::::0;::::1;2917:25:1::0;;;-1:-1:-1;;;;;73389:15:0;;::::1;::::0;:31:::1;::::0;2890:18:1;;73389:42:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;73315:124:::0;:::o;74329:325::-;74606:15;;:40;;-1:-1:-1;;;74606:40:0;;;;;2917:25:1;;;74430:7:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;74606:15:0;;;;:33;;2890:18:1;;74606:40:0;2771:177:1;72026:126:0;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;72112:14:::1;:32;72129:15:::0;72112:14;:32:::1;:::i;42121:192::-:0;41294:6;;-1:-1:-1;;;;;41294:6:0;19667:10;41441:23;41433:68;;;;-1:-1:-1;;;41433:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42210:22:0;::::1;42202:73;;;::::0;-1:-1:-1;;;42202:73:0;;20147:2:1;42202:73:0::1;::::0;::::1;20129:21:1::0;20186:2;20166:18;;;20159:30;20225:34;20205:18;;;20198:62;-1:-1:-1;;;20276:18:1;;;20269:36;20322:19;;42202:73:0::1;19945:402:1::0;42202:73:0::1;42286:19;42296:8;42286:9;:19::i;10033:387::-:0;10356:20;10404:8;;;10033:387::o;21088:305::-;21190:4;-1:-1:-1;;;;;;21227:40:0;;-1:-1:-1;;;21227:40:0;;:105;;-1:-1:-1;;;;;;;21284:48:0;;-1:-1:-1;;;21284:48:0;21227:105;:158;;;-1:-1:-1;;;;;;;;;;7204:40:0;;;21349:36;7095:157;30968:174;31043:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31043:29:0;-1:-1:-1;;;;;31043:29:0;;;;;;;;:24;;31097:23;31043:24;31097:14;:23::i;:::-;-1:-1:-1;;;;;31088:46:0;;;;;;;;;;;30968:174;;:::o;27280:348::-;27373:4;27075:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27075:16:0;27390:73;;;;-1:-1:-1;;;27390:73:0;;20554:2:1;27390:73:0;;;20536:21:1;20593:2;20573:18;;;20566:30;20632:34;20612:18;;;20605:62;-1:-1:-1;;;20683:18:1;;;20676:42;20735:19;;27390:73:0;20352:408:1;27390:73:0;27474:13;27490:23;27505:7;27490:14;:23::i;:::-;27474:39;;27543:5;-1:-1:-1;;;;;27532:16:0;:7;-1:-1:-1;;;;;27532:16:0;;:51;;;;27576:7;-1:-1:-1;;;;;27552:31:0;:20;27564:7;27552:11;:20::i;:::-;-1:-1:-1;;;;;27552:31:0;;27532:51;:87;;;-1:-1:-1;;;;;;24372:25:0;;;24348:4;24372:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;27587:32;27524:96;27280:348;-1:-1:-1;;;;27280:348:0:o;72815:382::-;72935:21;;72914:13;72924:2;72914:9;:13::i;:::-;:17;;72930:1;72914:17;:::i;:::-;:42;;:59;;;-1:-1:-1;41294:6:0;;-1:-1:-1;;;;;72960:13:0;;;41294:6;;72960:13;72914:59;72906:102;;;;-1:-1:-1;;;72906:102:0;;20967:2:1;72906:102:0;;;20949:21:1;21006:2;20986:18;;;20979:30;21045:32;21025:18;;;21018:60;21095:18;;72906:102:0;20765:354:1;72906:102:0;73019:34;73035:4;73041:2;73045:7;73019:15;:34::i;:::-;73064:15;;-1:-1:-1;;;;;73064:15:0;:26;73099:4;73107:15;73099:4;73107:9;:15::i;:::-;73064:59;;-1:-1:-1;;;;;;73064:59:0;;;;;;;-1:-1:-1;;;;;18207:32:1;;;73064:59:0;;;18189:51:1;18256:18;;;18249:34;18162:18;;73064:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;73134:15:0;;-1:-1:-1;;;;;73134:15:0;;-1:-1:-1;73134:26:0;;-1:-1:-1;73169:2:0;73175:13;73169:2;73175:9;:13::i;42321:173::-;42396:6;;;-1:-1:-1;;;;;42413:17:0;;;-1:-1:-1;;;;;;42413:17:0;;;;;;;42446:40;;42396:6;;;42413:17;42396:6;;42446:40;;42377:16;;42446:40;42366:128;42321:173;:::o;26358:315::-;26515:28;26525:4;26531:2;26535:7;26515:9;:28::i;:::-;26562:48;26585:4;26591:2;26595:7;26604:5;26562:22;:48::i;:::-;26554:111;;;;-1:-1:-1;;;26554:111:0;;;;;;;:::i;27970:110::-;28046:26;28056:2;28060:7;28046:26;;;;;;;;;;;;:9;:26::i;70181:108::-;70241:13;70274:7;70267:14;;;;;:::i;7539:723::-;7595:13;7816:5;7825:1;7816:10;7812:53;;-1:-1:-1;;7843:10:0;;;;;;;;;;;;-1:-1:-1;;;7843:10:0;;;;;7539:723::o;7812:53::-;7890:5;7875:12;7931:78;7938:9;;7931:78;;7964:8;;;;:::i;:::-;;-1:-1:-1;7987:10:0;;-1:-1:-1;7995:2:0;7987:10;;:::i;:::-;;;7931:78;;;8019:19;8051:6;8041:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8041:17:0;;8019:39;;8069:154;8076:10;;8069:154;;8103:11;8113:1;8103:11;;:::i;:::-;;-1:-1:-1;8172:10:0;8180:2;8172:5;:10;:::i;:::-;8159:24;;:2;:24;:::i;:::-;8146:39;;8129:6;8136;8129:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;8129:56:0;;;;;;;;-1:-1:-1;8200:11:0;8209:2;8200:11;;:::i;:::-;;;8069:154;;30272:578;30431:4;-1:-1:-1;;;;;30404:31:0;:23;30419:7;30404:14;:23::i;:::-;-1:-1:-1;;;;;30404:31:0;;30396:85;;;;-1:-1:-1;;;30396:85:0;;22249:2:1;30396:85:0;;;22231:21:1;22288:2;22268:18;;;22261:30;22327:34;22307:18;;;22300:62;-1:-1:-1;;;22378:18:1;;;22371:39;22427:19;;30396:85:0;22047:405:1;30396:85:0;-1:-1:-1;;;;;30500:16:0;;30492:65;;;;-1:-1:-1;;;30492:65:0;;22659:2:1;30492:65:0;;;22641:21:1;22698:2;22678:18;;;22671:30;22737:34;22717:18;;;22710:62;-1:-1:-1;;;22788:18:1;;;22781:34;22832:19;;30492:65:0;22457:400:1;30492:65:0;30570:39;30591:4;30597:2;30601:7;30570:20;:39::i;:::-;30674:29;30691:1;30695:7;30674:8;:29::i;:::-;-1:-1:-1;;;;;30716:15:0;;;;;;:9;:15;;;;;:20;;30735:1;;30716:15;:20;;30735:1;;30716:20;:::i;:::-;;;;-1:-1:-1;;;;;;;30747:13:0;;;;;;:9;:13;;;;;:18;;30764:1;;30747:13;:18;;30764:1;;30747:18;:::i;:::-;;;;-1:-1:-1;;30776:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;30776:21:0;-1:-1:-1;;;;;30776:21:0;;;;;;;;;30815:27;;30776:16;;30815:27;;;;;;;30272:578;;;:::o;31707:799::-;31862:4;-1:-1:-1;;;;;31883:13:0;;10356:20;10404:8;31879:620;;31919:72;;-1:-1:-1;;;31919:72:0;;-1:-1:-1;;;;;31919:36:0;;;;;:72;;19667:10;;31970:4;;31976:7;;31985:5;;31919:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31919:72:0;;;;;;;;-1:-1:-1;;31919:72:0;;;;;;;;;;;;:::i;:::-;;;31915:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32161:6;:13;32178:1;32161:18;32157:272;;32204:60;;-1:-1:-1;;;32204:60:0;;;;;;;:::i;32157:272::-;32379:6;32373:13;32364:6;32360:2;32356:15;32349:38;31915:529;-1:-1:-1;;;;;;32042:51:0;-1:-1:-1;;;32042:51:0;;-1:-1:-1;32035:58:0;;31879:620;-1:-1:-1;32483:4:0;31707:799;;;;;;:::o;28307:321::-;28437:18;28443:2;28447:7;28437:5;:18::i;:::-;28488:54;28519:1;28523:2;28527:7;28536:5;28488:22;:54::i;:::-;28466:154;;;;-1:-1:-1;;;28466:154:0;;;;;;;:::i;35782:589::-;-1:-1:-1;;;;;35988:18:0;;35984:187;;36023:40;36055:7;37198:10;:17;;37171:24;;;;:15;:24;;;;;:44;;;37226:24;;;;;;;;;;;;37094:164;36023:40;35984:187;;;36093:2;-1:-1:-1;;;;;36085:10:0;:4;-1:-1:-1;;;;;36085:10:0;;36081:90;;36112:47;36145:4;36151:7;36112:32;:47::i;:::-;-1:-1:-1;;;;;36185:16:0;;36181:183;;36218:45;36255:7;36218:36;:45::i;36181:183::-;36291:4;-1:-1:-1;;;;;36285:10:0;:2;-1:-1:-1;;;;;36285:10:0;;36281:83;;36312:40;36340:2;36344:7;36312:27;:40::i;28964:382::-;-1:-1:-1;;;;;29044:16:0;;29036:61;;;;-1:-1:-1;;;29036:61:0;;23812:2:1;29036:61:0;;;23794:21:1;;;23831:18;;;23824:30;23890:34;23870:18;;;23863:62;23942:18;;29036:61:0;23610:356:1;29036:61:0;27051:4;27075:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27075:16:0;:30;29108:58;;;;-1:-1:-1;;;29108:58:0;;24173:2:1;29108:58:0;;;24155:21:1;24212:2;24192:18;;;24185:30;24251;24231:18;;;24224:58;24299:18;;29108:58:0;23971:352:1;29108:58:0;29179:45;29208:1;29212:2;29216:7;29179:20;:45::i;:::-;-1:-1:-1;;;;;29237:13:0;;;;;;:9;:13;;;;;:18;;29254:1;;29237:13;:18;;29254:1;;29237:18;:::i;:::-;;;;-1:-1:-1;;29266:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29266:21:0;-1:-1:-1;;;;;29266:21:0;;;;;;;;29305:33;;29266:16;;;29305:33;;29266:16;;29305:33;28964:382;;:::o;37885:988::-;38151:22;38201:1;38176:22;38193:4;38176:16;:22::i;:::-;:26;;;;:::i;:::-;38213:18;38234:26;;;:17;:26;;;;;;38151:51;;-1:-1:-1;38367:28:0;;;38363:328;;-1:-1:-1;;;;;38434:18:0;;38412:19;38434:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38485:30;;;;;;:44;;;38602:30;;:17;:30;;;;;:43;;;38363:328;-1:-1:-1;38787:26:0;;;;:17;:26;;;;;;;;38780:33;;;-1:-1:-1;;;;;38831:18:0;;;;;:12;:18;;;;;:34;;;;;;;38824:41;37885:988::o;39168:1079::-;39446:10;:17;39421:22;;39446:21;;39466:1;;39446:21;:::i;:::-;39478:18;39499:24;;;:15;:24;;;;;;39872:10;:26;;39421:46;;-1:-1:-1;39499:24:0;;39421:46;;39872:26;;;;;;:::i;:::-;;;;;;;;;39850:48;;39936:11;39911:10;39922;39911:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;40016:28;;;:15;:28;;;;;;;:41;;;40188:24;;;;;40181:31;40223:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39239:1008;;;39168:1079;:::o;36672:221::-;36757:14;36774:20;36791:2;36774:16;:20::i;:::-;-1:-1:-1;;;;;36805:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36850:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36672:221:0:o;224:131:1:-;-1:-1:-1;;;;;;298:32:1;;288:43;;278:71;;345:1;342;335:12;360:245;418:6;471:2;459:9;450:7;446:23;442:32;439:52;;;487:1;484;477:12;439:52;526:9;513:23;545:30;569:5;545:30;:::i;802:118::-;888:5;881:13;874:21;867:5;864:32;854:60;;910:1;907;900:12;925:241;981:6;1034:2;1022:9;1013:7;1009:23;1005:32;1002:52;;;1050:1;1047;1040:12;1002:52;1089:9;1076:23;1108:28;1130:5;1108:28;:::i;1171:258::-;1243:1;1253:113;1267:6;1264:1;1261:13;1253:113;;;1343:11;;;1337:18;1324:11;;;1317:39;1289:2;1282:10;1253:113;;;1384:6;1381:1;1378:13;1375:48;;;-1:-1:-1;;1419:1:1;1401:16;;1394:27;1171:258::o;1434:::-;1476:3;1514:5;1508:12;1541:6;1536:3;1529:19;1557:63;1613:6;1606:4;1601:3;1597:14;1590:4;1583:5;1579:16;1557:63;:::i;:::-;1674:2;1653:15;-1:-1:-1;;1649:29:1;1640:39;;;;1681:4;1636:50;;1434:258;-1:-1:-1;;1434:258:1:o;1697:220::-;1846:2;1835:9;1828:21;1809:4;1866:45;1907:2;1896:9;1892:18;1884:6;1866:45;:::i;1922:180::-;1981:6;2034:2;2022:9;2013:7;2009:23;2005:32;2002:52;;;2050:1;2047;2040:12;2002:52;-1:-1:-1;2073:23:1;;1922:180;-1:-1:-1;1922:180:1:o;2315:131::-;-1:-1:-1;;;;;2390:31:1;;2380:42;;2370:70;;2436:1;2433;2426:12;2451:315;2519:6;2527;2580:2;2568:9;2559:7;2555:23;2551:32;2548:52;;;2596:1;2593;2586:12;2548:52;2635:9;2622:23;2654:31;2679:5;2654:31;:::i;:::-;2704:5;2756:2;2741:18;;;;2728:32;;-1:-1:-1;;;2451:315:1:o;2953:456::-;3030:6;3038;3046;3099:2;3087:9;3078:7;3074:23;3070:32;3067:52;;;3115:1;3112;3105:12;3067:52;3154:9;3141:23;3173:31;3198:5;3173:31;:::i;:::-;3223:5;-1:-1:-1;3280:2:1;3265:18;;3252:32;3293:33;3252:32;3293:33;:::i;:::-;2953:456;;3345:7;;-1:-1:-1;;;3399:2:1;3384:18;;;;3371:32;;2953:456::o;3654:247::-;3713:6;3766:2;3754:9;3745:7;3741:23;3737:32;3734:52;;;3782:1;3779;3772:12;3734:52;3821:9;3808:23;3840:31;3865:5;3840:31;:::i;3906:632::-;4077:2;4129:21;;;4199:13;;4102:18;;;4221:22;;;4048:4;;4077:2;4300:15;;;;4274:2;4259:18;;;4048:4;4343:169;4357:6;4354:1;4351:13;4343:169;;;4418:13;;4406:26;;4487:15;;;;4452:12;;;;4379:1;4372:9;4343:169;;;-1:-1:-1;4529:3:1;;3906:632;-1:-1:-1;;;;;;3906:632:1:o;4543:127::-;4604:10;4599:3;4595:20;4592:1;4585:31;4635:4;4632:1;4625:15;4659:4;4656:1;4649:15;4675:632;4740:5;4770:18;4811:2;4803:6;4800:14;4797:40;;;4817:18;;:::i;:::-;4892:2;4886:9;4860:2;4946:15;;-1:-1:-1;;4942:24:1;;;4968:2;4938:33;4934:42;4922:55;;;4992:18;;;5012:22;;;4989:46;4986:72;;;5038:18;;:::i;:::-;5078:10;5074:2;5067:22;5107:6;5098:15;;5137:6;5129;5122:22;5177:3;5168:6;5163:3;5159:16;5156:25;5153:45;;;5194:1;5191;5184:12;5153:45;5244:6;5239:3;5232:4;5224:6;5220:17;5207:44;5299:1;5292:4;5283:6;5275;5271:19;5267:30;5260:41;;;;4675:632;;;;;:::o;5312:451::-;5381:6;5434:2;5422:9;5413:7;5409:23;5405:32;5402:52;;;5450:1;5447;5440:12;5402:52;5490:9;5477:23;5523:18;5515:6;5512:30;5509:50;;;5555:1;5552;5545:12;5509:50;5578:22;;5631:4;5623:13;;5619:27;-1:-1:-1;5609:55:1;;5660:1;5657;5650:12;5609:55;5683:74;5749:7;5744:2;5731:16;5726:2;5722;5718:11;5683:74;:::i;5768:382::-;5833:6;5841;5894:2;5882:9;5873:7;5869:23;5865:32;5862:52;;;5910:1;5907;5900:12;5862:52;5949:9;5936:23;5968:31;5993:5;5968:31;:::i;:::-;6018:5;-1:-1:-1;6075:2:1;6060:18;;6047:32;6088:30;6047:32;6088:30;:::i;:::-;6137:7;6127:17;;;5768:382;;;;;:::o;6861:795::-;6956:6;6964;6972;6980;7033:3;7021:9;7012:7;7008:23;7004:33;7001:53;;;7050:1;7047;7040:12;7001:53;7089:9;7076:23;7108:31;7133:5;7108:31;:::i;:::-;7158:5;-1:-1:-1;7215:2:1;7200:18;;7187:32;7228:33;7187:32;7228:33;:::i;:::-;7280:7;-1:-1:-1;7334:2:1;7319:18;;7306:32;;-1:-1:-1;7389:2:1;7374:18;;7361:32;7416:18;7405:30;;7402:50;;;7448:1;7445;7438:12;7402:50;7471:22;;7524:4;7516:13;;7512:27;-1:-1:-1;7502:55:1;;7553:1;7550;7543:12;7502:55;7576:74;7642:7;7637:2;7624:16;7619:2;7615;7611:11;7576:74;:::i;:::-;7566:84;;;6861:795;;;;;;;:::o;7661:315::-;7729:6;7737;7790:2;7778:9;7769:7;7765:23;7761:32;7758:52;;;7806:1;7803;7796:12;7758:52;7842:9;7829:23;7819:33;;7902:2;7891:9;7887:18;7874:32;7915:31;7940:5;7915:31;:::i;7981:388::-;8049:6;8057;8110:2;8098:9;8089:7;8085:23;8081:32;8078:52;;;8126:1;8123;8116:12;8078:52;8165:9;8152:23;8184:31;8209:5;8184:31;:::i;:::-;8234:5;-1:-1:-1;8291:2:1;8276:18;;8263:32;8304:33;8263:32;8304:33;:::i;8374:356::-;8576:2;8558:21;;;8595:18;;;8588:30;8654:34;8649:2;8634:18;;8627:62;8721:2;8706:18;;8374:356::o;8735:380::-;8814:1;8810:12;;;;8857;;;8878:61;;8932:4;8924:6;8920:17;8910:27;;8878:61;8985:2;8977:6;8974:14;8954:18;8951:38;8948:161;;9031:10;9026:3;9022:20;9019:1;9012:31;9066:4;9063:1;9056:15;9094:4;9091:1;9084:15;8948:161;;8735:380;;;:::o;10360:413::-;10562:2;10544:21;;;10601:2;10581:18;;;10574:30;10640:34;10635:2;10620:18;;10613:62;-1:-1:-1;;;10706:2:1;10691:18;;10684:47;10763:3;10748:19;;10360:413::o;11190:184::-;11260:6;11313:2;11301:9;11292:7;11288:23;11284:32;11281:52;;;11329:1;11326;11319:12;11281:52;-1:-1:-1;11352:16:1;;11190:184;-1:-1:-1;11190:184:1:o;11379:127::-;11440:10;11435:3;11431:20;11428:1;11421:31;11471:4;11468:1;11461:15;11495:4;11492:1;11485:15;11511:127;11572:10;11567:3;11563:20;11560:1;11553:31;11603:4;11600:1;11593:15;11627:4;11624:1;11617:15;11643:135;11682:3;11703:17;;;11700:43;;11723:18;;:::i;:::-;-1:-1:-1;11770:1:1;11759:13;;11643:135::o;12088:245::-;12155:6;12208:2;12196:9;12187:7;12183:23;12179:32;12176:52;;;12224:1;12221;12214:12;12176:52;12256:9;12250:16;12275:28;12297:5;12275:28;:::i;12877:545::-;12979:2;12974:3;12971:11;12968:448;;;13015:1;13040:5;13036:2;13029:17;13085:4;13081:2;13071:19;13155:2;13143:10;13139:19;13136:1;13132:27;13126:4;13122:38;13191:4;13179:10;13176:20;13173:47;;;-1:-1:-1;13214:4:1;13173:47;13269:2;13264:3;13260:12;13257:1;13253:20;13247:4;13243:31;13233:41;;13324:82;13342:2;13335:5;13332:13;13324:82;;;13387:17;;;13368:1;13357:13;13324:82;;;13328:3;;;12877:545;;;:::o;13598:1352::-;13724:3;13718:10;13751:18;13743:6;13740:30;13737:56;;;13773:18;;:::i;:::-;13802:97;13892:6;13852:38;13884:4;13878:11;13852:38;:::i;:::-;13846:4;13802:97;:::i;:::-;13954:4;;14018:2;14007:14;;14035:1;14030:663;;;;14737:1;14754:6;14751:89;;;-1:-1:-1;14806:19:1;;;14800:26;14751:89;-1:-1:-1;;13555:1:1;13551:11;;;13547:24;13543:29;13533:40;13579:1;13575:11;;;13530:57;14853:81;;14000:944;;14030:663;12824:1;12817:14;;;12861:4;12848:18;;-1:-1:-1;;14066:20:1;;;14184:236;14198:7;14195:1;14192:14;14184:236;;;14287:19;;;14281:26;14266:42;;14379:27;;;;14347:1;14335:14;;;;14214:19;;14184:236;;;14188:3;14448:6;14439:7;14436:19;14433:201;;;14509:19;;;14503:26;-1:-1:-1;;14592:1:1;14588:14;;;14604:3;14584:24;14580:37;14576:42;14561:58;14546:74;;14433:201;-1:-1:-1;;;;;14680:1:1;14664:14;;;14660:22;14647:36;;-1:-1:-1;13598:1352:1:o;16482:681::-;16613:6;16621;16629;16637;16645;16653;16661;16669;16722:3;16710:9;16701:7;16697:23;16693:33;16690:53;;;16739:1;16736;16729:12;16690:53;16771:9;16765:16;16790:31;16815:5;16790:31;:::i;:::-;16840:5;16830:15;;;16885:2;16874:9;16870:18;16864:25;16854:35;;16929:2;16918:9;16914:18;16908:25;16898:35;;16973:2;16962:9;16958:18;16952:25;16942:35;;17017:3;17006:9;17002:19;16996:26;16986:36;;17062:3;17051:9;17047:19;17041:26;17031:36;;17107:3;17096:9;17092:19;17086:26;17076:36;;17152:3;17141:9;17137:19;17131:26;17121:36;;16482:681;;;;;;;;;;;:::o;17510:128::-;17550:3;17581:1;17577:6;17574:1;17571:13;17568:39;;;17587:18;;:::i;:::-;-1:-1:-1;17623:9:1;;17510:128::o;18710:1230::-;18934:3;18972:6;18966:13;18998:4;19011:51;19055:6;19050:3;19045:2;19037:6;19033:15;19011:51;:::i;:::-;19125:13;;19084:16;;;;19147:55;19125:13;19084:16;19169:15;;;19147:55;:::i;:::-;19291:13;;19224:20;;;19264:1;;19329:36;19291:13;19329:36;:::i;:::-;19384:1;19401:18;;;19428:141;;;;19583:1;19578:337;;;;19394:521;;19428:141;-1:-1:-1;;19463:24:1;;19449:39;;19540:16;;19533:24;19519:39;;19508:51;;;-1:-1:-1;19428:141:1;;19578:337;19609:6;19606:1;19599:17;19657:2;19654:1;19644:16;19682:1;19696:169;19710:8;19707:1;19704:15;19696:169;;;19792:14;;19777:13;;;19770:37;19835:16;;;;19727:10;;19696:169;;;19700:3;;19896:8;19889:5;19885:20;19878:27;;19394:521;-1:-1:-1;19931:3:1;;18710:1230;-1:-1:-1;;;;;;;;;;18710:1230:1:o;21124:414::-;21326:2;21308:21;;;21365:2;21345:18;;;21338:30;21404:34;21399:2;21384:18;;21377:62;-1:-1:-1;;;21470:2:1;21455:18;;21448:48;21528:3;21513:19;;21124:414::o;21543:127::-;21604:10;21599:3;21595:20;21592:1;21585:31;21635:4;21632:1;21625:15;21659:4;21656:1;21649:15;21675:120;21715:1;21741;21731:35;;21746:18;;:::i;:::-;-1:-1:-1;21780:9:1;;21675:120::o;21800:125::-;21840:4;21868:1;21865;21862:8;21859:34;;;21873:18;;:::i;:::-;-1:-1:-1;21910:9:1;;21800:125::o;21930:112::-;21962:1;21988;21978:35;;21993:18;;:::i;:::-;-1:-1:-1;22027:9:1;;21930:112::o;22862:489::-;-1:-1:-1;;;;;23131:15:1;;;23113:34;;23183:15;;23178:2;23163:18;;23156:43;23230:2;23215:18;;23208:34;;;23278:3;23273:2;23258:18;;23251:31;;;23056:4;;23299:46;;23325:19;;23317:6;23299:46;:::i;:::-;23291:54;22862:489;-1:-1:-1;;;;;;22862:489:1:o;23356:249::-;23425:6;23478:2;23466:9;23457:7;23453:23;23449:32;23446:52;;;23494:1;23491;23484:12;23446:52;23526:9;23520:16;23545:30;23569:5;23545:30;:::i;24328:127::-;24389:10;24384:3;24380:20;24377:1;24370:31;24420:4;24417:1;24410:15;24444:4;24441:1;24434:15
Swarm Source
ipfs://ee9e612832d8680c0d03423d9a7a42216325732685c95ceb2345209c4d04148a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.