Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
444 TNHF
Holders
252
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TheFemaleNinjaHideout
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "./ERC721.sol"; import "./Ownable.sol"; import "./ITheNinjaHideout.sol"; contract TheFemaleNinjaHideout is ERC721, Ownable { using Strings for uint256; uint256 public constant MAX_NINJAS = 444; uint256 public reservedNinjas = 44; // Withdrawal addresses address public constant ADD = 0xa64b407D4363E203F682f7D95eB13241B039E580; bool public claimStarted; mapping(uint256 => bool) public claimed; ITheNinjaHideout public ITNH = ITheNinjaHideout(0x97e41d5cE9C8cB1f83947ef82a86E345Aed673F3); constructor() ERC721("The Ninja Hideout (Females)", "TNHF") {} function gift(address[] calldata receivers) external onlyOwner { require(totalSupply() + receivers.length <= MAX_NINJAS, "MAX_MINT"); require(receivers.length <= reservedNinjas, "No reserved ninjas left"); for (uint256 i = 0; i < receivers.length; i++) { reservedNinjas--; _safeMint(receivers[i], totalSupply()); } } function claim() external returns (bool) { require(claimStarted, "Claim not started!"); require(!_isContract(msg.sender), "Caller cannot be a contract"); require( ITNH.tokensOfOwner(_msgSender()).length > 1, "Not enough to claim" ); uint256[] memory ownedTokens = ITNH.tokensOfOwner(_msgSender()); uint256 claimCount = 0; uint256 firstClaim; for (uint256 i = 0; i < ownedTokens.length; i++) { if (!claimed[ownedTokens[i]]) { if (claimCount == 0) firstClaim = ownedTokens[i]; claimCount++; claimed[ownedTokens[i]] = true; } if (claimCount == 2) { claimCount = 0; if (totalSupply() < MAX_NINJAS) { uint256 tokenIndex = totalSupply(); _safeMint(_msgSender(), tokenIndex); } } } if (claimCount == 1) claimed[firstClaim] = false; return true; } function claimableAmount() external view returns (uint256) { uint256[] memory ownedTokens = ITNH.tokensOfOwner(_msgSender()); uint256 claimCount = 0; for (uint256 i = 0; i < ownedTokens.length; i++) { if (!claimed[ownedTokens[i]]) { claimCount++; } } return claimCount; } function isClaimed(uint256 tokenId) external view returns (bool) { return claimed[tokenId]; } function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); for (uint256 i; i < tokenCount; i++) { result[i] = tokenOfOwnerByIndex(_owner, i); } return result; } } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(tokenId < totalSupply(), "Token not exist."); string memory _tokenURI = _tokenUriMapping[tokenId]; //return tokenURI if it is set if (bytes(_tokenURI).length > 0) { return _tokenURI; } //If tokenURI is not set, concatenate the tokenID to the baseURI. return string(abi.encodePacked(baseURI(), tokenId.toString(), ".json")); } function toggleClaim() public onlyOwner { claimStarted = !claimStarted; } function setBaseURI(string memory _newBaseURI) public onlyOwner { _setBaseURI(_newBaseURI); } function setTokenURI(uint256 tokenId, string memory _tokenURI) public onlyOwner { _setTokenURI(tokenId, _tokenURI); } function withdrawAll() public payable onlyOwner { //withdraw half require( payable(ADD).send(address(this).balance), "Withdraw Unsuccessful" ); } function _isContract(address _addr) internal view returns (bool) { uint32 _size; assembly { _size := extcodesize(_addr) } return (_size > 0); } }
// 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; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } 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 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) { 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; if (lastIndex != toDeleteIndex) { 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) { 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 "./ERC165.sol"; /** * @dev Storage based implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165Storage is ERC165 { /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return super.supportsInterface(interfaceId) || _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./Context.sol"; import "./IERC721.sol"; import "./IERC721Metadata.sol"; import "./IERC721Enumerable.sol"; import "./IERC721Receiver.sol"; import "./ERC165Storage.sol"; import "./SafeMath.sol"; import "./Address.sol"; import "./EnumerableSet.sol"; import "./EnumerableMap.sol"; import "./Strings.sol"; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165Storage, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) internal _tokenUriMapping; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public virtual view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenUriMapping[tokenId]; // If there is no base URI, return the token URI. if (bytes(_baseURI).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(_baseURI, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(_baseURI, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = 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 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 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 returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev 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(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); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenUriMapping[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } function _approve(address to, uint256 tokenId) private { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @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 "./IERC721Receiver.sol"; /** * @dev Implementation of the {IERC721Receiver} interface. * * Accepts all token transfers. * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}. */ contract ERC721Holder is IERC721Receiver { /** * @dev See {IERC721Receiver-onERC721Received}. * * Always returns `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address, address, uint256, bytes memory ) public virtual override returns (bytes4) { return this.onERC721Received.selector; } }
// 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.4; interface ITheNinjaHideout { function tokensOfOwner(address _owner) external view returns (uint256[] memory); }
// 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. 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 _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ITNH","outputs":[{"internalType":"contract ITheNinjaHideout","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_NINJAS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedNinjas","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":"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","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":"toggleClaim","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":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"withdrawAll","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
6080604052602c600c55600f80546001600160a01b0319167397e41d5ce9c8cb1f83947ef82a86e345aed673f31790553480156200003c57600080fd5b50604080518082018252601b81527f546865204e696e6a6120486964656f7574202846656d616c65732900000000006020808301918252835180850190945260048452632a27242360e11b9084015281519192916200009e91600791620001d5565b508051620000b4906008906020840190620001d5565b50620000c76380ac58cd60e01b620000ff565b620000d9635b5e139f60e01b620000ff565b620000eb63780e9d6360e01b620000ff565b50620000f990503362000183565b620002b8565b6001600160e01b031980821614156200015e5760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001e3906200027b565b90600052602060002090601f01602090048101928262000207576000855562000252565b82601f106200022257805160ff191683800117855562000252565b8280016001018555821562000252579182015b828111156200025257825182559160200191906001019062000235565b506200026092915062000264565b5090565b5b8082111562000260576000815560010162000265565b600181811c908216806200029057607f821691505b60208210811415620002b257634e487b7160e01b600052602260045260246000fd5b50919050565b6128db80620002c86000396000f3fe6080604052600436106102045760003560e01c80637018d29811610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146105b7578063d1129745146105d7578063dbe7e3bd146105ec578063e985e9c51461061c578063f2fde38b1461066557600080fd5b8063a22cb46514610548578063a556f84614610568578063b88d4fde1461057d578063c1664b131461059d57600080fd5b8063853828b6116100e7578063853828b6146104c75780638da5cb5b146104cf57806395d89b41146104ed5780639e34070f146105025780639ec9986b1461053257600080fd5b80637018d2981461044f57806370a0823114610465578063715018a6146104855780638462151c1461049a57600080fd5b8063284fad6c1161019b5780634f6ccce71161016a5780634f6ccce7146103b257806355f804b3146103d2578063562f9e47146103f25780636352211e1461041a5780636c0360eb1461043a57600080fd5b8063284fad6c1461033d5780632f745c591461035d57806342842e0e1461037d5780634e71d92d1461039d57600080fd5b8063162094c4116101d7578063162094c4146102ba578063163e1e61146102da57806318160ddd146102fa57806323b872dd1461031d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b5061022961022436600461241c565b610685565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106c5565b60405161023591906125ec565b34801561026c57600080fd5b5061028061027b366004612487565b610757565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b33660046122db565b6107e4565b005b3480156102c657600080fd5b506102b86102d536600461249f565b6108fa565b3480156102e657600080fd5b506102b86102f5366004612304565b610932565b34801561030657600080fd5b5061030f610a74565b604051908152602001610235565b34801561032957600080fd5b506102b86103383660046121ed565b610a85565b34801561034957600080fd5b50600f54610280906001600160a01b031681565b34801561036957600080fd5b5061030f6103783660046122db565b610ab6565b34801561038957600080fd5b506102b86103983660046121ed565b610adf565b3480156103a957600080fd5b50610229610afa565b3480156103be57600080fd5b5061030f6103cd366004612487565b610e57565b3480156103de57600080fd5b506102b86103ed366004612454565b610e6d565b3480156103fe57600080fd5b5061028073a64b407d4363e203f682f7d95eb13241b039e58081565b34801561042657600080fd5b50610280610435366004612487565b610ea3565b34801561044657600080fd5b50610253610ecb565b34801561045b57600080fd5b5061030f6101bc81565b34801561047157600080fd5b5061030f6104803660046121a1565b610eda565b34801561049157600080fd5b506102b8610f66565b3480156104a657600080fd5b506104ba6104b53660046121a1565b610f9c565b60405161023591906125a8565b6102b8611073565b3480156104db57600080fd5b50600b546001600160a01b0316610280565b3480156104f957600080fd5b50610253611110565b34801561050e57600080fd5b5061022961051d366004612487565b6000908152600e602052604090205460ff1690565b34801561053e57600080fd5b5061030f600c5481565b34801561055457600080fd5b506102b86105633660046122a1565b61111f565b34801561057457600080fd5b5061030f6111e4565b34801561058957600080fd5b506102b8610598366004612228565b6112f2565b3480156105a957600080fd5b50600d546102299060ff1681565b3480156105c357600080fd5b506102536105d2366004612487565b61132a565b3480156105e357600080fd5b506102b8611457565b3480156105f857600080fd5b50610229610607366004612487565b600e6020526000908152604090205460ff1681565b34801561062857600080fd5b506102296106373660046121bb565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561067157600080fd5b506102b86106803660046121a1565b611495565b60006301ffc9a760e01b6001600160e01b0319831614806106bf57506001600160e01b0319821660009081526020819052604090205460ff165b92915050565b6060600780546106d49061278e565b80601f01602080910402602001604051908101604052809291908181526020018280546107009061278e565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b60006107628261152d565b6107c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107ef82610ea3565b9050806001600160a01b0316836001600160a01b0316141561085d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107bf565b336001600160a01b038216148061087957506108798133610637565b6108eb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bf565b6108f5838361153a565b505050565b600b546001600160a01b031633146109245760405162461bcd60e51b81526004016107bf90612651565b61092e82826115a8565b5050565b600b546001600160a01b0316331461095c5760405162461bcd60e51b81526004016107bf90612651565b6101bc81610968610a74565b6109729190612708565b11156109ab5760405162461bcd60e51b815260206004820152600860248201526713505617d352539560c21b60448201526064016107bf565b600c548111156109fd5760405162461bcd60e51b815260206004820152601760248201527f4e6f207265736572766564206e696e6a6173206c65667400000000000000000060448201526064016107bf565b60005b818110156108f557600c8054906000610a1883612777565b9190505550610a62838383818110610a4057634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610a5591906121a1565b610a5d610a74565b611631565b80610a6c816127c3565b915050610a00565b6000610a80600261164b565b905090565b610a8f3382611656565b610aab5760405162461bcd60e51b81526004016107bf90612686565b6108f5838383611740565b6001600160a01b0382166000908152600160205260408120610ad890836118c1565b9392505050565b6108f5838383604051806020016040528060008152506112f2565b600d5460009060ff16610b445760405162461bcd60e51b8152602060048201526012602482015271436c61696d206e6f7420737461727465642160701b60448201526064016107bf565b333b63ffffffff1615610b995760405162461bcd60e51b815260206004820152601b60248201527f43616c6c65722063616e6e6f74206265206120636f6e7472616374000000000060448201526064016107bf565b600f546001906001600160a01b0316638462151c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b158015610bed57600080fd5b505afa158015610c01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c299190810190612374565b5111610c6d5760405162461bcd60e51b81526020600482015260136024820152724e6f7420656e6f75676820746f20636c61696d60681b60448201526064016107bf565b600f546000906001600160a01b0316638462151c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b158015610cc157600080fd5b505afa158015610cd5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cfd9190810190612374565b9050600080805b8351811015610e2c57600e6000858381518110610d3157634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16610de45782610d8357838181518110610d7857634e487b7160e01b600052603260045260246000fd5b602002602001015191505b82610d8d816127c3565b9350506001600e6000868481518110610db657634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8260021415610e1a57600092506101bc610dfc610a74565b1015610e1a576000610e0c610a74565b9050610e183382611631565b505b80610e24816127c3565b915050610d04565b508160011415610e4d576000818152600e60205260409020805460ff191690555b6001935050505090565b600080610e656002846118cd565b509392505050565b600b546001600160a01b03163314610e975760405162461bcd60e51b81526004016107bf90612651565b610ea0816118e9565b50565b60006106bf8260405180606001604052806029815260200161287d60299139600291906118fc565b6060600a80546106d49061278e565b60006001600160a01b038216610f455760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107bf565b6001600160a01b03821660009081526001602052604090206106bf90611909565b600b546001600160a01b03163314610f905760405162461bcd60e51b81526004016107bf90612651565b610f9a6000611913565b565b60606000610fa983610eda565b905080610fc6576040805160008082526020820190925290610e65565b60008167ffffffffffffffff811115610fef57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611018578160200160208202803683370190505b50905060005b82811015610e65576110308582610ab6565b82828151811061105057634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611065816127c3565b91505061101e565b50919050565b600b546001600160a01b0316331461109d5760405162461bcd60e51b81526004016107bf90612651565b60405173a64b407d4363e203f682f7d95eb13241b039e580904780156108fc02916000818181858888f19350505050610f9a5760405162461bcd60e51b815260206004820152601560248201527415da5d1a191c985dc8155b9cdd58d8d95cdcd99d5b605a1b60448201526064016107bf565b6060600880546106d49061278e565b6001600160a01b0382163314156111785760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bf565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600f5460009081906001600160a01b0316638462151c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b15801561123a57600080fd5b505afa15801561124e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112769190810190612374565b90506000805b82518110156112eb57600e60008483815181106112a957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff166112d957816112d5816127c3565b9250505b806112e3816127c3565b91505061127c565b5092915050565b6112fc3383611656565b6113185760405162461bcd60e51b81526004016107bf90612686565b61132484848484611965565b50505050565b6060611334610a74565b82106113755760405162461bcd60e51b815260206004820152601060248201526f2a37b5b2b7103737ba1032bc34b9ba1760811b60448201526064016107bf565b6000828152600960205260408120805461138e9061278e565b80601f01602080910402602001604051908101604052809291908181526020018280546113ba9061278e565b80156114075780601f106113dc57610100808354040283529160200191611407565b820191906000526020600020905b8154815290600101906020018083116113ea57829003601f168201915b5050505050905060008151111561141e5792915050565b611426610ecb565b61142f84611998565b60405160200161144092919061252c565b604051602081830303815290604052915050919050565b600b546001600160a01b031633146114815760405162461bcd60e51b81526004016107bf90612651565b600d805460ff19811660ff90911615179055565b600b546001600160a01b031633146114bf5760405162461bcd60e51b81526004016107bf90612651565b6001600160a01b0381166115245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bf565b610ea081611913565b60006106bf600283611ab2565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061156f82610ea3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115b18261152d565b6116125760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bf565b600082815260096020908152604090912082516108f592840190612075565b61092e828260405180602001604052806000815250611abe565b60006106bf82611af1565b60006116618261152d565b6116c25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bf565b60006116cd83610ea3565b9050806001600160a01b0316846001600160a01b031614806117085750836001600160a01b03166116fd84610757565b6001600160a01b0316145b8061173857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175382610ea3565b6001600160a01b0316146117bb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107bf565b6001600160a01b03821661181d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bf565b61182860008261153a565b6001600160a01b038316600090815260016020526040902061184a9082611afc565b506001600160a01b038216600090815260016020526040902061186d9082611b08565b5061187a60028284611b14565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610ad88383611b2a565b60008080806118dc8686611b62565b9097909650945050505050565b805161092e90600a906020840190612075565b6000611738848484611b8d565b60006106bf825490565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611970848484611740565b61197c84848484611bd9565b6113245760405162461bcd60e51b81526004016107bf906125ff565b6060816119bc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119e657806119d0816127c3565b91506119df9050600a83612720565b91506119c0565b60008167ffffffffffffffff811115611a0f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a39576020820181803683370190505b5090505b841561173857611a4e600183612734565b9150611a5b600a866127de565b611a66906030612708565b60f81b818381518110611a8957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611aab600a86612720565b9450611a3d565b6000610ad88383611caa565b611ac88383611cc9565b611ad56000848484611bd9565b6108f55760405162461bcd60e51b81526004016107bf906125ff565b60006106bf82611909565b6000610ad88383611de1565b6000610ad88383611efe565b600061173884846001600160a01b038516611f4d565b6000826000018281548110611b4f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60008080611b7085856118c1565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611bb15750611bb18585611caa565b8390611bd05760405162461bcd60e51b81526004016107bf91906125ec565b50949350505050565b60006001600160a01b0384163b611bf257506001611738565b6000611c73630a85bd0160e11b33888787604051602401611c16949392919061256b565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161284b603291396001600160a01b0388169190611f6a565b9050600081806020019051810190611c8b9190612438565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610ad8838360008181526001830160205260408120541515610ad8565b6001600160a01b038216611d1f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bf565b611d288161152d565b15611d755760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bf565b6001600160a01b0382166000908152600160205260409020611d979082611b08565b50611da460028284611b14565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015611ef4576000611e05600183612734565b8554909150600090611e1990600190612734565b9050818114611e9a576000866000018281548110611e4757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611e7857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611eb957634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106bf565b60009150506106bf565b6000818152600183016020526040812054611f45575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106bf565b5060006106bf565b600082815260028401602052604081208290556117388484611b08565b6060611738848460008585843b611fc35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107bf565b600080866001600160a01b03168587604051611fdf9190612510565b60006040518083038185875af1925050503d806000811461201c576040519150601f19603f3d011682016040523d82523d6000602084013e612021565b606091505b509150915061203182828661203c565b979650505050505050565b6060831561204b575081610ad8565b82511561205b5782518084602001fd5b8160405162461bcd60e51b81526004016107bf91906125ec565b8280546120819061278e565b90600052602060002090601f0160209004810192826120a357600085556120e9565b82601f106120bc57805160ff19168380011785556120e9565b828001600101855582156120e9579182015b828111156120e95782518255916020019190600101906120ce565b506120f59291506120f9565b5090565b5b808211156120f557600081556001016120fa565b600067ffffffffffffffff8311156121285761212861281e565b61213b601f8401601f19166020016126d7565b905082815283838301111561214f57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461217d57600080fd5b919050565b600082601f830112612192578081fd5b610ad88383356020850161210e565b6000602082840312156121b2578081fd5b610ad882612166565b600080604083850312156121cd578081fd5b6121d683612166565b91506121e460208401612166565b90509250929050565b600080600060608486031215612201578081fd5b61220a84612166565b925061221860208501612166565b9150604084013590509250925092565b6000806000806080858703121561223d578081fd5b61224685612166565b935061225460208601612166565b925060408501359150606085013567ffffffffffffffff811115612276578182fd5b8501601f81018713612286578182fd5b6122958782356020840161210e565b91505092959194509250565b600080604083850312156122b3578182fd5b6122bc83612166565b9150602083013580151581146122d0578182fd5b809150509250929050565b600080604083850312156122ed578182fd5b6122f683612166565b946020939093013593505050565b60008060208385031215612316578182fd5b823567ffffffffffffffff8082111561232d578384fd5b818501915085601f830112612340578384fd5b81358181111561234e578485fd5b8660208260051b8501011115612362578485fd5b60209290920196919550909350505050565b60006020808385031215612386578182fd5b825167ffffffffffffffff8082111561239d578384fd5b818501915085601f8301126123b0578384fd5b8151818111156123c2576123c261281e565b8060051b91506123d38483016126d7565b8181528481019084860184860187018a10156123ed578788fd5b8795505b8386101561240f5780518352600195909501949186019186016123f1565b5098975050505050505050565b60006020828403121561242d578081fd5b8135610ad881612834565b600060208284031215612449578081fd5b8151610ad881612834565b600060208284031215612465578081fd5b813567ffffffffffffffff81111561247b578182fd5b61173884828501612182565b600060208284031215612498578081fd5b5035919050565b600080604083850312156124b1578182fd5b82359150602083013567ffffffffffffffff8111156124ce578182fd5b6124da85828601612182565b9150509250929050565b600081518084526124fc81602086016020860161274b565b601f01601f19169290920160200192915050565b6000825161252281846020870161274b565b9190910192915050565b6000835161253e81846020880161274b565b83519083019061255281836020880161274b565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061259e908301846124e4565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156125e0578351835292840192918401916001016125c4565b50909695505050505050565b602081526000610ad860208301846124e4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156127005761270061281e565b604052919050565b6000821982111561271b5761271b6127f2565b500190565b60008261272f5761272f612808565b500490565b600082821015612746576127466127f2565b500390565b60005b8381101561276657818101518382015260200161274e565b838111156113245750506000910152565b600081612786576127866127f2565b506000190190565b600181811c908216806127a257607f821691505b6020821081141561106d57634e487b7160e01b600052602260045260246000fd5b60006000198214156127d7576127d76127f2565b5060010190565b6000826127ed576127ed612808565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ea057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122000b715f5b94621eea961ffbd556e9ebb8d2c29cf0c4bab570efca7c9ec8d19b264736f6c63430008040033
Deployed Bytecode
0x6080604052600436106102045760003560e01c80637018d29811610118578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146105b7578063d1129745146105d7578063dbe7e3bd146105ec578063e985e9c51461061c578063f2fde38b1461066557600080fd5b8063a22cb46514610548578063a556f84614610568578063b88d4fde1461057d578063c1664b131461059d57600080fd5b8063853828b6116100e7578063853828b6146104c75780638da5cb5b146104cf57806395d89b41146104ed5780639e34070f146105025780639ec9986b1461053257600080fd5b80637018d2981461044f57806370a0823114610465578063715018a6146104855780638462151c1461049a57600080fd5b8063284fad6c1161019b5780634f6ccce71161016a5780634f6ccce7146103b257806355f804b3146103d2578063562f9e47146103f25780636352211e1461041a5780636c0360eb1461043a57600080fd5b8063284fad6c1461033d5780632f745c591461035d57806342842e0e1461037d5780634e71d92d1461039d57600080fd5b8063162094c4116101d7578063162094c4146102ba578063163e1e61146102da57806318160ddd146102fa57806323b872dd1461031d57600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b5061022961022436600461241c565b610685565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106c5565b60405161023591906125ec565b34801561026c57600080fd5b5061028061027b366004612487565b610757565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b33660046122db565b6107e4565b005b3480156102c657600080fd5b506102b86102d536600461249f565b6108fa565b3480156102e657600080fd5b506102b86102f5366004612304565b610932565b34801561030657600080fd5b5061030f610a74565b604051908152602001610235565b34801561032957600080fd5b506102b86103383660046121ed565b610a85565b34801561034957600080fd5b50600f54610280906001600160a01b031681565b34801561036957600080fd5b5061030f6103783660046122db565b610ab6565b34801561038957600080fd5b506102b86103983660046121ed565b610adf565b3480156103a957600080fd5b50610229610afa565b3480156103be57600080fd5b5061030f6103cd366004612487565b610e57565b3480156103de57600080fd5b506102b86103ed366004612454565b610e6d565b3480156103fe57600080fd5b5061028073a64b407d4363e203f682f7d95eb13241b039e58081565b34801561042657600080fd5b50610280610435366004612487565b610ea3565b34801561044657600080fd5b50610253610ecb565b34801561045b57600080fd5b5061030f6101bc81565b34801561047157600080fd5b5061030f6104803660046121a1565b610eda565b34801561049157600080fd5b506102b8610f66565b3480156104a657600080fd5b506104ba6104b53660046121a1565b610f9c565b60405161023591906125a8565b6102b8611073565b3480156104db57600080fd5b50600b546001600160a01b0316610280565b3480156104f957600080fd5b50610253611110565b34801561050e57600080fd5b5061022961051d366004612487565b6000908152600e602052604090205460ff1690565b34801561053e57600080fd5b5061030f600c5481565b34801561055457600080fd5b506102b86105633660046122a1565b61111f565b34801561057457600080fd5b5061030f6111e4565b34801561058957600080fd5b506102b8610598366004612228565b6112f2565b3480156105a957600080fd5b50600d546102299060ff1681565b3480156105c357600080fd5b506102536105d2366004612487565b61132a565b3480156105e357600080fd5b506102b8611457565b3480156105f857600080fd5b50610229610607366004612487565b600e6020526000908152604090205460ff1681565b34801561062857600080fd5b506102296106373660046121bb565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b34801561067157600080fd5b506102b86106803660046121a1565b611495565b60006301ffc9a760e01b6001600160e01b0319831614806106bf57506001600160e01b0319821660009081526020819052604090205460ff165b92915050565b6060600780546106d49061278e565b80601f01602080910402602001604051908101604052809291908181526020018280546107009061278e565b801561074d5780601f106107225761010080835404028352916020019161074d565b820191906000526020600020905b81548152906001019060200180831161073057829003601f168201915b5050505050905090565b60006107628261152d565b6107c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006107ef82610ea3565b9050806001600160a01b0316836001600160a01b0316141561085d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107bf565b336001600160a01b038216148061087957506108798133610637565b6108eb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107bf565b6108f5838361153a565b505050565b600b546001600160a01b031633146109245760405162461bcd60e51b81526004016107bf90612651565b61092e82826115a8565b5050565b600b546001600160a01b0316331461095c5760405162461bcd60e51b81526004016107bf90612651565b6101bc81610968610a74565b6109729190612708565b11156109ab5760405162461bcd60e51b815260206004820152600860248201526713505617d352539560c21b60448201526064016107bf565b600c548111156109fd5760405162461bcd60e51b815260206004820152601760248201527f4e6f207265736572766564206e696e6a6173206c65667400000000000000000060448201526064016107bf565b60005b818110156108f557600c8054906000610a1883612777565b9190505550610a62838383818110610a4057634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610a5591906121a1565b610a5d610a74565b611631565b80610a6c816127c3565b915050610a00565b6000610a80600261164b565b905090565b610a8f3382611656565b610aab5760405162461bcd60e51b81526004016107bf90612686565b6108f5838383611740565b6001600160a01b0382166000908152600160205260408120610ad890836118c1565b9392505050565b6108f5838383604051806020016040528060008152506112f2565b600d5460009060ff16610b445760405162461bcd60e51b8152602060048201526012602482015271436c61696d206e6f7420737461727465642160701b60448201526064016107bf565b333b63ffffffff1615610b995760405162461bcd60e51b815260206004820152601b60248201527f43616c6c65722063616e6e6f74206265206120636f6e7472616374000000000060448201526064016107bf565b600f546001906001600160a01b0316638462151c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b158015610bed57600080fd5b505afa158015610c01573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c299190810190612374565b5111610c6d5760405162461bcd60e51b81526020600482015260136024820152724e6f7420656e6f75676820746f20636c61696d60681b60448201526064016107bf565b600f546000906001600160a01b0316638462151c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b158015610cc157600080fd5b505afa158015610cd5573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610cfd9190810190612374565b9050600080805b8351811015610e2c57600e6000858381518110610d3157634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff16610de45782610d8357838181518110610d7857634e487b7160e01b600052603260045260246000fd5b602002602001015191505b82610d8d816127c3565b9350506001600e6000868481518110610db657634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055505b8260021415610e1a57600092506101bc610dfc610a74565b1015610e1a576000610e0c610a74565b9050610e183382611631565b505b80610e24816127c3565b915050610d04565b508160011415610e4d576000818152600e60205260409020805460ff191690555b6001935050505090565b600080610e656002846118cd565b509392505050565b600b546001600160a01b03163314610e975760405162461bcd60e51b81526004016107bf90612651565b610ea0816118e9565b50565b60006106bf8260405180606001604052806029815260200161287d60299139600291906118fc565b6060600a80546106d49061278e565b60006001600160a01b038216610f455760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107bf565b6001600160a01b03821660009081526001602052604090206106bf90611909565b600b546001600160a01b03163314610f905760405162461bcd60e51b81526004016107bf90612651565b610f9a6000611913565b565b60606000610fa983610eda565b905080610fc6576040805160008082526020820190925290610e65565b60008167ffffffffffffffff811115610fef57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611018578160200160208202803683370190505b50905060005b82811015610e65576110308582610ab6565b82828151811061105057634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611065816127c3565b91505061101e565b50919050565b600b546001600160a01b0316331461109d5760405162461bcd60e51b81526004016107bf90612651565b60405173a64b407d4363e203f682f7d95eb13241b039e580904780156108fc02916000818181858888f19350505050610f9a5760405162461bcd60e51b815260206004820152601560248201527415da5d1a191c985dc8155b9cdd58d8d95cdcd99d5b605a1b60448201526064016107bf565b6060600880546106d49061278e565b6001600160a01b0382163314156111785760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107bf565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600f5460009081906001600160a01b0316638462151c336040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260240160006040518083038186803b15801561123a57600080fd5b505afa15801561124e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526112769190810190612374565b90506000805b82518110156112eb57600e60008483815181106112a957634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff166112d957816112d5816127c3565b9250505b806112e3816127c3565b91505061127c565b5092915050565b6112fc3383611656565b6113185760405162461bcd60e51b81526004016107bf90612686565b61132484848484611965565b50505050565b6060611334610a74565b82106113755760405162461bcd60e51b815260206004820152601060248201526f2a37b5b2b7103737ba1032bc34b9ba1760811b60448201526064016107bf565b6000828152600960205260408120805461138e9061278e565b80601f01602080910402602001604051908101604052809291908181526020018280546113ba9061278e565b80156114075780601f106113dc57610100808354040283529160200191611407565b820191906000526020600020905b8154815290600101906020018083116113ea57829003601f168201915b5050505050905060008151111561141e5792915050565b611426610ecb565b61142f84611998565b60405160200161144092919061252c565b604051602081830303815290604052915050919050565b600b546001600160a01b031633146114815760405162461bcd60e51b81526004016107bf90612651565b600d805460ff19811660ff90911615179055565b600b546001600160a01b031633146114bf5760405162461bcd60e51b81526004016107bf90612651565b6001600160a01b0381166115245760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107bf565b610ea081611913565b60006106bf600283611ab2565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061156f82610ea3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6115b18261152d565b6116125760405162461bcd60e51b815260206004820152602c60248201527f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bf565b600082815260096020908152604090912082516108f592840190612075565b61092e828260405180602001604052806000815250611abe565b60006106bf82611af1565b60006116618261152d565b6116c25760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107bf565b60006116cd83610ea3565b9050806001600160a01b0316846001600160a01b031614806117085750836001600160a01b03166116fd84610757565b6001600160a01b0316145b8061173857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661175382610ea3565b6001600160a01b0316146117bb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107bf565b6001600160a01b03821661181d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107bf565b61182860008261153a565b6001600160a01b038316600090815260016020526040902061184a9082611afc565b506001600160a01b038216600090815260016020526040902061186d9082611b08565b5061187a60028284611b14565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610ad88383611b2a565b60008080806118dc8686611b62565b9097909650945050505050565b805161092e90600a906020840190612075565b6000611738848484611b8d565b60006106bf825490565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611970848484611740565b61197c84848484611bd9565b6113245760405162461bcd60e51b81526004016107bf906125ff565b6060816119bc5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119e657806119d0816127c3565b91506119df9050600a83612720565b91506119c0565b60008167ffffffffffffffff811115611a0f57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611a39576020820181803683370190505b5090505b841561173857611a4e600183612734565b9150611a5b600a866127de565b611a66906030612708565b60f81b818381518110611a8957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611aab600a86612720565b9450611a3d565b6000610ad88383611caa565b611ac88383611cc9565b611ad56000848484611bd9565b6108f55760405162461bcd60e51b81526004016107bf906125ff565b60006106bf82611909565b6000610ad88383611de1565b6000610ad88383611efe565b600061173884846001600160a01b038516611f4d565b6000826000018281548110611b4f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b60008080611b7085856118c1565b600081815260029690960160205260409095205494959350505050565b600082815260028401602052604081205480151580611bb15750611bb18585611caa565b8390611bd05760405162461bcd60e51b81526004016107bf91906125ec565b50949350505050565b60006001600160a01b0384163b611bf257506001611738565b6000611c73630a85bd0160e11b33888787604051602401611c16949392919061256b565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b03838183161783525050505060405180606001604052806032815260200161284b603291396001600160a01b0388169190611f6a565b9050600081806020019051810190611c8b9190612438565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000610ad8838360008181526001830160205260408120541515610ad8565b6001600160a01b038216611d1f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107bf565b611d288161152d565b15611d755760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107bf565b6001600160a01b0382166000908152600160205260409020611d979082611b08565b50611da460028284611b14565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008181526001830160205260408120548015611ef4576000611e05600183612734565b8554909150600090611e1990600190612734565b9050818114611e9a576000866000018281548110611e4757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905080876000018481548110611e7857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611eb957634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905585600101600086815260200190815260200160002060009055600193505050506106bf565b60009150506106bf565b6000818152600183016020526040812054611f45575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556106bf565b5060006106bf565b600082815260028401602052604081208290556117388484611b08565b6060611738848460008585843b611fc35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107bf565b600080866001600160a01b03168587604051611fdf9190612510565b60006040518083038185875af1925050503d806000811461201c576040519150601f19603f3d011682016040523d82523d6000602084013e612021565b606091505b509150915061203182828661203c565b979650505050505050565b6060831561204b575081610ad8565b82511561205b5782518084602001fd5b8160405162461bcd60e51b81526004016107bf91906125ec565b8280546120819061278e565b90600052602060002090601f0160209004810192826120a357600085556120e9565b82601f106120bc57805160ff19168380011785556120e9565b828001600101855582156120e9579182015b828111156120e95782518255916020019190600101906120ce565b506120f59291506120f9565b5090565b5b808211156120f557600081556001016120fa565b600067ffffffffffffffff8311156121285761212861281e565b61213b601f8401601f19166020016126d7565b905082815283838301111561214f57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461217d57600080fd5b919050565b600082601f830112612192578081fd5b610ad88383356020850161210e565b6000602082840312156121b2578081fd5b610ad882612166565b600080604083850312156121cd578081fd5b6121d683612166565b91506121e460208401612166565b90509250929050565b600080600060608486031215612201578081fd5b61220a84612166565b925061221860208501612166565b9150604084013590509250925092565b6000806000806080858703121561223d578081fd5b61224685612166565b935061225460208601612166565b925060408501359150606085013567ffffffffffffffff811115612276578182fd5b8501601f81018713612286578182fd5b6122958782356020840161210e565b91505092959194509250565b600080604083850312156122b3578182fd5b6122bc83612166565b9150602083013580151581146122d0578182fd5b809150509250929050565b600080604083850312156122ed578182fd5b6122f683612166565b946020939093013593505050565b60008060208385031215612316578182fd5b823567ffffffffffffffff8082111561232d578384fd5b818501915085601f830112612340578384fd5b81358181111561234e578485fd5b8660208260051b8501011115612362578485fd5b60209290920196919550909350505050565b60006020808385031215612386578182fd5b825167ffffffffffffffff8082111561239d578384fd5b818501915085601f8301126123b0578384fd5b8151818111156123c2576123c261281e565b8060051b91506123d38483016126d7565b8181528481019084860184860187018a10156123ed578788fd5b8795505b8386101561240f5780518352600195909501949186019186016123f1565b5098975050505050505050565b60006020828403121561242d578081fd5b8135610ad881612834565b600060208284031215612449578081fd5b8151610ad881612834565b600060208284031215612465578081fd5b813567ffffffffffffffff81111561247b578182fd5b61173884828501612182565b600060208284031215612498578081fd5b5035919050565b600080604083850312156124b1578182fd5b82359150602083013567ffffffffffffffff8111156124ce578182fd5b6124da85828601612182565b9150509250929050565b600081518084526124fc81602086016020860161274b565b601f01601f19169290920160200192915050565b6000825161252281846020870161274b565b9190910192915050565b6000835161253e81846020880161274b565b83519083019061255281836020880161274b565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061259e908301846124e4565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156125e0578351835292840192918401916001016125c4565b50909695505050505050565b602081526000610ad860208301846124e4565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156127005761270061281e565b604052919050565b6000821982111561271b5761271b6127f2565b500190565b60008261272f5761272f612808565b500490565b600082821015612746576127466127f2565b500390565b60005b8381101561276657818101518382015260200161274e565b838111156113245750506000910152565b600081612786576127866127f2565b506000190190565b600181811c908216806127a257607f821691505b6020821081141561106d57634e487b7160e01b600052602260045260246000fd5b60006000198214156127d7576127d76127f2565b5060010190565b6000826127ed576127ed612808565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ea057600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122000b715f5b94621eea961ffbd556e9ebb8d2c29cf0c4bab570efca7c9ec8d19b264736f6c63430008040033
Deployed Bytecode Sourcemap
138:4240:17:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;523:188:3;;;;;;;;;;-1:-1:-1;523:188:3;;;;;:::i;:::-;;:::i;:::-;;;8835:14:18;;8828:22;8810:41;;8798:2;8783:18;523:188:3;;;;;;;;4431:90:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7052:209::-;;;;;;;;;;-1:-1:-1;7052:209:4;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7493:32:18;;;7475:51;;7463:2;7448:18;7052:209:4;7430:102:18;6610:381:4;;;;;;;;;;-1:-1:-1;6610:381:4;;;;;:::i;:::-;;:::i;:::-;;3827:149:17;;;;;;;;;;-1:-1:-1;3827:149:17;;;;;:::i;:::-;;:::i;671:377::-;;;;;;;;;;-1:-1:-1;671:377:17;;;;;:::i;:::-;;:::i;6120:200:4:-;;;;;;;;;;;;;:::i;:::-;;;18633:25:18;;;18621:2;18606:18;6120:200:4;18588:76:18;7900:300:4;;;;;;;;;;-1:-1:-1;7900:300:4;;;;;:::i;:::-;;:::i;497:99:17:-;;;;;;;;;;-1:-1:-1;497:99:17;;;;-1:-1:-1;;;;;497:99:17;;;5897:152:4;;;;;;;;;;-1:-1:-1;5897:152:4;;;;;:::i;:::-;;:::i;8266:149::-;;;;;;;;;;-1:-1:-1;8266:149:4;;;;;:::i;:::-;;:::i;1054:1043:17:-;;;;;;;;;;;;;:::i;6392:161:4:-;;;;;;;;;;-1:-1:-1;6392:161:4;;;;;:::i;:::-;;:::i;3716:105:17:-;;;;;;;;;;-1:-1:-1;3716:105:17;;;;;:::i;:::-;;:::i;341:72::-;;;;;;;;;;;;371:42;341:72;;4202:167:4;;;;;;;;;;-1:-1:-1;4202:167:4;;;;;:::i;:::-;;:::i;5731:87::-;;;;;;;;;;;;;:::i;226:40:17:-;;;;;;;;;;;;263:3;226:40;;3934:211:4;;;;;;;;;;-1:-1:-1;3934:211:4;;;;;:::i;:::-;;:::i;1598:92:14:-;;;;;;;;;;;;;:::i;2575:512:17:-;;;;;;;;;;-1:-1:-1;2575:512:17;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3982:197::-;;;:::i;966:85:14:-;;;;;;;;;;-1:-1:-1;1038:6:14;;-1:-1:-1;;;;;1038:6:14;966:85;;4585:94:4;;;;;;;;;;;;;:::i;2464:105:17:-;;;;;;;;;;-1:-1:-1;2464:105:17;;;;;:::i;:::-;2523:4;2546:16;;;:7;:16;;;;;;;;;2464:105;272:34;;;;;;;;;;;;;;;;7328:290:4;;;;;;;;;;-1:-1:-1;7328:290:4;;;;;:::i;:::-;;:::i;2103:355:17:-;;;;;;;;;;;;;:::i;8481:282:4:-;;;;;;;;;;-1:-1:-1;8481:282:4;;;;;:::i;:::-;;:::i;420:24:17:-;;;;;;;;;;-1:-1:-1;420:24:17;;;;;;;;3093:526;;;;;;;;;;-1:-1:-1;3093:526:17;;;;;:::i;:::-;;:::i;3625:85::-;;;;;;;;;;;;;:::i;451:39::-;;;;;;;;;;-1:-1:-1;451:39:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;7684:154:4;;;;;;;;;;-1:-1:-1;7684:154:4;;;;;:::i;:::-;-1:-1:-1;;;;;7796:25:4;;;7773:4;7796:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;7684:154;1839:189:14;;;;;;;;;;-1:-1:-1;1839:189:14;;;;;:::i;:::-;;:::i;523:188:3:-;608:4;-1:-1:-1;;;;;;;;;871:40:2;;;631:73:3;;;-1:-1:-1;;;;;;;671:33:3;;:20;:33;;;;;;;;;;;;;631:73;624:80;523:188;-1:-1:-1;;523:188:3:o;4431:90:4:-;4477:13;4509:5;4502:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4431:90;:::o;7052:209::-;7120:7;7147:16;7155:7;7147;:16::i;:::-;7139:73;;;;-1:-1:-1;;;7139:73:4;;14511:2:18;7139:73:4;;;14493:21:18;14550:2;14530:18;;;14523:30;14589:34;14569:18;;;14562:62;-1:-1:-1;;;14640:18:18;;;14633:42;14692:19;;7139:73:4;;;;;;;;;-1:-1:-1;7230:24:4;;;;:15;:24;;;;;;-1:-1:-1;;;;;7230:24:4;;7052:209::o;6610:381::-;6690:13;6706:16;6714:7;6706;:16::i;:::-;6690:32;;6746:5;-1:-1:-1;;;;;6740:11:4;:2;-1:-1:-1;;;;;6740:11:4;;;6732:57;;;;-1:-1:-1;;;6732:57:4;;16811:2:18;6732:57:4;;;16793:21:18;16850:2;16830:18;;;16823:30;16889:34;16869:18;;;16862:62;-1:-1:-1;;;16940:18:18;;;16933:31;16981:19;;6732:57:4;16783:223:18;6732:57:4;665:10:1;-1:-1:-1;;;;;6808:21:4;;;;:62;;-1:-1:-1;6833:37:4;6850:5;665:10:1;7684:154:4;:::i;6833:37::-;6800:152;;;;-1:-1:-1;;;6800:152:4;;12978:2:18;6800:152:4;;;12960:21:18;13017:2;12997:18;;;12990:30;13056:34;13036:18;;;13029:62;13127:26;13107:18;;;13100:54;13171:19;;6800:152:4;12950:246:18;6800:152:4;6963:21;6972:2;6976:7;6963:8;:21::i;:::-;6610:381;;;:::o;3827:149:17:-;1038:6:14;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;3937:32:17::1;3950:7;3959:9;3937:12;:32::i;:::-;3827:149:::0;;:::o;671:377::-;1038:6:14;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;263:3:17::1;768:9:::0;752:13:::1;:11;:13::i;:::-;:32;;;;:::i;:::-;:46;;744:67;;;::::0;-1:-1:-1;;;744:67:17;;13814:2:18;744:67:17::1;::::0;::::1;13796:21:18::0;13853:1;13833:18;;;13826:29;-1:-1:-1;;;13871:18:18;;;13864:38;13919:18;;744:67:17::1;13786:157:18::0;744:67:17::1;849:14;::::0;829:34;::::1;;821:70;;;::::0;-1:-1:-1;;;821:70:17;;17989:2:18;821:70:17::1;::::0;::::1;17971:21:18::0;18028:2;18008:18;;;18001:30;18067:25;18047:18;;;18040:53;18110:18;;821:70:17::1;17961:173:18::0;821:70:17::1;907:9;902:140;922:20:::0;;::::1;902:140;;;963:14;:16:::0;;;:14:::1;:16;::::0;::::1;:::i;:::-;;;;;;993:38;1003:9;;1013:1;1003:12;;;;;-1:-1:-1::0;;;1003:12:17::1;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1017:13;:11;:13::i;:::-;993:9;:38::i;:::-;944:3:::0;::::1;::::0;::::1;:::i;:::-;;;;902:140;;6120:200:4::0;6173:7;6292:21;:12;:19;:21::i;:::-;6285:28;;6120:200;:::o;7900:300::-;8059:41;665:10:1;8092:7:4;8059:18;:41::i;:::-;8051:103;;;;-1:-1:-1;;;8051:103:4;;;;;;;:::i;:::-;8165:28;8175:4;8181:2;8185:7;8165:9;:28::i;5897:152::-;-1:-1:-1;;;;;6012:20:4;;5986:7;6012:20;;;:13;:20;;;;;:30;;6036:5;6012:23;:30::i;:::-;6005:37;5897:152;-1:-1:-1;;;5897:152:4:o;8266:149::-;8369:39;8386:4;8392:2;8396:7;8369:39;;;;;;;;;;;;:16;:39::i;1054:1043:17:-;1113:12;;1089:4;;1113:12;;1105:43;;;;-1:-1:-1;;;1105:43:17;;16108:2:18;1105:43:17;;;16090:21:18;16147:2;16127:18;;;16120:30;-1:-1:-1;;;16166:18:18;;;16159:48;16224:18;;1105:43:17;16080:168:18;1105:43:17;1179:10;4314:18;4359:9;;;1158:64;;;;-1:-1:-1;;;1158:64:17;;16455:2:18;1158:64:17;;;16437:21:18;16494:2;16474:18;;;16467:30;16533:29;16513:18;;;16506:57;16580:18;;1158:64:17;16427:177:18;1158:64:17;1253:4;;1295:1;;-1:-1:-1;;;;;1253:4:17;:18;665:10:1;1253:32:17;;-1:-1:-1;;;;;;1253:32:17;;;;;;;-1:-1:-1;;;;;7493:32:18;;;1253::17;;;7475:51:18;7448:18;;1253:32:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1253:32:17;;;;;;;;;;;;:::i;:::-;:39;:43;1232:109;;;;-1:-1:-1;;;1232:109:17;;18341:2:18;1232:109:17;;;18323:21:18;18380:2;18360:18;;;18353:30;-1:-1:-1;;;18399:18:18;;;18392:49;18458:18;;1232:109:17;18313:169:18;1232:109:17;1383:4;;1352:28;;-1:-1:-1;;;;;1383:4:17;:18;665:10:1;1383:32:17;;-1:-1:-1;;;;;;1383:32:17;;;;;;;-1:-1:-1;;;;;7493:32:18;;;1383::17;;;7475:51:18;7448:18;;1383:32:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1383:32:17;;;;;;;;;;;;:::i;:::-;1352:63;-1:-1:-1;1425:18:17;;;1485:525;1509:11;:18;1505:1;:22;1485:525;;;1553:7;:23;1561:11;1573:1;1561:14;;;;;;-1:-1:-1;;;1561:14:17;;;;;;;;;;;;;;;;;;;;1553:23;;;;;;;;;;-1:-1:-1;1553:23:17;;;;1548:189;;1600:15;1596:48;;1630:11;1642:1;1630:14;;;;;;-1:-1:-1;;;1630:14:17;;;;;;;;;;;;;;;1617:27;;1596:48;1662:12;;;;:::i;:::-;;;;1718:4;1692:7;:23;1700:11;1712:1;1700:14;;;;;;-1:-1:-1;;;1700:14:17;;;;;;;;;;;;;;;1692:23;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;1548:189;1755:10;1769:1;1755:15;1751:249;;;1803:1;1790:14;;263:3;1826:13;:11;:13::i;:::-;:26;1822:164;;;1876:18;1897:13;:11;:13::i;:::-;1876:34;-1:-1:-1;1932:35:17;665:10:1;1956::17;1932:9;:35::i;:::-;1822:164;;1529:3;;;;:::i;:::-;;;;1485:525;;;;2024:10;2038:1;2024:15;2020:48;;;2063:5;2041:19;;;:7;:19;;;;;:27;;-1:-1:-1;;2041:27:17;;;2020:48;2086:4;2079:11;;;;;1054:1043;:::o;6392:161:4:-;6459:7;;6500:22;:12;6516:5;6500:15;:22::i;:::-;-1:-1:-1;6478:44:4;6392:161;-1:-1:-1;;;6392:161:4:o;3716:105:17:-;1038:6:14;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;3790:24:17::1;3802:11;3790;:24::i;:::-;3716:105:::0;:::o;4202:167:4:-;4266:7;4292:70;4309:7;4292:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;5731:87::-;5771:13;5803:8;5796:15;;;;;:::i;3934:211::-;3998:7;-1:-1:-1;;;;;4025:19:4;;4017:74;;;;-1:-1:-1;;;4017:74:4;;13403:2:18;4017:74:4;;;13385:21:18;13442:2;13422:18;;;13415:30;13481:34;13461:18;;;13454:62;-1:-1:-1;;;13532:18:18;;;13525:40;13582:19;;4017:74:4;13375:232:18;4017:74:4;-1:-1:-1;;;;;4109:20:4;;;;;;:13;:20;;;;;:29;;:27;:29::i;1598:92:14:-;1038:6;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;1662:21:::1;1680:1;1662:9;:21::i;:::-;1598:92::o:0;2575:512:17:-;2661:16;2693:18;2714:17;2724:6;2714:9;:17::i;:::-;2693:38;-1:-1:-1;2745:15:17;2741:340;;2820:16;;;2834:1;2820:16;;;;;;;;;;;;2741:340;2867:23;2907:10;2893:25;;;;;;-1:-1:-1;;;2893:25:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2893:25:17;;2867:51;;2937:9;2932:112;2952:10;2948:1;:14;2932:112;;;2999:30;3019:6;3027:1;2999:19;:30::i;:::-;2987:6;2994:1;2987:9;;;;;;-1:-1:-1;;;2987:9:17;;;;;;;;;;;;;;;;;;:42;2964:3;;;;:::i;:::-;;;;2932:112;;2741:340;2575:512;;;;:::o;3982:197::-;1038:6:14;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;4085:40:17::1;::::0;371:42:::1;::::0;4103:21:::1;4085:40:::0;::::1;;;::::0;::::1;::::0;;;4103:21;371:42;4085:40;::::1;;;;;;4064:108;;;::::0;-1:-1:-1;;;4064:108:17;;11808:2:18;4064:108:17::1;::::0;::::1;11790:21:18::0;11847:2;11827:18;;;11820:30;-1:-1:-1;;;11866:18:18;;;11859:51;11927:18;;4064:108:17::1;11780:171:18::0;4585:94:4;4633:13;4665:7;4658:14;;;;;:::i;7328:290::-;-1:-1:-1;;;;;7430:24:4;;665:10:1;7430:24:4;;7422:62;;;;-1:-1:-1;;;7422:62:4;;11454:2:18;7422:62:4;;;11436:21:18;11493:2;11473:18;;;11466:30;11532:27;11512:18;;;11505:55;11577:18;;7422:62:4;11426:175:18;7422:62:4;665:10:1;7495:32:4;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;7495:42:4;;;;;;;;;;;;:53;;-1:-1:-1;;7495:53:4;;;;;;;;;;7563:48;;8810:41:18;;;7495:42:4;;665:10:1;7563:48:4;;8783:18:18;7563:48:4;;;;;;;7328:290;;:::o;2103:355:17:-;2203:4;;2153:7;;;;-1:-1:-1;;;;;2203:4:17;:18;665:10:1;2203:32:17;;-1:-1:-1;;;;;;2203:32:17;;;;;;;-1:-1:-1;;;;;7493:32:18;;;2203::17;;;7475:51:18;7448:18;;2203:32:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2203:32:17;;;;;;;;;;;;:::i;:::-;2172:63;;2245:18;2282:9;2277:148;2301:11;:18;2297:1;:22;2277:148;;;2345:7;:23;2353:11;2365:1;2353:14;;;;;;-1:-1:-1;;;2353:14:17;;;;;;;;;;;;;;;;;;;;2345:23;;;;;;;;;;-1:-1:-1;2345:23:17;;;;2340:75;;2388:12;;;;:::i;:::-;;;;2340:75;2321:3;;;;:::i;:::-;;;;2277:148;;;-1:-1:-1;2441:10:17;2103:355;-1:-1:-1;;2103:355:17:o;8481:282:4:-;8612:41;665:10:1;8645:7:4;8612:18;:41::i;:::-;8604:103;;;;-1:-1:-1;;;8604:103:4;;;;;;;:::i;:::-;8717:39;8731:4;8737:2;8741:7;8750:5;8717:13;:39::i;:::-;8481:282;;;;:::o;3093:526:17:-;3190:13;3237;:11;:13::i;:::-;3227:7;:23;3219:52;;;;-1:-1:-1;;;3219:52:17;;10704:2:18;3219:52:17;;;10686:21:18;10743:2;10723:18;;;10716:30;-1:-1:-1;;;10762:18:18;;;10755:46;10818:18;;3219:52:17;10676:166:18;3219:52:17;3282:23;3308:25;;;:16;:25;;;;;3282:51;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3413:1;3393:9;3387:23;:27;3383:74;;;3437:9;3093:526;-1:-1:-1;;3093:526:17:o;3383:74::-;3572:9;:7;:9::i;:::-;3583:18;:7;:16;:18::i;:::-;3555:56;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3541:71;;;3093:526;;;:::o;3625:85::-;1038:6:14;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;3691:12:17::1;::::0;;-1:-1:-1;;3675:28:17;::::1;3691:12;::::0;;::::1;3690:13;3675:28;::::0;;3625:85::o;1839:189:14:-;1038:6;;-1:-1:-1;;;;;1038:6:14;665:10:1;1178:23:14;1170:68;;;;-1:-1:-1;;;1170:68:14;;;;;;;:::i;:::-;-1:-1:-1;;;;;1927:22:14;::::1;1919:73;;;::::0;-1:-1:-1;;;1919:73:14;;9940:2:18;1919:73:14::1;::::0;::::1;9922:21:18::0;9979:2;9959:18;;;9952:30;10018:34;9998:18;;;9991:62;-1:-1:-1;;;10069:18:18;;;10062:36;10115:19;;1919:73:14::1;9912:228:18::0;1919:73:14::1;2002:19;2012:8;2002:9;:19::i;10197:117:4:-:0;10254:4;10277:30;:12;10299:7;10277:21;:30::i;15140:155::-;15205:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;15205:29:4;-1:-1:-1;;;;;15205:29:4;;;;;;;;:24;;15258:16;15205:24;15258:7;:16::i;:::-;-1:-1:-1;;;;;15249:39:4;;;;;;;;;;;15140:155;;:::o;13453:218::-;13552:16;13560:7;13552;:16::i;:::-;13544:73;;;;-1:-1:-1;;;13544:73:4;;14924:2:18;13544:73:4;;;14906:21:18;14963:2;14943:18;;;14936:30;15002:34;14982:18;;;14975:62;-1:-1:-1;;;15053:18:18;;;15046:42;15105:19;;13544:73:4;14896:234:18;13544:73:4;13627:25;;;;:16;:25;;;;;;;;:37;;;;;;;;:::i;11132:108::-;11207:26;11217:2;11221:7;11207:26;;;;;;;;;;;;:9;:26::i;5618:121:6:-;5687:7;5713:19;5721:3;5713:7;:19::i;10472:329:4:-;10557:4;10581:16;10589:7;10581;:16::i;:::-;10573:73;;;;-1:-1:-1;;;10573:73:4;;12565:2:18;10573:73:4;;;12547:21:18;12604:2;12584:18;;;12577:30;12643:34;12623:18;;;12616:62;-1:-1:-1;;;12694:18:18;;;12687:42;12746:19;;10573:73:4;12537:234:18;10573:73:4;10656:13;10672:16;10680:7;10672;:16::i;:::-;10656:32;;10717:5;-1:-1:-1;;;;;10706:16:4;:7;-1:-1:-1;;;;;10706:16:4;;:51;;;;10750:7;-1:-1:-1;;;;;10726:31:4;:20;10738:7;10726:11;:20::i;:::-;-1:-1:-1;;;;;10726:31:4;;10706:51;:87;;;-1:-1:-1;;;;;;7796:25:4;;;7773:4;7796:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;10761:32;10698:96;10472:329;-1:-1:-1;;;;10472:329:4:o;12747:559::-;12864:4;-1:-1:-1;;;;;12844:24:4;:16;12852:7;12844;:16::i;:::-;-1:-1:-1;;;;;12844:24:4;;12836:78;;;;-1:-1:-1;;;12836:78:4;;15698:2:18;12836:78:4;;;15680:21:18;15737:2;15717:18;;;15710:30;15776:34;15756:18;;;15749:62;-1:-1:-1;;;15827:18:18;;;15820:39;15876:19;;12836:78:4;15670:231:18;12836:78:4;-1:-1:-1;;;;;12932:16:4;;12924:65;;;;-1:-1:-1;;;12924:65:4;;11049:2:18;12924:65:4;;;11031:21:18;11088:2;11068:18;;;11061:30;11127:34;11107:18;;;11100:62;-1:-1:-1;;;11178:18:18;;;11171:34;11222:19;;12924:65:4;11021:226:18;12924:65:4;13101:29;13118:1;13122:7;13101:8;:29::i;:::-;-1:-1:-1;;;;;13141:19:4;;;;;;:13;:19;;;;;:35;;13168:7;13141:26;:35::i;:::-;-1:-1:-1;;;;;;13186:17:4;;;;;;:13;:17;;;;;:30;;13208:7;13186:21;:30::i;:::-;-1:-1:-1;13227:29:4;:12;13244:7;13253:2;13227:16;:29::i;:::-;;13291:7;13287:2;-1:-1:-1;;;;;13272:27:4;13281:4;-1:-1:-1;;;;;13272:27:4;;;;;;;;;;;12747:559;;;:::o;9072:135:7:-;9143:7;9177:22;9181:3;9193:5;9177:3;:22::i;6076:233:6:-;6156:7;;;;6215:22;6219:3;6231:5;6215:3;:22::i;:::-;6184:53;;;;-1:-1:-1;6076:233:6;-1:-1:-1;;;;;6076:233:6:o;13894:98:4:-;13966:19;;;;:8;;:19;;;;;:::i;7329:241:6:-;7466:7;7516:44;7521:3;7541;7547:12;7516:4;:44::i;8618:112:7:-;8678:7;8704:19;8712:3;3961:18;;3879:107;2034:169:14;2108:6;;;-1:-1:-1;;;;;2124:17:14;;;-1:-1:-1;;;;;;2124:17:14;;;;;;;2156:40;;2108:6;;;2124:17;2108:6;;2156:40;;2089:16;;2156:40;2034:169;;:::o;9625:269:4:-;9738:28;9748:4;9754:2;9758:7;9738:9;:28::i;:::-;9784:48;9807:4;9813:2;9817:7;9826:5;9784:22;:48::i;:::-;9776:111;;;;-1:-1:-1;;;9776:111:4;;;;;;;:::i;275:703:16:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:16;;;;;;;;;;;;-1:-1:-1;;;574:10:16;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:16;;-1:-1:-1;720:2:16;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;-1:-1:-1;;;764:17:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:16;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:16;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;-1:-1:-1;;;849:14:16;;;;;;;;;;;;:56;-1:-1:-1;;;;;849:56:16;;;;;;;;-1:-1:-1;919:11:16;928:2;919:11;;:::i;:::-;;;791:150;;5386:149:6;5470:4;5493:35;5503:3;5523;5493:9;:35::i;11461:247:4:-;11556:18;11562:2;11566:7;11556:5;:18::i;:::-;11592:54;11623:1;11627:2;11631:7;11640:5;11592:22;:54::i;:::-;11584:117;;;;-1:-1:-1;;;11584:117:4;;;;;;;:::i;2490:107:6:-;2546:7;2572:18;:3;:16;:18::i;8177:135:7:-;8247:4;8270:35;8278:3;8298:5;8270:7;:35::i;7880:129::-;7947:4;7970:32;7975:3;7995:5;7970:4;:32::i;4795:213:6:-;4914:4;4937:64;4942:3;4962;-1:-1:-1;;;;;4976:23:6;;4937:4;:64::i;4328:118:7:-;4395:7;4421:3;:11;;4433:5;4421:18;;;;;;-1:-1:-1;;;4421:18:7;;;;;;;;;;;;;;;;;4414:25;;4328:118;;;;:::o;2950:175:6:-;3017:7;;;3059:19;:3;3072:5;3059:12;:19::i;:::-;3101:16;;;;:11;;;;;:16;;;;;;;;;2950:175;-1:-1:-1;;;;2950:175:6:o;4216:270::-;4340:7;4375:16;;;:11;;;:16;;;;;;4409:10;;;;:33;;;4423:19;4433:3;4438;4423:9;:19::i;:::-;4444:12;4401:56;;;;;-1:-1:-1;;;4401:56:6;;;;;;;;:::i;:::-;-1:-1:-1;4474:5:6;4216:270;-1:-1:-1;;;;4216:270:6:o;14545:589:4:-;14665:4;-1:-1:-1;;;;;14690:13:4;;1034:20:0;14685:58:4;;-1:-1:-1;14728:4:4;14721:11;;14685:58;14752:23;14778:246;-1:-1:-1;;;665:10:1;14915:4:4;14933:7;14954:5;14794:175;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;14794:175:4;;;;;;;-1:-1:-1;;;;;14794:175:4;;;;;;;;;;;14778:246;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14778:15:4;;;:246;:15;:246::i;:::-;14752:272;;15034:13;15061:10;15050:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;15100:26:4;-1:-1:-1;;;15100:26:4;;-1:-1:-1;;;14545:589:4;;;;;;:::o;2276:124:6:-;2347:4;2370:23;:3;2389;5267:4:7;3767:19;;;:12;;;:19;;;;;;:24;;5290:28;3671:127;12030:393:4;-1:-1:-1;;;;;12109:16:4;;12101:61;;;;-1:-1:-1;;;12101:61:4;;14150:2:18;12101:61:4;;;14132:21:18;;;14169:18;;;14162:30;14228:34;14208:18;;;14201:62;14280:18;;12101:61:4;14122:182:18;12101:61:4;12181:16;12189:7;12181;:16::i;:::-;12180:17;12172:58;;;;-1:-1:-1;;;12172:58:4;;10347:2:18;12172:58:4;;;10329:21:18;10386:2;10366:18;;;10359:30;10425;10405:18;;;10398:58;10473:18;;12172:58:4;10319:178:18;12172:58:4;-1:-1:-1;;;;;12297:17:4;;;;;;:13;:17;;;;;:30;;12319:7;12297:21;:30::i;:::-;-1:-1:-1;12338:29:4;:12;12355:7;12364:2;12338:16;:29::i;:::-;-1:-1:-1;12383:33:4;;12408:7;;-1:-1:-1;;;;;12383:33:4;;;12400:1;;12383:33;;12400:1;;12383:33;12030:393;;:::o;2202:1388:7:-;2268:4;2405:19;;;:12;;;:19;;;;;;2439:15;;2435:1149;;2808:21;2832:14;2845:1;2832:10;:14;:::i;:::-;2880:18;;2808:38;;-1:-1:-1;2860:17:7;;2880:22;;2901:1;;2880:22;:::i;:::-;2860:42;;2934:13;2921:9;:26;2917:398;;2967:17;2987:3;:11;;2999:9;2987:22;;;;;;-1:-1:-1;;;2987:22:7;;;;;;;;;;;;;;;;;2967:42;;3138:9;3109:3;:11;;3121:13;3109:26;;;;;;-1:-1:-1;;;3109:26:7;;;;;;;;;;;;;;;;;;;;:38;;;;3221:23;;;:12;;;:23;;;;;:36;;;2917:398;3393:17;;:3;;:17;;;-1:-1:-1;;;3393:17:7;;;;;;;;;;;;;;;;;;;;;;;;;;3485:3;:12;;:19;3498:5;3485:19;;;;;;;;;;;3478:26;;;3526:4;3519:11;;;;;;;2435:1149;3568:5;3561:12;;;;;1630:404;1693:4;3767:19;;;:12;;;:19;;;;;;1709:319;;-1:-1:-1;1751:23:7;;;;;;;;:11;:23;;;;;;;;;;;;;1931:18;;1909:19;;;:12;;;:19;;;;;;:40;;;;1963:11;;1709:319;-1:-1:-1;2012:5:7;2005:12;;1693:188:6;1799:4;1815:16;;;:11;;;:16;;;;;:24;;;1856:18;1815:3;1827;1856:13;:18::i;3461:223:0:-;3594:12;3625:52;3647:6;3655:4;3661:1;3664:12;3594;1034:20;;4828:60;;;;-1:-1:-1;;;4828:60:0;;17631:2:18;4828:60:0;;;17613:21:18;17670:2;17650:18;;;17643:30;17709:31;17689:18;;;17682:59;17758:18;;4828:60:0;17603:179:18;4828:60:0;4900:12;4914:23;4941:6;-1:-1:-1;;;;;4941:11:0;4960:5;4967:4;4941:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4899:73;;;;4989:52;5007:7;5016:10;5028:12;4989:17;:52::i;:::-;4982:59;4548:500;-1:-1:-1;;;;;;;4548:500:0:o;6950:692::-;7096:12;7124:7;7120:516;;;-1:-1:-1;7154:10:0;7147:17;;7120:516;7265:17;;:21;7261:365;;7459:10;7453:17;7519:15;7506:10;7502:2;7498:19;7491:44;7408:145;7598:12;7591:20;;-1:-1:-1;;;7591:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:18;78:5;112:18;104:6;101:30;98:2;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:18;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:2;;;309:1;306;299:12;268:2;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;88:332;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:18;;532:42;;522:2;;588:1;585;578:12;522:2;474:124;;;:::o;603:229::-;646:5;699:3;692:4;684:6;680:17;676:27;666:2;;721:5;714;707:20;666:2;747:79;822:3;813:6;800:20;793:4;785:6;781:17;747:79;:::i;837:196::-;896:6;949:2;937:9;928:7;924:23;920:32;917:2;;;970:6;962;955:22;917:2;998:29;1017:9;998:29;:::i;1038:270::-;1106:6;1114;1167:2;1155:9;1146:7;1142:23;1138:32;1135:2;;;1188:6;1180;1173:22;1135:2;1216:29;1235:9;1216:29;:::i;:::-;1206:39;;1264:38;1298:2;1287:9;1283:18;1264:38;:::i;:::-;1254:48;;1125:183;;;;;:::o;1313:338::-;1390:6;1398;1406;1459:2;1447:9;1438:7;1434:23;1430:32;1427:2;;;1480:6;1472;1465:22;1427:2;1508:29;1527:9;1508:29;:::i;:::-;1498:39;;1556:38;1590:2;1579:9;1575:18;1556:38;:::i;:::-;1546:48;;1641:2;1630:9;1626:18;1613:32;1603:42;;1417:234;;;;;:::o;1656:696::-;1751:6;1759;1767;1775;1828:3;1816:9;1807:7;1803:23;1799:33;1796:2;;;1850:6;1842;1835:22;1796:2;1878:29;1897:9;1878:29;:::i;:::-;1868:39;;1926:38;1960:2;1949:9;1945:18;1926:38;:::i;:::-;1916:48;;2011:2;2000:9;1996:18;1983:32;1973:42;;2066:2;2055:9;2051:18;2038:32;2093:18;2085:6;2082:30;2079:2;;;2130:6;2122;2115:22;2079:2;2158:22;;2211:4;2203:13;;2199:27;-1:-1:-1;2189:2:18;;2245:6;2237;2230:22;2189:2;2273:73;2338:7;2333:2;2320:16;2315:2;2311;2307:11;2273:73;:::i;:::-;2263:83;;;1786:566;;;;;;;:::o;2357:367::-;2422:6;2430;2483:2;2471:9;2462:7;2458:23;2454:32;2451:2;;;2504:6;2496;2489:22;2451:2;2532:29;2551:9;2532:29;:::i;:::-;2522:39;;2611:2;2600:9;2596:18;2583:32;2658:5;2651:13;2644:21;2637:5;2634:32;2624:2;;2685:6;2677;2670:22;2624:2;2713:5;2703:15;;;2441:283;;;;;:::o;2729:264::-;2797:6;2805;2858:2;2846:9;2837:7;2833:23;2829:32;2826:2;;;2879:6;2871;2864:22;2826:2;2907:29;2926:9;2907:29;:::i;:::-;2897:39;2983:2;2968:18;;;;2955:32;;-1:-1:-1;;;2816:177:18:o;2998:665::-;3084:6;3092;3145:2;3133:9;3124:7;3120:23;3116:32;3113:2;;;3166:6;3158;3151:22;3113:2;3211:9;3198:23;3240:18;3281:2;3273:6;3270:14;3267:2;;;3302:6;3294;3287:22;3267:2;3345:6;3334:9;3330:22;3320:32;;3390:7;3383:4;3379:2;3375:13;3371:27;3361:2;;3417:6;3409;3402:22;3361:2;3462;3449:16;3488:2;3480:6;3477:14;3474:2;;;3509:6;3501;3494:22;3474:2;3567:7;3562:2;3552:6;3549:1;3545:14;3541:2;3537:23;3533:32;3530:45;3527:2;;;3593:6;3585;3578:22;3527:2;3629;3621:11;;;;;3651:6;;-1:-1:-1;3103:560:18;;-1:-1:-1;;;;3103:560:18:o;3668:992::-;3763:6;3794:2;3837;3825:9;3816:7;3812:23;3808:32;3805:2;;;3858:6;3850;3843:22;3805:2;3896:9;3890:16;3925:18;3966:2;3958:6;3955:14;3952:2;;;3987:6;3979;3972:22;3952:2;4030:6;4019:9;4015:22;4005:32;;4075:7;4068:4;4064:2;4060:13;4056:27;4046:2;;4102:6;4094;4087:22;4046:2;4136;4130:9;4158:2;4154;4151:10;4148:2;;;4164:18;;:::i;:::-;4210:2;4207:1;4203:10;4193:20;;4233:28;4257:2;4253;4249:11;4233:28;:::i;:::-;4295:15;;;4326:12;;;;4358:11;;;4388;;;4384:20;;4381:33;-1:-1:-1;4378:2:18;;;4432:6;4424;4417:22;4378:2;4459:6;4450:15;;4474:156;4488:2;4485:1;4482:9;4474:156;;;4545:10;;4533:23;;4506:1;4499:9;;;;;4576:12;;;;4608;;4474:156;;;-1:-1:-1;4649:5:18;3774:886;-1:-1:-1;;;;;;;;3774:886:18:o;4665:255::-;4723:6;4776:2;4764:9;4755:7;4751:23;4747:32;4744:2;;;4797:6;4789;4782:22;4744:2;4841:9;4828:23;4860:30;4884:5;4860:30;:::i;4925:259::-;4994:6;5047:2;5035:9;5026:7;5022:23;5018:32;5015:2;;;5068:6;5060;5053:22;5015:2;5105:9;5099:16;5124:30;5148:5;5124:30;:::i;5189:342::-;5258:6;5311:2;5299:9;5290:7;5286:23;5282:32;5279:2;;;5332:6;5324;5317:22;5279:2;5377:9;5364:23;5410:18;5402:6;5399:30;5396:2;;;5447:6;5439;5432:22;5396:2;5475:50;5517:7;5508:6;5497:9;5493:22;5475:50;:::i;5536:190::-;5595:6;5648:2;5636:9;5627:7;5623:23;5619:32;5616:2;;;5669:6;5661;5654:22;5616:2;-1:-1:-1;5697:23:18;;5606:120;-1:-1:-1;5606:120:18:o;5731:410::-;5809:6;5817;5870:2;5858:9;5849:7;5845:23;5841:32;5838:2;;;5891:6;5883;5876:22;5838:2;5932:9;5919:23;5909:33;;5993:2;5982:9;5978:18;5965:32;6020:18;6012:6;6009:30;6006:2;;;6057:6;6049;6042:22;6006:2;6085:50;6127:7;6118:6;6107:9;6103:22;6085:50;:::i;:::-;6075:60;;;5828:313;;;;;:::o;6146:257::-;6187:3;6225:5;6219:12;6252:6;6247:3;6240:19;6268:63;6324:6;6317:4;6312:3;6308:14;6301:4;6294:5;6290:16;6268:63;:::i;:::-;6385:2;6364:15;-1:-1:-1;;6360:29:18;6351:39;;;;6392:4;6347:50;;6195:208;-1:-1:-1;;6195:208:18:o;6408:274::-;6537:3;6575:6;6569:13;6591:53;6637:6;6632:3;6625:4;6617:6;6613:17;6591:53;:::i;:::-;6660:16;;;;;6545:137;-1:-1:-1;;6545:137:18:o;6687:637::-;6967:3;7005:6;6999:13;7021:53;7067:6;7062:3;7055:4;7047:6;7043:17;7021:53;:::i;:::-;7137:13;;7096:16;;;;7159:57;7137:13;7096:16;7193:4;7181:17;;7159:57;:::i;:::-;-1:-1:-1;;;7238:20:18;;7267:22;;;7316:1;7305:13;;6975:349;-1:-1:-1;;;;6975:349:18:o;7537:488::-;-1:-1:-1;;;;;7806:15:18;;;7788:34;;7858:15;;7853:2;7838:18;;7831:43;7905:2;7890:18;;7883:34;;;7953:3;7948:2;7933:18;;7926:31;;;7731:4;;7974:45;;7999:19;;7991:6;7974:45;:::i;:::-;7966:53;7740:285;-1:-1:-1;;;;;;7740:285:18:o;8030:635::-;8201:2;8253:21;;;8323:13;;8226:18;;;8345:22;;;8172:4;;8201:2;8424:15;;;;8398:2;8383:18;;;8172:4;8470:169;8484:6;8481:1;8478:13;8470:169;;;8545:13;;8533:26;;8614:15;;;;8579:12;;;;8506:1;8499:9;8470:169;;;-1:-1:-1;8656:3:18;;8181:484;-1:-1:-1;;;;;;8181:484:18:o;9095:219::-;9244:2;9233:9;9226:21;9207:4;9264:44;9304:2;9293:9;9289:18;9281:6;9264:44;:::i;9319:414::-;9521:2;9503:21;;;9560:2;9540:18;;;9533:30;9599:34;9594:2;9579:18;;9572:62;-1:-1:-1;;;9665:2:18;9650:18;;9643:48;9723:3;9708:19;;9493:240::o;15135:356::-;15337:2;15319:21;;;15356:18;;;15349:30;15415:34;15410:2;15395:18;;15388:62;15482:2;15467:18;;15309:182::o;17011:413::-;17213:2;17195:21;;;17252:2;17232:18;;;17225:30;17291:34;17286:2;17271:18;;17264:62;-1:-1:-1;;;17357:2:18;17342:18;;17335:47;17414:3;17399:19;;17185:239::o;18669:275::-;18740:2;18734:9;18805:2;18786:13;;-1:-1:-1;;18782:27:18;18770:40;;18840:18;18825:34;;18861:22;;;18822:62;18819:2;;;18887:18;;:::i;:::-;18923:2;18916:22;18714:230;;-1:-1:-1;18714:230:18:o;18949:128::-;18989:3;19020:1;19016:6;19013:1;19010:13;19007:2;;;19026:18;;:::i;:::-;-1:-1:-1;19062:9:18;;18997:80::o;19082:120::-;19122:1;19148;19138:2;;19153:18;;:::i;:::-;-1:-1:-1;19187:9:18;;19128:74::o;19207:125::-;19247:4;19275:1;19272;19269:8;19266:2;;;19280:18;;:::i;:::-;-1:-1:-1;19317:9:18;;19256:76::o;19337:258::-;19409:1;19419:113;19433:6;19430:1;19427:13;19419:113;;;19509:11;;;19503:18;19490:11;;;19483:39;19455:2;19448:10;19419:113;;;19550:6;19547:1;19544:13;19541:2;;;-1:-1:-1;;19585:1:18;19567:16;;19560:27;19390:205::o;19600:136::-;19639:3;19667:5;19657:2;;19676:18;;:::i;:::-;-1:-1:-1;;;19712:18:18;;19647:89::o;19741:380::-;19820:1;19816:12;;;;19863;;;19884:2;;19938:4;19930:6;19926:17;19916:27;;19884:2;19991;19983:6;19980:14;19960:18;19957:38;19954:2;;;20037:10;20032:3;20028:20;20025:1;20018:31;20072:4;20069:1;20062:15;20100:4;20097:1;20090:15;20126:135;20165:3;-1:-1:-1;;20186:17:18;;20183:2;;;20206:18;;:::i;:::-;-1:-1:-1;20253:1:18;20242:13;;20173:88::o;20266:112::-;20298:1;20324;20314:2;;20329:18;;:::i;:::-;-1:-1:-1;20363:9:18;;20304:74::o;20383:127::-;20444:10;20439:3;20435:20;20432:1;20425:31;20475:4;20472:1;20465:15;20499:4;20496:1;20489:15;20515:127;20576:10;20571:3;20567:20;20564:1;20557:31;20607:4;20604:1;20597:15;20631:4;20628:1;20621:15;20647:127;20708:10;20703:3;20699:20;20696:1;20689:31;20739:4;20736:1;20729:15;20763:4;20760:1;20753:15;20779:131;-1:-1:-1;;;;;;20853:32:18;;20843:43;;20833:2;;20900:1;20897;20890:12
Swarm Source
ipfs://00b715f5b94621eea961ffbd556e9ebb8d2c29cf0c4bab570efca7c9ec8d19b2
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.