ERC-721
Overview
Max Total Supply
1,895
Holders
813
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PixelCats
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721Enumerable.sol"; import "./Context.sol"; import "./SafeMath.sol"; import "./EnumerableSet.sol"; import "./EnumerableMap.sol"; import "./Ownable.sol"; contract PixelCats is ERC721Enumerable, Ownable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; event ActionBuy(address indexed _owner, uint256 _id, uint256 count); event ActionAward(address indexed _owner, uint256 _id, uint256 count); uint256 public constant MAX_NFT_SUPPLY = 7777; uint256 public constant MAX_AWARDED_MANUALLY = 220; uint256 public constant MAX_BOUGHT = 7557; uint256 public constant MAX_BUY_COUNT = 15; uint256 public constant NFT_PRICE = 0.03 ether; uint256 public _buyIndex = 0; uint256 public _awardIndex = 7560; uint256 public _totalAwardedManually = 0; bool public regularSaleEnabled = false; string public baseURI = "https://api.pixelcatgang.com/token/"; string public ipfsBaseURI = ""; mapping (uint256 => string) public tokenIdToIpfsHash; bool public ipfsLocked = false; modifier onlyApprovedAccount() { require(0xee292EAc90CC854bc1Af438015A3b848a4EAe949 == _msgSender() || 0x609F49eFF8110074273fC3E53c4ff275F89b084D == _msgSender() || 0x838B3de2CbeA56D343bF8113b06F13a2Bc96D222 == _msgSender() || owner() == _msgSender(), "Unauthorized account"); _; } /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory __name, string memory __symbol) ERC721(__name, __symbol) {} function toggleRegularSale() external onlyOwner { regularSaleEnabled = !regularSaleEnabled; } // Metadata handlers function _baseURI() internal view override returns (string memory) { return baseURI; } function _ipfsBaseURI() internal view returns (string memory) { return ipfsBaseURI; } function setBaseUri(string memory _uri) external onlyOwner { baseURI = _uri; } function setIpfsBaseUri(string memory _uri) external onlyOwner { require(ipfsLocked == false); ipfsBaseURI = _uri; } function lockIpfsMetadata() external onlyOwner { require(ipfsLocked == false); ipfsLocked = true; } function setIpfsHash(uint256 tokenId, string memory hash) external onlyOwner { require(ipfsLocked == false); tokenIdToIpfsHash[tokenId] = hash; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Nonexistent token"); string memory base = _baseURI(); string memory ipfsBase = _ipfsBaseURI(); string memory ipfsHash = tokenIdToIpfsHash[tokenId]; if (bytes(ipfsHash).length == 0) { return string(abi.encodePacked(base, tokenId.toString())); } else { return string(abi.encodePacked(ipfsBase, ipfsHash)); } } // Minting function mint(address minter, uint256 count, uint256 initial) private { require(minter != address(0), "Minter address error"); require(count > 0, "Count can't be 0"); uint256 mintIndex = initial; for (uint256 i = 0; i < count; i++) { require(!_exists(mintIndex), "Token already minted"); _mint(minter, mintIndex); mintIndex++; } } // Award for free function awardFree(address minter, uint256 count) external onlyApprovedAccount { require(_awardIndex.add(count) <= MAX_NFT_SUPPLY, "Award limit exceeded"); emit ActionAward(msg.sender, _awardIndex, count); mint(minter, count, _awardIndex); _awardIndex = _awardIndex.add(count); _totalAwardedManually = _totalAwardedManually.add(count); } function awardJokerCat(address toAddress) external onlyApprovedAccount { require(toAddress != address(0), "toAddress address error"); require(!_exists(MAX_BOUGHT), "Token already minted"); emit ActionAward(msg.sender, MAX_BOUGHT, 1); _totalAwardedManually = _totalAwardedManually.add(1); _mint(toAddress, MAX_BOUGHT); } function awardBatmanCat(address toAddress) external onlyApprovedAccount { require(toAddress != address(0), "toAddress address error"); require(!_exists(MAX_BOUGHT+1), "Token already minted"); emit ActionAward(msg.sender, MAX_BOUGHT+1, 1); _totalAwardedManually = _totalAwardedManually.add(1); _mint(toAddress, MAX_BOUGHT+1); } function awardLoganPaulCat(address toAddress) external onlyApprovedAccount { require(toAddress != address(0), "toAddress error"); require(!_exists(MAX_BOUGHT+2), "Token already minted"); emit ActionAward(msg.sender, MAX_BOUGHT+2, 1); _totalAwardedManually = _totalAwardedManually.add(1); _mint(toAddress, MAX_BOUGHT+2); } // Buy new function buy(uint256 count) external payable { require(regularSaleEnabled, "Sale not live"); require(_buyIndex.add(count) <= MAX_BOUGHT, "Buy limit exceeded"); require(count <= MAX_BUY_COUNT, "Count too big"); require(msg.value == count.mul(NFT_PRICE), "Wrong ETH value"); emit ActionBuy(msg.sender, _buyIndex, count); mint(msg.sender, count, _buyIndex); _buyIndex = _buyIndex.add(count); } /** * @dev Withdraw ether from this contract (Callable by owner) */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// SPDX-License-Identifier: MIT 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); } } } }
// 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 meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @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 { using EnumerableSet for EnumerableSet.Bytes32Set; // 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 Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping (bytes32 => bytes32) _values; } /** * @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) { map._values[key] = value; return map._keys.add(key); } /** * @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) { delete map._values[key]; return map._keys.remove(key); } /** * @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._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.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) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @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) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @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) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @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) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // 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)))); } }
// SPDX-License-Identifier: MIT 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] = valueIndex; // Replace lastvalue's index to valueIndex // 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)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` 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 { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"__name","type":"string"},{"internalType":"string","name":"__symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ActionAward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"_id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"ActionBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_AWARDED_MANUALLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BOUGHT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BUY_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NFT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_awardIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_buyIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalAwardedManually","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"}],"name":"awardBatmanCat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"awardFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"}],"name":"awardJokerCat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"}],"name":"awardLoganPaulCat","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":"count","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ipfsBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ipfsLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockIpfsMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"regularSaleEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setIpfsBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"hash","type":"string"}],"name":"setIpfsHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleRegularSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenIdToIpfsHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6000600b819055611d88600c55600d55600e805460ff1916905560e0604052602360808181529062002df660a03980516200004391600f9160209091019062000149565b50604080516020810191829052600090819052620000649160109162000149565b506012805460ff191690553480156200007c57600080fd5b5060405162002e1938038062002e198339810160408190526200009f91620002a6565b815182908290620000b890600090602085019062000149565b508051620000ce90600190602084019062000149565b505050620000eb620000e5620000f360201b60201c565b620000f7565b505062000363565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001579062000310565b90600052602060002090601f0160209004810192826200017b5760008555620001c6565b82601f106200019657805160ff1916838001178555620001c6565b82800160010185558215620001c6579182015b82811115620001c6578251825591602001919060010190620001a9565b50620001d4929150620001d8565b5090565b5b80821115620001d45760008155600101620001d9565b600082601f8301126200020157600080fd5b81516001600160401b03808211156200021e576200021e6200034d565b604051601f8301601f19908116603f011681019082821181831017156200024957620002496200034d565b816040528381526020925086838588010111156200026657600080fd5b600091505b838210156200028a57858201830151818301840152908201906200026b565b838211156200029c5760008385830101525b9695505050505050565b60008060408385031215620002ba57600080fd5b82516001600160401b0380821115620002d257600080fd5b620002e086838701620001ef565b93506020850151915080821115620002f757600080fd5b506200030685828601620001ef565b9150509250929050565b600181811c908216806200032557607f821691505b602082108114156200034757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612a8380620003736000396000f3fe60806040526004361061025c5760003560e01c80636c0360eb11610144578063a22cb465116100b6578063e985e9c51161007a578063e985e9c514610687578063ee66b9f6146106d0578063ef4b5068146106f0578063f0c5bbaa14610710578063f0fb21b014610730578063f2fde38b1461074557600080fd5b8063a22cb465146105fe578063b5077f441461061e578063b88d4fde14610634578063c87b56dd14610654578063d96a094a1461067457600080fd5b80638a09a97b116101085780638a09a97b1461056a5780638d0d303a146105805780638da5cb5b1461059557806395d89b41146105b3578063973f44b5146105c8578063a0bcfc7f146105de57600080fd5b80636c0360eb146104e657806370a08231146104fb578063715018a61461051b57806373f01a06146105305780637f8c9fd91461055057600080fd5b806323b872dd116101dd5780634032d9a0116101a15780634032d9a01461043657806342842e0e1461044b5780634f6ccce71461046b578063550517a71461048b5780636352211e146104ab578063676dd563146104cb57600080fd5b806323b872dd146103b55780632f745c59146103d55780632fece8c4146103f55780633abd2d851461040b5780633ccfd60b1461042157600080fd5b8063095ea7b311610224578063095ea7b3146103275780630af90ea614610347578063123ac9a91461036157806318160ddd146103765780631fb3060f1461039557600080fd5b806301ffc9a7146102615780630385c0de146102965780630562edd8146102b857806306fdde03146102cd578063081812fc146102ef575b600080fd5b34801561026d57600080fd5b5061028161027c366004612603565b610765565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b136600461268b565b610790565b005b3480156102c457600080fd5b506102b66107f7565b3480156102d957600080fd5b506102e2610835565b60405161028d919061276a565b3480156102fb57600080fd5b5061030f61030a366004612672565b6108c7565b6040516001600160a01b03909116815260200161028d565b34801561033357600080fd5b506102b66103423660046125d9565b61094f565b34801561035357600080fd5b506012546102819060ff1681565b34801561036d57600080fd5b506102b6610a60565b34801561038257600080fd5b506008545b60405190815260200161028d565b3480156103a157600080fd5b506102b66103b036600461263d565b610aa9565b3480156103c157600080fd5b506102b66103d03660046124e5565b610afa565b3480156103e157600080fd5b506103876103f03660046125d9565b610b2b565b34801561040157600080fd5b50610387600b5481565b34801561041757600080fd5b50610387600c5481565b34801561042d57600080fd5b506102b6610bc1565b34801561044257600080fd5b50610387600f81565b34801561045757600080fd5b506102b66104663660046124e5565b610c1a565b34801561047757600080fd5b50610387610486366004612672565b610c35565b34801561049757600080fd5b506102b66104a6366004612497565b610cc8565b3480156104b757600080fd5b5061030f6104c6366004612672565b610e0f565b3480156104d757600080fd5b50610387666a94d74f43000081565b3480156104f257600080fd5b506102e2610e86565b34801561050757600080fd5b50610387610516366004612497565b610f14565b34801561052757600080fd5b506102b6610f9b565b34801561053c57600080fd5b506102b661054b366004612497565b610fd1565b34801561055c57600080fd5b50600e546102819060ff1681565b34801561057657600080fd5b50610387611d8581565b34801561058c57600080fd5b5061038760dc81565b3480156105a157600080fd5b50600a546001600160a01b031661030f565b3480156105bf57600080fd5b506102e261112a565b3480156105d457600080fd5b50610387600d5481565b3480156105ea57600080fd5b506102b66105f936600461263d565b611139565b34801561060a57600080fd5b506102b661061936600461259d565b611176565b34801561062a57600080fd5b50610387611e6181565b34801561064057600080fd5b506102b661064f366004612521565b61123b565b34801561066057600080fd5b506102e261066f366004612672565b611273565b6102b6610682366004612672565b6113c3565b34801561069357600080fd5b506102816106a23660046124b2565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106dc57600080fd5b506102b66106eb3660046125d9565b611549565b3480156106fc57600080fd5b506102b661070b366004612497565b611680565b34801561071c57600080fd5b506102e261072b366004612672565b6117d7565b34801561073c57600080fd5b506102e26117f0565b34801561075157600080fd5b506102b6610760366004612497565b6117fd565b60006001600160e01b0319821663780e9d6360e01b148061078a575061078a82611895565b92915050565b600a546001600160a01b031633146107c35760405162461bcd60e51b81526004016107ba906127fd565b60405180910390fd5b60125460ff16156107d357600080fd5b600082815260116020908152604090912082516107f29284019061234c565b505050565b600a546001600160a01b031633146108215760405162461bcd60e51b81526004016107ba906127fd565b600e805460ff19811660ff90911615179055565b6060600080546108449061293f565b80601f01602080910402602001604051908101604052809291908181526020018280546108709061293f565b80156108bd5780601f10610892576101008083540402835291602001916108bd565b820191906000526020600020905b8154815290600101906020018083116108a057829003601f168201915b5050505050905090565b60006108d2826118e5565b6109335760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ba565b506000908152600460205260409020546001600160a01b031690565b600061095a82610e0f565b9050806001600160a01b0316836001600160a01b031614156109c85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ba565b336001600160a01b03821614806109e457506109e481336106a2565b610a565760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ba565b6107f28383611902565b600a546001600160a01b03163314610a8a5760405162461bcd60e51b81526004016107ba906127fd565b60125460ff1615610a9a57600080fd5b6012805460ff19166001179055565b600a546001600160a01b03163314610ad35760405162461bcd60e51b81526004016107ba906127fd565b60125460ff1615610ae357600080fd5b8051610af690601090602084019061234c565b5050565b610b043382611970565b610b205760405162461bcd60e51b81526004016107ba90612832565b6107f2838383611a5a565b6000610b3683610f14565b8210610b985760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107ba565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610beb5760405162461bcd60e51b81526004016107ba906127fd565b6040514790339082156108fc029083906000818181858888f19350505050158015610af6573d6000803e3d6000fd5b6107f28383836040518060200160405280600081525061123b565b6000610c4060085490565b8210610ca35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107ba565b60088281548110610cb657610cb66129eb565b90600052602060002001549050919050565b73ee292eac90cc854bc1af438015a3b848a4eae949331480610cfd575073609f49eff8110074273fc3e53c4ff275f89b084d33145b80610d1b575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b80610d305750600a546001600160a01b031633145b610d4c5760405162461bcd60e51b81526004016107ba90612883565b6001600160a01b038116610d9c5760405162461bcd60e51b81526020600482015260176024820152763a37a0b2323932b9b99030b2323932b9b99032b93937b960491b60448201526064016107ba565b610da7611d856118e5565b15610dc45760405162461bcd60e51b81526004016107ba9061277d565b60408051611d858152600160208201523391600080516020612a2e833981519152910160405180910390a2600d54610dfd906001611c05565b600d55610e0c81611d85611c18565b50565b6000818152600260205260408120546001600160a01b03168061078a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ba565b600f8054610e939061293f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebf9061293f565b8015610f0c5780601f10610ee157610100808354040283529160200191610f0c565b820191906000526020600020905b815481529060010190602001808311610eef57829003601f168201915b505050505081565b60006001600160a01b038216610f7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ba565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610fc55760405162461bcd60e51b81526004016107ba906127fd565b610fcf6000611d57565b565b73ee292eac90cc854bc1af438015a3b848a4eae949331480611006575073609f49eff8110074273fc3e53c4ff275f89b084d33145b80611024575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b806110395750600a546001600160a01b031633145b6110555760405162461bcd60e51b81526004016107ba90612883565b6001600160a01b03811661109d5760405162461bcd60e51b815260206004820152600f60248201526e3a37a0b2323932b9b99032b93937b960891b60448201526064016107ba565b6110b26110ad611d8560026128b1565b6118e5565b156110cf5760405162461bcd60e51b81526004016107ba9061277d565b33600080516020612a2e8339815191526110ec611d8560026128b1565b60408051918252600160208301520160405180910390a2600d54611111906001611c05565b600d55610e0c81611125611d8560026128b1565b611c18565b6060600180546108449061293f565b600a546001600160a01b031633146111635760405162461bcd60e51b81526004016107ba906127fd565b8051610af690600f90602084019061234c565b6001600160a01b0382163314156111cf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ba565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112453383611970565b6112615760405162461bcd60e51b81526004016107ba90612832565b61126d84848484611da9565b50505050565b606061127e826118e5565b6112be5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016107ba565b60006112c8611ddc565b905060006112d4611deb565b6000858152601160205260408120805492935090916112f29061293f565b80601f016020809104026020016040519081016040528092919081815260200182805461131e9061293f565b801561136b5780601f106113405761010080835404028352916020019161136b565b820191906000526020600020905b81548152906001019060200180831161134e57829003601f168201915b505050505090508051600014156113b0578261138686611dfa565b6040516020016113979291906126fe565b6040516020818303038152906040529350505050919050565b81816040516020016113979291906126fe565b600e5460ff166114055760405162461bcd60e51b815260206004820152600d60248201526c53616c65206e6f74206c69766560981b60448201526064016107ba565b600b54611d85906114169083611c05565b11156114595760405162461bcd60e51b8152602060048201526012602482015271109d5e481b1a5b5a5d08195e18d95959195960721b60448201526064016107ba565b600f81111561149a5760405162461bcd60e51b815260206004820152600d60248201526c436f756e7420746f6f2062696760981b60448201526064016107ba565b6114ab81666a94d74f430000611ef8565b34146114eb5760405162461bcd60e51b815260206004820152600f60248201526e57726f6e67204554482076616c756560881b60448201526064016107ba565b600b54604080519182526020820183905233917f24db38d2bad7c47bb974527eeea5ed5222d8f62c51d7d8e122062771e27a34fe910160405180910390a26115363382600b54611f04565b600b546115439082611c05565b600b5550565b73ee292eac90cc854bc1af438015a3b848a4eae94933148061157e575073609f49eff8110074273fc3e53c4ff275f89b084d33145b8061159c575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b806115b15750600a546001600160a01b031633145b6115cd5760405162461bcd60e51b81526004016107ba90612883565b600c54611e61906115de9083611c05565b11156116235760405162461bcd60e51b8152602060048201526014602482015273105dd85c99081b1a5b5a5d08195e18d95959195960621b60448201526064016107ba565b600c5460408051918252602082018390523391600080516020612a2e833981519152910160405180910390a261165c8282600c54611f04565b600c546116699082611c05565b600c55600d546116799082611c05565b600d555050565b73ee292eac90cc854bc1af438015a3b848a4eae9493314806116b5575073609f49eff8110074273fc3e53c4ff275f89b084d33145b806116d3575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b806116e85750600a546001600160a01b031633145b6117045760405162461bcd60e51b81526004016107ba90612883565b6001600160a01b0381166117545760405162461bcd60e51b81526020600482015260176024820152763a37a0b2323932b9b99030b2323932b9b99032b93937b960491b60448201526064016107ba565b6117646110ad611d8560016128b1565b156117815760405162461bcd60e51b81526004016107ba9061277d565b33600080516020612a2e83398151915261179e611d8560016128b1565b60408051918252600160208301520160405180910390a2600d546117c3906001611c05565b600d55610e0c81611125611d8560016128b1565b60116020526000908152604090208054610e939061293f565b60108054610e939061293f565b600a546001600160a01b031633146118275760405162461bcd60e51b81526004016107ba906127fd565b6001600160a01b03811661188c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ba565b610e0c81611d57565b60006001600160e01b031982166380ac58cd60e01b14806118c657506001600160e01b03198216635b5e139f60e01b145b8061078a57506301ffc9a760e01b6001600160e01b031983161461078a565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061193782610e0f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061197b826118e5565b6119dc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ba565b60006119e783610e0f565b9050806001600160a01b0316846001600160a01b03161480611a225750836001600160a01b0316611a17846108c7565b6001600160a01b0316145b80611a5257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a6d82610e0f565b6001600160a01b031614611ad55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107ba565b6001600160a01b038216611b375760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ba565b611b42838383611ff7565b611b4d600082611902565b6001600160a01b0383166000908152600360205260408120805460019290611b769084906128fc565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ba49084906128b1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611c1182846128b1565b9392505050565b6001600160a01b038216611c6e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ba565b611c77816118e5565b15611cc45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ba565b611cd060008383611ff7565b6001600160a01b0382166000908152600360205260408120805460019290611cf99084906128b1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611db4848484611a5a565b611dc0848484846120af565b61126d5760405162461bcd60e51b81526004016107ba906127ab565b6060600f80546108449061293f565b6060601080546108449061293f565b606081611e1e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e485780611e328161297a565b9150611e419050600a836128c9565b9150611e22565b60008167ffffffffffffffff811115611e6357611e63612a01565b6040519080825280601f01601f191660200182016040528015611e8d576020820181803683370190505b5090505b8415611a5257611ea26001836128fc565b9150611eaf600a86612995565b611eba9060306128b1565b60f81b818381518110611ecf57611ecf6129eb565b60200101906001600160f81b031916908160001a905350611ef1600a866128c9565b9450611e91565b6000611c1182846128dd565b6001600160a01b038316611f515760405162461bcd60e51b815260206004820152601460248201527326b4b73a32b91030b2323932b9b99032b93937b960611b60448201526064016107ba565b60008211611f945760405162461bcd60e51b815260206004820152601060248201526f0436f756e742063616e277420626520360841b60448201526064016107ba565b8060005b83811015611ff057611fa9826118e5565b15611fc65760405162461bcd60e51b81526004016107ba9061277d565b611fd08583611c18565b81611fda8161297a565b9250508080611fe89061297a565b915050611f98565b5050505050565b6001600160a01b0383166120525761204d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612075565b816001600160a01b0316836001600160a01b0316146120755761207583826121bc565b6001600160a01b03821661208c576107f281612259565b826001600160a01b0316826001600160a01b0316146107f2576107f28282612308565b60006001600160a01b0384163b156121b157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120f390339089908890889060040161272d565b602060405180830381600087803b15801561210d57600080fd5b505af192505050801561213d575060408051601f3d908101601f1916820190925261213a91810190612620565b60015b612197573d80801561216b576040519150601f19603f3d011682016040523d82523d6000602084013e612170565b606091505b50805161218f5760405162461bcd60e51b81526004016107ba906127ab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a52565b506001949350505050565b600060016121c984610f14565b6121d391906128fc565b600083815260076020526040902054909150808214612226576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061226b906001906128fc565b60008381526009602052604081205460088054939450909284908110612293576122936129eb565b9060005260206000200154905080600883815481106122b4576122b46129eb565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122ec576122ec6129d5565b6001900381819060005260206000200160009055905550505050565b600061231383610f14565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546123589061293f565b90600052602060002090601f01602090048101928261237a57600085556123c0565b82601f1061239357805160ff19168380011785556123c0565b828001600101855582156123c0579182015b828111156123c05782518255916020019190600101906123a5565b506123cc9291506123d0565b5090565b5b808211156123cc57600081556001016123d1565b600067ffffffffffffffff8084111561240057612400612a01565b604051601f8501601f19908116603f0116810190828211818310171561242857612428612a01565b8160405280935085815286868601111561244157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461247257600080fd5b919050565b600082601f83011261248857600080fd5b611c11838335602085016123e5565b6000602082840312156124a957600080fd5b611c118261245b565b600080604083850312156124c557600080fd5b6124ce8361245b565b91506124dc6020840161245b565b90509250929050565b6000806000606084860312156124fa57600080fd5b6125038461245b565b92506125116020850161245b565b9150604084013590509250925092565b6000806000806080858703121561253757600080fd5b6125408561245b565b935061254e6020860161245b565b925060408501359150606085013567ffffffffffffffff81111561257157600080fd5b8501601f8101871361258257600080fd5b612591878235602084016123e5565b91505092959194509250565b600080604083850312156125b057600080fd5b6125b98361245b565b9150602083013580151581146125ce57600080fd5b809150509250929050565b600080604083850312156125ec57600080fd5b6125f58361245b565b946020939093013593505050565b60006020828403121561261557600080fd5b8135611c1181612a17565b60006020828403121561263257600080fd5b8151611c1181612a17565b60006020828403121561264f57600080fd5b813567ffffffffffffffff81111561266657600080fd5b611a5284828501612477565b60006020828403121561268457600080fd5b5035919050565b6000806040838503121561269e57600080fd5b82359150602083013567ffffffffffffffff8111156126bc57600080fd5b6126c885828601612477565b9150509250929050565b600081518084526126ea816020860160208601612913565b601f01601f19169290920160200192915050565b60008351612710818460208801612913565b835190830190612724818360208801612913565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612760908301846126d2565b9695505050505050565b602081526000611c1160208301846126d2565b602080825260149082015273151bdad95b88185b1c9958591e481b5a5b9d195960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260149082015273155b985d5d1a1bdc9a5e9959081858d8dbdd5b9d60621b604082015260600190565b600082198211156128c4576128c46129a9565b500190565b6000826128d8576128d86129bf565b500490565b60008160001904831182151516156128f7576128f76129a9565b500290565b60008282101561290e5761290e6129a9565b500390565b60005b8381101561292e578181015183820152602001612916565b8381111561126d5750506000910152565b600181811c9082168061295357607f821691505b6020821081141561297457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561298e5761298e6129a9565b5060010190565b6000826129a4576129a46129bf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e0c57600080fdfeaf0ac0de2a63239fd0ce3b5e65a46b0959f1ab34b0e00fe9e75160e721a68725a26469706673582212206a60705f63e9678453319cd35be33cb015f4a8cb46ff32fa89bbf277e767f15164736f6c6343000807003368747470733a2f2f6170692e706978656c63617467616e672e636f6d2f746f6b656e2f0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80636c0360eb11610144578063a22cb465116100b6578063e985e9c51161007a578063e985e9c514610687578063ee66b9f6146106d0578063ef4b5068146106f0578063f0c5bbaa14610710578063f0fb21b014610730578063f2fde38b1461074557600080fd5b8063a22cb465146105fe578063b5077f441461061e578063b88d4fde14610634578063c87b56dd14610654578063d96a094a1461067457600080fd5b80638a09a97b116101085780638a09a97b1461056a5780638d0d303a146105805780638da5cb5b1461059557806395d89b41146105b3578063973f44b5146105c8578063a0bcfc7f146105de57600080fd5b80636c0360eb146104e657806370a08231146104fb578063715018a61461051b57806373f01a06146105305780637f8c9fd91461055057600080fd5b806323b872dd116101dd5780634032d9a0116101a15780634032d9a01461043657806342842e0e1461044b5780634f6ccce71461046b578063550517a71461048b5780636352211e146104ab578063676dd563146104cb57600080fd5b806323b872dd146103b55780632f745c59146103d55780632fece8c4146103f55780633abd2d851461040b5780633ccfd60b1461042157600080fd5b8063095ea7b311610224578063095ea7b3146103275780630af90ea614610347578063123ac9a91461036157806318160ddd146103765780631fb3060f1461039557600080fd5b806301ffc9a7146102615780630385c0de146102965780630562edd8146102b857806306fdde03146102cd578063081812fc146102ef575b600080fd5b34801561026d57600080fd5b5061028161027c366004612603565b610765565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102b66102b136600461268b565b610790565b005b3480156102c457600080fd5b506102b66107f7565b3480156102d957600080fd5b506102e2610835565b60405161028d919061276a565b3480156102fb57600080fd5b5061030f61030a366004612672565b6108c7565b6040516001600160a01b03909116815260200161028d565b34801561033357600080fd5b506102b66103423660046125d9565b61094f565b34801561035357600080fd5b506012546102819060ff1681565b34801561036d57600080fd5b506102b6610a60565b34801561038257600080fd5b506008545b60405190815260200161028d565b3480156103a157600080fd5b506102b66103b036600461263d565b610aa9565b3480156103c157600080fd5b506102b66103d03660046124e5565b610afa565b3480156103e157600080fd5b506103876103f03660046125d9565b610b2b565b34801561040157600080fd5b50610387600b5481565b34801561041757600080fd5b50610387600c5481565b34801561042d57600080fd5b506102b6610bc1565b34801561044257600080fd5b50610387600f81565b34801561045757600080fd5b506102b66104663660046124e5565b610c1a565b34801561047757600080fd5b50610387610486366004612672565b610c35565b34801561049757600080fd5b506102b66104a6366004612497565b610cc8565b3480156104b757600080fd5b5061030f6104c6366004612672565b610e0f565b3480156104d757600080fd5b50610387666a94d74f43000081565b3480156104f257600080fd5b506102e2610e86565b34801561050757600080fd5b50610387610516366004612497565b610f14565b34801561052757600080fd5b506102b6610f9b565b34801561053c57600080fd5b506102b661054b366004612497565b610fd1565b34801561055c57600080fd5b50600e546102819060ff1681565b34801561057657600080fd5b50610387611d8581565b34801561058c57600080fd5b5061038760dc81565b3480156105a157600080fd5b50600a546001600160a01b031661030f565b3480156105bf57600080fd5b506102e261112a565b3480156105d457600080fd5b50610387600d5481565b3480156105ea57600080fd5b506102b66105f936600461263d565b611139565b34801561060a57600080fd5b506102b661061936600461259d565b611176565b34801561062a57600080fd5b50610387611e6181565b34801561064057600080fd5b506102b661064f366004612521565b61123b565b34801561066057600080fd5b506102e261066f366004612672565b611273565b6102b6610682366004612672565b6113c3565b34801561069357600080fd5b506102816106a23660046124b2565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106dc57600080fd5b506102b66106eb3660046125d9565b611549565b3480156106fc57600080fd5b506102b661070b366004612497565b611680565b34801561071c57600080fd5b506102e261072b366004612672565b6117d7565b34801561073c57600080fd5b506102e26117f0565b34801561075157600080fd5b506102b6610760366004612497565b6117fd565b60006001600160e01b0319821663780e9d6360e01b148061078a575061078a82611895565b92915050565b600a546001600160a01b031633146107c35760405162461bcd60e51b81526004016107ba906127fd565b60405180910390fd5b60125460ff16156107d357600080fd5b600082815260116020908152604090912082516107f29284019061234c565b505050565b600a546001600160a01b031633146108215760405162461bcd60e51b81526004016107ba906127fd565b600e805460ff19811660ff90911615179055565b6060600080546108449061293f565b80601f01602080910402602001604051908101604052809291908181526020018280546108709061293f565b80156108bd5780601f10610892576101008083540402835291602001916108bd565b820191906000526020600020905b8154815290600101906020018083116108a057829003601f168201915b5050505050905090565b60006108d2826118e5565b6109335760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ba565b506000908152600460205260409020546001600160a01b031690565b600061095a82610e0f565b9050806001600160a01b0316836001600160a01b031614156109c85760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107ba565b336001600160a01b03821614806109e457506109e481336106a2565b610a565760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107ba565b6107f28383611902565b600a546001600160a01b03163314610a8a5760405162461bcd60e51b81526004016107ba906127fd565b60125460ff1615610a9a57600080fd5b6012805460ff19166001179055565b600a546001600160a01b03163314610ad35760405162461bcd60e51b81526004016107ba906127fd565b60125460ff1615610ae357600080fd5b8051610af690601090602084019061234c565b5050565b610b043382611970565b610b205760405162461bcd60e51b81526004016107ba90612832565b6107f2838383611a5a565b6000610b3683610f14565b8210610b985760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107ba565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610beb5760405162461bcd60e51b81526004016107ba906127fd565b6040514790339082156108fc029083906000818181858888f19350505050158015610af6573d6000803e3d6000fd5b6107f28383836040518060200160405280600081525061123b565b6000610c4060085490565b8210610ca35760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107ba565b60088281548110610cb657610cb66129eb565b90600052602060002001549050919050565b73ee292eac90cc854bc1af438015a3b848a4eae949331480610cfd575073609f49eff8110074273fc3e53c4ff275f89b084d33145b80610d1b575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b80610d305750600a546001600160a01b031633145b610d4c5760405162461bcd60e51b81526004016107ba90612883565b6001600160a01b038116610d9c5760405162461bcd60e51b81526020600482015260176024820152763a37a0b2323932b9b99030b2323932b9b99032b93937b960491b60448201526064016107ba565b610da7611d856118e5565b15610dc45760405162461bcd60e51b81526004016107ba9061277d565b60408051611d858152600160208201523391600080516020612a2e833981519152910160405180910390a2600d54610dfd906001611c05565b600d55610e0c81611d85611c18565b50565b6000818152600260205260408120546001600160a01b03168061078a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107ba565b600f8054610e939061293f565b80601f0160208091040260200160405190810160405280929190818152602001828054610ebf9061293f565b8015610f0c5780601f10610ee157610100808354040283529160200191610f0c565b820191906000526020600020905b815481529060010190602001808311610eef57829003601f168201915b505050505081565b60006001600160a01b038216610f7f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107ba565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610fc55760405162461bcd60e51b81526004016107ba906127fd565b610fcf6000611d57565b565b73ee292eac90cc854bc1af438015a3b848a4eae949331480611006575073609f49eff8110074273fc3e53c4ff275f89b084d33145b80611024575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b806110395750600a546001600160a01b031633145b6110555760405162461bcd60e51b81526004016107ba90612883565b6001600160a01b03811661109d5760405162461bcd60e51b815260206004820152600f60248201526e3a37a0b2323932b9b99032b93937b960891b60448201526064016107ba565b6110b26110ad611d8560026128b1565b6118e5565b156110cf5760405162461bcd60e51b81526004016107ba9061277d565b33600080516020612a2e8339815191526110ec611d8560026128b1565b60408051918252600160208301520160405180910390a2600d54611111906001611c05565b600d55610e0c81611125611d8560026128b1565b611c18565b6060600180546108449061293f565b600a546001600160a01b031633146111635760405162461bcd60e51b81526004016107ba906127fd565b8051610af690600f90602084019061234c565b6001600160a01b0382163314156111cf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107ba565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6112453383611970565b6112615760405162461bcd60e51b81526004016107ba90612832565b61126d84848484611da9565b50505050565b606061127e826118e5565b6112be5760405162461bcd60e51b81526020600482015260116024820152702737b732bc34b9ba32b73a103a37b5b2b760791b60448201526064016107ba565b60006112c8611ddc565b905060006112d4611deb565b6000858152601160205260408120805492935090916112f29061293f565b80601f016020809104026020016040519081016040528092919081815260200182805461131e9061293f565b801561136b5780601f106113405761010080835404028352916020019161136b565b820191906000526020600020905b81548152906001019060200180831161134e57829003601f168201915b505050505090508051600014156113b0578261138686611dfa565b6040516020016113979291906126fe565b6040516020818303038152906040529350505050919050565b81816040516020016113979291906126fe565b600e5460ff166114055760405162461bcd60e51b815260206004820152600d60248201526c53616c65206e6f74206c69766560981b60448201526064016107ba565b600b54611d85906114169083611c05565b11156114595760405162461bcd60e51b8152602060048201526012602482015271109d5e481b1a5b5a5d08195e18d95959195960721b60448201526064016107ba565b600f81111561149a5760405162461bcd60e51b815260206004820152600d60248201526c436f756e7420746f6f2062696760981b60448201526064016107ba565b6114ab81666a94d74f430000611ef8565b34146114eb5760405162461bcd60e51b815260206004820152600f60248201526e57726f6e67204554482076616c756560881b60448201526064016107ba565b600b54604080519182526020820183905233917f24db38d2bad7c47bb974527eeea5ed5222d8f62c51d7d8e122062771e27a34fe910160405180910390a26115363382600b54611f04565b600b546115439082611c05565b600b5550565b73ee292eac90cc854bc1af438015a3b848a4eae94933148061157e575073609f49eff8110074273fc3e53c4ff275f89b084d33145b8061159c575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b806115b15750600a546001600160a01b031633145b6115cd5760405162461bcd60e51b81526004016107ba90612883565b600c54611e61906115de9083611c05565b11156116235760405162461bcd60e51b8152602060048201526014602482015273105dd85c99081b1a5b5a5d08195e18d95959195960621b60448201526064016107ba565b600c5460408051918252602082018390523391600080516020612a2e833981519152910160405180910390a261165c8282600c54611f04565b600c546116699082611c05565b600c55600d546116799082611c05565b600d555050565b73ee292eac90cc854bc1af438015a3b848a4eae9493314806116b5575073609f49eff8110074273fc3e53c4ff275f89b084d33145b806116d3575073838b3de2cbea56d343bf8113b06f13a2bc96d22233145b806116e85750600a546001600160a01b031633145b6117045760405162461bcd60e51b81526004016107ba90612883565b6001600160a01b0381166117545760405162461bcd60e51b81526020600482015260176024820152763a37a0b2323932b9b99030b2323932b9b99032b93937b960491b60448201526064016107ba565b6117646110ad611d8560016128b1565b156117815760405162461bcd60e51b81526004016107ba9061277d565b33600080516020612a2e83398151915261179e611d8560016128b1565b60408051918252600160208301520160405180910390a2600d546117c3906001611c05565b600d55610e0c81611125611d8560016128b1565b60116020526000908152604090208054610e939061293f565b60108054610e939061293f565b600a546001600160a01b031633146118275760405162461bcd60e51b81526004016107ba906127fd565b6001600160a01b03811661188c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107ba565b610e0c81611d57565b60006001600160e01b031982166380ac58cd60e01b14806118c657506001600160e01b03198216635b5e139f60e01b145b8061078a57506301ffc9a760e01b6001600160e01b031983161461078a565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061193782610e0f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061197b826118e5565b6119dc5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107ba565b60006119e783610e0f565b9050806001600160a01b0316846001600160a01b03161480611a225750836001600160a01b0316611a17846108c7565b6001600160a01b0316145b80611a5257506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611a6d82610e0f565b6001600160a01b031614611ad55760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107ba565b6001600160a01b038216611b375760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107ba565b611b42838383611ff7565b611b4d600082611902565b6001600160a01b0383166000908152600360205260408120805460019290611b769084906128fc565b90915550506001600160a01b0382166000908152600360205260408120805460019290611ba49084906128b1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000611c1182846128b1565b9392505050565b6001600160a01b038216611c6e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107ba565b611c77816118e5565b15611cc45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107ba565b611cd060008383611ff7565b6001600160a01b0382166000908152600360205260408120805460019290611cf99084906128b1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611db4848484611a5a565b611dc0848484846120af565b61126d5760405162461bcd60e51b81526004016107ba906127ab565b6060600f80546108449061293f565b6060601080546108449061293f565b606081611e1e5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e485780611e328161297a565b9150611e419050600a836128c9565b9150611e22565b60008167ffffffffffffffff811115611e6357611e63612a01565b6040519080825280601f01601f191660200182016040528015611e8d576020820181803683370190505b5090505b8415611a5257611ea26001836128fc565b9150611eaf600a86612995565b611eba9060306128b1565b60f81b818381518110611ecf57611ecf6129eb565b60200101906001600160f81b031916908160001a905350611ef1600a866128c9565b9450611e91565b6000611c1182846128dd565b6001600160a01b038316611f515760405162461bcd60e51b815260206004820152601460248201527326b4b73a32b91030b2323932b9b99032b93937b960611b60448201526064016107ba565b60008211611f945760405162461bcd60e51b815260206004820152601060248201526f0436f756e742063616e277420626520360841b60448201526064016107ba565b8060005b83811015611ff057611fa9826118e5565b15611fc65760405162461bcd60e51b81526004016107ba9061277d565b611fd08583611c18565b81611fda8161297a565b9250508080611fe89061297a565b915050611f98565b5050505050565b6001600160a01b0383166120525761204d81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612075565b816001600160a01b0316836001600160a01b0316146120755761207583826121bc565b6001600160a01b03821661208c576107f281612259565b826001600160a01b0316826001600160a01b0316146107f2576107f28282612308565b60006001600160a01b0384163b156121b157604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120f390339089908890889060040161272d565b602060405180830381600087803b15801561210d57600080fd5b505af192505050801561213d575060408051601f3d908101601f1916820190925261213a91810190612620565b60015b612197573d80801561216b576040519150601f19603f3d011682016040523d82523d6000602084013e612170565b606091505b50805161218f5760405162461bcd60e51b81526004016107ba906127ab565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611a52565b506001949350505050565b600060016121c984610f14565b6121d391906128fc565b600083815260076020526040902054909150808214612226576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061226b906001906128fc565b60008381526009602052604081205460088054939450909284908110612293576122936129eb565b9060005260206000200154905080600883815481106122b4576122b46129eb565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806122ec576122ec6129d5565b6001900381819060005260206000200160009055905550505050565b600061231383610f14565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b8280546123589061293f565b90600052602060002090601f01602090048101928261237a57600085556123c0565b82601f1061239357805160ff19168380011785556123c0565b828001600101855582156123c0579182015b828111156123c05782518255916020019190600101906123a5565b506123cc9291506123d0565b5090565b5b808211156123cc57600081556001016123d1565b600067ffffffffffffffff8084111561240057612400612a01565b604051601f8501601f19908116603f0116810190828211818310171561242857612428612a01565b8160405280935085815286868601111561244157600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461247257600080fd5b919050565b600082601f83011261248857600080fd5b611c11838335602085016123e5565b6000602082840312156124a957600080fd5b611c118261245b565b600080604083850312156124c557600080fd5b6124ce8361245b565b91506124dc6020840161245b565b90509250929050565b6000806000606084860312156124fa57600080fd5b6125038461245b565b92506125116020850161245b565b9150604084013590509250925092565b6000806000806080858703121561253757600080fd5b6125408561245b565b935061254e6020860161245b565b925060408501359150606085013567ffffffffffffffff81111561257157600080fd5b8501601f8101871361258257600080fd5b612591878235602084016123e5565b91505092959194509250565b600080604083850312156125b057600080fd5b6125b98361245b565b9150602083013580151581146125ce57600080fd5b809150509250929050565b600080604083850312156125ec57600080fd5b6125f58361245b565b946020939093013593505050565b60006020828403121561261557600080fd5b8135611c1181612a17565b60006020828403121561263257600080fd5b8151611c1181612a17565b60006020828403121561264f57600080fd5b813567ffffffffffffffff81111561266657600080fd5b611a5284828501612477565b60006020828403121561268457600080fd5b5035919050565b6000806040838503121561269e57600080fd5b82359150602083013567ffffffffffffffff8111156126bc57600080fd5b6126c885828601612477565b9150509250929050565b600081518084526126ea816020860160208601612913565b601f01601f19169290920160200192915050565b60008351612710818460208801612913565b835190830190612724818360208801612913565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612760908301846126d2565b9695505050505050565b602081526000611c1160208301846126d2565b602080825260149082015273151bdad95b88185b1c9958591e481b5a5b9d195960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b602080825260149082015273155b985d5d1a1bdc9a5e9959081858d8dbdd5b9d60621b604082015260600190565b600082198211156128c4576128c46129a9565b500190565b6000826128d8576128d86129bf565b500490565b60008160001904831182151516156128f7576128f76129a9565b500290565b60008282101561290e5761290e6129a9565b500390565b60005b8381101561292e578181015183820152602001612916565b8381111561126d5750506000910152565b600181811c9082168061295357607f821691505b6020821081141561297457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561298e5761298e6129a9565b5060010190565b6000826129a4576129a46129bf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610e0c57600080fdfeaf0ac0de2a63239fd0ce3b5e65a46b0959f1ab34b0e00fe9e75160e721a68725a26469706673582212206a60705f63e9678453319cd35be33cb015f4a8cb46ff32fa89bbf277e767f15164736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : __name (string):
Arg [1] : __symbol (string):
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
236:5961:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;909:234:4;;;;;;;;;;-1:-1:-1;909:234:4;;;;;:::i;:::-;;:::i;:::-;;;6139:14:16;;6132:22;6114:41;;6102:2;6087:18;909:234:4;;;;;;;;2620:168:13;;;;;;;;;;-1:-1:-1;2620:168:13;;;;;:::i;:::-;;:::i;:::-;;1863:105;;;;;;;;;;;;;:::i;2343:98:3:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3755:217::-;;;;;;;;;;-1:-1:-1;3755:217:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5437:32:16;;;5419:51;;5407:2;5392:18;3755:217:3;5273:203:16;3306:388:3;;;;;;;;;;-1:-1:-1;3306:388:3;;;;;:::i;:::-;;:::i;1277:30:13:-;;;;;;;;;;-1:-1:-1;1277:30:13;;;;;;;;2486:122;;;;;;;;;;;;;:::i;1546:111:4:-;;;;;;;;;;-1:-1:-1;1633:10:4;:17;1546:111;;;17485:25:16;;;17473:2;17458:18;1546:111:4;17339:177:16;2335:139:13;;;;;;;;;;-1:-1:-1;2335:139:13;;;;;:::i;:::-;;:::i;4619:300:3:-;;;;;;;;;;-1:-1:-1;4619:300:3;;;;;:::i;:::-;;:::i;1222:253:4:-;;;;;;;;;;-1:-1:-1;1222:253:4;;;;;:::i;:::-;;:::i;934:28:13:-;;;;;;;;;;;;;;;;969:33;;;;;;;;;;;;;;;;6049:145;;;;;;;;;;;;;:::i;826:42::-;;;;;;;;;;;;866:2;826:42;;4985:149:3;;;;;;;;;;-1:-1:-1;4985:149:3;;;;;:::i;:::-;;:::i;1729:230:4:-;;;;;;;;;;-1:-1:-1;1729:230:4;;;;;:::i;:::-;;:::i;4294:375:13:-;;;;;;;;;;-1:-1:-1;4294:375:13;;;;;:::i;:::-;;:::i;2046:235:3:-;;;;;;;;;;-1:-1:-1;2046:235:3;;;;;:::i;:::-;;:::i;875:46:13:-;;;;;;;;;;;;911:10;875:46;;1113:61;;;;;;;;;;;;;:::i;1784:205:3:-;;;;;;;;;;-1:-1:-1;1784:205:3;;;;;:::i;:::-;;:::i;1598:92:12:-;;;;;;;;;;;;;:::i;5075:377:13:-;;;;;;;;;;-1:-1:-1;5075:377:13;;;;;:::i;:::-;;:::i;1062:38::-;;;;;;;;;;-1:-1:-1;1062:38:13;;;;;;;;772:41;;;;;;;;;;;;809:4;772:41;;715:50;;;;;;;;;;;;762:3;715:50;;966:85:12;;;;;;;;;;-1:-1:-1;1038:6:12;;-1:-1:-1;;;;;1038:6:12;966:85;;2505:102:3;;;;;;;;;;;;;:::i;1009:40:13:-;;;;;;;;;;;;;;;;2231:92;;;;;;;;;;-1:-1:-1;2231:92:13;;;;;:::i;:::-;;:::i;4039:290:3:-;;;;;;;;;;-1:-1:-1;4039:290:3;;;;;:::i;:::-;;:::i;663:45:13:-;;;;;;;;;;;;704:4;663:45;;5200:282:3;;;;;;;;;;-1:-1:-1;5200:282:3;;;;;:::i;:::-;;:::i;2863:538:13:-;;;;;;;;;;-1:-1:-1;2863:538:13;;;;;:::i;:::-;;:::i;5492:460::-;;;;;;:::i;:::-;;:::i;4395:162:3:-;;;;;;;;;;-1:-1:-1;4395:162:3;;;;;:::i;:::-;-1:-1:-1;;;;;4515:25:3;;;4492:4;4515:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4395:162;3889:393:13;;;;;;;;;;-1:-1:-1;3889:393:13;;;;;:::i;:::-;;:::i;4681:382::-;;;;;;;;;;-1:-1:-1;4681:382:13;;;;;:::i;:::-;;:::i;1218:52::-;;;;;;;;;;-1:-1:-1;1218:52:13;;;;;:::i;:::-;;:::i;1181:30::-;;;;;;;;;;;;;:::i;1839:189:12:-;;;;;;;;;;-1:-1:-1;1839:189:12;;;;;:::i;:::-;;:::i;909:234:4:-;1011:4;-1:-1:-1;;;;;;1034:50:4;;-1:-1:-1;;;1034:50:4;;:102;;;1100:36;1124:11;1100:23;:36::i;:::-;1027:109;909:234;-1:-1:-1;;909:234:4:o;2620:168:13:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;;;;;;;;;2716:10:13::1;::::0;::::1;;:19;2708:28;;;::::0;::::1;;2747:26;::::0;;;:17:::1;:26;::::0;;;;;;;:33;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;2620:168:::0;;:::o;1863:105::-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1942:18:13::1;::::0;;-1:-1:-1;;1920:40:13;::::1;1942:18;::::0;;::::1;1941:19;1920:40;::::0;;1863:105::o;2343:98:3:-;2397:13;2429:5;2422:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2343:98;:::o;3755:217::-;3831:7;3858:16;3866:7;3858;:16::i;:::-;3850:73;;;;-1:-1:-1;;;3850:73:3;;12348:2:16;3850:73:3;;;12330:21:16;12387:2;12367:18;;;12360:30;12426:34;12406:18;;;12399:62;-1:-1:-1;;;12477:18:16;;;12470:42;12529:19;;3850:73:3;12146:408:16;3850:73:3;-1:-1:-1;3941:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;3941:24:3;;3755:217::o;3306:388::-;3386:13;3402:23;3417:7;3402:14;:23::i;:::-;3386:39;;3449:5;-1:-1:-1;;;;;3443:11:3;:2;-1:-1:-1;;;;;3443:11:3;;;3435:57;;;;-1:-1:-1;;;3435:57:3;;14922:2:16;3435:57:3;;;14904:21:16;14961:2;14941:18;;;14934:30;15000:34;14980:18;;;14973:62;-1:-1:-1;;;15051:18:16;;;15044:31;15092:19;;3435:57:3;14720:397:16;3435:57:3;665:10:1;-1:-1:-1;;;;;3511:21:3;;;;:62;;-1:-1:-1;3536:37:3;3553:5;665:10:1;4395:162:3;:::i;3536:37::-;3503:152;;;;-1:-1:-1;;;3503:152:3;;10053:2:16;3503:152:3;;;10035:21:16;10092:2;10072:18;;;10065:30;10131:34;10111:18;;;10104:62;10202:26;10182:18;;;10175:54;10246:19;;3503:152:3;9851:420:16;3503:152:3;3666:21;3675:2;3679:7;3666:8;:21::i;2486:122:13:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;2552:10:13::1;::::0;::::1;;:19;2544:28;;;::::0;::::1;;2583:10;:17:::0;;-1:-1:-1;;2583:17:13::1;2596:4;2583:17;::::0;;2486:122::o;2335:139::-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;2417:10:13::1;::::0;::::1;;:19;2409:28;;;::::0;::::1;;2448:18:::0;;::::1;::::0;:11:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;:::-;;2335:139:::0;:::o;4619:300:3:-;4778:41;665:10:1;4811:7:3;4778:18;:41::i;:::-;4770:103;;;;-1:-1:-1;;;4770:103:3;;;;;;;:::i;:::-;4884:28;4894:4;4900:2;4904:7;4884:9;:28::i;1222:253:4:-;1319:7;1354:23;1371:5;1354:16;:23::i;:::-;1346:5;:31;1338:87;;;;-1:-1:-1;;;1338:87:4;;6941:2:16;1338:87:4;;;6923:21:16;6980:2;6960:18;;;6953:30;7019:34;6999:18;;;6992:62;-1:-1:-1;;;7070:18:16;;;7063:41;7121:19;;1338:87:4;6739:407:16;1338:87:4;-1:-1:-1;;;;;;1442:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1222:253::o;6049:145:13:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;6149:37:13::1;::::0;6117:21:::1;::::0;6157:10:::1;::::0;6149:37;::::1;;;::::0;6117:21;;6099:15:::1;6149:37:::0;6099:15;6149:37;6117:21;6157:10;6149:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;4985:149:3::0;5088:39;5105:4;5111:2;5115:7;5088:39;;;;;;;;;;;;:16;:39::i;1729:230:4:-;1804:7;1839:30;1633:10;:17;;1546:111;1839:30;1831:5;:38;1823:95;;;;-1:-1:-1;;;1823:95:4;;16086:2:16;1823:95:4;;;16068:21:16;16125:2;16105:18;;;16098:30;16164:34;16144:18;;;16137:62;-1:-1:-1;;;16215:18:16;;;16208:42;16267:19;;1823:95:4;15884:408:16;1823:95:4;1935:10;1946:5;1935:17;;;;;;;;:::i;:::-;;;;;;;;;1928:24;;1729:230;;;:::o;4294:375:13:-;1370:42;665:10:1;1370:58:13;;:120;;-1:-1:-1;1432:42:13;665:10:1;1432:58:13;1370:120;:182;;;-1:-1:-1;1494:42:13;665:10:1;1494:58:13;1370:182;:209;;;-1:-1:-1;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1556:23:13;1370:209;1362:242;;;;-1:-1:-1;;;1362:242:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;4382:23:13;::::1;4374:59;;;::::0;-1:-1:-1;;;4374:59:13;;12761:2:16;4374:59:13::1;::::0;::::1;12743:21:16::0;12800:2;12780:18;;;12773:30;-1:-1:-1;;;12819:18:16;;;12812:53;12882:18;;4374:59:13::1;12559:347:16::0;4374:59:13::1;4451:19;809:4;4451:7;:19::i;:::-;4450:20;4442:53;;;;-1:-1:-1::0;;;4442:53:13::1;;;;;;;:::i;:::-;4517:38;::::0;;809:4:::1;17703:25:16::0;;4553:1:13::1;17759:2:16::0;17744:18;;17737:34;4529:10:13::1;::::0;-1:-1:-1;;;;;;;;;;;4517:38:13;17676:18:16;4517:38:13::1;;;;;;;4596:21;::::0;:28:::1;::::0;4622:1:::1;4596:25;:28::i;:::-;4572:21;:52:::0;4633:28:::1;4639:9:::0;809:4:::1;4633:5;:28::i;:::-;4294:375:::0;:::o;2046:235:3:-;2118:7;2153:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2153:16:3;2187:19;2179:73;;;;-1:-1:-1;;;2179:73:3;;11235:2:16;2179:73:3;;;11217:21:16;11274:2;11254:18;;;11247:30;11313:34;11293:18;;;11286:62;-1:-1:-1;;;11364:18:16;;;11357:39;11413:19;;2179:73:3;11033:405:16;1113:61:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1784:205:3:-;1856:7;-1:-1:-1;;;;;1883:19:3;;1875:74;;;;-1:-1:-1;;;1875:74:3;;10824:2:16;1875:74:3;;;10806:21:16;10863:2;10843:18;;;10836:30;10902:34;10882:18;;;10875:62;-1:-1:-1;;;10953:18:16;;;10946:40;11003:19;;1875:74:3;10622:406:16;1875:74:3;-1:-1:-1;;;;;;1966:16:3;;;;;:9;:16;;;;;;;1784:205::o;1598:92:12:-;1038:6;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;5075:377:13:-;1370:42;665:10:1;1370:58:13;;:120;;-1:-1:-1;1432:42:13;665:10:1;1432:58:13;1370:120;:182;;;-1:-1:-1;1494:42:13;665:10:1;1494:58:13;1370:182;:209;;;-1:-1:-1;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1556:23:13;1370:209;1362:242;;;;-1:-1:-1;;;1362:242:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;5167:23:13;::::1;5159:51;;;::::0;-1:-1:-1;;;5159:51:13;;16499:2:16;5159:51:13::1;::::0;::::1;16481:21:16::0;16538:2;16518:18;;;16511:30;-1:-1:-1;;;16557:18:16;;;16550:45;16612:18;;5159:51:13::1;16297:339:16::0;5159:51:13::1;5228:21;5236:12;809:4;5247:1;5236:12;:::i;:::-;5228:7;:21::i;:::-;5227:22;5219:55;;;;-1:-1:-1::0;;;5219:55:13::1;;;;;;;:::i;:::-;5308:10;-1:-1:-1::0;;;;;;;;;;;5320:12:13::1;809:4;5331:1;5320:12;:::i;:::-;5296:40;::::0;;17703:25:16;;;5334:1:13::1;17759:2:16::0;17744:18;;17737:34;17676:18;5296:40:13::1;;;;;;;5377:21;::::0;:28:::1;::::0;5403:1:::1;5377:25;:28::i;:::-;5353:21;:52:::0;5414:30:::1;5420:9:::0;5431:12:::1;809:4;5442:1;5431:12;:::i;:::-;5414:5;:30::i;2505:102:3:-:0;2561:13;2593:7;2586:14;;;;;:::i;2231:92:13:-;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;2301:14:13;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;4039:290:3:-:0;-1:-1:-1;;;;;4141:24:3;;665:10:1;4141:24:3;;4133:62;;;;-1:-1:-1;;;4133:62:3;;8941:2:16;4133:62:3;;;8923:21:16;8980:2;8960:18;;;8953:30;9019:27;8999:18;;;8992:55;9064:18;;4133:62:3;8739:349:16;4133:62:3;665:10:1;4206:32:3;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4206:42:3;;;;;;;;;;;;:53;;-1:-1:-1;;4206:53:3;;;;;;;;;;4274:48;;6114:41:16;;;4206:42:3;;665:10:1;4274:48:3;;6087:18:16;4274:48:3;;;;;;;4039:290;;:::o;5200:282::-;5331:41;665:10:1;5364:7:3;5331:18;:41::i;:::-;5323:103;;;;-1:-1:-1;;;5323:103:3;;;;;;;:::i;:::-;5436:39;5450:4;5456:2;5460:7;5469:5;5436:13;:39::i;:::-;5200:282;;;;:::o;2863:538:13:-;2936:13;2970:16;2978:7;2970;:16::i;:::-;2962:46;;;;-1:-1:-1;;;2962:46:13;;10478:2:16;2962:46:13;;;10460:21:16;10517:2;10497:18;;;10490:30;-1:-1:-1;;;10536:18:16;;;10529:47;10593:18;;2962:46:13;10276:341:16;2962:46:13;3029:18;3050:10;:8;:10::i;:::-;3029:31;;3071:22;3096:14;:12;:14::i;:::-;3121:22;3146:26;;;:17;:26;;;;;3121:51;;3071:39;;-1:-1:-1;3121:22:13;;:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3203:8;3197:22;3223:1;3197:27;3193:201;;;3272:4;3278:18;:7;:16;:18::i;:::-;3255:42;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3241:57;;;;;2863:538;;;:::o;3193:201::-;3362:8;3372;3345:36;;;;;;;;;:::i;5492:460::-;5554:18;;;;5546:44;;;;-1:-1:-1;;;5546:44:13;;11645:2:16;5546:44:13;;;11627:21:16;11684:2;11664:18;;;11657:30;-1:-1:-1;;;11703:18:16;;;11696:43;11756:18;;5546:44:13;11443:337:16;5546:44:13;5607:9;;809:4;;5607:20;;5621:5;5607:13;:20::i;:::-;:34;;5599:65;;;;-1:-1:-1;;;5599:65:13;;14575:2:16;5599:65:13;;;14557:21:16;14614:2;14594:18;;;14587:30;-1:-1:-1;;;14633:18:16;;;14626:48;14691:18;;5599:65:13;14373:342:16;5599:65:13;866:2;5681:5;:22;;5673:48;;;;-1:-1:-1;;;5673:48:13;;13113:2:16;5673:48:13;;;13095:21:16;13152:2;13132:18;;;13125:30;-1:-1:-1;;;13171:18:16;;;13164:43;13224:18;;5673:48:13;12911:337:16;5673:48:13;5751:20;:5;911:10;5751:9;:20::i;:::-;5738:9;:33;5730:61;;;;-1:-1:-1;;;5730:61:13;;15742:2:16;5730:61:13;;;15724:21:16;15781:2;15761:18;;;15754:30;-1:-1:-1;;;15800:18:16;;;15793:45;15855:18;;5730:61:13;15540:339:16;5730:61:13;5835:9;;5813:39;;;17703:25:16;;;17759:2;17744:18;;17737:34;;;5823:10:13;;5813:39;;17676:18:16;5813:39:13;;;;;;;5869:34;5874:10;5886:5;5893:9;;5869:4;:34::i;:::-;5924:9;;:20;;5938:5;5924:13;:20::i;:::-;5912:9;:32;-1:-1:-1;5492:460:13:o;3889:393::-;1370:42;665:10:1;1370:58:13;;:120;;-1:-1:-1;1432:42:13;665:10:1;1432:58:13;1370:120;:182;;;-1:-1:-1;1494:42:13;665:10:1;1494:58:13;1370:182;:209;;;-1:-1:-1;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1556:23:13;1370:209;1362:242;;;;-1:-1:-1;;;1362:242:13;;;;;;;:::i;:::-;3985:11:::1;::::0;704:4:::1;::::0;3985:22:::1;::::0;4001:5;3985:15:::1;:22::i;:::-;:40;;3977:73;;;::::0;-1:-1:-1;;;3977:73:13;;17192:2:16;3977:73:13::1;::::0;::::1;17174:21:16::0;17231:2;17211:18;;;17204:30;-1:-1:-1;;;17250:18:16;;;17243:50;17310:18;;3977:73:13::1;16990:344:16::0;3977:73:13::1;4096:11;::::0;4072:43:::1;::::0;;17703:25:16;;;17759:2;17744:18;;17737:34;;;4084:10:13::1;::::0;-1:-1:-1;;;;;;;;;;;4072:43:13;17676:18:16;4072:43:13::1;;;;;;;4132:32;4137:6;4145:5;4152:11;;4132:4;:32::i;:::-;4187:11;::::0;:22:::1;::::0;4203:5;4187:15:::1;:22::i;:::-;4173:11;:36:::0;4242:21:::1;::::0;:32:::1;::::0;4268:5;4242:25:::1;:32::i;:::-;4218:21;:56:::0;-1:-1:-1;;3889:393:13:o;4681:382::-;1370:42;665:10:1;1370:58:13;;:120;;-1:-1:-1;1432:42:13;665:10:1;1432:58:13;1370:120;:182;;;-1:-1:-1;1494:42:13;665:10:1;1494:58:13;1370:182;:209;;;-1:-1:-1;1038:6:12;;-1:-1:-1;;;;;1038:6:12;665:10:1;1556:23:13;1370:209;1362:242;;;;-1:-1:-1;;;1362:242:13;;;;;;;:::i;:::-;-1:-1:-1;;;;;4770:23:13;::::1;4762:59;;;::::0;-1:-1:-1;;;4762:59:13;;12761:2:16;4762:59:13::1;::::0;::::1;12743:21:16::0;12800:2;12780:18;;;12773:30;-1:-1:-1;;;12819:18:16;;;12812:53;12882:18;;4762:59:13::1;12559:347:16::0;4762:59:13::1;4839:21;4847:12;809:4;4858:1;4847:12;:::i;4839:21::-;4838:22;4830:55;;;;-1:-1:-1::0;;;4830:55:13::1;;;;;;;:::i;:::-;4919:10;-1:-1:-1::0;;;;;;;;;;;4931:12:13::1;809:4;4942:1;4931:12;:::i;:::-;4907:40;::::0;;17703:25:16;;;4945:1:13::1;17759:2:16::0;17744:18;;17737:34;17676:18;4907:40:13::1;;;;;;;4988:21;::::0;:28:::1;::::0;5014:1:::1;4988:25;:28::i;:::-;4964:21;:52:::0;5025:30:::1;5031:9:::0;5042:12:::1;809:4;5053:1;5042:12;:::i;1218:52::-:0;;;;;;;;;;;;;;;;:::i;1181:30::-;;;;;;;:::i;1839:189:12:-;1038:6;;-1:-1:-1;;;;;1038:6:12;665:10:1;1178:23:12;1170:68;;;;-1:-1:-1;;;1170:68:12;;;;;;;:::i;:::-;-1:-1:-1;;;;;1927:22:12;::::1;1919:73;;;::::0;-1:-1:-1;;;1919:73:12;;7772:2:16;1919:73:12::1;::::0;::::1;7754:21:16::0;7811:2;7791:18;;;7784:30;7850:34;7830:18;;;7823:62;-1:-1:-1;;;7901:18:16;;;7894:36;7947:19;;1919:73:12::1;7570:402:16::0;1919:73:12::1;2002:19;2012:8;2002:9;:19::i;1437:288:3:-:0;1539:4;-1:-1:-1;;;;;;1562:40:3;;-1:-1:-1;;;1562:40:3;;:104;;-1:-1:-1;;;;;;;1618:48:3;;-1:-1:-1;;;1618:48:3;1562:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:2;;;1682:36:3;763:155:2;6916:125:3;6981:4;7004:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7004:16:3;:30;;;6916:125::o;10673:171::-;10747:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;10747:29:3;-1:-1:-1;;;;;10747:29:3;;;;;;;;:24;;10800:23;10747:24;10800:14;:23::i;:::-;-1:-1:-1;;;;;10791:46:3;;;;;;;;;;;10673:171;;:::o;7199:344::-;7292:4;7316:16;7324:7;7316;:16::i;:::-;7308:73;;;;-1:-1:-1;;;7308:73:3;;9295:2:16;7308:73:3;;;9277:21:16;9334:2;9314:18;;;9307:30;9373:34;9353:18;;;9346:62;-1:-1:-1;;;9424:18:16;;;9417:42;9476:19;;7308:73:3;9093:408:16;7308:73:3;7391:13;7407:23;7422:7;7407:14;:23::i;:::-;7391:39;;7459:5;-1:-1:-1;;;;;7448:16:3;:7;-1:-1:-1;;;;;7448:16:3;;:51;;;;7492:7;-1:-1:-1;;;;;7468:31:3;:20;7480:7;7468:11;:20::i;:::-;-1:-1:-1;;;;;7468:31:3;;7448:51;:87;;;-1:-1:-1;;;;;;4515:25:3;;;4492:4;4515:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7503:32;7440:96;7199:344;-1:-1:-1;;;;7199:344:3:o;10032:530::-;10156:4;-1:-1:-1;;;;;10129:31:3;:23;10144:7;10129:14;:23::i;:::-;-1:-1:-1;;;;;10129:31:3;;10121:85;;;;-1:-1:-1;;;10121:85:3;;14165:2:16;10121:85:3;;;14147:21:16;14204:2;14184:18;;;14177:30;14243:34;14223:18;;;14216:62;-1:-1:-1;;;14294:18:16;;;14287:39;14343:19;;10121:85:3;13963:405:16;10121:85:3;-1:-1:-1;;;;;10224:16:3;;10216:65;;;;-1:-1:-1;;;10216:65:3;;8536:2:16;10216:65:3;;;8518:21:16;8575:2;8555:18;;;8548:30;8614:34;8594:18;;;8587:62;-1:-1:-1;;;8665:18:16;;;8658:34;8709:19;;10216:65:3;8334:400:16;10216:65:3;10292:39;10313:4;10319:2;10323:7;10292:20;:39::i;:::-;10393:29;10410:1;10414:7;10393:8;:29::i;:::-;-1:-1:-1;;;;;10433:15:3;;;;;;:9;:15;;;;;:20;;10452:1;;10433:15;:20;;10452:1;;10433:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10463:13:3;;;;;;:9;:13;;;;;:18;;10480:1;;10463:13;:18;;10480:1;;10463:18;:::i;:::-;;;;-1:-1:-1;;10491:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10491:21:3;-1:-1:-1;;;;;10491:21:3;;;;;;;;;10528:27;;10491:16;;10528:27;;;;;;;10032:530;;;:::o;2672:96:14:-;2730:7;2756:5;2760:1;2756;:5;:::i;:::-;2749:12;2672:96;-1:-1:-1;;;2672:96:14:o;8771:372:3:-;-1:-1:-1;;;;;8850:16:3;;8842:61;;;;-1:-1:-1;;;8842:61:3;;11987:2:16;8842:61:3;;;11969:21:16;;;12006:18;;;11999:30;12065:34;12045:18;;;12038:62;12117:18;;8842:61:3;11785:356:16;8842:61:3;8922:16;8930:7;8922;:16::i;:::-;8921:17;8913:58;;;;-1:-1:-1;;;8913:58:3;;8179:2:16;8913:58:3;;;8161:21:16;8218:2;8198:18;;;8191:30;8257;8237:18;;;8230:58;8305:18;;8913:58:3;7977:352:16;8913:58:3;8982:45;9011:1;9015:2;9019:7;8982:20;:45::i;:::-;-1:-1:-1;;;;;9038:13:3;;;;;;:9;:13;;;;;:18;;9055:1;;9038:13;:18;;9055:1;;9038:18;:::i;:::-;;;;-1:-1:-1;;9066:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9066:21:3;-1:-1:-1;;;;;9066:21:3;;;;;;;;9103:33;;9066:16;;;9103:33;;9066:16;;9103:33;8771:372;;:::o;2034:169:12:-;2108:6;;;-1:-1:-1;;;;;2124:17:12;;;-1:-1:-1;;;;;;2124:17:12;;;;;;;2156:40;;2108:6;;;2124:17;2108:6;;2156:40;;2089:16;;2156:40;2079:124;2034:169;:::o;6344:269:3:-;6457:28;6467:4;6473:2;6477:7;6457:9;:28::i;:::-;6503:48;6526:4;6532:2;6536:7;6545:5;6503:22;:48::i;:::-;6495:111;;;;-1:-1:-1;;;6495:111:3;;;;;;;:::i;2008:100:13:-;2060:13;2093:7;2086:14;;;;;:::i;2120:99::-;2167:13;2200:11;2193:18;;;;;:::i;271:703:15:-;327:13;544:10;540:51;;-1:-1:-1;;570:10:15;;;;;;;;;;;;-1:-1:-1;;;570:10:15;;;;;271:703::o;540:51::-;615:5;600:12;654:75;661:9;;654:75;;686:8;;;;:::i;:::-;;-1:-1:-1;708:10:15;;-1:-1:-1;716:2:15;708:10;;:::i;:::-;;;654:75;;;738:19;770:6;760:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;760:17:15;;738:39;;787:150;794:10;;787:150;;820:11;830:1;820:11;;:::i;:::-;;-1:-1:-1;888:10:15;896:2;888:5;:10;:::i;:::-;875:24;;:2;:24;:::i;:::-;862:39;;845:6;852;845:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;845:56:15;;;;;;;;-1:-1:-1;915:11:15;924:2;915:11;;:::i;:::-;;;787:150;;3382:96:14;3440:7;3466:5;3470:1;3466;:5;:::i;3443:405:13:-;-1:-1:-1;;;;;3530:20:13;;3522:53;;;;-1:-1:-1;;;3522:53:13;;13816:2:16;3522:53:13;;;13798:21:16;13855:2;13835:18;;;13828:30;-1:-1:-1;;;13874:18:16;;;13867:50;13934:18;;3522:53:13;13614:344:16;3522:53:13;3600:1;3592:5;:9;3584:38;;;;-1:-1:-1;;;3584:38:13;;9708:2:16;3584:38:13;;;9690:21:16;9747:2;9727:18;;;9720:30;-1:-1:-1;;;9766:18:16;;;9759:46;9822:18;;3584:38:13;9506:340:16;3584:38:13;3659:7;3639:17;3675:166;3699:5;3695:1;:9;3675:166;;;3731:18;3739:9;3731:7;:18::i;:::-;3730:19;3722:52;;;;-1:-1:-1;;;3722:52:13;;;;;;;:::i;:::-;3785:24;3791:6;3799:9;3785:5;:24::i;:::-;3820:11;;;;:::i;:::-;;;;3706:3;;;;;:::i;:::-;;;;3675:166;;;;3513:335;3443:405;;;:::o;2555:542:4:-;-1:-1:-1;;;;;2724:18:4;;2720:183;;2758:40;2790:7;3906:10;:17;;3879:24;;;;:15;:24;;;;;:44;;;3933:24;;;;;;;;;;;;3803:161;2758:40;2720:183;;;2827:2;-1:-1:-1;;;;;2819:10:4;:4;-1:-1:-1;;;;;2819:10:4;;2815:88;;2845:47;2878:4;2884:7;2845:32;:47::i;:::-;-1:-1:-1;;;;;2916:16:4;;2912:179;;2948:45;2985:7;2948:36;:45::i;2912:179::-;3020:4;-1:-1:-1;;;;;3014:10:4;:2;-1:-1:-1;;;;;3014:10:4;;3010:81;;3040:40;3068:2;3072:7;3040:27;:40::i;11397:824:3:-;11517:4;-1:-1:-1;;;;;11541:13:3;;1078:20:0;1116:8;11537:678:3;;11576:72;;-1:-1:-1;;;11576:72:3;;-1:-1:-1;;;;;11576:36:3;;;;;:72;;665:10:1;;11627:4:3;;11633:7;;11642:5;;11576:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11576:72:3;;;;;;;;-1:-1:-1;;11576:72:3;;;;;;;;;;;;:::i;:::-;;;11572:591;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11819:13:3;;11815:334;;11861:60;;-1:-1:-1;;;11861:60:3;;;;;;;:::i;11815:334::-;12101:6;12095:13;12086:6;12082:2;12078:15;12071:38;11572:591;-1:-1:-1;;;;;;11698:55:3;-1:-1:-1;;;11698:55:3;;-1:-1:-1;11691:62:3;;11537:678;-1:-1:-1;12200:4:3;11397:824;;;;;;:::o;4581:970:4:-;4843:22;4893:1;4868:22;4885:4;4868:16;:22::i;:::-;:26;;;;:::i;:::-;4904:18;4925:26;;;:17;:26;;;;;;4843:51;;-1:-1:-1;5055:28:4;;;5051:323;;-1:-1:-1;;;;;5121:18:4;;5099:19;5121:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5170:30;;;;;;:44;;;5286:30;;:17;:30;;;;;:43;;;5051:323;-1:-1:-1;5467:26:4;;;;:17;:26;;;;;;;;5460:33;;;-1:-1:-1;;;;;5510:18:4;;;;;:12;:18;;;;;:34;;;;;;;5503:41;4581:970::o;5839:1061::-;6113:10;:17;6088:22;;6113:21;;6133:1;;6113:21;:::i;:::-;6144:18;6165:24;;;:15;:24;;;;;;6533:10;:26;;6088:46;;-1:-1:-1;6165:24:4;;6088:46;;6533:26;;;;;;:::i;:::-;;;;;;;;;6511:48;;6595:11;6570:10;6581;6570:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6674:28;;;:15;:28;;;;;;;:41;;;6843:24;;;;;6836:31;6877:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5910:990;;;5839:1061;:::o;3391:217::-;3475:14;3492:20;3509:2;3492:16;:20::i;:::-;-1:-1:-1;;;;;3522:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3566:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3391:217:4:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:16;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:16;;;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:16;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:221::-;871:5;924:3;917:4;909:6;905:17;901:27;891:55;;942:1;939;932:12;891:55;964:79;1039:3;1030:6;1017:20;1010:4;1002:6;998:17;964:79;:::i;1054:186::-;1113:6;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;1245:260::-;1313:6;1321;1374:2;1362:9;1353:7;1349:23;1345:32;1342:52;;;1390:1;1387;1380:12;1342:52;1413:29;1432:9;1413:29;:::i;:::-;1403:39;;1461:38;1495:2;1484:9;1480:18;1461:38;:::i;:::-;1451:48;;1245:260;;;;;:::o;1510:328::-;1587:6;1595;1603;1656:2;1644:9;1635:7;1631:23;1627:32;1624:52;;;1672:1;1669;1662:12;1624:52;1695:29;1714:9;1695:29;:::i;:::-;1685:39;;1743:38;1777:2;1766:9;1762:18;1743:38;:::i;:::-;1733:48;;1828:2;1817:9;1813:18;1800:32;1790:42;;1510:328;;;;;:::o;1843:666::-;1938:6;1946;1954;1962;2015:3;2003:9;1994:7;1990:23;1986:33;1983:53;;;2032:1;2029;2022:12;1983:53;2055:29;2074:9;2055:29;:::i;:::-;2045:39;;2103:38;2137:2;2126:9;2122:18;2103:38;:::i;:::-;2093:48;;2188:2;2177:9;2173:18;2160:32;2150:42;;2243:2;2232:9;2228:18;2215:32;2270:18;2262:6;2259:30;2256:50;;;2302:1;2299;2292:12;2256:50;2325:22;;2378:4;2370:13;;2366:27;-1:-1:-1;2356:55:16;;2407:1;2404;2397:12;2356:55;2430:73;2495:7;2490:2;2477:16;2472:2;2468;2464:11;2430:73;:::i;:::-;2420:83;;;1843:666;;;;;;;:::o;2514:347::-;2579:6;2587;2640:2;2628:9;2619:7;2615:23;2611:32;2608:52;;;2656:1;2653;2646:12;2608:52;2679:29;2698:9;2679:29;:::i;:::-;2669:39;;2758:2;2747:9;2743:18;2730:32;2805:5;2798:13;2791:21;2784:5;2781:32;2771:60;;2827:1;2824;2817:12;2771:60;2850:5;2840:15;;;2514:347;;;;;:::o;2866:254::-;2934:6;2942;2995:2;2983:9;2974:7;2970:23;2966:32;2963:52;;;3011:1;3008;3001:12;2963:52;3034:29;3053:9;3034:29;:::i;:::-;3024:39;3110:2;3095:18;;;;3082:32;;-1:-1:-1;;;2866:254:16:o;3125:245::-;3183:6;3236:2;3224:9;3215:7;3211:23;3207:32;3204:52;;;3252:1;3249;3242:12;3204:52;3291:9;3278:23;3310:30;3334:5;3310:30;:::i;3375:249::-;3444:6;3497:2;3485:9;3476:7;3472:23;3468:32;3465:52;;;3513:1;3510;3503:12;3465:52;3545:9;3539:16;3564:30;3588:5;3564:30;:::i;3629:322::-;3698:6;3751:2;3739:9;3730:7;3726:23;3722:32;3719:52;;;3767:1;3764;3757:12;3719:52;3807:9;3794:23;3840:18;3832:6;3829:30;3826:50;;;3872:1;3869;3862:12;3826:50;3895;3937:7;3928:6;3917:9;3913:22;3895:50;:::i;3956:180::-;4015:6;4068:2;4056:9;4047:7;4043:23;4039:32;4036:52;;;4084:1;4081;4074:12;4036:52;-1:-1:-1;4107:23:16;;3956:180;-1:-1:-1;3956:180:16:o;4141:390::-;4219:6;4227;4280:2;4268:9;4259:7;4255:23;4251:32;4248:52;;;4296:1;4293;4286:12;4248:52;4332:9;4319:23;4309:33;;4393:2;4382:9;4378:18;4365:32;4420:18;4412:6;4409:30;4406:50;;;4452:1;4449;4442:12;4406:50;4475;4517:7;4508:6;4497:9;4493:22;4475:50;:::i;:::-;4465:60;;;4141:390;;;;;:::o;4536:257::-;4577:3;4615:5;4609:12;4642:6;4637:3;4630:19;4658:63;4714:6;4707:4;4702:3;4698:14;4691:4;4684:5;4680:16;4658:63;:::i;:::-;4775:2;4754:15;-1:-1:-1;;4750:29:16;4741:39;;;;4782:4;4737:50;;4536:257;-1:-1:-1;;4536:257:16:o;4798:470::-;4977:3;5015:6;5009:13;5031:53;5077:6;5072:3;5065:4;5057:6;5053:17;5031:53;:::i;:::-;5147:13;;5106:16;;;;5169:57;5147:13;5106:16;5203:4;5191:17;;5169:57;:::i;:::-;5242:20;;4798:470;-1:-1:-1;;;;4798:470:16:o;5481:488::-;-1:-1:-1;;;;;5750:15:16;;;5732:34;;5802:15;;5797:2;5782:18;;5775:43;5849:2;5834:18;;5827:34;;;5897:3;5892:2;5877:18;;5870:31;;;5675:4;;5918:45;;5943:19;;5935:6;5918:45;:::i;:::-;5910:53;5481:488;-1:-1:-1;;;;;;5481:488:16:o;6166:219::-;6315:2;6304:9;6297:21;6278:4;6335:44;6375:2;6364:9;6360:18;6352:6;6335:44;:::i;6390:344::-;6592:2;6574:21;;;6631:2;6611:18;;;6604:30;-1:-1:-1;;;6665:2:16;6650:18;;6643:50;6725:2;6710:18;;6390:344::o;7151:414::-;7353:2;7335:21;;;7392:2;7372:18;;;7365:30;7431:34;7426:2;7411:18;;7404:62;-1:-1:-1;;;7497:2:16;7482:18;;7475:48;7555:3;7540:19;;7151:414::o;13253:356::-;13455:2;13437:21;;;13474:18;;;13467:30;13533:34;13528:2;13513:18;;13506:62;13600:2;13585:18;;13253:356::o;15122:413::-;15324:2;15306:21;;;15363:2;15343:18;;;15336:30;15402:34;15397:2;15382:18;;15375:62;-1:-1:-1;;;15468:2:16;15453:18;;15446:47;15525:3;15510:19;;15122:413::o;16641:344::-;16843:2;16825:21;;;16882:2;16862:18;;;16855:30;-1:-1:-1;;;16916:2:16;16901:18;;16894:50;16976:2;16961:18;;16641:344::o;18035:128::-;18075:3;18106:1;18102:6;18099:1;18096:13;18093:39;;;18112:18;;:::i;:::-;-1:-1:-1;18148:9:16;;18035:128::o;18168:120::-;18208:1;18234;18224:35;;18239:18;;:::i;:::-;-1:-1:-1;18273:9:16;;18168:120::o;18293:168::-;18333:7;18399:1;18395;18391:6;18387:14;18384:1;18381:21;18376:1;18369:9;18362:17;18358:45;18355:71;;;18406:18;;:::i;:::-;-1:-1:-1;18446:9:16;;18293:168::o;18466:125::-;18506:4;18534:1;18531;18528:8;18525:34;;;18539:18;;:::i;:::-;-1:-1:-1;18576:9:16;;18466:125::o;18596:258::-;18668:1;18678:113;18692:6;18689:1;18686:13;18678:113;;;18768:11;;;18762:18;18749:11;;;18742:39;18714:2;18707:10;18678:113;;;18809:6;18806:1;18803:13;18800:48;;;-1:-1:-1;;18844:1:16;18826:16;;18819:27;18596:258::o;18859:380::-;18938:1;18934:12;;;;18981;;;19002:61;;19056:4;19048:6;19044:17;19034:27;;19002:61;19109:2;19101:6;19098:14;19078:18;19075:38;19072:161;;;19155:10;19150:3;19146:20;19143:1;19136:31;19190:4;19187:1;19180:15;19218:4;19215:1;19208:15;19072:161;;18859:380;;;:::o;19244:135::-;19283:3;-1:-1:-1;;19304:17:16;;19301:43;;;19324:18;;:::i;:::-;-1:-1:-1;19371:1:16;19360:13;;19244:135::o;19384:112::-;19416:1;19442;19432:35;;19447:18;;:::i;:::-;-1:-1:-1;19481:9:16;;19384:112::o;19501:127::-;19562:10;19557:3;19553:20;19550:1;19543:31;19593:4;19590:1;19583:15;19617:4;19614:1;19607:15;19633:127;19694:10;19689:3;19685:20;19682:1;19675:31;19725:4;19722:1;19715:15;19749:4;19746:1;19739:15;19765:127;19826:10;19821:3;19817:20;19814:1;19807:31;19857:4;19854:1;19847:15;19881:4;19878:1;19871:15;19897:127;19958:10;19953:3;19949:20;19946:1;19939:31;19989:4;19986:1;19979:15;20013:4;20010:1;20003:15;20029:127;20090:10;20085:3;20081:20;20078:1;20071:31;20121:4;20118:1;20111:15;20145:4;20142:1;20135:15;20161:131;-1:-1:-1;;;;;;20235:32:16;;20225:43;;20215:71;;20282:1;20279;20272:12
Swarm Source
ipfs://6a60705f63e9678453319cd35be33cb015f4a8cb46ff32fa89bbf277e767f151
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.