ERC-721
Overview
Max Total Supply
168 Sake X
Holders
119
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 Sake XLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SakeX
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-27 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN 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 memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. * ERC165: 告訴別人你兼容什麼protocol */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { 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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity ^0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` 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); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // 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; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @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_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @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 _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @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 _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @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 || ERC721.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 _tokenOwners.contains(tokenId); } /** * @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 || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `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); _holderTokens[to].add(tokenId); _tokenOwners.set(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); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(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"); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @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()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @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 { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } pragma solidity ^0.8.0; /** * @title SakeX * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract SakeX is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; bytes32 public merkleRoot = 0x6d7bed72fe288c60c0c8571731633f8c6a4e545c1f2b949dc33952a25473b3d8; mapping(address => uint256) public numberOfWhitelistClaimed; mapping(address => uint256) public numberOfPublicSaleClaimed; string private _sakexURI; uint256 public immutable MAX_SakeXSupply = 299; uint256 public immutable whitelistSupply = 200; uint256 public immutable publicSaleSupply = 99; uint public constant maxPurchase = 2; uint256 public constant sakexSalePrice = 150000000000000000; uint256 public startingIndex; uint256 public nowTokenId; uint32 public whitelistSaleStartTime = 1648360800; // Sun Mar 27 2022 14:00:00 GMT+0800 (台北標準時間) uint32 public publicSaleStartTime = 1648447200; // Mon Mar 28 2022 14:00:00 GMT+0800 (台北標準時間) bool public whitelistSaleIsActive = false; bool public publicSaleIsActive = false; bool public _blindBoxOpened = false; address payable public treasury; event FlipBlindState(bool state); event MintWhitelistPhase(uint tokens); event MintPublicSalePhase(uint tokens); constructor(address payable _fundReceiver) ERC721("Sake X", "Sake X") { treasury = _fundReceiver; } function isWhitelisted(bytes32[] calldata _merkleProof) public view returns(bool) { return MerkleProof.verify(_merkleProof, merkleRoot, keccak256(abi.encodePacked(msg.sender))); } function mintSakeXOnWhitelistPhase(bytes32[] calldata _merkleProof, uint numberOfTokens) public payable { uint256 _nowTokenId = nowTokenId; require(whitelistSaleIsActive, "Not reach whitelist sale time"); require(whitelistSaleStartTime <= block.timestamp, "Not reach whitelist sale time"); require(numberOfTokens <= maxPurchase, "Can only mint 2 tokens at a time"); require(((numberOfWhitelistClaimed[msg.sender] + numberOfTokens) <= 2), "Purchase would exceed max supply of whitelist phase"); require(((_nowTokenId + numberOfTokens) <= whitelistSupply), "Purchase would exceed max supply of whitelist phase"); require(((_nowTokenId + numberOfTokens) <= MAX_SakeXSupply), "Purchase would exceed max supply"); require(sakexSalePrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid proof, you are not in whitelist."); treasury.transfer(msg.value); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, _nowTokenId + i); } nowTokenId += numberOfTokens; numberOfWhitelistClaimed[msg.sender] += numberOfTokens; emit MintWhitelistPhase(numberOfTokens); } function mintSakeXOnPublicSalePhase(uint numberOfTokens) public payable { uint256 _nowTokenId = nowTokenId; require(publicSaleIsActive, "Not reach public sale time"); require(publicSaleStartTime <= block.timestamp, "Not reach public sale time"); require(numberOfTokens <= maxPurchase, "Can only mint 2 tokens at a time"); require(((numberOfPublicSaleClaimed[msg.sender] + numberOfTokens) <= 2), "Purchase would exceed max supply of public sale phase"); require(((_nowTokenId + numberOfTokens) <= MAX_SakeXSupply), "Purchase would exceed max supply"); require(sakexSalePrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); treasury.transfer(msg.value); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, _nowTokenId + i); } nowTokenId += numberOfTokens; numberOfPublicSaleClaimed[msg.sender] += numberOfTokens; emit MintPublicSalePhase(numberOfTokens); } function setStartingIndex() public onlyOwner { require(startingIndex == 0, "Starting index is already set"); startingIndex = (uint(blockhash(block.number - 1)) % (MAX_SakeXSupply)) + 1; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory sakex = sakexURI(); string memory blindBoxURI = "ipfs://QmPcKbVJDCVRKd7MUKs8EiqkQhFEzW2Cc5LhMsVCkSCzp1"; if(startingIndex != 0 && _blindBoxOpened) { uint256 _id = tokenId + startingIndex; if(_id > MAX_SakeXSupply) { _id -= MAX_SakeXSupply; } return string(abi.encodePacked(sakex, _id.toString())); } return blindBoxURI; } function reserveWhitelistSakeX(uint numberOfTokens) public onlyOwner { require(((numberOfTokens + nowTokenId) <= whitelistSupply), "Reserve would excced max whitelist supply"); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, nowTokenId + i); } nowTokenId += numberOfTokens; } function reservePublicSaleSakeX(uint numberOfTokens) public onlyOwner { require((numberOfTokens + nowTokenId) <= (whitelistSupply + publicSaleSupply), "Reserve would excced max public sale supply"); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, nowTokenId + i); } nowTokenId += numberOfTokens; } function setWhitelistSaleStartTime(uint32 timestamp) public onlyOwner { whitelistSaleStartTime = timestamp; } function setPublicSaleStartTime(uint32 timestamp) public onlyOwner { publicSaleStartTime = timestamp; } function setMerkleRoot(bytes32 merkleRoot_) public onlyOwner { merkleRoot = merkleRoot_; } function setSakexURI(string memory sakexURI_) public onlyOwner { _sakexURI = sakexURI_; } function sakexURI() public view virtual returns (string memory) { return _sakexURI; } function flipWhitelistSaleState() public onlyOwner { whitelistSaleIsActive = !whitelistSaleIsActive; } function flipPublicSaleState() public onlyOwner { publicSaleIsActive = !publicSaleIsActive; } function flipBlindState() public onlyOwner { _blindBoxOpened = !_blindBoxOpened; emit FlipBlindState(_blindBoxOpened); } function burn(uint256 tokenId) external { require(_isApprovedOrOwner(msg.sender, tokenId), "SakeX: burn caller is not owner nor approved"); _burn(tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address payable","name":"_fundReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"state","type":"bool"}],"name":"FlipBlindState","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"MintPublicSalePhase","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"MintWhitelistPhase","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":[],"name":"MAX_SakeXSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_blindBoxOpened","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipBlindState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipWhitelistSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintSakeXOnPublicSalePhase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintSakeXOnWhitelistPhase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberOfPublicSaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberOfWhitelistClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"publicSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reservePublicSaleSakeX","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveWhitelistSakeX","outputs":[],"stateMutability":"nonpayable","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":[],"name":"sakexSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sakexURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"sakexURI_","type":"string"}],"name":"setSakexURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"timestamp","type":"uint32"}],"name":"setWhitelistSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStartTime","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60e06040527f6d7bed72fe288c60c0c8571731633f8c6a4e545c1f2b949dc33952a25473b3d8600b5561012b60805260c860a052606360c052601180546001600160581b0319166762414ee0623ffd601790553480156200005f57600080fd5b50604051620038a8380380620038a88339810160408190526200008291620002cd565b6040805180820182526006808252650a6c2d6ca40b60d31b602080840182905284518086019095529184529083015290620000c46301ffc9a760e01b620001a3565b8151620000d990600690602085019062000227565b508051620000ef90600790602084019062000227565b50620001026380ac58cd60e01b620001a3565b62000114635b5e139f60e01b620001a3565b6200012663780e9d6360e01b620001a3565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350601180546001600160a01b039092166b01000000000000000000000002600160581b600160f81b03199092169190911790556200033c565b6001600160e01b03198082161415620002025760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b8280546200023590620002ff565b90600052602060002090601f016020900481019282620002595760008555620002a4565b82601f106200027457805160ff1916838001178555620002a4565b82800160010185558215620002a4579182015b82811115620002a457825182559160200191906001019062000287565b50620002b2929150620002b6565b5090565b5b80821115620002b25760008155600101620002b7565b600060208284031215620002e057600080fd5b81516001600160a01b0381168114620002f857600080fd5b9392505050565b600181811c908216806200031457607f821691505b602082108114156200033657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c0516134fd620003ab600039600081816108ae0152610c7a01526000818161054301528181610c9b015281816118890152611b7401526000818161037401528181611413015281816116be015281816116e9015281816118180152611bbd01526134fd6000f3fe6080604052600436106102e45760003560e01c80636bb7b1d911610190578063a10866ef116100dc578063cbfd14a211610095578063e98665501161006f578063e98665501461092e578063ed8bb54f14610943578063f2fde38b14610963578063f91594da1461098357600080fd5b8063cbfd14a21461089c578063d1beca64146108d0578063e985e9c5146108e557600080fd5b8063a10866ef146107fe578063a22cb46514610813578063aa5b343b14610833578063b88d4fde14610846578063c87b56dd14610866578063cb774d471461088657600080fd5b80637de869091161014957806385a33bc01161012357806385a33bc0146107895780638da5cb5b146107b657806395d89b41146107d4578063977b055b146107e957600080fd5b80637de86909146107275780637e47d6de146107475780638062142e1461077457600080fd5b80636bb7b1d9146106785780636c0360eb1461069d57806370a08231146106b2578063715018a6146106d257806376febc28146106e75780637cb647591461070757600080fd5b806323b872dd1161024f57806347e17ef1116102085780634f8f0a04116101e25780634f8f0a04146105fb5780635fd84c281461061157806361d027b3146106315780636352211e1461065857600080fd5b806347e17ef1146105a55780634d15a423146105c65780634f6ccce7146105db57600080fd5b806323b872dd146104db5780632eb4a7ab146104fb5780632f745c591461051157806333e614131461053157806342842e0e1461056557806342966c681461058557600080fd5b8063095ea7b3116102a1578063095ea7b3146104105780630fcf2e751461043257806310b5454d14610453578063180fbeb71461047457806318160ddd14610494578063230b43f4146104a957600080fd5b806301ffc9a7146102e957806302c030f514610338578063039652c414610362578063069824fb1461039657806306fdde03146103b6578063081812fc146103d8575b600080fd5b3480156102f557600080fd5b50610323610304366004613012565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561034457600080fd5b50610354670214e8348c4f000081565b60405190815260200161032f565b34801561036e57600080fd5b506103547f000000000000000000000000000000000000000000000000000000000000000081565b3480156103a257600080fd5b506103236103b1366004612f6b565b610996565b3480156103c257600080fd5b506103cb610a16565b60405161032f919061316f565b3480156103e457600080fd5b506103f86103f3366004612ff9565b610aa8565b6040516001600160a01b03909116815260200161032f565b34801561041c57600080fd5b5061043061042b366004612f41565b610b35565b005b34801561043e57600080fd5b5060115461032390600160481b900460ff1681565b34801561045f57600080fd5b5060115461032390600160401b900460ff1681565b34801561048057600080fd5b5061043061048f366004612ff9565b610c4b565b3480156104a057600080fd5b50610354610d7c565b3480156104b557600080fd5b506011546104c69063ffffffff1681565b60405163ffffffff909116815260200161032f565b3480156104e757600080fd5b506104306104f6366004612e4d565b610d8d565b34801561050757600080fd5b50610354600b5481565b34801561051d57600080fd5b5061035461052c366004612f41565b610dbe565b34801561053d57600080fd5b506103547f000000000000000000000000000000000000000000000000000000000000000081565b34801561057157600080fd5b50610430610580366004612e4d565b610de0565b34801561059157600080fd5b506104306105a0366004612ff9565b610dfb565b3480156105b157600080fd5b5060115461032390600160501b900460ff1681565b3480156105d257600080fd5b506103cb610e72565b3480156105e757600080fd5b506103546105f6366004612ff9565b610e81565b34801561060757600080fd5b5061035460105481565b34801561061d57600080fd5b5061043061062c366004613095565b610e97565b34801561063d57600080fd5b506011546103f890600160581b90046001600160a01b031681565b34801561066457600080fd5b506103f8610673366004612ff9565b610ee9565b34801561068457600080fd5b506011546104c690640100000000900463ffffffff1681565b3480156106a957600080fd5b506103cb610f11565b3480156106be57600080fd5b506103546106cd366004612dff565b610f20565b3480156106de57600080fd5b50610430610fac565b3480156106f357600080fd5b5061043061070236600461304c565b611020565b34801561071357600080fd5b50610430610722366004612ff9565b611061565b34801561073357600080fd5b50610430610742366004613095565b611090565b34801561075357600080fd5b50610354610762366004612dff565b600c6020526000908152604090205481565b34801561078057600080fd5b506104306110d6565b34801561079557600080fd5b506103546107a4366004612dff565b600d6020526000908152604090205481565b3480156107c257600080fd5b50600a546001600160a01b03166103f8565b3480156107e057600080fd5b506103cb611166565b3480156107f557600080fd5b50610354600281565b34801561080a57600080fd5b50610430611175565b34801561081f57600080fd5b5061043061082e366004612f05565b6111c6565b610430610841366004612ff9565b61128b565b34801561085257600080fd5b50610430610861366004612e89565b6115b9565b34801561087257600080fd5b506103cb610881366004612ff9565b6115f1565b34801561089257600080fd5b50610354600f5481565b3480156108a857600080fd5b506103547f000000000000000000000000000000000000000000000000000000000000000081565b3480156108dc57600080fd5b5061043061174c565b3480156108f157600080fd5b50610323610900366004612e1a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561093a57600080fd5b5061043061179c565b34801561094f57600080fd5b5061043061095e366004612ff9565b61185d565b34801561096f57600080fd5b5061043061097e366004612dff565b611944565b610430610991366004612fad565b611a2f565b6000610a0d83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611e3d565b90505b92915050565b606060068054610a2590613329565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5190613329565b8015610a9e5780601f10610a7357610100808354040283529160200191610a9e565b820191906000526020600020905b815481529060010190602001808311610a8157829003601f168201915b5050505050905090565b6000610ab382611e53565b610b195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b4082610ee9565b9050806001600160a01b0316836001600160a01b03161415610bae5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b10565b336001600160a01b0382161480610bca5750610bca8133610900565b610c3c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b10565b610c468383611e60565b505050565b600a546001600160a01b03163314610c755760405162461bcd60e51b8152600401610b1090613215565b610cbf7f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061329b565b601054610ccc908361329b565b1115610d2e5760405162461bcd60e51b815260206004820152602b60248201527f5265736572766520776f756c6420657863636564206d6178207075626c69632060448201526a73616c6520737570706c7960a81b6064820152608401610b10565b60015b818111610d6157610d4f3382601054610d4a919061329b565b611ece565b80610d5981613364565b915050610d31565b508060106000828254610d74919061329b565b909155505050565b6000610d886002611ee8565b905090565b610d973382611ef2565b610db35760405162461bcd60e51b8152600401610b109061324a565b610c46838383611fdc565b6001600160a01b0382166000908152600160205260408120610a0d908361215d565b610c46838383604051806020016040528060008152506115b9565b610e053382611ef2565b610e665760405162461bcd60e51b815260206004820152602c60248201527f53616b65583a206275726e2063616c6c6572206973206e6f74206f776e65722060448201526b1b9bdc88185c1c1c9bdd995960a21b6064820152608401610b10565b610e6f81612169565b50565b6060600e8054610a2590613329565b600080610e8f600284612223565b509392505050565b600a546001600160a01b03163314610ec15760405162461bcd60e51b8152600401610b1090613215565b6011805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b6000610a108260405180606001604052806029815260200161344a6029913960029190612241565b606060098054610a2590613329565b60006001600160a01b038216610f8b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b10565b6001600160a01b0382166000908152600160205260409020610a1090611ee8565b600a546001600160a01b03163314610fd65760405162461bcd60e51b8152600401610b1090613215565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b0316331461104a5760405162461bcd60e51b8152600401610b1090613215565b805161105d90600e906020840190612c59565b5050565b600a546001600160a01b0316331461108b5760405162461bcd60e51b8152600401610b1090613215565b600b55565b600a546001600160a01b031633146110ba5760405162461bcd60e51b8152600401610b1090613215565b6011805463ffffffff191663ffffffff92909216919091179055565b600a546001600160a01b031633146111005760405162461bcd60e51b8152600401610b1090613215565b6011805460ff600160501b808304821615810260ff60501b1990931692909217928390556040517f5d67887e19f1dc73ebf9b7baae52bfa117169031674568205e43aa8210f6a6239361115c9390049091161515815260200190565b60405180910390a1565b606060078054610a2590613329565b600a546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610b1090613215565b6011805469ff000000000000000000198116600160481b9182900460ff1615909102179055565b6001600160a01b03821633141561121f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b10565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b601054601154600160481b900460ff166112e75760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265616368207075626c69632073616c652074696d650000000000006044820152606401610b10565b6011544264010000000090910463ffffffff1611156113485760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265616368207075626c69632073616c652074696d650000000000006044820152606401610b10565b60028211156113995760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206d696e74203220746f6b656e7320617420612074696d656044820152606401610b10565b336000908152600d60205260409020546002906113b790849061329b565b11156114115760405162461bcd60e51b81526020600482015260356024820152600080516020613473833981519152604482015274206f66207075626c69632073616c6520706861736560581b6064820152608401610b10565b7f000000000000000000000000000000000000000000000000000000000000000061143c838361329b565b11156114785760405162461bcd60e51b815260206004820181905260248201526000805160206134738339815191526044820152606401610b10565b3461148b670214e8348c4f00008461224e565b11156114d95760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610b10565b6011546040516001600160a01b03600160581b90920491909116903480156108fc02916000818181858888f1935050505015801561151b573d6000803e3d6000fd5b5060015b8281116115465761153433610d4a838561329b565b8061153e81613364565b91505061151f565b508160106000828254611559919061329b565b9091555050336000908152600d60205260408120805484929061157d90849061329b565b90915550506040518281527f1a2c8d94bc7e2ef046f754d79abe41f005bd579bd99834cf503174e09ecefa629060200160405180910390a15050565b6115c33383611ef2565b6115df5760405162461bcd60e51b8152600401610b109061324a565b6115eb848484846122cd565b50505050565b60606115fc82611e53565b6116605760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b10565b600061166a610e72565b90506000604051806060016040528060358152602001613493603591399050600f546000141580156116a55750601154600160501b900460ff165b15611745576000600f54856116ba919061329b565b90507f00000000000000000000000000000000000000000000000000000000000000008111156117115761170e7f0000000000000000000000000000000000000000000000000000000000000000826132e6565b90505b8261171b82612300565b60405160200161172c929190613103565b6040516020818303038152906040529350505050919050565b9392505050565b600a546001600160a01b031633146117765760405162461bcd60e51b8152600401610b1090613215565b6011805468ff0000000000000000198116600160401b9182900460ff1615909102179055565b600a546001600160a01b031633146117c65760405162461bcd60e51b8152600401610b1090613215565b600f54156118165760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c7265616479207365740000006044820152606401610b10565b7f00000000000000000000000000000000000000000000000000000000000000006118426001436132e6565b61184d91904061337f565b61185890600161329b565b600f55565b600a546001600160a01b031633146118875760405162461bcd60e51b8152600401610b1090613215565b7f0000000000000000000000000000000000000000000000000000000000000000601054826118b6919061329b565b11156119165760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863636564206d61782077686974656c69604482015268737420737570706c7960b81b6064820152608401610b10565b60015b818111610d61576119323382601054610d4a919061329b565b8061193c81613364565b915050611919565b600a546001600160a01b0316331461196e5760405162461bcd60e51b8152600401610b1090613215565b6001600160a01b0381166119d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b10565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b601054601154600160401b900460ff16611a8b5760405162461bcd60e51b815260206004820152601d60248201527f4e6f742072656163682077686974656c6973742073616c652074696d650000006044820152606401610b10565b6011544263ffffffff9091161115611ae55760405162461bcd60e51b815260206004820152601d60248201527f4e6f742072656163682077686974656c6973742073616c652074696d650000006044820152606401610b10565b6002821115611b365760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206d696e74203220746f6b656e7320617420612074696d656044820152606401610b10565b336000908152600c6020526040902054600290611b5490849061329b565b1115611b725760405162461bcd60e51b8152600401610b10906131d4565b7f0000000000000000000000000000000000000000000000000000000000000000611b9d838361329b565b1115611bbb5760405162461bcd60e51b8152600401610b10906131d4565b7f0000000000000000000000000000000000000000000000000000000000000000611be6838361329b565b1115611c225760405162461bcd60e51b815260206004820181905260248201526000805160206134738339815191526044820152606401610b10565b34611c35670214e8348c4f00008461224e565b1115611c835760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610b10565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611cfd85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611e3d565b611d5a5760405162461bcd60e51b815260206004820152602860248201527f496e76616c69642070726f6f662c20796f7520617265206e6f7420696e20776860448201526734ba32b634b9ba1760c11b6064820152608401610b10565b6011546040516001600160a01b03600160581b90920491909116903480156108fc02916000818181858888f19350505050158015611d9c573d6000803e3d6000fd5b5060015b838111611dc757611db533610d4a838661329b565b80611dbf81613364565b915050611da0565b508260106000828254611dda919061329b565b9091555050336000908152600c602052604081208054859290611dfe90849061329b565b90915550506040518381527faabda13a0237479b8db66db492bd05eb1c879375999dc58792a30f487be1039a9060200160405180910390a15050505050565b600082611e4a85846123fe565b14949350505050565b6000610a1060028361246a565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e9582610ee9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61105d828260405180602001604052806000815250612482565b6000610a10825490565b6000611efd82611e53565b611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b10565b6000611f6983610ee9565b9050806001600160a01b0316846001600160a01b03161480611fa45750836001600160a01b0316611f9984610aa8565b6001600160a01b0316145b80611fd457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611fef82610ee9565b6001600160a01b0316146120575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b10565b6001600160a01b0382166120b95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b10565b6120c4600082611e60565b6001600160a01b03831660009081526001602052604090206120e690826124b5565b506001600160a01b038216600090815260016020526040902061210990826124c1565b50612116600282846124cd565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a0d83836124e3565b600061217482610ee9565b9050612181600083611e60565b6000828152600860205260409020805461219a90613329565b1590506121b85760008281526008602052604081206121b891612cdd565b6001600160a01b03811660009081526001602052604090206121da90836124b5565b506121e6600283612569565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806122328686612575565b909450925050505b9250929050565b6000611fd4848484612612565b60008261225d57506000610a10565b600061226983856132c7565b90508261227685836132b3565b14610a0d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b10565b6122d8848484611fdc565b6122e48484848461267b565b6115eb5760405162461bcd60e51b8152600401610b1090613182565b6060816123245750506040805180820190915260018152600360fc1b602082015290565b8160005b811561234e578061233881613364565b91506123479050600a836132b3565b9150612328565b60008167ffffffffffffffff811115612369576123696133eb565b6040519080825280601f01601f191660200182016040528015612393576020820181803683370190505b5090505b8415611fd4576123a86001836132e6565b91506123b5600a8661337f565b6123c090603061329b565b60f81b8183815181106123d5576123d56133d5565b60200101906001600160f81b031916908160001a9053506123f7600a866132b3565b9450612397565b600081815b8451811015610e8f576000858281518110612420576124206133d5565b602002602001015190508083116124465760008381526020829052604090209250612457565b600081815260208490526040902092505b508061246281613364565b915050612403565b60008181526001830160205260408120541515610a0d565b61248c838361274c565b612499600084848461267b565b610c465760405162461bcd60e51b8152600401610b1090613182565b6000610a0d8383612864565b6000610a0d8383612957565b6000611fd484846001600160a01b0385166129a6565b815460009082106125415760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b10565b826000018281548110612556576125566133d5565b9060005260206000200154905092915050565b6000610a0d8383612a47565b8154600090819083106125d55760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b10565b60008460000184815481106125ec576125ec6133d5565b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816126425760405162461bcd60e51b8152600401610b10919061316f565b508461264f6001836132e6565b8154811061265f5761265f6133d5565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b61269457506001611fd4565b6000612715630a85bd0160e11b338887876040516024016126b89493929190613132565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613418603291396001600160a01b0388169190612b4e565b905060008180602001905181019061272d919061302f565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b0382166127a25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b10565b6127ab81611e53565b156127f85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b10565b6001600160a01b038216600090815260016020526040902061281a90826124c1565b50612827600282846124cd565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600183016020526040812054801561294d5760006128886001836132e6565b855490915060009061289c906001906132e6565b905060008660000182815481106128b5576128b56133d5565b90600052602060002001549050808760000184815481106128d8576128d86133d5565b6000918252602090912001556128ef83600161329b565b60008281526001890160205260409020558654879080612911576129116133bf565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a10565b6000915050610a10565b600081815260018301602052604081205461299e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a10565b506000610a10565b600082815260018401602052604081205480612a0b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611745565b8285612a186001846132e6565b81548110612a2857612a286133d5565b9060005260206000209060020201600101819055506000915050611745565b6000818152600183016020526040812054801561294d576000612a6b6001836132e6565b8554909150600090612a7f906001906132e6565b90506000866000018281548110612a9857612a986133d5565b9060005260206000209060020201905080876000018481548110612abe57612abe6133d5565b60009182526020909120825460029092020190815560019182015490820155612ae890849061329b565b815460009081526001890160205260409020558654879080612b0c57612b0c6133bf565b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610a109350505050565b6060611fd4848460008585843b612ba75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b10565b600080866001600160a01b03168587604051612bc391906130e7565b60006040518083038185875af1925050503d8060008114612c00576040519150601f19603f3d011682016040523d82523d6000602084013e612c05565b606091505b5091509150612c15828286612c20565b979650505050505050565b60608315612c2f575081611745565b825115612c3f5782518084602001fd5b8160405162461bcd60e51b8152600401610b10919061316f565b828054612c6590613329565b90600052602060002090601f016020900481019282612c875760008555612ccd565b82601f10612ca057805160ff1916838001178555612ccd565b82800160010185558215612ccd579182015b82811115612ccd578251825591602001919060010190612cb2565b50612cd9929150612d13565b5090565b508054612ce990613329565b6000825580601f10612cf9575050565b601f016020900490600052602060002090810190610e6f91905b5b80821115612cd95760008155600101612d14565b600067ffffffffffffffff80841115612d4357612d436133eb565b604051601f8501601f19908116603f01168101908282118183101715612d6b57612d6b6133eb565b81604052809350858152868686011115612d8457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612db557600080fd5b919050565b60008083601f840112612dcc57600080fd5b50813567ffffffffffffffff811115612de457600080fd5b6020830191508360208260051b850101111561223a57600080fd5b600060208284031215612e1157600080fd5b610a0d82612d9e565b60008060408385031215612e2d57600080fd5b612e3683612d9e565b9150612e4460208401612d9e565b90509250929050565b600080600060608486031215612e6257600080fd5b612e6b84612d9e565b9250612e7960208501612d9e565b9150604084013590509250925092565b60008060008060808587031215612e9f57600080fd5b612ea885612d9e565b9350612eb660208601612d9e565b925060408501359150606085013567ffffffffffffffff811115612ed957600080fd5b8501601f81018713612eea57600080fd5b612ef987823560208401612d28565b91505092959194509250565b60008060408385031215612f1857600080fd5b612f2183612d9e565b915060208301358015158114612f3657600080fd5b809150509250929050565b60008060408385031215612f5457600080fd5b612f5d83612d9e565b946020939093013593505050565b60008060208385031215612f7e57600080fd5b823567ffffffffffffffff811115612f9557600080fd5b612fa185828601612dba565b90969095509350505050565b600080600060408486031215612fc257600080fd5b833567ffffffffffffffff811115612fd957600080fd5b612fe586828701612dba565b909790965060209590950135949350505050565b60006020828403121561300b57600080fd5b5035919050565b60006020828403121561302457600080fd5b8135610a0d81613401565b60006020828403121561304157600080fd5b8151610a0d81613401565b60006020828403121561305e57600080fd5b813567ffffffffffffffff81111561307557600080fd5b8201601f8101841361308657600080fd5b611fd484823560208401612d28565b6000602082840312156130a757600080fd5b813563ffffffff81168114610a0d57600080fd5b600081518084526130d38160208601602086016132fd565b601f01601f19169290920160200192915050565b600082516130f98184602087016132fd565b9190910192915050565b600083516131158184602088016132fd565b8351908301906131298183602088016132fd565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613165908301846130bb565b9695505050505050565b602081526000610a0d60208301846130bb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252603390820152600080516020613473833981519152604082015272206f662077686974656c69737420706861736560681b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156132ae576132ae613393565b500190565b6000826132c2576132c26133a9565b500490565b60008160001904831182151516156132e1576132e1613393565b500290565b6000828210156132f8576132f8613393565b500390565b60005b83811015613318578181015183820152602001613300565b838111156115eb5750506000910152565b600181811c9082168061333d57607f821691505b6020821081141561335e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561337857613378613393565b5060010190565b60008261338e5761338e6133a9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6f57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e507572636861736520776f756c6420657863656564206d617820737570706c79697066733a2f2f516d50634b62564a444356524b64374d554b73384569716b516846457a57324363354c684d7356436b53437a7031a264697066735822122097b5f5ce0d06bcbef09f0e8effb7b264e8df42ad277cb94781be1edbc7ee7bbd64736f6c63430008070033000000000000000000000000831cc7647350b2af6ca0f5c29c3fb8916091ee8a
Deployed Bytecode
0x6080604052600436106102e45760003560e01c80636bb7b1d911610190578063a10866ef116100dc578063cbfd14a211610095578063e98665501161006f578063e98665501461092e578063ed8bb54f14610943578063f2fde38b14610963578063f91594da1461098357600080fd5b8063cbfd14a21461089c578063d1beca64146108d0578063e985e9c5146108e557600080fd5b8063a10866ef146107fe578063a22cb46514610813578063aa5b343b14610833578063b88d4fde14610846578063c87b56dd14610866578063cb774d471461088657600080fd5b80637de869091161014957806385a33bc01161012357806385a33bc0146107895780638da5cb5b146107b657806395d89b41146107d4578063977b055b146107e957600080fd5b80637de86909146107275780637e47d6de146107475780638062142e1461077457600080fd5b80636bb7b1d9146106785780636c0360eb1461069d57806370a08231146106b2578063715018a6146106d257806376febc28146106e75780637cb647591461070757600080fd5b806323b872dd1161024f57806347e17ef1116102085780634f8f0a04116101e25780634f8f0a04146105fb5780635fd84c281461061157806361d027b3146106315780636352211e1461065857600080fd5b806347e17ef1146105a55780634d15a423146105c65780634f6ccce7146105db57600080fd5b806323b872dd146104db5780632eb4a7ab146104fb5780632f745c591461051157806333e614131461053157806342842e0e1461056557806342966c681461058557600080fd5b8063095ea7b3116102a1578063095ea7b3146104105780630fcf2e751461043257806310b5454d14610453578063180fbeb71461047457806318160ddd14610494578063230b43f4146104a957600080fd5b806301ffc9a7146102e957806302c030f514610338578063039652c414610362578063069824fb1461039657806306fdde03146103b6578063081812fc146103d8575b600080fd5b3480156102f557600080fd5b50610323610304366004613012565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b34801561034457600080fd5b50610354670214e8348c4f000081565b60405190815260200161032f565b34801561036e57600080fd5b506103547f000000000000000000000000000000000000000000000000000000000000012b81565b3480156103a257600080fd5b506103236103b1366004612f6b565b610996565b3480156103c257600080fd5b506103cb610a16565b60405161032f919061316f565b3480156103e457600080fd5b506103f86103f3366004612ff9565b610aa8565b6040516001600160a01b03909116815260200161032f565b34801561041c57600080fd5b5061043061042b366004612f41565b610b35565b005b34801561043e57600080fd5b5060115461032390600160481b900460ff1681565b34801561045f57600080fd5b5060115461032390600160401b900460ff1681565b34801561048057600080fd5b5061043061048f366004612ff9565b610c4b565b3480156104a057600080fd5b50610354610d7c565b3480156104b557600080fd5b506011546104c69063ffffffff1681565b60405163ffffffff909116815260200161032f565b3480156104e757600080fd5b506104306104f6366004612e4d565b610d8d565b34801561050757600080fd5b50610354600b5481565b34801561051d57600080fd5b5061035461052c366004612f41565b610dbe565b34801561053d57600080fd5b506103547f00000000000000000000000000000000000000000000000000000000000000c881565b34801561057157600080fd5b50610430610580366004612e4d565b610de0565b34801561059157600080fd5b506104306105a0366004612ff9565b610dfb565b3480156105b157600080fd5b5060115461032390600160501b900460ff1681565b3480156105d257600080fd5b506103cb610e72565b3480156105e757600080fd5b506103546105f6366004612ff9565b610e81565b34801561060757600080fd5b5061035460105481565b34801561061d57600080fd5b5061043061062c366004613095565b610e97565b34801561063d57600080fd5b506011546103f890600160581b90046001600160a01b031681565b34801561066457600080fd5b506103f8610673366004612ff9565b610ee9565b34801561068457600080fd5b506011546104c690640100000000900463ffffffff1681565b3480156106a957600080fd5b506103cb610f11565b3480156106be57600080fd5b506103546106cd366004612dff565b610f20565b3480156106de57600080fd5b50610430610fac565b3480156106f357600080fd5b5061043061070236600461304c565b611020565b34801561071357600080fd5b50610430610722366004612ff9565b611061565b34801561073357600080fd5b50610430610742366004613095565b611090565b34801561075357600080fd5b50610354610762366004612dff565b600c6020526000908152604090205481565b34801561078057600080fd5b506104306110d6565b34801561079557600080fd5b506103546107a4366004612dff565b600d6020526000908152604090205481565b3480156107c257600080fd5b50600a546001600160a01b03166103f8565b3480156107e057600080fd5b506103cb611166565b3480156107f557600080fd5b50610354600281565b34801561080a57600080fd5b50610430611175565b34801561081f57600080fd5b5061043061082e366004612f05565b6111c6565b610430610841366004612ff9565b61128b565b34801561085257600080fd5b50610430610861366004612e89565b6115b9565b34801561087257600080fd5b506103cb610881366004612ff9565b6115f1565b34801561089257600080fd5b50610354600f5481565b3480156108a857600080fd5b506103547f000000000000000000000000000000000000000000000000000000000000006381565b3480156108dc57600080fd5b5061043061174c565b3480156108f157600080fd5b50610323610900366004612e1a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561093a57600080fd5b5061043061179c565b34801561094f57600080fd5b5061043061095e366004612ff9565b61185d565b34801561096f57600080fd5b5061043061097e366004612dff565b611944565b610430610991366004612fad565b611a2f565b6000610a0d83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611e3d565b90505b92915050565b606060068054610a2590613329565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5190613329565b8015610a9e5780601f10610a7357610100808354040283529160200191610a9e565b820191906000526020600020905b815481529060010190602001808311610a8157829003601f168201915b5050505050905090565b6000610ab382611e53565b610b195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610b4082610ee9565b9050806001600160a01b0316836001600160a01b03161415610bae5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b10565b336001600160a01b0382161480610bca5750610bca8133610900565b610c3c5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b10565b610c468383611e60565b505050565b600a546001600160a01b03163314610c755760405162461bcd60e51b8152600401610b1090613215565b610cbf7f00000000000000000000000000000000000000000000000000000000000000637f00000000000000000000000000000000000000000000000000000000000000c861329b565b601054610ccc908361329b565b1115610d2e5760405162461bcd60e51b815260206004820152602b60248201527f5265736572766520776f756c6420657863636564206d6178207075626c69632060448201526a73616c6520737570706c7960a81b6064820152608401610b10565b60015b818111610d6157610d4f3382601054610d4a919061329b565b611ece565b80610d5981613364565b915050610d31565b508060106000828254610d74919061329b565b909155505050565b6000610d886002611ee8565b905090565b610d973382611ef2565b610db35760405162461bcd60e51b8152600401610b109061324a565b610c46838383611fdc565b6001600160a01b0382166000908152600160205260408120610a0d908361215d565b610c46838383604051806020016040528060008152506115b9565b610e053382611ef2565b610e665760405162461bcd60e51b815260206004820152602c60248201527f53616b65583a206275726e2063616c6c6572206973206e6f74206f776e65722060448201526b1b9bdc88185c1c1c9bdd995960a21b6064820152608401610b10565b610e6f81612169565b50565b6060600e8054610a2590613329565b600080610e8f600284612223565b509392505050565b600a546001600160a01b03163314610ec15760405162461bcd60e51b8152600401610b1090613215565b6011805463ffffffff9092166401000000000267ffffffff0000000019909216919091179055565b6000610a108260405180606001604052806029815260200161344a6029913960029190612241565b606060098054610a2590613329565b60006001600160a01b038216610f8b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b10565b6001600160a01b0382166000908152600160205260409020610a1090611ee8565b600a546001600160a01b03163314610fd65760405162461bcd60e51b8152600401610b1090613215565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b600a546001600160a01b0316331461104a5760405162461bcd60e51b8152600401610b1090613215565b805161105d90600e906020840190612c59565b5050565b600a546001600160a01b0316331461108b5760405162461bcd60e51b8152600401610b1090613215565b600b55565b600a546001600160a01b031633146110ba5760405162461bcd60e51b8152600401610b1090613215565b6011805463ffffffff191663ffffffff92909216919091179055565b600a546001600160a01b031633146111005760405162461bcd60e51b8152600401610b1090613215565b6011805460ff600160501b808304821615810260ff60501b1990931692909217928390556040517f5d67887e19f1dc73ebf9b7baae52bfa117169031674568205e43aa8210f6a6239361115c9390049091161515815260200190565b60405180910390a1565b606060078054610a2590613329565b600a546001600160a01b0316331461119f5760405162461bcd60e51b8152600401610b1090613215565b6011805469ff000000000000000000198116600160481b9182900460ff1615909102179055565b6001600160a01b03821633141561121f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b10565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b601054601154600160481b900460ff166112e75760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265616368207075626c69632073616c652074696d650000000000006044820152606401610b10565b6011544264010000000090910463ffffffff1611156113485760405162461bcd60e51b815260206004820152601a60248201527f4e6f74207265616368207075626c69632073616c652074696d650000000000006044820152606401610b10565b60028211156113995760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206d696e74203220746f6b656e7320617420612074696d656044820152606401610b10565b336000908152600d60205260409020546002906113b790849061329b565b11156114115760405162461bcd60e51b81526020600482015260356024820152600080516020613473833981519152604482015274206f66207075626c69632073616c6520706861736560581b6064820152608401610b10565b7f000000000000000000000000000000000000000000000000000000000000012b61143c838361329b565b11156114785760405162461bcd60e51b815260206004820181905260248201526000805160206134738339815191526044820152606401610b10565b3461148b670214e8348c4f00008461224e565b11156114d95760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610b10565b6011546040516001600160a01b03600160581b90920491909116903480156108fc02916000818181858888f1935050505015801561151b573d6000803e3d6000fd5b5060015b8281116115465761153433610d4a838561329b565b8061153e81613364565b91505061151f565b508160106000828254611559919061329b565b9091555050336000908152600d60205260408120805484929061157d90849061329b565b90915550506040518281527f1a2c8d94bc7e2ef046f754d79abe41f005bd579bd99834cf503174e09ecefa629060200160405180910390a15050565b6115c33383611ef2565b6115df5760405162461bcd60e51b8152600401610b109061324a565b6115eb848484846122cd565b50505050565b60606115fc82611e53565b6116605760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b10565b600061166a610e72565b90506000604051806060016040528060358152602001613493603591399050600f546000141580156116a55750601154600160501b900460ff165b15611745576000600f54856116ba919061329b565b90507f000000000000000000000000000000000000000000000000000000000000012b8111156117115761170e7f000000000000000000000000000000000000000000000000000000000000012b826132e6565b90505b8261171b82612300565b60405160200161172c929190613103565b6040516020818303038152906040529350505050919050565b9392505050565b600a546001600160a01b031633146117765760405162461bcd60e51b8152600401610b1090613215565b6011805468ff0000000000000000198116600160401b9182900460ff1615909102179055565b600a546001600160a01b031633146117c65760405162461bcd60e51b8152600401610b1090613215565b600f54156118165760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c7265616479207365740000006044820152606401610b10565b7f000000000000000000000000000000000000000000000000000000000000012b6118426001436132e6565b61184d91904061337f565b61185890600161329b565b600f55565b600a546001600160a01b031633146118875760405162461bcd60e51b8152600401610b1090613215565b7f00000000000000000000000000000000000000000000000000000000000000c8601054826118b6919061329b565b11156119165760405162461bcd60e51b815260206004820152602960248201527f5265736572766520776f756c6420657863636564206d61782077686974656c69604482015268737420737570706c7960b81b6064820152608401610b10565b60015b818111610d61576119323382601054610d4a919061329b565b8061193c81613364565b915050611919565b600a546001600160a01b0316331461196e5760405162461bcd60e51b8152600401610b1090613215565b6001600160a01b0381166119d35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b10565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b601054601154600160401b900460ff16611a8b5760405162461bcd60e51b815260206004820152601d60248201527f4e6f742072656163682077686974656c6973742073616c652074696d650000006044820152606401610b10565b6011544263ffffffff9091161115611ae55760405162461bcd60e51b815260206004820152601d60248201527f4e6f742072656163682077686974656c6973742073616c652074696d650000006044820152606401610b10565b6002821115611b365760405162461bcd60e51b815260206004820181905260248201527f43616e206f6e6c79206d696e74203220746f6b656e7320617420612074696d656044820152606401610b10565b336000908152600c6020526040902054600290611b5490849061329b565b1115611b725760405162461bcd60e51b8152600401610b10906131d4565b7f00000000000000000000000000000000000000000000000000000000000000c8611b9d838361329b565b1115611bbb5760405162461bcd60e51b8152600401610b10906131d4565b7f000000000000000000000000000000000000000000000000000000000000012b611be6838361329b565b1115611c225760405162461bcd60e51b815260206004820181905260248201526000805160206134738339815191526044820152606401610b10565b34611c35670214e8348c4f00008461224e565b1115611c835760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610b10565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050611cfd85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b549150849050611e3d565b611d5a5760405162461bcd60e51b815260206004820152602860248201527f496e76616c69642070726f6f662c20796f7520617265206e6f7420696e20776860448201526734ba32b634b9ba1760c11b6064820152608401610b10565b6011546040516001600160a01b03600160581b90920491909116903480156108fc02916000818181858888f19350505050158015611d9c573d6000803e3d6000fd5b5060015b838111611dc757611db533610d4a838661329b565b80611dbf81613364565b915050611da0565b508260106000828254611dda919061329b565b9091555050336000908152600c602052604081208054859290611dfe90849061329b565b90915550506040518381527faabda13a0237479b8db66db492bd05eb1c879375999dc58792a30f487be1039a9060200160405180910390a15050505050565b600082611e4a85846123fe565b14949350505050565b6000610a1060028361246a565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611e9582610ee9565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b61105d828260405180602001604052806000815250612482565b6000610a10825490565b6000611efd82611e53565b611f5e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b10565b6000611f6983610ee9565b9050806001600160a01b0316846001600160a01b03161480611fa45750836001600160a01b0316611f9984610aa8565b6001600160a01b0316145b80611fd457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611fef82610ee9565b6001600160a01b0316146120575760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b10565b6001600160a01b0382166120b95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b10565b6120c4600082611e60565b6001600160a01b03831660009081526001602052604090206120e690826124b5565b506001600160a01b038216600090815260016020526040902061210990826124c1565b50612116600282846124cd565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a0d83836124e3565b600061217482610ee9565b9050612181600083611e60565b6000828152600860205260409020805461219a90613329565b1590506121b85760008281526008602052604081206121b891612cdd565b6001600160a01b03811660009081526001602052604090206121da90836124b5565b506121e6600283612569565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60008080806122328686612575565b909450925050505b9250929050565b6000611fd4848484612612565b60008261225d57506000610a10565b600061226983856132c7565b90508261227685836132b3565b14610a0d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610b10565b6122d8848484611fdc565b6122e48484848461267b565b6115eb5760405162461bcd60e51b8152600401610b1090613182565b6060816123245750506040805180820190915260018152600360fc1b602082015290565b8160005b811561234e578061233881613364565b91506123479050600a836132b3565b9150612328565b60008167ffffffffffffffff811115612369576123696133eb565b6040519080825280601f01601f191660200182016040528015612393576020820181803683370190505b5090505b8415611fd4576123a86001836132e6565b91506123b5600a8661337f565b6123c090603061329b565b60f81b8183815181106123d5576123d56133d5565b60200101906001600160f81b031916908160001a9053506123f7600a866132b3565b9450612397565b600081815b8451811015610e8f576000858281518110612420576124206133d5565b602002602001015190508083116124465760008381526020829052604090209250612457565b600081815260208490526040902092505b508061246281613364565b915050612403565b60008181526001830160205260408120541515610a0d565b61248c838361274c565b612499600084848461267b565b610c465760405162461bcd60e51b8152600401610b1090613182565b6000610a0d8383612864565b6000610a0d8383612957565b6000611fd484846001600160a01b0385166129a6565b815460009082106125415760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b10565b826000018281548110612556576125566133d5565b9060005260206000200154905092915050565b6000610a0d8383612a47565b8154600090819083106125d55760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b10565b60008460000184815481106125ec576125ec6133d5565b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816126425760405162461bcd60e51b8152600401610b10919061316f565b508461264f6001836132e6565b8154811061265f5761265f6133d5565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b61269457506001611fd4565b6000612715630a85bd0160e11b338887876040516024016126b89493929190613132565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613418603291396001600160a01b0388169190612b4e565b905060008180602001905181019061272d919061302f565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6001600160a01b0382166127a25760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b10565b6127ab81611e53565b156127f85760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b10565b6001600160a01b038216600090815260016020526040902061281a90826124c1565b50612827600282846124cd565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000818152600183016020526040812054801561294d5760006128886001836132e6565b855490915060009061289c906001906132e6565b905060008660000182815481106128b5576128b56133d5565b90600052602060002001549050808760000184815481106128d8576128d86133d5565b6000918252602090912001556128ef83600161329b565b60008281526001890160205260409020558654879080612911576129116133bf565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a10565b6000915050610a10565b600081815260018301602052604081205461299e57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a10565b506000610a10565b600082815260018401602052604081205480612a0b575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611745565b8285612a186001846132e6565b81548110612a2857612a286133d5565b9060005260206000209060020201600101819055506000915050611745565b6000818152600183016020526040812054801561294d576000612a6b6001836132e6565b8554909150600090612a7f906001906132e6565b90506000866000018281548110612a9857612a986133d5565b9060005260206000209060020201905080876000018481548110612abe57612abe6133d5565b60009182526020909120825460029092020190815560019182015490820155612ae890849061329b565b815460009081526001890160205260409020558654879080612b0c57612b0c6133bf565b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610a109350505050565b6060611fd4848460008585843b612ba75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b10565b600080866001600160a01b03168587604051612bc391906130e7565b60006040518083038185875af1925050503d8060008114612c00576040519150601f19603f3d011682016040523d82523d6000602084013e612c05565b606091505b5091509150612c15828286612c20565b979650505050505050565b60608315612c2f575081611745565b825115612c3f5782518084602001fd5b8160405162461bcd60e51b8152600401610b10919061316f565b828054612c6590613329565b90600052602060002090601f016020900481019282612c875760008555612ccd565b82601f10612ca057805160ff1916838001178555612ccd565b82800160010185558215612ccd579182015b82811115612ccd578251825591602001919060010190612cb2565b50612cd9929150612d13565b5090565b508054612ce990613329565b6000825580601f10612cf9575050565b601f016020900490600052602060002090810190610e6f91905b5b80821115612cd95760008155600101612d14565b600067ffffffffffffffff80841115612d4357612d436133eb565b604051601f8501601f19908116603f01168101908282118183101715612d6b57612d6b6133eb565b81604052809350858152868686011115612d8457600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114612db557600080fd5b919050565b60008083601f840112612dcc57600080fd5b50813567ffffffffffffffff811115612de457600080fd5b6020830191508360208260051b850101111561223a57600080fd5b600060208284031215612e1157600080fd5b610a0d82612d9e565b60008060408385031215612e2d57600080fd5b612e3683612d9e565b9150612e4460208401612d9e565b90509250929050565b600080600060608486031215612e6257600080fd5b612e6b84612d9e565b9250612e7960208501612d9e565b9150604084013590509250925092565b60008060008060808587031215612e9f57600080fd5b612ea885612d9e565b9350612eb660208601612d9e565b925060408501359150606085013567ffffffffffffffff811115612ed957600080fd5b8501601f81018713612eea57600080fd5b612ef987823560208401612d28565b91505092959194509250565b60008060408385031215612f1857600080fd5b612f2183612d9e565b915060208301358015158114612f3657600080fd5b809150509250929050565b60008060408385031215612f5457600080fd5b612f5d83612d9e565b946020939093013593505050565b60008060208385031215612f7e57600080fd5b823567ffffffffffffffff811115612f9557600080fd5b612fa185828601612dba565b90969095509350505050565b600080600060408486031215612fc257600080fd5b833567ffffffffffffffff811115612fd957600080fd5b612fe586828701612dba565b909790965060209590950135949350505050565b60006020828403121561300b57600080fd5b5035919050565b60006020828403121561302457600080fd5b8135610a0d81613401565b60006020828403121561304157600080fd5b8151610a0d81613401565b60006020828403121561305e57600080fd5b813567ffffffffffffffff81111561307557600080fd5b8201601f8101841361308657600080fd5b611fd484823560208401612d28565b6000602082840312156130a757600080fd5b813563ffffffff81168114610a0d57600080fd5b600081518084526130d38160208601602086016132fd565b601f01601f19169290920160200192915050565b600082516130f98184602087016132fd565b9190910192915050565b600083516131158184602088016132fd565b8351908301906131298183602088016132fd565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613165908301846130bb565b9695505050505050565b602081526000610a0d60208301846130bb565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252603390820152600080516020613473833981519152604082015272206f662077686974656c69737420706861736560681b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156132ae576132ae613393565b500190565b6000826132c2576132c26133a9565b500490565b60008160001904831182151516156132e1576132e1613393565b500290565b6000828210156132f8576132f8613393565b500390565b60005b83811015613318578181015183820152602001613300565b838111156115eb5750506000910152565b600181811c9082168061333d57607f821691505b6020821081141561335e57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561337857613378613393565b5060010190565b60008261338e5761338e6133a9565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e6f57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e507572636861736520776f756c6420657863656564206d617820737570706c79697066733a2f2f516d50634b62564a444356524b64374d554b73384569716b516846457a57324363354c684d7356436b53437a7031a264697066735822122097b5f5ce0d06bcbef09f0e8effb7b264e8df42ad277cb94781be1edbc7ee7bbd64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000831cc7647350b2af6ca0f5c29c3fb8916091ee8a
-----Decoded View---------------
Arg [0] : _fundReceiver (address): 0x831cc7647350b2Af6Ca0F5C29c3Fb8916091Ee8a
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000831cc7647350b2af6ca0f5c29c3fb8916091ee8a
Deployed Bytecode Sourcemap
69337:6803:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10210:150;;;;;;;;;;-1:-1:-1;10210:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;;10319:33:0;10295:4;10319:33;;;;;;;;;;;;;;10210:150;;;;8173:14:1;;8166:22;8148:41;;8136:2;8121:18;10210:150:0;;;;;;;;69927:59;;;;;;;;;;;;69968:18;69927:59;;;;;8346:25:1;;;8334:2;8319:18;69927:59:0;8200:177:1;69714:46:0;;;;;;;;;;;;;;;70721:193;;;;;;;;;;-1:-1:-1;70721:193:0;;;;;:::i;:::-;;:::i;51437:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;54223:221::-;;;;;;;;;;-1:-1:-1;54223:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7247:32:1;;;7229:51;;7217:2;7202:18;54223:221:0;7083:203:1;53753:404:0;;;;;;;;;;-1:-1:-1;53753:404:0;;;;;:::i;:::-;;:::i;:::-;;70339:38;;;;;;;;;;-1:-1:-1;70339:38:0;;;;-1:-1:-1;;;70339:38:0;;;;;;70291:41;;;;;;;;;;-1:-1:-1;70291:41:0;;;;-1:-1:-1;;;70291:41:0;;;;;;74597:371;;;;;;;;;;-1:-1:-1;74597:371:0;;;;;:::i;:::-;;:::i;53231:211::-;;;;;;;;;;;;;:::i;70064:49::-;;;;;;;;;;-1:-1:-1;70064:49:0;;;;;;;;;;;21546:10:1;21534:23;;;21516:42;;21504:2;21489:18;70064:49:0;21372:192:1;55113:305:0;;;;;;;;;;-1:-1:-1;55113:305:0;;;;;:::i;:::-;;:::i;69445:94::-;;;;;;;;;;;;;;;;52993:162;;;;;;;;;;-1:-1:-1;52993:162:0;;;;;:::i;:::-;;:::i;69774:46::-;;;;;;;;;;;;;;;55489:151;;;;;;;;;;-1:-1:-1;55489:151:0;;;;;:::i;:::-;;:::i;75956:180::-;;;;;;;;;;-1:-1:-1;75956:180:0;;;;;:::i;:::-;;:::i;70386:35::-;;;;;;;;;;-1:-1:-1;70386:35:0;;;;-1:-1:-1;;;70386:35:0;;;;;;75459:99;;;;;;;;;;;;;:::i;53519:172::-;;;;;;;;;;-1:-1:-1;53519:172:0;;;;;:::i;:::-;;:::i;70030:25::-;;;;;;;;;;;;;;;;75107:117;;;;;;;;;;-1:-1:-1;75107:117:0;;;;;:::i;:::-;;:::i;70430:31::-;;;;;;;;;;-1:-1:-1;70430:31:0;;;;-1:-1:-1;;;70430:31:0;;-1:-1:-1;;;;;70430:31:0;;;51193:177;;;;;;;;;;-1:-1:-1;51193:177:0;;;;;:::i;:::-;;:::i;70178:46::-;;;;;;;;;;-1:-1:-1;70178:46:0;;;;;;;;;;;52812:97;;;;;;;;;;;;;:::i;50910:221::-;;;;;;;;;;-1:-1:-1;50910:221:0;;;;;:::i;:::-;;:::i;66131:148::-;;;;;;;;;;;;;:::i;75348:103::-;;;;;;;;;;-1:-1:-1;75348:103:0;;;;;:::i;:::-;;:::i;75236:104::-;;;;;;;;;;-1:-1:-1;75236:104:0;;;;;:::i;:::-;;:::i;74976:123::-;;;;;;;;;;-1:-1:-1;74976:123:0;;;;;:::i;:::-;;:::i;69546:59::-;;;;;;;;;;-1:-1:-1;69546:59:0;;;;;:::i;:::-;;;;;;;;;;;;;;75805:143;;;;;;;;;;;;;:::i;69612:60::-;;;;;;;;;;-1:-1:-1;69612:60:0;;;;;:::i;:::-;;;;;;;;;;;;;;65480:87;;;;;;;;;;-1:-1:-1;65553:6:0;;-1:-1:-1;;;;;65553:6:0;65480:87;;51606:104;;;;;;;;;;;;;:::i;69882:36::-;;;;;;;;;;;;69917:1;69882:36;;75690:107;;;;;;;;;;;;;:::i;54516:295::-;;;;;;;;;;-1:-1:-1;54516:295:0;;;;;:::i;:::-;;:::i;72324:1036::-;;;;;;:::i;:::-;;:::i;55711:285::-;;;;;;;;;;-1:-1:-1;55711:285:0;;;;;:::i;:::-;;:::i;73586:646::-;;;;;;;;;;-1:-1:-1;73586:646:0;;;;;:::i;:::-;;:::i;69995:28::-;;;;;;;;;;;;;;;;69827:46;;;;;;;;;;;;;;;75566:116;;;;;;;;;;;;;:::i;54882:164::-;;;;;;;;;;-1:-1:-1;54882:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;55003:25:0;;;54979:4;55003:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54882:164;73368:210;;;;;;;;;;;;;:::i;74240:349::-;;;;;;;;;;-1:-1:-1;74240:349:0;;;;;:::i;:::-;;:::i;66434:244::-;;;;;;;;;;-1:-1:-1;66434:244:0;;;;;:::i;:::-;;:::i;70922:1390::-;;;;;;:::i;:::-;;:::i;70721:193::-;70797:4;70821:85;70840:12;;70821:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;70854:10:0;;70876:28;;-1:-1:-1;;70893:10:0;6244:2:1;6240:15;6236:53;70876:28:0;;;6224:66:1;70854:10:0;;-1:-1:-1;6306:12:1;;;-1:-1:-1;70876:28:0;;;;;;;;;;;;70866:39;;;;;;70821:18;:85::i;:::-;70814:92;;70721:193;;;;;:::o;51437:100::-;51491:13;51524:5;51517:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51437:100;:::o;54223:221::-;54299:7;54327:16;54335:7;54327;:16::i;:::-;54319:73;;;;-1:-1:-1;;;54319:73:0;;17437:2:1;54319:73:0;;;17419:21:1;17476:2;17456:18;;;17449:30;17515:34;17495:18;;;17488:62;-1:-1:-1;;;17566:18:1;;;17559:42;17618:19;;54319:73:0;;;;;;;;;-1:-1:-1;54412:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54412:24:0;;54223:221::o;53753:404::-;53834:13;53850:23;53865:7;53850:14;:23::i;:::-;53834:39;;53898:5;-1:-1:-1;;;;;53892:11:0;:2;-1:-1:-1;;;;;53892:11:0;;;53884:57;;;;-1:-1:-1;;;53884:57:0;;19392:2:1;53884:57:0;;;19374:21:1;19431:2;19411:18;;;19404:30;19470:34;19450:18;;;19443:62;-1:-1:-1;;;19521:18:1;;;19514:31;19562:19;;53884:57:0;19190:397:1;53884:57:0;739:10;-1:-1:-1;;;;;53962:21:0;;;;:69;;-1:-1:-1;53987:44:0;54011:5;739:10;54882:164;:::i;53987:44::-;53954:161;;;;-1:-1:-1;;;53954:161:0;;14304:2:1;53954:161:0;;;14286:21:1;14343:2;14323:18;;;14316:30;14382:34;14362:18;;;14355:62;14453:26;14433:18;;;14426:54;14497:19;;53954:161:0;14102:420:1;53954:161:0;54128:21;54137:2;54141:7;54128:8;:21::i;:::-;53823:334;53753:404;;:::o;74597:371::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;74720:34:::1;74738:16;74720:15;:34;:::i;:::-;74704:10;::::0;74687:27:::1;::::0;:14;:27:::1;:::i;:::-;74686:69;;74678:125;;;::::0;-1:-1:-1;;;74678:125:0;;20570:2:1;74678:125:0::1;::::0;::::1;20552:21:1::0;20609:2;20589:18;;;20582:30;20648:34;20628:18;;;20621:62;-1:-1:-1;;;20699:18:1;;;20692:41;20750:19;;74678:125:0::1;20368:407:1::0;74678:125:0::1;74829:1;74816:106;74837:14;74832:1;:19;74816:106;;74873:37;74883:10;74908:1;74895:10;;:14;;;;:::i;:::-;74873:9;:37::i;:::-;74853:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74816:106;;;;74946:14;74932:10;;:28;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;74597:371:0:o;53231:211::-;53292:7;53413:21;:12;:19;:21::i;:::-;53406:28;;53231:211;:::o;55113:305::-;55274:41;739:10;55307:7;55274:18;:41::i;:::-;55266:103;;;;-1:-1:-1;;;55266:103:0;;;;;;;:::i;:::-;55382:28;55392:4;55398:2;55402:7;55382:9;:28::i;52993:162::-;-1:-1:-1;;;;;53117:20:0;;53090:7;53117:20;;;:13;:20;;;;;:30;;53141:5;53117:23;:30::i;55489:151::-;55593:39;55610:4;55616:2;55620:7;55593:39;;;;;;;;;;;;:16;:39::i;75956:180::-;76015:39;76034:10;76046:7;76015:18;:39::i;:::-;76007:96;;;;-1:-1:-1;;;76007:96:0;;9211:2:1;76007:96:0;;;9193:21:1;9250:2;9230:18;;;9223:30;9289:34;9269:18;;;9262:62;-1:-1:-1;;;9340:18:1;;;9333:42;9392:19;;76007:96:0;9009:408:1;76007:96:0;76114:14;76120:7;76114:5;:14::i;:::-;75956:180;:::o;75459:99::-;75508:13;75541:9;75534:16;;;;;:::i;53519:172::-;53594:7;;53636:22;:12;53652:5;53636:15;:22::i;:::-;-1:-1:-1;53614:44:0;53519:172;-1:-1:-1;;;53519:172:0:o;75107:117::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75185:19:::1;:31:::0;;::::1;::::0;;::::1;::::0;::::1;-1:-1:-1::0;;75185:31:0;;::::1;::::0;;;::::1;::::0;;75107:117::o;51193:177::-;51265:7;51292:70;51309:7;51292:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;52812:97::-;52860:13;52893:8;52886:15;;;;;:::i;50910:221::-;50982:7;-1:-1:-1;;;;;51010:19:0;;51002:74;;;;-1:-1:-1;;;51002:74:0;;14729:2:1;51002:74:0;;;14711:21:1;14768:2;14748:18;;;14741:30;14807:34;14787:18;;;14780:62;-1:-1:-1;;;14858:18:1;;;14851:40;14908:19;;51002:74:0;14527:406:1;51002:74:0;-1:-1:-1;;;;;51094:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;66131:148::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;66222:6:::1;::::0;66201:40:::1;::::0;66238:1:::1;::::0;-1:-1:-1;;;;;66222:6:0::1;::::0;66201:40:::1;::::0;66238:1;;66201:40:::1;66252:6;:19:::0;;-1:-1:-1;;;;;;66252:19:0::1;::::0;;66131:148::o;75348:103::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75422:21;;::::1;::::0;:9:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;75348:103:::0;:::o;75236:104::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75308:10:::1;:24:::0;75236:104::o;74976:123::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75057:22:::1;:34:::0;;-1:-1:-1;;75057:34:0::1;;::::0;;;::::1;::::0;;;::::1;::::0;;74976:123::o;75805:143::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75878:15:::1;::::0;;::::1;-1:-1:-1::0;;;75878:15:0;;::::1;::::0;::::1;75877:16;75859:34:::0;::::1;-1:-1:-1::0;;;;75859:34:0;;::::1;::::0;;;::::1;::::0;;;;75909:31:::1;::::0;::::1;::::0;::::1;::::0;75924:15;::::1;::::0;;::::1;8173:14:1::0;8166:22;8148:41;;8136:2;8121:18;;8008:187;75909:31:0::1;;;;;;;;75805:143::o:0;51606:104::-;51662:13;51695:7;51688:14;;;;;:::i;75690:107::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75771:18:::1;::::0;;-1:-1:-1;;75749:40:0;::::1;-1:-1:-1::0;;;75771:18:0;;;::::1;;;75770:19;75749:40:::0;;::::1;;::::0;;75690:107::o;54516:295::-;-1:-1:-1;;;;;54619:24:0;;739:10;54619:24;;54611:62;;;;-1:-1:-1;;;54611:62:0;;12412:2:1;54611:62:0;;;12394:21:1;12451:2;12431:18;;;12424:30;12490:27;12470:18;;;12463:55;12535:18;;54611:62:0;12210:349:1;54611:62:0;739:10;54686:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;54686:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;54686:53:0;;;;;;;;;;54755:48;;8148:41:1;;;54686:42:0;;739:10;54755:48;;8121:18:1;54755:48:0;;;;;;;54516:295;;:::o;72324:1036::-;72430:10;;72461:18;;-1:-1:-1;;;72461:18:0;;;;72453:57;;;;-1:-1:-1;;;72453:57:0;;19037:2:1;72453:57:0;;;19019:21:1;19076:2;19056:18;;;19049:30;19115:28;19095:18;;;19088:56;19161:18;;72453:57:0;18835:350:1;72453:57:0;72529:19;;72552:15;72529:19;;;;;;:38;;72521:77;;;;-1:-1:-1;;;72521:77:0;;19037:2:1;72521:77:0;;;19019:21:1;19076:2;19056:18;;;19049:30;19115:28;19095:18;;;19088:56;19161:18;;72521:77:0;18835:350:1;72521:77:0;69917:1;72617:14;:29;;72609:74;;;;-1:-1:-1;;;72609:74:0;;15140:2:1;72609:74:0;;;15122:21:1;;;15159:18;;;15152:30;15218:34;15198:18;;;15191:62;15270:18;;72609:74:0;14938:356:1;72609:74:0;72730:10;72704:37;;;;:25;:37;;;;;;72763:1;;72704:54;;72744:14;;72704:54;:::i;:::-;72703:61;;72694:129;;;;-1:-1:-1;;;72694:129:0;;11227:2:1;72694:129:0;;;11209:21:1;11266:2;11246:18;;;11239:30;-1:-1:-1;;;;;;;;;;;11285:18:1;;;11278:62;-1:-1:-1;;;11356:18:1;;;11349:51;11417:19;;72694:129:0;11025:417:1;72694:129:0;72877:15;72844:28;72858:14;72844:11;:28;:::i;:::-;72843:49;;72834:96;;;;-1:-1:-1;;;72834:96:0;;15501:2:1;72834:96:0;;;15483:21:1;;;15520:18;;;15513:30;-1:-1:-1;;;;;;;;;;;15559:18:1;;;15552:62;15631:18;;72834:96:0;15299:356:1;72834:96:0;72987:9;72949:34;69968:18;72968:14;72949:18;:34::i;:::-;:47;;72941:91;;;;-1:-1:-1;;;72941:91:0;;12766:2:1;72941:91:0;;;12748:21:1;12805:2;12785:18;;;12778:30;12844:33;12824:18;;;12817:61;12895:18;;72941:91:0;12564:355:1;72941:91:0;73045:8;;:28;;-1:-1:-1;;;;;;;;73045:8:0;;;;;;;;73063:9;73045:28;;;;;;;;;73063:9;73045:8;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73099:1:0;73086:107;73107:14;73102:1;:19;73086:107;;73143:38;73153:10;73165:15;73179:1;73165:11;:15;:::i;73143:38::-;73123:3;;;;:::i;:::-;;;;73086:107;;;;73217:14;73203:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;73270:10:0;73244:37;;;;:25;:37;;;;;:55;;73285:14;;73244:37;:55;;73285:14;;73244:55;:::i;:::-;;;;-1:-1:-1;;73317:35:0;;8346:25:1;;;73317:35:0;;8334:2:1;8319:18;73317:35:0;;;;;;;72396:964;72324:1036;:::o;55711:285::-;55843:41;739:10;55876:7;55843:18;:41::i;:::-;55835:103;;;;-1:-1:-1;;;55835:103:0;;;;;;;:::i;:::-;55949:39;55963:4;55969:2;55973:7;55982:5;55949:13;:39::i;:::-;55711:285;;;;:::o;73586:646::-;73659:13;73693:16;73701:7;73693;:16::i;:::-;73685:76;;;;-1:-1:-1;;;73685:76:0;;18621:2:1;73685:76:0;;;18603:21:1;18660:2;18640:18;;;18633:30;18699:34;18679:18;;;18672:62;-1:-1:-1;;;18750:18:1;;;18743:45;18805:19;;73685:76:0;18419:411:1;73685:76:0;73774:19;73796:10;:8;:10::i;:::-;73774:32;;73818:25;:83;;;;;;;;;;;;;;;;;;;73925:13;;73942:1;73925:18;;:37;;;;-1:-1:-1;73947:15:0;;-1:-1:-1;;;73947:15:0;;;;73925:37;73922:272;;;73979:11;74003:13;;73993:7;:23;;;;:::i;:::-;73979:37;;74040:15;74034:3;:21;74031:83;;;74076:22;74083:15;74076:22;;:::i;:::-;;;74031:83;74159:5;74166:14;:3;:12;:14::i;:::-;74142:39;;;;;;;;;:::i;:::-;;;;;;;;;;;;;74128:54;;;;;73586:646;;;:::o;73922:272::-;74213:11;73586:646;-1:-1:-1;;;73586:646:0:o;75566:116::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;75653:21:::1;::::0;;-1:-1:-1;;75628:46:0;::::1;-1:-1:-1::0;;;75653:21:0;;;::::1;;;75652:22;75628:46:::0;;::::1;;::::0;;75566:116::o;73368:210::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;73432:13:::1;::::0;:18;73424:60:::1;;;::::0;-1:-1:-1;;;73424:60:0;;13946:2:1;73424:60:0::1;::::0;::::1;13928:21:1::0;13985:2;13965:18;;;13958:30;14024:31;14004:18;;;13997:59;14073:18;;73424:60:0::1;13744:353:1::0;73424:60:0::1;73549:15;73527:16;73542:1;73527:12;:16;:::i;:::-;73512:53;::::0;;73517:27:::1;73512:53;:::i;:::-;73511:59;::::0;73569:1:::1;73511:59;:::i;:::-;73495:13;:75:::0;73368:210::o;74240:349::-;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;74362:15:::1;74347:10;;74330:14;:27;;;;:::i;:::-;74329:48;;74320:104;;;::::0;-1:-1:-1;;;74320:104:0;;20982:2:1;74320:104:0::1;::::0;::::1;20964:21:1::0;21021:2;21001:18;;;20994:30;21060:34;21040:18;;;21033:62;-1:-1:-1;;;21111:18:1;;;21104:39;21160:19;;74320:104:0::1;20780:405:1::0;74320:104:0::1;74450:1;74437:106;74458:14;74453:1;:19;74437:106;;74494:37;74504:10;74529:1;74516:10;;:14;;;;:::i;74494:37::-;74474:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74437:106;;66434:244:::0;65553:6;;-1:-1:-1;;;;;65553:6:0;739:10;65700:23;65692:68;;;;-1:-1:-1;;;65692:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66523:22:0;::::1;66515:73;;;::::0;-1:-1:-1;;;66515:73:0;;10043:2:1;66515:73:0::1;::::0;::::1;10025:21:1::0;10082:2;10062:18;;;10055:30;10121:34;10101:18;;;10094:62;-1:-1:-1;;;10172:18:1;;;10165:36;10218:19;;66515:73:0::1;9841:402:1::0;66515:73:0::1;66625:6;::::0;66604:38:::1;::::0;-1:-1:-1;;;;;66604:38:0;;::::1;::::0;66625:6:::1;::::0;66604:38:::1;::::0;66625:6:::1;::::0;66604:38:::1;66653:6;:17:::0;;-1:-1:-1;;;;;;66653:17:0::1;-1:-1:-1::0;;;;;66653:17:0;;;::::1;::::0;;;::::1;::::0;;66434:244::o;70922:1390::-;71060:10;;71091:21;;-1:-1:-1;;;71091:21:0;;;;71083:63;;;;-1:-1:-1;;;71083:63:0;;11649:2:1;71083:63:0;;;11631:21:1;11688:2;11668:18;;;11661:30;11727:31;11707:18;;;11700:59;11776:18;;71083:63:0;11447:353:1;71083:63:0;71165:22;;71191:15;71165:22;;;;:41;;71157:83;;;;-1:-1:-1;;;71157:83:0;;11649:2:1;71157:83:0;;;11631:21:1;11688:2;11668:18;;;11661:30;11727:31;11707:18;;;11700:59;11776:18;;71157:83:0;11447:353:1;71157:83:0;69917:1;71259:14;:29;;71251:74;;;;-1:-1:-1;;;71251:74:0;;15140:2:1;71251:74:0;;;15122:21:1;;;15159:18;;;15152:30;15218:34;15198:18;;;15191:62;15270:18;;71251:74:0;14938:356:1;71251:74:0;71371:10;71346:36;;;;:24;:36;;;;;;71404:1;;71346:53;;71385:14;;71346:53;:::i;:::-;71345:60;;71336:126;;;;-1:-1:-1;;;71336:126:0;;;;;;;:::i;:::-;71516:15;71483:28;71497:14;71483:11;:28;:::i;:::-;71482:49;;71473:115;;;;-1:-1:-1;;;71473:115:0;;;;;;;:::i;:::-;71642:15;71609:28;71623:14;71609:11;:28;:::i;:::-;71608:49;;71599:96;;;;-1:-1:-1;;;71599:96:0;;15501:2:1;71599:96:0;;;15483:21:1;;;15520:18;;;15513:30;-1:-1:-1;;;;;;;;;;;15559:18:1;;;15552:62;15631:18;;71599:96:0;15299:356:1;71599:96:0;71752:9;71714:34;69968:18;71733:14;71714:18;:34::i;:::-;:47;;71706:91;;;;-1:-1:-1;;;71706:91:0;;12766:2:1;71706:91:0;;;12748:21:1;12805:2;12785:18;;;12778:30;12844:33;12824:18;;;12817:61;12895:18;;71706:91:0;12564:355:1;71706:91:0;71843:28;;-1:-1:-1;;71860:10:0;6244:2:1;6240:15;6236:53;71843:28:0;;;6224:66:1;71818:12:0;;6306::1;;71843:28:0;;;;;;;;;;;;71833:39;;;;;;71818:54;;71891:50;71910:12;;71891:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;71924:10:0;;;-1:-1:-1;71936:4:0;;-1:-1:-1;71891:18:0;:50::i;:::-;71883:103;;;;-1:-1:-1;;;71883:103:0;;16265:2:1;71883:103:0;;;16247:21:1;16304:2;16284:18;;;16277:30;16343:34;16323:18;;;16316:62;-1:-1:-1;;;16394:18:1;;;16387:38;16442:19;;71883:103:0;16063:404:1;71883:103:0;71999:8;;:28;;-1:-1:-1;;;;;;;;71999:8:0;;;;;;;;72017:9;71999:28;;;;;;;;;72017:9;71999:8;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72053:1:0;72040:107;72061:14;72056:1;:19;72040:107;;72097:38;72107:10;72119:15;72133:1;72119:11;:15;:::i;72097:38::-;72077:3;;;;:::i;:::-;;;;72040:107;;;;72171:14;72157:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;72223:10:0;72198:36;;;;:24;:36;;;;;:54;;72238:14;;72198:36;:54;;72238:14;;72198:54;:::i;:::-;;;;-1:-1:-1;;72270:34:0;;8346:25:1;;;72270:34:0;;8334:2:1;8319:18;72270:34:0;;;;;;;71026:1286;;70922:1390;;;:::o;67744:190::-;67869:4;67922;67893:25;67906:5;67913:4;67893:12;:25::i;:::-;:33;;67744:190;-1:-1:-1;;;;67744:190:0:o;57463:127::-;57528:4;57552:30;:12;57574:7;57552:21;:30::i;63481:192::-;63556:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63556:29:0;-1:-1:-1;;;;;63556:29:0;;;;;;;;:24;;63610:23;63556:24;63610:14;:23::i;:::-;-1:-1:-1;;;;;63601:46:0;;;;;;;;;;;63481:192;;:::o;58455:110::-;58531:26;58541:2;58545:7;58531:26;;;;;;;;;;;;:9;:26::i;44222:123::-;44291:7;44318:19;44326:3;40884:19;;40801:110;57757:355;57850:4;57875:16;57883:7;57875;:16::i;:::-;57867:73;;;;-1:-1:-1;;;57867:73:0;;13533:2:1;57867:73:0;;;13515:21:1;13572:2;13552:18;;;13545:30;13611:34;13591:18;;;13584:62;-1:-1:-1;;;13662:18:1;;;13655:42;13714:19;;57867:73:0;13331:408:1;57867:73:0;57951:13;57967:23;57982:7;57967:14;:23::i;:::-;57951:39;;58020:5;-1:-1:-1;;;;;58009:16:0;:7;-1:-1:-1;;;;;58009:16:0;;:51;;;;58053:7;-1:-1:-1;;;;;58029:31:0;:20;58041:7;58029:11;:20::i;:::-;-1:-1:-1;;;;;58029:31:0;;58009:51;:94;;;-1:-1:-1;;;;;;55003:25:0;;;54979:4;55003:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;58064:39;58001:103;57757:355;-1:-1:-1;;;;57757:355:0:o;60893:599::-;61018:4;-1:-1:-1;;;;;60991:31:0;:23;61006:7;60991:14;:23::i;:::-;-1:-1:-1;;;;;60991:31:0;;60983:85;;;;-1:-1:-1;;;60983:85:0;;18211:2:1;60983:85:0;;;18193:21:1;18250:2;18230:18;;;18223:30;18289:34;18269:18;;;18262:62;-1:-1:-1;;;18340:18:1;;;18333:39;18389:19;;60983:85:0;18009:405:1;60983:85:0;-1:-1:-1;;;;;61105:16:0;;61097:65;;;;-1:-1:-1;;;61097:65:0;;12007:2:1;61097:65:0;;;11989:21:1;12046:2;12026:18;;;12019:30;12085:34;12065:18;;;12058:62;-1:-1:-1;;;12136:18:1;;;12129:34;12180:19;;61097:65:0;11805:400:1;61097:65:0;61279:29;61296:1;61300:7;61279:8;:29::i;:::-;-1:-1:-1;;;;;61321:19:0;;;;;;:13;:19;;;;;:35;;61348:7;61321:26;:35::i;:::-;-1:-1:-1;;;;;;61367:17:0;;;;;;:13;:17;;;;;:30;;61389:7;61367:21;:30::i;:::-;-1:-1:-1;61410:29:0;:12;61427:7;61436:2;61410:16;:29::i;:::-;;61476:7;61472:2;-1:-1:-1;;;;;61457:27:0;61466:4;-1:-1:-1;;;;;61457:27:0;;;;;;;;;;;60893:599;;;:::o;36021:137::-;36092:7;36127:22;36131:3;36143:5;36127:3;:22::i;60011:545::-;60071:13;60087:23;60102:7;60087:14;:23::i;:::-;60071:39;;60230:29;60247:1;60251:7;60230:8;:29::i;:::-;60318:19;;;;:10;:19;;;;;60312:33;;;;;:::i;:::-;:38;;-1:-1:-1;60308:97:0;;60374:19;;;;:10;:19;;;;;60367:26;;;:::i;:::-;-1:-1:-1;;;;;60417:20:0;;;;;;:13;:20;;;;;:36;;60445:7;60417:27;:36::i;:::-;-1:-1:-1;60466:28:0;:12;60486:7;60466:19;:28::i;:::-;-1:-1:-1;60512:36:0;;60540:7;;60536:1;;-1:-1:-1;;;;;60512:36:0;;;;;60536:1;;60512:36;60060:496;60011:545;:::o;44684:236::-;44764:7;;;;44824:22;44828:3;44840:5;44824:3;:22::i;:::-;44793:53;;-1:-1:-1;44793:53:0;-1:-1:-1;;;44684:236:0;;;;;;:::o;45970:213::-;46077:7;46128:44;46133:3;46153;46159:12;46128:4;:44::i;14643:220::-;14701:7;14725:6;14721:20;;-1:-1:-1;14740:1:0;14733:8;;14721:20;14752:9;14764:5;14768:1;14764;:5;:::i;:::-;14752:17;-1:-1:-1;14797:1:0;14788:5;14792:1;14752:17;14788:5;:::i;:::-;:10;14780:56;;;;-1:-1:-1;;;14780:56:0;;17035:2:1;14780:56:0;;;17017:21:1;17074:2;17054:18;;;17047:30;17113:34;17093:18;;;17086:62;-1:-1:-1;;;17164:18:1;;;17157:31;17205:19;;14780:56:0;16833:397:1;56878:272:0;56992:28;57002:4;57008:2;57012:7;56992:9;:28::i;:::-;57039:48;57062:4;57068:2;57072:7;57081:5;57039:22;:48::i;:::-;57031:111;;;;-1:-1:-1;;;57031:111:0;;;;;;;:::i;46426:723::-;46482:13;46703:10;46699:53;;-1:-1:-1;;46730:10:0;;;;;;;;;;;;-1:-1:-1;;;46730:10:0;;;;;46426:723::o;46699:53::-;46777:5;46762:12;46818:78;46825:9;;46818:78;;46851:8;;;;:::i;:::-;;-1:-1:-1;46874:10:0;;-1:-1:-1;46882:2:0;46874:10;;:::i;:::-;;;46818:78;;;46906:19;46938:6;46928:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46928:17:0;;46906:39;;46956:154;46963:10;;46956:154;;46990:11;47000:1;46990:11;;:::i;:::-;;-1:-1:-1;47059:10:0;47067:2;47059:5;:10;:::i;:::-;47046:24;;:2;:24;:::i;:::-;47033:39;;47016:6;47023;47016:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;47016:56:0;;;;;;;;-1:-1:-1;47087:11:0;47096:2;47087:11;;:::i;:::-;;;46956:154;;68295:675;68378:7;68421:4;68378:7;68436:497;68460:5;:12;68456:1;:16;68436:497;;;68494:20;68517:5;68523:1;68517:8;;;;;;;;:::i;:::-;;;;;;;68494:31;;68560:12;68544;:28;68540:382;;69046:13;69096:15;;;69132:4;69125:15;;;69179:4;69163:21;;68672:57;;68540:382;;;69046:13;69096:15;;;69132:4;69125:15;;;69179:4;69163:21;;68849:57;;68540:382;-1:-1:-1;68474:3:0;;;;:::i;:::-;;;;68436:497;;43983:151;44067:4;40676:17;;;:12;;;:17;;;;;;:22;;44091:35;40581:125;58792:250;58888:18;58894:2;58898:7;58888:5;:18::i;:::-;58925:54;58956:1;58960:2;58964:7;58973:5;58925:22;:54::i;:::-;58917:117;;;;-1:-1:-1;;;58917:117:0;;;;;;;:::i;35108:137::-;35178:4;35202:35;35210:3;35230:5;35202:7;:35::i;34801:131::-;34868:4;34892:32;34897:3;34917:5;34892:4;:32::i;43406:185::-;43495:4;43519:64;43524:3;43544;-1:-1:-1;;;;;43558:23:0;;43519:4;:64::i;31059:204::-;31154:18;;31126:7;;31154:26;-1:-1:-1;31146:73:0;;;;-1:-1:-1;;;31146:73:0;;8808:2:1;31146:73:0;;;8790:21:1;8847:2;8827:18;;;8820:30;8886:34;8866:18;;;8859:62;-1:-1:-1;;;8937:18:1;;;8930:32;8979:19;;31146:73:0;8606:398:1;31146:73:0;31237:3;:11;;31249:5;31237:18;;;;;;;;:::i;:::-;;;;;;;;;31230:25;;31059:204;;;;:::o;43757:142::-;43834:4;43858:33;43866:3;43886;43858:7;:33::i;41266:279::-;41370:19;;41333:7;;;;41370:27;-1:-1:-1;41362:74:0;;;;-1:-1:-1;;;41362:74:0;;15862:2:1;41362:74:0;;;15844:21:1;15901:2;15881:18;;;15874:30;15940:34;15920:18;;;15913:62;-1:-1:-1;;;15991:18:1;;;15984:32;16033:19;;41362:74:0;15660:398:1;41362:74:0;41449:22;41474:3;:12;;41487:5;41474:19;;;;;;;;:::i;:::-;;;;;;;;;;;41449:44;;41512:5;:10;;;41524:5;:12;;;41504:33;;;;;41266:279;;;;;:::o;42763:319::-;42857:7;42896:17;;;:12;;;:17;;;;;;42947:12;42932:13;42924:36;;;;-1:-1:-1;;;42924:36:0;;;;;;;;:::i;:::-;-1:-1:-1;43014:3:0;43027:12;43038:1;43027:8;:12;:::i;:::-;43014:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;43007:40;;;42763:319;;;;;:::o;62758:604::-;62879:4;-1:-1:-1;;;;;62906:13:0;;19565:20;62901:60;;-1:-1:-1;62945:4:0;62938:11;;62901:60;62971:23;62997:252;-1:-1:-1;;;739:10:0;63137:4;63156:7;63178:5;63013:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;63013:181:0;;;;;;;-1:-1:-1;;;;;63013:181:0;;;;;;;;;;;62997:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62997:15:0;;;:252;:15;:252::i;:::-;62971:278;;63260:13;63287:10;63276:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;63327:26:0;-1:-1:-1;;;63327:26:0;;-1:-1:-1;;;62758:604:0;;;;;;:::o;59378:404::-;-1:-1:-1;;;;;59458:16:0;;59450:61;;;;-1:-1:-1;;;59450:61:0;;16674:2:1;59450:61:0;;;16656:21:1;;;16693:18;;;16686:30;16752:34;16732:18;;;16725:62;16804:18;;59450:61:0;16472:356:1;59450:61:0;59531:16;59539:7;59531;:16::i;:::-;59530:17;59522:58;;;;-1:-1:-1;;;59522:58:0;;10870:2:1;59522:58:0;;;10852:21:1;10909:2;10889:18;;;10882:30;10948;10928:18;;;10921:58;10996:18;;59522:58:0;10668:352:1;59522:58:0;-1:-1:-1;;;;;59651:17:0;;;;;;:13;:17;;;;;:30;;59673:7;59651:21;:30::i;:::-;-1:-1:-1;59694:29:0;:12;59711:7;59720:2;59694:16;:29::i;:::-;-1:-1:-1;59741:33:0;;59766:7;;-1:-1:-1;;;;;59741:33:0;;;59758:1;;59741:33;;59758:1;;59741:33;59378:404;;:::o;28761:1544::-;28827:4;28966:19;;;:12;;;:19;;;;;;29002:15;;28998:1300;;29364:21;29388:14;29401:1;29388:10;:14;:::i;:::-;29437:18;;29364:38;;-1:-1:-1;29417:17:0;;29437:22;;29458:1;;29437:22;:::i;:::-;29417:42;;29704:17;29724:3;:11;;29736:9;29724:22;;;;;;;;:::i;:::-;;;;;;;;;29704:42;;29870:9;29841:3;:11;;29853:13;29841:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;29973:17;:13;29989:1;29973:17;:::i;:::-;29947:23;;;;:12;;;:23;;;;;:43;30099:17;;29947:3;;30099:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;30194:3;:12;;:19;30207:5;30194:19;;;;;;;;;;;30187:26;;;30237:4;30230:11;;;;;;;;28998:1300;30281:5;30274:12;;;;;28171:414;28234:4;40676:17;;;:12;;;:17;;;;;;28251:327;;-1:-1:-1;28294:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28477:18;;28455:19;;;:12;;;:19;;;;;;:40;;;;28510:11;;28251:327;-1:-1:-1;28561:5:0;28554:12;;38081:692;38157:4;38292:17;;;:12;;;:17;;;;;;38326:13;38322:444;;-1:-1:-1;;38411:38:0;;;;;;;;;;;;;;;;;;38393:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;38608:19;;38588:17;;;:12;;;:17;;;;;;;:39;38642:11;;38322:444;38722:5;38686:3;38699:12;38710:1;38699:8;:12;:::i;:::-;38686:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;:41;;;;38749:5;38742:12;;;;;38948:1549;39012:4;39147:17;;;:12;;;:17;;;;;;39181:13;;39177:1313;;39542:21;39566:12;39577:1;39566:8;:12;:::i;:::-;39613:19;;39542:36;;-1:-1:-1;39593:17:0;;39613:23;;39635:1;;39613:23;:::i;:::-;39593:43;;39881:26;39910:3;:12;;39923:9;39910:23;;;;;;;;:::i;:::-;;;;;;;;;;;39881:52;;40058:9;40028:3;:12;;40041:13;40028:27;;;;;;;;:::i;:::-;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;40166:17;;:13;;:17;:::i;:::-;40148:14;;40135:28;;;;:12;;;:28;;;;;:48;40292:18;;40135:3;;40292:18;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;40292:18:0;;;;;;;;;;;;;;;;;;;;;40388:17;;;:12;;;:17;;;;;;40381:24;;;;40292:18;-1:-1:-1;40422:11:0;;-1:-1:-1;;;;40422:11:0;22116:195;22219:12;22251:52;22273:6;22281:4;22287:1;22290:12;22219;19565:20;;23412:60;;;;-1:-1:-1;;;23412:60:0;;20212:2:1;23412:60:0;;;20194:21:1;20251:2;20231:18;;;20224:30;20290:31;20270:18;;;20263:59;20339:18;;23412:60:0;20010:353:1;23412:60:0;23546:12;23560:23;23587:6;-1:-1:-1;;;;;23587:11:0;23607:5;23615:4;23587:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23545:75;;;;23638:52;23656:7;23665:10;23677:12;23638:17;:52::i;:::-;23631:59;23168:530;-1:-1:-1;;;;;;;23168:530:0:o;25708:742::-;25823:12;25852:7;25848:595;;;-1:-1:-1;25883:10:0;25876:17;;25848:595;25997:17;;:21;25993:439;;26260:10;26254:17;26321:15;26308:10;26304:2;26300:19;26293:44;25993:439;26403:12;26396:20;;-1:-1:-1;;;26396:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:367::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:55;;973:1;970;963:12;922:55;-1:-1:-1;996:20:1;;1039:18;1028:30;;1025:50;;;1071:1;1068;1061:12;1025:50;1108:4;1100:6;1096:17;1084:29;;1168:3;1161:4;1151:6;1148:1;1144:14;1136:6;1132:27;1128:38;1125:47;1122:67;;;1185:1;1182;1175:12;1200:186;1259:6;1312:2;1300:9;1291:7;1287:23;1283:32;1280:52;;;1328:1;1325;1318:12;1280:52;1351:29;1370:9;1351:29;:::i;1391:260::-;1459:6;1467;1520:2;1508:9;1499:7;1495:23;1491:32;1488:52;;;1536:1;1533;1526:12;1488:52;1559:29;1578:9;1559:29;:::i;:::-;1549:39;;1607:38;1641:2;1630:9;1626:18;1607:38;:::i;:::-;1597:48;;1391:260;;;;;:::o;1656:328::-;1733:6;1741;1749;1802:2;1790:9;1781:7;1777:23;1773:32;1770:52;;;1818:1;1815;1808:12;1770:52;1841:29;1860:9;1841:29;:::i;:::-;1831:39;;1889:38;1923:2;1912:9;1908:18;1889:38;:::i;:::-;1879:48;;1974:2;1963:9;1959:18;1946:32;1936:42;;1656:328;;;;;:::o;1989:666::-;2084:6;2092;2100;2108;2161:3;2149:9;2140:7;2136:23;2132:33;2129:53;;;2178:1;2175;2168:12;2129:53;2201:29;2220:9;2201:29;:::i;:::-;2191:39;;2249:38;2283:2;2272:9;2268:18;2249:38;:::i;:::-;2239:48;;2334:2;2323:9;2319:18;2306:32;2296:42;;2389:2;2378:9;2374:18;2361:32;2416:18;2408:6;2405:30;2402:50;;;2448:1;2445;2438:12;2402:50;2471:22;;2524:4;2516:13;;2512:27;-1:-1:-1;2502:55:1;;2553:1;2550;2543:12;2502:55;2576:73;2641:7;2636:2;2623:16;2618:2;2614;2610:11;2576:73;:::i;:::-;2566:83;;;1989:666;;;;;;;:::o;2660:347::-;2725:6;2733;2786:2;2774:9;2765:7;2761:23;2757:32;2754:52;;;2802:1;2799;2792:12;2754:52;2825:29;2844:9;2825:29;:::i;:::-;2815:39;;2904:2;2893:9;2889:18;2876:32;2951:5;2944:13;2937:21;2930:5;2927:32;2917:60;;2973:1;2970;2963:12;2917:60;2996:5;2986:15;;;2660:347;;;;;:::o;3012:254::-;3080:6;3088;3141:2;3129:9;3120:7;3116:23;3112:32;3109:52;;;3157:1;3154;3147:12;3109:52;3180:29;3199:9;3180:29;:::i;:::-;3170:39;3256:2;3241:18;;;;3228:32;;-1:-1:-1;;;3012:254:1:o;3271:437::-;3357:6;3365;3418:2;3406:9;3397:7;3393:23;3389:32;3386:52;;;3434:1;3431;3424:12;3386:52;3474:9;3461:23;3507:18;3499:6;3496:30;3493:50;;;3539:1;3536;3529:12;3493:50;3578:70;3640:7;3631:6;3620:9;3616:22;3578:70;:::i;:::-;3667:8;;3552:96;;-1:-1:-1;3271:437:1;-1:-1:-1;;;;3271:437:1:o;3713:505::-;3808:6;3816;3824;3877:2;3865:9;3856:7;3852:23;3848:32;3845:52;;;3893:1;3890;3883:12;3845:52;3933:9;3920:23;3966:18;3958:6;3955:30;3952:50;;;3998:1;3995;3988:12;3952:50;4037:70;4099:7;4090:6;4079:9;4075:22;4037:70;:::i;:::-;4126:8;;4011:96;;-1:-1:-1;4208:2:1;4193:18;;;;4180:32;;3713:505;-1:-1:-1;;;;3713:505:1:o;4223:180::-;4282:6;4335:2;4323:9;4314:7;4310:23;4306:32;4303:52;;;4351:1;4348;4341:12;4303:52;-1:-1:-1;4374:23:1;;4223:180;-1:-1:-1;4223:180:1:o;4408:245::-;4466:6;4519:2;4507:9;4498:7;4494:23;4490:32;4487:52;;;4535:1;4532;4525:12;4487:52;4574:9;4561:23;4593:30;4617:5;4593:30;:::i;4658:249::-;4727:6;4780:2;4768:9;4759:7;4755:23;4751:32;4748:52;;;4796:1;4793;4786:12;4748:52;4828:9;4822:16;4847:30;4871:5;4847:30;:::i;4912:450::-;4981:6;5034:2;5022:9;5013:7;5009:23;5005:32;5002:52;;;5050:1;5047;5040:12;5002:52;5090:9;5077:23;5123:18;5115:6;5112:30;5109:50;;;5155:1;5152;5145:12;5109:50;5178:22;;5231:4;5223:13;;5219:27;-1:-1:-1;5209:55:1;;5260:1;5257;5250:12;5209:55;5283:73;5348:7;5343:2;5330:16;5325:2;5321;5317:11;5283:73;:::i;5552:276::-;5610:6;5663:2;5651:9;5642:7;5638:23;5634:32;5631:52;;;5679:1;5676;5669:12;5631:52;5718:9;5705:23;5768:10;5761:5;5757:22;5750:5;5747:33;5737:61;;5794:1;5791;5784:12;5833:257;5874:3;5912:5;5906:12;5939:6;5934:3;5927:19;5955:63;6011:6;6004:4;5999:3;5995:14;5988:4;5981:5;5977:16;5955:63;:::i;:::-;6072:2;6051:15;-1:-1:-1;;6047:29:1;6038:39;;;;6079:4;6034:50;;5833:257;-1:-1:-1;;5833:257:1:o;6329:274::-;6458:3;6496:6;6490:13;6512:53;6558:6;6553:3;6546:4;6538:6;6534:17;6512:53;:::i;:::-;6581:16;;;;;6329:274;-1:-1:-1;;6329:274:1:o;6608:470::-;6787:3;6825:6;6819:13;6841:53;6887:6;6882:3;6875:4;6867:6;6863:17;6841:53;:::i;:::-;6957:13;;6916:16;;;;6979:57;6957:13;6916:16;7013:4;7001:17;;6979:57;:::i;:::-;7052:20;;6608:470;-1:-1:-1;;;;6608:470:1:o;7515:488::-;-1:-1:-1;;;;;7784:15:1;;;7766:34;;7836:15;;7831:2;7816:18;;7809:43;7883:2;7868:18;;7861:34;;;7931:3;7926:2;7911:18;;7904:31;;;7709:4;;7952:45;;7977:19;;7969:6;7952:45;:::i;:::-;7944:53;7515:488;-1:-1:-1;;;;;;7515:488:1:o;8382:219::-;8531:2;8520:9;8513:21;8494:4;8551:44;8591:2;8580:9;8576:18;8568:6;8551:44;:::i;9422:414::-;9624:2;9606:21;;;9663:2;9643:18;;;9636:30;9702:34;9697:2;9682:18;;9675:62;-1:-1:-1;;;9768:2:1;9753:18;;9746:48;9826:3;9811:19;;9422:414::o;10248:415::-;10450:2;10432:21;;;10489:2;10469:18;;;10462:30;-1:-1:-1;;;;;;;;;;;10523:2:1;10508:18;;10501:62;-1:-1:-1;;;10594:2:1;10579:18;;10572:49;10653:3;10638:19;;10248:415::o;17648:356::-;17850:2;17832:21;;;17869:18;;;17862:30;17928:34;17923:2;17908:18;;17901:62;17995:2;17980:18;;17648:356::o;19592:413::-;19794:2;19776:21;;;19833:2;19813:18;;;19806:30;19872:34;19867:2;19852:18;;19845:62;-1:-1:-1;;;19938:2:1;19923:18;;19916:47;19995:3;19980:19;;19592:413::o;21569:128::-;21609:3;21640:1;21636:6;21633:1;21630:13;21627:39;;;21646:18;;:::i;:::-;-1:-1:-1;21682:9:1;;21569:128::o;21702:120::-;21742:1;21768;21758:35;;21773:18;;:::i;:::-;-1:-1:-1;21807:9:1;;21702:120::o;21827:168::-;21867:7;21933:1;21929;21925:6;21921:14;21918:1;21915:21;21910:1;21903:9;21896:17;21892:45;21889:71;;;21940:18;;:::i;:::-;-1:-1:-1;21980:9:1;;21827:168::o;22000:125::-;22040:4;22068:1;22065;22062:8;22059:34;;;22073:18;;:::i;:::-;-1:-1:-1;22110:9:1;;22000:125::o;22130:258::-;22202:1;22212:113;22226:6;22223:1;22220:13;22212:113;;;22302:11;;;22296:18;22283:11;;;22276:39;22248:2;22241:10;22212:113;;;22343:6;22340:1;22337:13;22334:48;;;-1:-1:-1;;22378:1:1;22360:16;;22353:27;22130:258::o;22393:380::-;22472:1;22468:12;;;;22515;;;22536:61;;22590:4;22582:6;22578:17;22568:27;;22536:61;22643:2;22635:6;22632:14;22612:18;22609:38;22606:161;;;22689:10;22684:3;22680:20;22677:1;22670:31;22724:4;22721:1;22714:15;22752:4;22749:1;22742:15;22606:161;;22393:380;;;:::o;22778:135::-;22817:3;-1:-1:-1;;22838:17:1;;22835:43;;;22858:18;;:::i;:::-;-1:-1:-1;22905:1:1;22894:13;;22778:135::o;22918:112::-;22950:1;22976;22966:35;;22981:18;;:::i;:::-;-1:-1:-1;23015:9:1;;22918:112::o;23035:127::-;23096:10;23091:3;23087:20;23084:1;23077:31;23127:4;23124:1;23117:15;23151:4;23148:1;23141:15;23167:127;23228:10;23223:3;23219:20;23216:1;23209:31;23259:4;23256:1;23249:15;23283:4;23280:1;23273:15;23299:127;23360:10;23355:3;23351:20;23348:1;23341:31;23391:4;23388:1;23381:15;23415:4;23412:1;23405:15;23431:127;23492:10;23487:3;23483:20;23480:1;23473:31;23523:4;23520:1;23513:15;23547:4;23544:1;23537:15;23563:127;23624:10;23619:3;23615:20;23612:1;23605:31;23655:4;23652:1;23645:15;23679:4;23676:1;23669:15;23695:131;-1:-1:-1;;;;;;23769:32:1;;23759:43;;23749:71;;23816:1;23813;23806:12
Swarm Source
ipfs://97b5f5ce0d06bcbef09f0e8effb7b264e8df42ad277cb94781be1edbc7ee7bbd
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.