ERC-20
Overview
Max Total Supply
767,452 BH
Holders
66
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BH
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-20 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/structs/EnumerableSet.sol // OpenZeppelin Contracts (last updated v4.6.0) (utils/structs/EnumerableSet.sol) pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; 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]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // 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); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // 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)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // 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)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } } // File: @manifoldxyz/royalty-registry-solidity/contracts/specs/IEIP2981.sol pragma solidity ^0.8.0; /** * EIP-2981 */ interface IEIP2981 { /** * bytes4(keccak256("royaltyInfo(uint256,uint256)")) == 0x2a55205a * * => 0x2a55205a = 0x2a55205a */ function royaltyInfo(uint256 tokenId, uint256 value) external view returns (address, uint256); } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @manifoldxyz/libraries-solidity/contracts/access/IAdminControl.sol pragma solidity ^0.8.0; /// @author: manifold.xyz /** * @dev Interface for admin control */ interface IAdminControl is IERC165 { event AdminApproved(address indexed account, address indexed sender); event AdminRevoked(address indexed account, address indexed sender); /** * @dev gets address of all admins */ function getAdmins() external view returns (address[] memory); /** * @dev add an admin. Can only be called by contract owner. */ function approveAdmin(address admin) external; /** * @dev remove an admin. Can only be called by contract owner. */ function revokeAdmin(address admin) external; /** * @dev checks whether or not given address is an admin * Returns True if they are */ function isAdmin(address admin) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @manifoldxyz/libraries-solidity/contracts/access/AdminControl.sol pragma solidity ^0.8.0; // @author: manifold.xyz abstract contract AdminControl is Ownable, IAdminControl, ERC165 { using EnumerableSet for EnumerableSet.AddressSet; // Track registered admins EnumerableSet.AddressSet private _admins; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IAdminControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Only allows approved admins to call the specified function */ modifier adminRequired() { require(owner() == msg.sender || _admins.contains(msg.sender), "AdminControl: Must be owner or admin"); _; } /** * @dev See {IAdminControl-getAdmins}. */ function getAdmins() external view override returns (address[] memory admins) { admins = new address[](_admins.length()); for (uint i = 0; i < _admins.length(); i++) { admins[i] = _admins.at(i); } return admins; } /** * @dev See {IAdminControl-approveAdmin}. */ function approveAdmin(address admin) external override onlyOwner { if (!_admins.contains(admin)) { emit AdminApproved(admin, msg.sender); _admins.add(admin); } } /** * @dev See {IAdminControl-revokeAdmin}. */ function revokeAdmin(address admin) external override onlyOwner { if (_admins.contains(admin)) { emit AdminRevoked(admin, msg.sender); _admins.remove(admin); } } /** * @dev See {IAdminControl-isAdmin}. */ function isAdmin(address admin) public override view returns (bool) { return (owner() == admin || _admins.contains(admin)); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: contracts/ShootingStar.sol pragma solidity >= 0.8.13; contract ShootingStar is ERC721, AdminControl { mapping (uint256 => string ) public _uris; mapping (uint256 => address ) public _holders; address payable private _royalties_recipient; uint256 private _royaltyAmount; //in % constructor () ERC721("ShootingStar", "ShS") { _royalties_recipient = payable(msg.sender); _royaltyAmount = 10; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, AdminControl) returns (bool) { return AdminControl.supportsInterface(interfaceId) || ERC721.supportsInterface(interfaceId) || interfaceId == type(IEIP2981).interfaceId || super.supportsInterface(interfaceId); } function transferNFT(uint256 tokenId, address holder) public adminRequired{ _holders[tokenId] = holder; } function getHolder(uint256 tokenId)view external returns(address){ return _holders[tokenId]; } function mint(address to, uint256 tokenId, address holder) external adminRequired{ _safeMint(to, tokenId, ""); transferNFT(tokenId, holder); } function setURI( uint256 tokenId, string calldata updatedURI ) external adminRequired{ _uris[tokenId] = updatedURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return _uris[tokenId]; } function ownerOf(uint256 tokenId) public view virtual override returns (address) { require(_holders[tokenId] != address(0), "ERC721: invalid token ID"); return _holders[tokenId]; } function burn(uint256 tokenId) public { _burn(tokenId); } function setRoyalties(address payable _recipient, uint256 _royaltyPerCent) external adminRequired { _royalties_recipient = _recipient; _royaltyAmount = _royaltyPerCent; } function royaltyInfo(uint256 salePrice) external view returns (address, uint256) { if(_royalties_recipient != address(0)){ return (_royalties_recipient, (salePrice * _royaltyAmount) / 100 ); } return (address(0), 0); } function withdraw(address recipient) external adminRequired { payable(recipient).transfer(address(this).balance); } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); } // File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} } // File: contracts/BH.sol pragma solidity >= 0.8.13; contract BH is ERC20, AdminControl{ uint256 public _universalGravitationalConstant = 6674; uint256 public _totalNFTSupply; uint256 public _shootingStarId; uint256[] public _contractVolumes; address[] public _contractAdresses; address public _liveContract; address public _shootingStar; address public _shootingStarAddress; bool _shootingStarActivated; mapping(address => uint256) _contractIds; mapping(address => bool) _contractMinted; mapping (address => uint256) _transactionNumber; constructor () ERC20("Blackhole", "BH"){ // Set values in index 0 of the arrays to not have a a contract with id 0 // Prevents any issues with default values in _contractIds mapping _contractAdresses.push(address(0)); _contractVolumes.push(0); _totalNFTSupply = 0; } function getMintQuantity(uint256 dropVolume)internal view returns(uint256 _mintQuantity){ uint256 mintQuantity = _universalGravitationalConstant * dropVolume/(_totalNFTSupply) * 10 ** 18; return mintQuantity; } function registerDrop (address contractAddress, uint256 contractVolume) external adminRequired{ _contractAdresses.push(contractAddress); _contractVolumes.push(contractVolume); _contractIds[contractAddress] = _contractAdresses.length - 1; _totalNFTSupply = _totalNFTSupply + contractVolume; } function editDrop (uint256 contractId, address contractAddress, uint256 contractVolume) external adminRequired{ require(contractId > 0, "Contract not registered"); require(_contractAdresses[contractId] != address(0), "Contract not registered"); require(_contractMinted[_contractAdresses[contractId]]==false, "Cannot edit a contract that was already mined"); uint256 oldDropVolume = _contractVolumes[contractId]; _contractAdresses[contractId] = contractAddress; _contractVolumes.push(contractVolume); _totalNFTSupply = _totalNFTSupply - oldDropVolume + contractVolume; } function setLiveContract(address contractAddress) external adminRequired{ require(_contractIds[contractAddress]>0,"Contract not registered"); _liveContract = contractAddress; } function getContractId(address contractAddress)external view returns(uint256 id){ return _contractIds[contractAddress]; } function mint(address recipient, uint256 amountOfNFTsMinted) external returns(uint256 amountMinted){ require(msg.sender == _liveContract, "Contract not allowed to mint"); uint256 contractId = _contractIds[_liveContract]; uint256 amount = getMintQuantity(_contractVolumes[contractId]); uint256 quantity = amount * amountOfNFTsMinted; _mint(recipient, quantity); return quantity; } function airdrop(address[] calldata recipients, uint256[] calldata amountOfNFTsMinted)external adminRequired{ require(recipients.length == amountOfNFTsMinted.length, "Invalid data"); uint256 contractId = _contractIds[_liveContract]; uint256 amount = getMintQuantity(_contractVolumes[contractId]); for(uint256 i = 0; i < recipients.length; i++){ _mint(recipients[i], amount * amountOfNFTsMinted[i]); } } function burn(uint256 amount)external{ _burn(msg.sender, amount); } function setShootingStarAddress(address ShootingStarAddress) external adminRequired{ _shootingStarAddress = ShootingStarAddress; } function activateShootingStar(uint256 shootingStarId) external adminRequired{ _shootingStarId = shootingStarId; _shootingStarActivated = true; } function _afterTokenTransfer( address from, address to, uint256 amount ) internal override { address originalStar = _shootingStar; // Track the number of the transactions // Mints and burn are not transactions if(from != address(0) && from != _liveContract) { _transactionNumber[from] += 1; if(_shootingStar == address(0)){ _shootingStar = from; }else{ // With the same number of transactions, the initiator of the transaction will have priority if(_transactionNumber[from] > _transactionNumber[_shootingStar]){ _shootingStar = from; } } } if(to != address(0) && to != _liveContract){ _transactionNumber[to] += 1; if(_transactionNumber[to] > _transactionNumber[_shootingStar]){ _shootingStar = from; } } if(_shootingStarActivated && _shootingStar != originalStar){ ShootingStar(_shootingStarAddress).transferNFT(_shootingStarId, _shootingStar); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"AdminRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","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":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_contractAdresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_contractVolumes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liveContract","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_shootingStar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_shootingStarAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_shootingStarId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalNFTSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_universalGravitationalConstant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"shootingStarId","type":"uint256"}],"name":"activateShootingStar","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amountOfNFTsMinted","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"approveAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"contractId","type":"uint256"},{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"contractVolume","type":"uint256"}],"name":"editDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdmins","outputs":[{"internalType":"address[]","name":"admins","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"getContractId","outputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amountOfNFTsMinted","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"amountMinted","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"contractVolume","type":"uint256"}],"name":"registerDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"revokeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"setLiveContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ShootingStarAddress","type":"address"}],"name":"setShootingStarAddress","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052611a126008553480156200001757600080fd5b506040805180820182526009815268426c61636b686f6c6560b81b602080830191825283518085019094526002845261084960f31b908401528151919291620000639160039162000166565b5080516200007990600490602084019062000166565b50505062000096620000906200011060201b60201c565b62000114565b600c805460018181019092557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c70180546001600160a01b0319169055600b8054918201815560009081527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db990910181905560095562000248565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000174906200020c565b90600052602060002090601f016020900481019282620001985760008555620001e3565b82601f10620001b357805160ff1916838001178555620001e3565b82800160010185558215620001e3579182015b82811115620001e3578251825591602001919060010190620001c6565b50620001f1929150620001f5565b5090565b5b80821115620001f15760008155600101620001f6565b600181811c908216806200022157607f821691505b6020821081036200024257634e487b7160e01b600052602260045260246000fd5b50919050565b611f6a80620002586000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c8063715018a611610125578063bb57f5cc116100ad578063eb2ec84a1161007c578063eb2ec84a1461048a578063edf1ae731461049d578063f2fde38b146104a6578063fc4eb990146104b9578063ffde492d146104cc57600080fd5b8063bb57f5cc14610448578063dcb113061461045b578063dd62ed3e14610464578063ddc023471461047757600080fd5b80638e0ad9cb116100f45780638e0ad9cb146103f457806395d89b4114610407578063a457c2d71461040f578063a9059cbb14610422578063b41d252d1461043557600080fd5b8063715018a61461039d578063718d694c146103a557806383e00553146103b85780638da5cb5b146103e357600080fd5b806331ae450b116101a857806342966c681161017757806342966c6814610328578063466cfb3f1461033b578063672434821461034e5780636d73e6691461036157806370a082311461037457600080fd5b806331ae450b146102da578063360df903146102ef578063395093511461030257806340c10f191461031557600080fd5b806318160ddd116101ef57806318160ddd1461028857806323b872dd1461029057806324d7806c146102a35780632d345670146102b6578063313ce567146102cb57600080fd5b806301ffc9a71461022157806306fdde0314610249578063095ea7b31461025e5780630d811bf314610271575b600080fd5b61023461022f366004611b0e565b6104f5565b60405190151581526020015b60405180910390f35b61025161052c565b6040516102409190611b38565b61023461026c366004611ba9565b6105be565b61027a600a5481565b604051908152602001610240565b60025461027a565b61023461029e366004611bd3565b6105d6565b6102346102b1366004611c0f565b6105fa565b6102c96102c4366004611c0f565b610633565b005b60405160128152602001610240565b6102e26106bc565b6040516102409190611c2a565b6102c96102fd366004611c0f565b61076b565b610234610310366004611ba9565b6107d7565b61027a610323366004611ba9565b6107f9565b6102c9610336366004611c77565b6108c0565b61027a610349366004611c77565b6108ca565b6102c961035c366004611cdc565b6108eb565b6102c961036f366004611c0f565b610a25565b61027a610382366004611c0f565b6001600160a01b031660009081526020819052604090205490565b6102c9610a9f565b6102c96103b3366004611d48565b610ad5565b6103cb6103c6366004611c77565b610d3e565b6040516001600160a01b039091168152602001610240565b6005546001600160a01b03166103cb565b600d546103cb906001600160a01b031681565b610251610d68565b61023461041d366004611ba9565b610d77565b610234610430366004611ba9565b610df2565b6102c9610443366004611ba9565b610e00565b600f546103cb906001600160a01b031681565b61027a60085481565b61027a610472366004611d6d565b610f00565b600e546103cb906001600160a01b031681565b6102c9610498366004611c77565b610f2b565b61027a60095481565b6102c96104b4366004611c0f565b610f8d565b6102c96104c7366004611c0f565b611025565b61027a6104da366004611c0f565b6001600160a01b031660009081526010602052604090205490565b60006001600160e01b03198216632a9f3abf60e11b148061052657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461053b90611da0565b80601f016020809104026020016040519081016040528092919081815260200182805461056790611da0565b80156105b45780601f10610589576101008083540402835291602001916105b4565b820191906000526020600020905b81548152906001019060200180831161059757829003601f168201915b5050505050905090565b6000336105cc8185856110f0565b5060019392505050565b6000336105e4858285611214565b6105ef85858561128e565b506001949350505050565b6000816001600160a01b03166106186005546001600160a01b031690565b6001600160a01b031614806105265750610526600683611462565b6005546001600160a01b031633146106665760405162461bcd60e51b815260040161065d90611dda565b60405180910390fd5b610671600682611462565b156106b95760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a36106b7600682611487565b505b50565b60606106c8600661149c565b67ffffffffffffffff8111156106e0576106e0611e0f565b604051908082528060200260200182016040528015610709578160200160208202803683370190505b50905060005b610719600661149c565b8110156107675761072b6006826114a6565b82828151811061073d5761073d611e25565b6001600160a01b03909216602092830291909101909101528061075f81611e51565b91505061070f565b5090565b3361077e6005546001600160a01b031690565b6001600160a01b031614806107995750610799600633611462565b6107b55760405162461bcd60e51b815260040161065d90611e6a565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6000336105cc8185856107ea8383610f00565b6107f49190611eae565b6110f0565b600d546000906001600160a01b031633146108565760405162461bcd60e51b815260206004820152601c60248201527f436f6e7472616374206e6f7420616c6c6f77656420746f206d696e7400000000604482015260640161065d565b600d546001600160a01b0316600090815260106020526040812054600b805491929161089d91908490811061088d5761088d611e25565b90600052602060002001546114b2565b905060006108ab8583611ec6565b90506108b786826114e2565b95945050505050565b6106b933826115c9565b600b81815481106108da57600080fd5b600091825260209091200154905081565b336108fe6005546001600160a01b031690565b6001600160a01b031614806109195750610919600633611462565b6109355760405162461bcd60e51b815260040161065d90611e6a565b8281146109735760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b604482015260640161065d565b600d546001600160a01b0316600090815260106020526040812054600b80549192916109aa91908490811061088d5761088d611e25565b905060005b85811015610a1c57610a0a8787838181106109cc576109cc611e25565b90506020020160208101906109e19190611c0f565b8686848181106109f3576109f3611e25565b9050602002013584610a059190611ec6565b6114e2565b80610a1481611e51565b9150506109af565b50505050505050565b6005546001600160a01b03163314610a4f5760405162461bcd60e51b815260040161065d90611dda565b610a5a600682611462565b6106b95760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a36106b7600682611723565b6005546001600160a01b03163314610ac95760405162461bcd60e51b815260040161065d90611dda565b610ad36000611738565b565b33610ae86005546001600160a01b031690565b6001600160a01b03161480610b035750610b03600633611462565b610b1f5760405162461bcd60e51b815260040161065d90611e6a565b60008311610b695760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081c9959da5cdd195c9959604a1b604482015260640161065d565b60006001600160a01b0316600c8481548110610b8757610b87611e25565b6000918252602090912001546001600160a01b031603610be95760405162461bcd60e51b815260206004820152601860248201527f436f6e7472616374206e6f742020726567697374657265640000000000000000604482015260640161065d565b60116000600c8581548110610c0057610c00611e25565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615610c8b5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f742065646974206120636f6e74726163742074686174207761732060448201526c185b1c9958591e481b5a5b9959609a1b606482015260840161065d565b6000600b8481548110610ca057610ca0611e25565b9060005260206000200154905082600c8581548110610cc157610cc1611e25565b6000918252602082200180546001600160a01b0319166001600160a01b039390931692909217909155600b805460018101825591527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9018290556009548290610d2b908390611ee5565b610d359190611eae565b60095550505050565b600c8181548110610d4e57600080fd5b6000918252602090912001546001600160a01b0316905081565b60606004805461053b90611da0565b60003381610d858286610f00565b905083811015610de55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161065d565b6105ef82868684036110f0565b6000336105cc81858561128e565b33610e136005546001600160a01b031690565b6001600160a01b03161480610e2e5750610e2e600633611462565b610e4a5760405162461bcd60e51b815260040161065d90611e6a565b600c8054600180820183557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c790910180546001600160a01b0319166001600160a01b038616179055600b805480830182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9018390559054610ed29190611ee5565b6001600160a01b038316600090815260106020526040902055600954610ef9908290611eae565b6009555050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b33610f3e6005546001600160a01b031690565b6001600160a01b03161480610f595750610f59600633611462565b610f755760405162461bcd60e51b815260040161065d90611e6a565b600a55600f805460ff60a01b1916600160a01b179055565b6005546001600160a01b03163314610fb75760405162461bcd60e51b815260040161065d90611dda565b6001600160a01b03811661101c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161065d565b6106b981611738565b336110386005546001600160a01b031690565b6001600160a01b031614806110535750611053600633611462565b61106f5760405162461bcd60e51b815260040161065d90611e6a565b6001600160a01b0381166000908152601060205260409020546110ce5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081c9959da5cdd195c9959604a1b604482015260640161065d565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166111525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161065d565b6001600160a01b0382166111b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161065d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006112208484610f00565b90506000198114611288578181101561127b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161065d565b61128884848484036110f0565b50505050565b6001600160a01b0383166112f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161065d565b6001600160a01b0382166113545760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161065d565b6001600160a01b038316600090815260208190526040902054818110156113cc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161065d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611403908490611eae565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161144f91815260200190565b60405180910390a361128884848461178a565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000611480836001600160a01b0384166119a2565b6000610526825490565b60006114808383611a95565b600080600954836008546114c69190611ec6565b6114d09190611efc565b61148090670de0b6b3a7640000611ec6565b6001600160a01b0382166115385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161065d565b806002600082825461154a9190611eae565b90915550506001600160a01b03821660009081526020819052604081208054839290611577908490611eae565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36106b76000838361178a565b6001600160a01b0382166116295760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161065d565b6001600160a01b0382166000908152602081905260409020548181101561169d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161065d565b6001600160a01b03831660009081526020819052604081208383039055600280548492906116cc908490611ee5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361171e8360008461178a565b505050565b6000611480836001600160a01b038416611abf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600e546001600160a01b03908116908416158015906117b75750600d546001600160a01b03858116911614155b15611862576001600160a01b03841660009081526012602052604081208054600192906117e5908490611eae565b9091555050600e546001600160a01b031661181a57600e80546001600160a01b0319166001600160a01b038616179055611862565b600e546001600160a01b03908116600090815260126020526040808220549287168252902054111561186257600e80546001600160a01b0319166001600160a01b0386161790555b6001600160a01b038316158015906118885750600d546001600160a01b03848116911614155b15611903576001600160a01b03831660009081526012602052604081208054600192906118b6908490611eae565b9091555050600e546001600160a01b03908116600090815260126020526040808220549286168252902054111561190357600e80546001600160a01b0319166001600160a01b0386161790555b600f54600160a01b900460ff16801561192a5750600e546001600160a01b03828116911614155b1561128857600f54600a54600e546040516309036c0560e41b815260048101929092526001600160a01b03908116602483015290911690639036c05090604401600060405180830381600087803b15801561198457600080fd5b505af1158015611998573d6000803e3d6000fd5b5050505050505050565b60008181526001830160205260408120548015611a8b5760006119c6600183611ee5565b85549091506000906119da90600190611ee5565b9050818114611a3f5760008660000182815481106119fa576119fa611e25565b9060005260206000200154905080876000018481548110611a1d57611a1d611e25565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611a5057611a50611f1e565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610526565b6000915050610526565b6000826000018281548110611aac57611aac611e25565b9060005260206000200154905092915050565b6000818152600183016020526040812054611b0657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610526565b506000610526565b600060208284031215611b2057600080fd5b81356001600160e01b03198116811461148057600080fd5b600060208083528351808285015260005b81811015611b6557858101830151858201604001528201611b49565b81811115611b77576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114611ba457600080fd5b919050565b60008060408385031215611bbc57600080fd5b611bc583611b8d565b946020939093013593505050565b600080600060608486031215611be857600080fd5b611bf184611b8d565b9250611bff60208501611b8d565b9150604084013590509250925092565b600060208284031215611c2157600080fd5b61148082611b8d565b6020808252825182820181905260009190848201906040850190845b81811015611c6b5783516001600160a01b031683529284019291840191600101611c46565b50909695505050505050565b600060208284031215611c8957600080fd5b5035919050565b60008083601f840112611ca257600080fd5b50813567ffffffffffffffff811115611cba57600080fd5b6020830191508360208260051b8501011115611cd557600080fd5b9250929050565b60008060008060408587031215611cf257600080fd5b843567ffffffffffffffff80821115611d0a57600080fd5b611d1688838901611c90565b90965094506020870135915080821115611d2f57600080fd5b50611d3c87828801611c90565b95989497509550505050565b600080600060608486031215611d5d57600080fd5b83359250611bff60208501611b8d565b60008060408385031215611d8057600080fd5b611d8983611b8d565b9150611d9760208401611b8d565b90509250929050565b600181811c90821680611db457607f821691505b602082108103611dd457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611e6357611e63611e3b565b5060010190565b60208082526024908201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616040820152633236b4b760e11b606082015260800190565b60008219821115611ec157611ec1611e3b565b500190565b6000816000190483118215151615611ee057611ee0611e3b565b500290565b600082821015611ef757611ef7611e3b565b500390565b600082611f1957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220c28331792873bba96b2410030b60b8dbd05e5d0fb179f92a7a369c061cfbd34164736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021c5760003560e01c8063715018a611610125578063bb57f5cc116100ad578063eb2ec84a1161007c578063eb2ec84a1461048a578063edf1ae731461049d578063f2fde38b146104a6578063fc4eb990146104b9578063ffde492d146104cc57600080fd5b8063bb57f5cc14610448578063dcb113061461045b578063dd62ed3e14610464578063ddc023471461047757600080fd5b80638e0ad9cb116100f45780638e0ad9cb146103f457806395d89b4114610407578063a457c2d71461040f578063a9059cbb14610422578063b41d252d1461043557600080fd5b8063715018a61461039d578063718d694c146103a557806383e00553146103b85780638da5cb5b146103e357600080fd5b806331ae450b116101a857806342966c681161017757806342966c6814610328578063466cfb3f1461033b578063672434821461034e5780636d73e6691461036157806370a082311461037457600080fd5b806331ae450b146102da578063360df903146102ef578063395093511461030257806340c10f191461031557600080fd5b806318160ddd116101ef57806318160ddd1461028857806323b872dd1461029057806324d7806c146102a35780632d345670146102b6578063313ce567146102cb57600080fd5b806301ffc9a71461022157806306fdde0314610249578063095ea7b31461025e5780630d811bf314610271575b600080fd5b61023461022f366004611b0e565b6104f5565b60405190151581526020015b60405180910390f35b61025161052c565b6040516102409190611b38565b61023461026c366004611ba9565b6105be565b61027a600a5481565b604051908152602001610240565b60025461027a565b61023461029e366004611bd3565b6105d6565b6102346102b1366004611c0f565b6105fa565b6102c96102c4366004611c0f565b610633565b005b60405160128152602001610240565b6102e26106bc565b6040516102409190611c2a565b6102c96102fd366004611c0f565b61076b565b610234610310366004611ba9565b6107d7565b61027a610323366004611ba9565b6107f9565b6102c9610336366004611c77565b6108c0565b61027a610349366004611c77565b6108ca565b6102c961035c366004611cdc565b6108eb565b6102c961036f366004611c0f565b610a25565b61027a610382366004611c0f565b6001600160a01b031660009081526020819052604090205490565b6102c9610a9f565b6102c96103b3366004611d48565b610ad5565b6103cb6103c6366004611c77565b610d3e565b6040516001600160a01b039091168152602001610240565b6005546001600160a01b03166103cb565b600d546103cb906001600160a01b031681565b610251610d68565b61023461041d366004611ba9565b610d77565b610234610430366004611ba9565b610df2565b6102c9610443366004611ba9565b610e00565b600f546103cb906001600160a01b031681565b61027a60085481565b61027a610472366004611d6d565b610f00565b600e546103cb906001600160a01b031681565b6102c9610498366004611c77565b610f2b565b61027a60095481565b6102c96104b4366004611c0f565b610f8d565b6102c96104c7366004611c0f565b611025565b61027a6104da366004611c0f565b6001600160a01b031660009081526010602052604090205490565b60006001600160e01b03198216632a9f3abf60e11b148061052657506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461053b90611da0565b80601f016020809104026020016040519081016040528092919081815260200182805461056790611da0565b80156105b45780601f10610589576101008083540402835291602001916105b4565b820191906000526020600020905b81548152906001019060200180831161059757829003601f168201915b5050505050905090565b6000336105cc8185856110f0565b5060019392505050565b6000336105e4858285611214565b6105ef85858561128e565b506001949350505050565b6000816001600160a01b03166106186005546001600160a01b031690565b6001600160a01b031614806105265750610526600683611462565b6005546001600160a01b031633146106665760405162461bcd60e51b815260040161065d90611dda565b60405180910390fd5b610671600682611462565b156106b95760405133906001600160a01b038316907f7c0c3c84c67c85fcac635147348bfe374c24a1a93d0366d1cfe9d8853cbf89d590600090a36106b7600682611487565b505b50565b60606106c8600661149c565b67ffffffffffffffff8111156106e0576106e0611e0f565b604051908082528060200260200182016040528015610709578160200160208202803683370190505b50905060005b610719600661149c565b8110156107675761072b6006826114a6565b82828151811061073d5761073d611e25565b6001600160a01b03909216602092830291909101909101528061075f81611e51565b91505061070f565b5090565b3361077e6005546001600160a01b031690565b6001600160a01b031614806107995750610799600633611462565b6107b55760405162461bcd60e51b815260040161065d90611e6a565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b6000336105cc8185856107ea8383610f00565b6107f49190611eae565b6110f0565b600d546000906001600160a01b031633146108565760405162461bcd60e51b815260206004820152601c60248201527f436f6e7472616374206e6f7420616c6c6f77656420746f206d696e7400000000604482015260640161065d565b600d546001600160a01b0316600090815260106020526040812054600b805491929161089d91908490811061088d5761088d611e25565b90600052602060002001546114b2565b905060006108ab8583611ec6565b90506108b786826114e2565b95945050505050565b6106b933826115c9565b600b81815481106108da57600080fd5b600091825260209091200154905081565b336108fe6005546001600160a01b031690565b6001600160a01b031614806109195750610919600633611462565b6109355760405162461bcd60e51b815260040161065d90611e6a565b8281146109735760405162461bcd60e51b815260206004820152600c60248201526b496e76616c6964206461746160a01b604482015260640161065d565b600d546001600160a01b0316600090815260106020526040812054600b80549192916109aa91908490811061088d5761088d611e25565b905060005b85811015610a1c57610a0a8787838181106109cc576109cc611e25565b90506020020160208101906109e19190611c0f565b8686848181106109f3576109f3611e25565b9050602002013584610a059190611ec6565b6114e2565b80610a1481611e51565b9150506109af565b50505050505050565b6005546001600160a01b03163314610a4f5760405162461bcd60e51b815260040161065d90611dda565b610a5a600682611462565b6106b95760405133906001600160a01b038316907f7e1a1a08d52e4ba0e21554733d66165fd5151f99460116223d9e3a608eec5cb190600090a36106b7600682611723565b6005546001600160a01b03163314610ac95760405162461bcd60e51b815260040161065d90611dda565b610ad36000611738565b565b33610ae86005546001600160a01b031690565b6001600160a01b03161480610b035750610b03600633611462565b610b1f5760405162461bcd60e51b815260040161065d90611e6a565b60008311610b695760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081c9959da5cdd195c9959604a1b604482015260640161065d565b60006001600160a01b0316600c8481548110610b8757610b87611e25565b6000918252602090912001546001600160a01b031603610be95760405162461bcd60e51b815260206004820152601860248201527f436f6e7472616374206e6f742020726567697374657265640000000000000000604482015260640161065d565b60116000600c8581548110610c0057610c00611e25565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1615610c8b5760405162461bcd60e51b815260206004820152602d60248201527f43616e6e6f742065646974206120636f6e74726163742074686174207761732060448201526c185b1c9958591e481b5a5b9959609a1b606482015260840161065d565b6000600b8481548110610ca057610ca0611e25565b9060005260206000200154905082600c8581548110610cc157610cc1611e25565b6000918252602082200180546001600160a01b0319166001600160a01b039390931692909217909155600b805460018101825591527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9018290556009548290610d2b908390611ee5565b610d359190611eae565b60095550505050565b600c8181548110610d4e57600080fd5b6000918252602090912001546001600160a01b0316905081565b60606004805461053b90611da0565b60003381610d858286610f00565b905083811015610de55760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161065d565b6105ef82868684036110f0565b6000336105cc81858561128e565b33610e136005546001600160a01b031690565b6001600160a01b03161480610e2e5750610e2e600633611462565b610e4a5760405162461bcd60e51b815260040161065d90611e6a565b600c8054600180820183557fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c790910180546001600160a01b0319166001600160a01b038616179055600b805480830182556000919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db9018390559054610ed29190611ee5565b6001600160a01b038316600090815260106020526040902055600954610ef9908290611eae565b6009555050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b33610f3e6005546001600160a01b031690565b6001600160a01b03161480610f595750610f59600633611462565b610f755760405162461bcd60e51b815260040161065d90611e6a565b600a55600f805460ff60a01b1916600160a01b179055565b6005546001600160a01b03163314610fb75760405162461bcd60e51b815260040161065d90611dda565b6001600160a01b03811661101c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161065d565b6106b981611738565b336110386005546001600160a01b031690565b6001600160a01b031614806110535750611053600633611462565b61106f5760405162461bcd60e51b815260040161065d90611e6a565b6001600160a01b0381166000908152601060205260409020546110ce5760405162461bcd60e51b815260206004820152601760248201527610dbdb9d1c9858dd081b9bdd081c9959da5cdd195c9959604a1b604482015260640161065d565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166111525760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161065d565b6001600160a01b0382166111b35760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161065d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006112208484610f00565b90506000198114611288578181101561127b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161065d565b61128884848484036110f0565b50505050565b6001600160a01b0383166112f25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161065d565b6001600160a01b0382166113545760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161065d565b6001600160a01b038316600090815260208190526040902054818110156113cc5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161065d565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290611403908490611eae565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161144f91815260200190565b60405180910390a361128884848461178a565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000611480836001600160a01b0384166119a2565b6000610526825490565b60006114808383611a95565b600080600954836008546114c69190611ec6565b6114d09190611efc565b61148090670de0b6b3a7640000611ec6565b6001600160a01b0382166115385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640161065d565b806002600082825461154a9190611eae565b90915550506001600160a01b03821660009081526020819052604081208054839290611577908490611eae565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a36106b76000838361178a565b6001600160a01b0382166116295760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b606482015260840161065d565b6001600160a01b0382166000908152602081905260409020548181101561169d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b606482015260840161065d565b6001600160a01b03831660009081526020819052604081208383039055600280548492906116cc908490611ee5565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361171e8360008461178a565b505050565b6000611480836001600160a01b038416611abf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600e546001600160a01b03908116908416158015906117b75750600d546001600160a01b03858116911614155b15611862576001600160a01b03841660009081526012602052604081208054600192906117e5908490611eae565b9091555050600e546001600160a01b031661181a57600e80546001600160a01b0319166001600160a01b038616179055611862565b600e546001600160a01b03908116600090815260126020526040808220549287168252902054111561186257600e80546001600160a01b0319166001600160a01b0386161790555b6001600160a01b038316158015906118885750600d546001600160a01b03848116911614155b15611903576001600160a01b03831660009081526012602052604081208054600192906118b6908490611eae565b9091555050600e546001600160a01b03908116600090815260126020526040808220549286168252902054111561190357600e80546001600160a01b0319166001600160a01b0386161790555b600f54600160a01b900460ff16801561192a5750600e546001600160a01b03828116911614155b1561128857600f54600a54600e546040516309036c0560e41b815260048101929092526001600160a01b03908116602483015290911690639036c05090604401600060405180830381600087803b15801561198457600080fd5b505af1158015611998573d6000803e3d6000fd5b5050505050505050565b60008181526001830160205260408120548015611a8b5760006119c6600183611ee5565b85549091506000906119da90600190611ee5565b9050818114611a3f5760008660000182815481106119fa576119fa611e25565b9060005260206000200154905080876000018481548110611a1d57611a1d611e25565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080611a5057611a50611f1e565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610526565b6000915050610526565b6000826000018281548110611aac57611aac611e25565b9060005260206000200154905092915050565b6000818152600183016020526040812054611b0657508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610526565b506000610526565b600060208284031215611b2057600080fd5b81356001600160e01b03198116811461148057600080fd5b600060208083528351808285015260005b81811015611b6557858101830151858201604001528201611b49565b81811115611b77576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b0381168114611ba457600080fd5b919050565b60008060408385031215611bbc57600080fd5b611bc583611b8d565b946020939093013593505050565b600080600060608486031215611be857600080fd5b611bf184611b8d565b9250611bff60208501611b8d565b9150604084013590509250925092565b600060208284031215611c2157600080fd5b61148082611b8d565b6020808252825182820181905260009190848201906040850190845b81811015611c6b5783516001600160a01b031683529284019291840191600101611c46565b50909695505050505050565b600060208284031215611c8957600080fd5b5035919050565b60008083601f840112611ca257600080fd5b50813567ffffffffffffffff811115611cba57600080fd5b6020830191508360208260051b8501011115611cd557600080fd5b9250929050565b60008060008060408587031215611cf257600080fd5b843567ffffffffffffffff80821115611d0a57600080fd5b611d1688838901611c90565b90965094506020870135915080821115611d2f57600080fd5b50611d3c87828801611c90565b95989497509550505050565b600080600060608486031215611d5d57600080fd5b83359250611bff60208501611b8d565b60008060408385031215611d8057600080fd5b611d8983611b8d565b9150611d9760208401611b8d565b90509250929050565b600181811c90821680611db457607f821691505b602082108103611dd457634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611e6357611e63611e3b565b5060010190565b60208082526024908201527f41646d696e436f6e74726f6c3a204d757374206265206f776e6572206f7220616040820152633236b4b760e11b606082015260800190565b60008219821115611ec157611ec1611e3b565b500190565b6000816000190483118215151615611ee057611ee0611e3b565b500290565b600082821015611ef757611ef7611e3b565b500390565b600082611f1957634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603160045260246000fdfea2646970667358221220c28331792873bba96b2410030b60b8dbd05e5d0fb179f92a7a369c061cfbd34164736f6c634300080d0033
Deployed Bytecode Sourcemap
72387:4633:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37145:233;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;37145:233:0;;;;;;;;61525:100;;;:::i;:::-;;;;;;;:::i;63876:201::-;;;;;;:::i;:::-;;:::i;72521:31::-;;;;;;;;;1682:25:1;;;1670:2;1655:18;72521:31:0;1536:177:1;62645:108:0;62733:12;;62645:108;;64657:295;;;;;;:::i;:::-;;:::i;38607:139::-;;;;;;:::i;:::-;;:::i;38329:210::-;;;;;;:::i;:::-;;:::i;:::-;;62487:93;;;62570:2;2384:36:1;;2372:2;2357:18;62487:93:0;2242:184:1;37707:267:0;;;:::i;:::-;;;;;;;:::i;75673:140::-;;;;;;:::i;:::-;;:::i;65361:238::-;;;;;;:::i;:::-;;:::i;74727:414::-;;;;;;:::i;:::-;;:::i;75592:75::-;;;;;;:::i;:::-;;:::i;72559:33::-;;;;;;:::i;:::-;;:::i;75147:439::-;;;;;;:::i;:::-;;:::i;38047:210::-;;;;;;:::i;:::-;;:::i;62816:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;62917:18:0;62890:7;62917:18;;;;;;;;;;;;62816:127;35909:103;;;:::i;73775:612::-;;;;;;:::i;:::-;;:::i;72597:34::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;4920:32:1;;;4902:51;;4890:2;4875:18;72597:34:0;4756:203:1;35258:87:0;35331:6;;-1:-1:-1;;;;;35331:6:0;35258:87;;72638:29;;;;;-1:-1:-1;;;;;72638:29:0;;;61744:104;;;:::i;66102:436::-;;;;;;:::i;:::-;;:::i;63149:193::-;;;;;;:::i;:::-;;:::i;73455:314::-;;;;;;:::i;:::-;;:::i;72705:35::-;;;;;-1:-1:-1;;;;;72705:35:0;;;72428:53;;;;;;63405:151;;;;;;:::i;:::-;;:::i;72672:28::-;;;;;-1:-1:-1;;;;;72672:28:0;;;75819:161;;;;;;:::i;:::-;;:::i;72486:30::-;;;;;;36167:201;;;;;;:::i;:::-;;:::i;74393:189::-;;;;;;:::i;:::-;;:::i;74588:131::-;;;;;;:::i;:::-;-1:-1:-1;;;;;74683:29:0;74658:10;74683:29;;;:12;:29;;;;;;;74588:131;37145:233;37247:4;-1:-1:-1;;;;;;37271:46:0;;-1:-1:-1;;;37271:46:0;;:99;;-1:-1:-1;;;;;;;;;;27558:40:0;;;37334:36;37264:106;37145:233;-1:-1:-1;;37145:233:0:o;61525:100::-;61579:13;61612:5;61605:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61525:100;:::o;63876:201::-;63959:4;34062:10;64015:32;34062:10;64031:7;64040:6;64015:8;:32::i;:::-;-1:-1:-1;64065:4:0;;63876:201;-1:-1:-1;;;63876:201:0:o;64657:295::-;64788:4;34062:10;64846:38;64862:4;34062:10;64877:6;64846:15;:38::i;:::-;64895:27;64905:4;64911:2;64915:6;64895:9;:27::i;:::-;-1:-1:-1;64940:4:0;;64657:295;-1:-1:-1;;;;64657:295:0:o;38607:139::-;38669:4;38705:5;-1:-1:-1;;;;;38694:16:0;:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;38694:7;-1:-1:-1;;;;;38694:16:0;;:43;;;-1:-1:-1;38714:23:0;:7;38731:5;38714:16;:23::i;38329:210::-;35331:6;;-1:-1:-1;;;;;35331:6:0;34062:10;35478:23;35470:68;;;;-1:-1:-1;;;35470:68:0;;;;;;;:::i;:::-;;;;;;;;;38408:23:::1;:7;38425:5:::0;38408:16:::1;:23::i;:::-;38404:128;;;38453:31;::::0;38473:10:::1;::::0;-1:-1:-1;;;;;38453:31:0;::::1;::::0;::::1;::::0;;;::::1;38499:21;:7;38514:5:::0;38499:14:::1;:21::i;:::-;;38404:128;38329:210:::0;:::o;37707:267::-;37760:23;37819:16;:7;:14;:16::i;:::-;37805:31;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37805:31:0;;37796:40;;37852:6;37847:96;37868:16;:7;:14;:16::i;:::-;37864:1;:20;37847:96;;;37918:13;:7;37929:1;37918:10;:13::i;:::-;37906:6;37913:1;37906:9;;;;;;;;:::i;:::-;-1:-1:-1;;;;;37906:25:0;;;:9;;;;;;;;;;;:25;37886:3;;;;:::i;:::-;;;;37847:96;;;;37707:267;:::o;75673:140::-;37531:10;37520:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;37520:7;-1:-1:-1;;;;;37520:21:0;;:53;;;-1:-1:-1;37545:28:0;:7;37562:10;37545:16;:28::i;:::-;37512:102;;;;-1:-1:-1;;;37512:102:0;;;;;;;:::i;:::-;75765:20:::1;:42:::0;;-1:-1:-1;;;;;;75765:42:0::1;-1:-1:-1::0;;;;;75765:42:0;;;::::1;::::0;;;::::1;::::0;;75673:140::o;65361:238::-;65449:4;34062:10;65505:64;34062:10;65521:7;65558:10;65530:25;34062:10;65521:7;65530:9;:25::i;:::-;:38;;;;:::i;:::-;65505:8;:64::i;74727:414::-;74855:13;;74805:20;;-1:-1:-1;;;;;74855:13:0;74841:10;:27;74833:68;;;;-1:-1:-1;;;74833:68:0;;7251:2:1;74833:68:0;;;7233:21:1;7290:2;7270:18;;;7263:30;7329;7309:18;;;7302:58;7377:18;;74833:68:0;7049:352:1;74833:68:0;74942:13;;-1:-1:-1;;;;;74942:13:0;74908:18;74929:27;;;:12;:27;;;;;;74997:16;:28;;74929:27;;74908:18;74981:45;;74997:16;74929:27;;74997:28;;;;;;:::i;:::-;;;;;;;;;74981:15;:45::i;:::-;74963:63;-1:-1:-1;75033:16:0;75053:27;75062:18;74963:63;75053:27;:::i;:::-;75033:47;;75087:26;75093:9;75104:8;75087:5;:26::i;:::-;75127:8;74727:414;-1:-1:-1;;;;;74727:414:0:o;75592:75::-;75636:25;75642:10;75654:6;75636:5;:25::i;72559:33::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72559:33:0;:::o;75147:439::-;37531:10;37520:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;37520:7;-1:-1:-1;;;;;37520:21:0;;:53;;;-1:-1:-1;37545:28:0;:7;37562:10;37545:16;:28::i;:::-;37512:102;;;;-1:-1:-1;;;37512:102:0;;;;;;;:::i;:::-;75270:46;;::::1;75262:71;;;::::0;-1:-1:-1;;;75262:71:0;;7781:2:1;75262:71:0::1;::::0;::::1;7763:21:1::0;7820:2;7800:18;;;7793:30;-1:-1:-1;;;7839:18:1;;;7832:42;7891:18;;75262:71:0::1;7579:336:1::0;75262:71:0::1;75374:13;::::0;-1:-1:-1;;;;;75374:13:0::1;75340:18;75361:27:::0;;;:12:::1;:27;::::0;;;;;75429:16:::1;:28:::0;;75361:27;;75340:18;75413:45:::1;::::0;75429:16;75361:27;;75429:28;::::1;;;;;:::i;75413:45::-;75395:63;;75469:9;75465:116;75484:21:::0;;::::1;75465:116;;;75520:53;75526:10;;75537:1;75526:13;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;75551:18;;75570:1;75551:21;;;;;;;:::i;:::-;;;;;;;75542:6;:30;;;;:::i;:::-;75520:5;:53::i;:::-;75507:3:::0;::::1;::::0;::::1;:::i;:::-;;;;75465:116;;;;75255:331;;75147:439:::0;;;;:::o;38047:210::-;35331:6;;-1:-1:-1;;;;;35331:6:0;34062:10;35478:23;35470:68;;;;-1:-1:-1;;;35470:68:0;;;;;;;:::i;:::-;38128:23:::1;:7;38145:5:::0;38128:16:::1;:23::i;:::-;38123:127;;38173:32;::::0;38194:10:::1;::::0;-1:-1:-1;;;;;38173:32:0;::::1;::::0;::::1;::::0;;;::::1;38220:18;:7;38232:5:::0;38220:11:::1;:18::i;35909:103::-:0;35331:6;;-1:-1:-1;;;;;35331:6:0;34062:10;35478:23;35470:68;;;;-1:-1:-1;;;35470:68:0;;;;;;;:::i;:::-;35974:30:::1;36001:1;35974:18;:30::i;:::-;35909:103::o:0;73775:612::-;37531:10;37520:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;37520:7;-1:-1:-1;;;;;37520:21:0;;:53;;;-1:-1:-1;37545:28:0;:7;37562:10;37545:16;:28::i;:::-;37512:102;;;;-1:-1:-1;;;37512:102:0;;;;;;;:::i;:::-;73913:1:::1;73900:10;:14;73892:50;;;::::0;-1:-1:-1;;;73892:50:0;;8122:2:1;73892:50:0::1;::::0;::::1;8104:21:1::0;8161:2;8141:18;;;8134:30;-1:-1:-1;;;8180:18:1;;;8173:53;8243:18;;73892:50:0::1;7920:347:1::0;73892:50:0::1;73999:1;-1:-1:-1::0;;;;;73957:44:0::1;:17;73975:10;73957:29;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;73957:29:0::1;:44:::0;73949:82:::1;;;::::0;-1:-1:-1;;;73949:82:0;;8474:2:1;73949:82:0::1;::::0;::::1;8456:21:1::0;8513:2;8493:18;;;8486:30;8552:26;8532:18;;;8525:54;8596:18;;73949:82:0::1;8272:348:1::0;73949:82:0::1;74046:15;:46;74062:17;74080:10;74062:29;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;;::::1;::::0;-1:-1:-1;;;;;74062:29:0::1;74046:46:::0;;;::::1;::::0;;;;;;;;;::::1;;:53;74038:111;;;::::0;-1:-1:-1;;;74038:111:0;;8827:2:1;74038:111:0::1;::::0;::::1;8809:21:1::0;8866:2;8846:18;;;8839:30;8905:34;8885:18;;;8878:62;-1:-1:-1;;;8956:18:1;;;8949:43;9009:19;;74038:111:0::1;8625:409:1::0;74038:111:0::1;74156:21;74182:16;74199:10;74182:28;;;;;;;;:::i;:::-;;;;;;;;;74156:54;;74249:15;74217:17;74235:10;74217:29;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;:47:::0;;-1:-1:-1;;;;;;74217:47:0::1;-1:-1:-1::0;;;;;74217:47:0;;;::::1;::::0;;;::::1;::::0;;;74271:16:::1;:37:::0;;-1:-1:-1;74271:37:0;::::1;::::0;;;;;::::1;::::0;;;74333:15:::1;::::0;74271:37;;74333:31:::1;::::0;74351:13;;74333:31:::1;:::i;:::-;:48;;;;:::i;:::-;74315:15;:66:::0;-1:-1:-1;;;;73775:612:0:o;72597:34::-;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72597:34:0;;-1:-1:-1;72597:34:0;:::o;61744:104::-;61800:13;61833:7;61826:14;;;;;:::i;66102:436::-;66195:4;34062:10;66195:4;66278:25;34062:10;66295:7;66278:9;:25::i;:::-;66251:52;;66342:15;66322:16;:35;;66314:85;;;;-1:-1:-1;;;66314:85:0;;9371:2:1;66314:85:0;;;9353:21:1;9410:2;9390:18;;;9383:30;9449:34;9429:18;;;9422:62;-1:-1:-1;;;9500:18:1;;;9493:35;9545:19;;66314:85:0;9169:401:1;66314:85:0;66435:60;66444:5;66451:7;66479:15;66460:16;:34;66435:8;:60::i;63149:193::-;63228:4;34062:10;63284:28;34062:10;63301:2;63305:6;63284:9;:28::i;73455:314::-;37531:10;37520:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;37520:7;-1:-1:-1;;;;;37520:21:0;;:53;;;-1:-1:-1;37545:28:0;:7;37562:10;37545:16;:28::i;:::-;37512:102;;;;-1:-1:-1;;;37512:102:0;;;;;;;:::i;:::-;73556:17:::1;:39:::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;-1:-1:-1;;;;;;73556:39:0::1;-1:-1:-1::0;;;;;73556:39:0;::::1;;::::0;;73602:16:::1;:37:::0;;;;::::1;::::0;;-1:-1:-1;73602:37:0;;;;;::::1;::::0;;;73678:24;;:28:::1;::::0;73556:39;73678:28:::1;:::i;:::-;-1:-1:-1::0;;;;;73646:29:0;::::1;;::::0;;;:12:::1;:29;::::0;;;;:60;73731:15:::1;::::0;:32:::1;::::0;73749:14;;73731:32:::1;:::i;:::-;73713:15;:50:::0;-1:-1:-1;;73455:314:0:o;63405:151::-;-1:-1:-1;;;;;63521:18:0;;;63494:7;63521:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;63405:151::o;75819:161::-;37531:10;37520:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;37520:7;-1:-1:-1;;;;;37520:21:0;;:53;;;-1:-1:-1;37545:28:0;:7;37562:10;37545:16;:28::i;:::-;37512:102;;;;-1:-1:-1;;;37512:102:0;;;;;;;:::i;:::-;75904:15:::1;:32:::0;75945:22:::1;:29:::0;;-1:-1:-1;;;;75945:29:0::1;-1:-1:-1::0;;;75945:29:0::1;::::0;;75819:161::o;36167:201::-;35331:6;;-1:-1:-1;;;;;35331:6:0;34062:10;35478:23;35470:68;;;;-1:-1:-1;;;35470:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36256:22:0;::::1;36248:73;;;::::0;-1:-1:-1;;;36248:73:0;;9777:2:1;36248:73:0::1;::::0;::::1;9759:21:1::0;9816:2;9796:18;;;9789:30;9855:34;9835:18;;;9828:62;-1:-1:-1;;;9906:18:1;;;9899:36;9952:19;;36248:73:0::1;9575:402:1::0;36248:73:0::1;36332:28;36351:8;36332:18;:28::i;74393:189::-:0;37531:10;37520:7;35331:6;;-1:-1:-1;;;;;35331:6:0;;35258:87;37520:7;-1:-1:-1;;;;;37520:21:0;;:53;;;-1:-1:-1;37545:28:0;:7;37562:10;37545:16;:28::i;:::-;37512:102;;;;-1:-1:-1;;;37512:102:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;74480:29:0;::::1;74510:1;74480:29:::0;;;:12:::1;:29;::::0;;;;;74472:66:::1;;;::::0;-1:-1:-1;;;74472:66:0;;8122:2:1;74472:66:0::1;::::0;::::1;8104:21:1::0;8161:2;8141:18;;;8134:30;-1:-1:-1;;;8180:18:1;;;8173:53;8243:18;;74472:66:0::1;7920:347:1::0;74472:66:0::1;74545:13;:31:::0;;-1:-1:-1;;;;;;74545:31:0::1;-1:-1:-1::0;;;;;74545:31:0;;;::::1;::::0;;;::::1;::::0;;74393:189::o;69736:380::-;-1:-1:-1;;;;;69872:19:0;;69864:68;;;;-1:-1:-1;;;69864:68:0;;10184:2:1;69864:68:0;;;10166:21:1;10223:2;10203:18;;;10196:30;10262:34;10242:18;;;10235:62;-1:-1:-1;;;10313:18:1;;;10306:34;10357:19;;69864:68:0;9982:400:1;69864:68:0;-1:-1:-1;;;;;69951:21:0;;69943:68;;;;-1:-1:-1;;;69943:68:0;;10589:2:1;69943:68:0;;;10571:21:1;10628:2;10608:18;;;10601:30;10667:34;10647:18;;;10640:62;-1:-1:-1;;;10718:18:1;;;10711:32;10760:19;;69943:68:0;10387:398:1;69943:68:0;-1:-1:-1;;;;;70024:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;70076:32;;1682:25:1;;;70076:32:0;;1655:18:1;70076:32:0;;;;;;;69736:380;;;:::o;70407:453::-;70542:24;70569:25;70579:5;70586:7;70569:9;:25::i;:::-;70542:52;;-1:-1:-1;;70609:16:0;:37;70605:248;;70691:6;70671:16;:26;;70663:68;;;;-1:-1:-1;;;70663:68:0;;10992:2:1;70663:68:0;;;10974:21:1;11031:2;11011:18;;;11004:30;11070:31;11050:18;;;11043:59;11119:18;;70663:68:0;10790:353:1;70663:68:0;70775:51;70784:5;70791:7;70819:6;70800:16;:25;70775:8;:51::i;:::-;70531:329;70407:453;;;:::o;67017:671::-;-1:-1:-1;;;;;67148:18:0;;67140:68;;;;-1:-1:-1;;;67140:68:0;;11350:2:1;67140:68:0;;;11332:21:1;11389:2;11369:18;;;11362:30;11428:34;11408:18;;;11401:62;-1:-1:-1;;;11479:18:1;;;11472:35;11524:19;;67140:68:0;11148:401:1;67140:68:0;-1:-1:-1;;;;;67227:16:0;;67219:64;;;;-1:-1:-1;;;67219:64:0;;11756:2:1;67219:64:0;;;11738:21:1;11795:2;11775:18;;;11768:30;11834:34;11814:18;;;11807:62;-1:-1:-1;;;11885:18:1;;;11878:33;11928:19;;67219:64:0;11554:399:1;67219:64:0;-1:-1:-1;;;;;67369:15:0;;67347:19;67369:15;;;;;;;;;;;67403:21;;;;67395:72;;;;-1:-1:-1;;;67395:72:0;;12160:2:1;67395:72:0;;;12142:21:1;12199:2;12179:18;;;12172:30;12238:34;12218:18;;;12211:62;-1:-1:-1;;;12289:18:1;;;12282:36;12335:19;;67395:72:0;11958:402:1;67395:72:0;-1:-1:-1;;;;;67503:15:0;;;:9;:15;;;;;;;;;;;67521:20;;;67503:38;;67563:13;;;;;;;;:23;;67535:6;;67503:9;67563:23;;67535:6;;67563:23;:::i;:::-;;;;;;;;67619:2;-1:-1:-1;;;;;67604:26:0;67613:4;-1:-1:-1;;;;;67604:26:0;;67623:6;67604:26;;;;1682:25:1;;1670:2;1655:18;;1536:177;67604:26:0;;;;;;;;67643:37;67663:4;67669:2;67673:6;67643:19;:37::i;8492:167::-;-1:-1:-1;;;;;8626:23:0;;8572:4;4028:19;;;:12;;;:19;;;;;;:24;;8596:55;8589:62;8492:167;-1:-1:-1;;;8492:167:0:o;8248:158::-;8321:4;8345:53;8353:3;-1:-1:-1;;;;;8373:23:0;;8345:7;:53::i;8745:117::-;8808:7;8835:19;8843:3;4229:18;;4146:109;9216:158;9290:7;9341:22;9345:3;9357:5;9341:3;:22::i;73225:224::-;73291:21;73320:20;73390:15;;73378:10;73344:31;;:44;;;;:::i;:::-;:62;;;;:::i;:::-;:73;;73409:8;73344:73;:::i;67975:399::-;-1:-1:-1;;;;;68059:21:0;;68051:65;;;;-1:-1:-1;;;68051:65:0;;12789:2:1;68051:65:0;;;12771:21:1;12828:2;12808:18;;;12801:30;12867:33;12847:18;;;12840:61;12918:18;;68051:65:0;12587:355:1;68051:65:0;68207:6;68191:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;68224:18:0;;:9;:18;;;;;;;;;;:28;;68246:6;;68224:9;:28;;68246:6;;68224:28;:::i;:::-;;;;-1:-1:-1;;68268:37:0;;1682:25:1;;;-1:-1:-1;;;;;68268:37:0;;;68285:1;;68268:37;;1670:2:1;1655:18;68268:37:0;;;;;;;68318:48;68346:1;68350:7;68359:6;68318:19;:48::i;68707:591::-;-1:-1:-1;;;;;68791:21:0;;68783:67;;;;-1:-1:-1;;;68783:67:0;;13149:2:1;68783:67:0;;;13131:21:1;13188:2;13168:18;;;13161:30;13227:34;13207:18;;;13200:62;-1:-1:-1;;;13278:18:1;;;13271:31;13319:19;;68783:67:0;12947:397:1;68783:67:0;-1:-1:-1;;;;;68950:18:0;;68925:22;68950:18;;;;;;;;;;;68987:24;;;;68979:71;;;;-1:-1:-1;;;68979:71:0;;13551:2:1;68979:71:0;;;13533:21:1;13590:2;13570:18;;;13563:30;13629:34;13609:18;;;13602:62;-1:-1:-1;;;13680:18:1;;;13673:32;13722:19;;68979:71:0;13349:398:1;68979:71:0;-1:-1:-1;;;;;69086:18:0;;:9;:18;;;;;;;;;;69107:23;;;69086:44;;69152:12;:22;;69124:6;;69086:9;69152:22;;69124:6;;69152:22;:::i;:::-;;;;-1:-1:-1;;69192:37:0;;1682:25:1;;;69218:1:0;;-1:-1:-1;;;;;69192:37:0;;;;;1670:2:1;1655:18;69192:37:0;;;;;;;69242:48;69262:7;69279:1;69283:6;69242:19;:48::i;:::-;68772:526;68707:591;;:::o;7920:152::-;7990:4;8014:50;8019:3;-1:-1:-1;;;;;8039:23:0;;8014:4;:50::i;36528:191::-;36621:6;;;-1:-1:-1;;;;;36638:17:0;;;-1:-1:-1;;;;;;36638:17:0;;;;;;;36671:40;;36621:6;;;36638:17;36621:6;;36671:40;;36602:16;;36671:40;36591:128;36528:191;:::o;75986:1027::-;76125:13;;-1:-1:-1;;;;;76125:13:0;;;;76237:18;;;;;;:43;;-1:-1:-1;76267:13:0;;-1:-1:-1;;;;;76259:21:0;;;76267:13;;76259:21;;76237:43;76234:410;;;-1:-1:-1;;;;;76292:24:0;;;;;;:18;:24;;;;;:29;;76320:1;;76292:24;:29;;76320:1;;76292:29;:::i;:::-;;;;-1:-1:-1;;76333:13:0;;-1:-1:-1;;;;;76333:13:0;76330:307;;76372:13;:20;;-1:-1:-1;;;;;;76372:20:0;-1:-1:-1;;;;;76372:20:0;;;;;76330:307;;;76568:13;;-1:-1:-1;;;;;76568:13:0;;;76549:33;;;;:18;:33;;;;;;;76522:24;;;;;;;;:60;76519:109;;;76596:13;:20;;-1:-1:-1;;;;;;76596:20:0;-1:-1:-1;;;;;76596:20:0;;;;;76519:109;-1:-1:-1;;;;;76653:16:0;;;;;;:39;;-1:-1:-1;76679:13:0;;-1:-1:-1;;;;;76673:19:0;;;76679:13;;76673:19;;76653:39;76650:198;;;-1:-1:-1;;;;;76702:22:0;;;;;;:18;:22;;;;;:27;;76728:1;;76702:22;:27;;76728:1;;76702:27;:::i;:::-;;;;-1:-1:-1;;76785:13:0;;-1:-1:-1;;;;;76785:13:0;;;76766:33;;;;:18;:33;;;;;;;76741:22;;;;;;;;:58;76738:103;;;76811:13;:20;;-1:-1:-1;;;;;;76811:20:0;-1:-1:-1;;;;;76811:20:0;;;;;76738:103;76857:22;;-1:-1:-1;;;76857:22:0;;;;:55;;;;-1:-1:-1;76883:13:0;;-1:-1:-1;;;;;76883:29:0;;;:13;;:29;;76857:55;76854:154;;;76935:20;;76969:15;;76986:13;;76922:78;;-1:-1:-1;;;76922:78:0;;;;;13926:25:1;;;;-1:-1:-1;;;;;76986:13:0;;;13967:18:1;;;13960:60;76935:20:0;;;;76922:46;;13899:18:1;;76922:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;76095:918;75986:1027;;;:::o;2425:1420::-;2491:4;2630:19;;;:12;;;:19;;;;;;2666:15;;2662:1176;;3041:21;3065:14;3078:1;3065:10;:14;:::i;:::-;3114:18;;3041:38;;-1:-1:-1;3094:17:0;;3114:22;;3135:1;;3114:22;:::i;:::-;3094:42;;3170:13;3157:9;:26;3153:405;;3204:17;3224:3;:11;;3236:9;3224:22;;;;;;;;:::i;:::-;;;;;;;;;3204:42;;3378:9;3349:3;:11;;3361:13;3349:26;;;;;;;;:::i;:::-;;;;;;;;;;;;:38;;;;3463:23;;;:12;;;:23;;;;;:36;;;3153:405;3639:17;;:3;;:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3734:3;:12;;:19;3747:5;3734:19;;;;;;;;;;;3727:26;;;3777:4;3770:11;;;;;;;2662:1176;3821:5;3814:12;;;;;4609:120;4676:7;4703:3;:11;;4715:5;4703:18;;;;;;;;:::i;:::-;;;;;;;;;4696:25;;4609:120;;;;:::o;1835:414::-;1898:4;4028:19;;;:12;;;:19;;;;;;1915:327;;-1:-1:-1;1958:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;2141:18;;2119:19;;;:12;;;:19;;;;;;:40;;;;2174:11;;1915:327;-1:-1:-1;2225:5:0;2218:12;;14:286:1;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:597;609:4;638:2;667;656:9;649:21;699:6;693:13;742:6;737:2;726:9;722:18;715:34;767:1;777:140;791:6;788:1;785:13;777:140;;;886:14;;;882:23;;876:30;852:17;;;871:2;848:26;841:66;806:10;;777:140;;;935:6;932:1;929:13;926:91;;;1005:1;1000:2;991:6;980:9;976:22;972:31;965:42;926:91;-1:-1:-1;1078:2:1;1057:15;-1:-1:-1;;1053:29:1;1038:45;;;;1085:2;1034:54;;497:597;-1:-1:-1;;;497:597:1:o;1099:173::-;1167:20;;-1:-1:-1;;;;;1216:31:1;;1206:42;;1196:70;;1262:1;1259;1252:12;1196:70;1099:173;;;:::o;1277:254::-;1345:6;1353;1406:2;1394:9;1385:7;1381:23;1377:32;1374:52;;;1422:1;1419;1412:12;1374:52;1445:29;1464:9;1445:29;:::i;:::-;1435:39;1521:2;1506:18;;;;1493:32;;-1:-1:-1;;;1277:254:1:o;1718:328::-;1795:6;1803;1811;1864:2;1852:9;1843:7;1839:23;1835:32;1832:52;;;1880:1;1877;1870:12;1832:52;1903:29;1922:9;1903:29;:::i;:::-;1893:39;;1951:38;1985:2;1974:9;1970:18;1951:38;:::i;:::-;1941:48;;2036:2;2025:9;2021:18;2008:32;1998:42;;1718:328;;;;;:::o;2051:186::-;2110:6;2163:2;2151:9;2142:7;2138:23;2134:32;2131:52;;;2179:1;2176;2169:12;2131:52;2202:29;2221:9;2202:29;:::i;2431:658::-;2602:2;2654:21;;;2724:13;;2627:18;;;2746:22;;;2573:4;;2602:2;2825:15;;;;2799:2;2784:18;;;2573:4;2868:195;2882:6;2879:1;2876:13;2868:195;;;2947:13;;-1:-1:-1;;;;;2943:39:1;2931:52;;3038:15;;;;3003:12;;;;2979:1;2897:9;2868:195;;;-1:-1:-1;3080:3:1;;2431:658;-1:-1:-1;;;;;;2431:658:1:o;3094:180::-;3153:6;3206:2;3194:9;3185:7;3181:23;3177:32;3174:52;;;3222:1;3219;3212:12;3174:52;-1:-1:-1;3245:23:1;;3094:180;-1:-1:-1;3094:180:1:o;3279:367::-;3342:8;3352:6;3406:3;3399:4;3391:6;3387:17;3383:27;3373:55;;3424:1;3421;3414:12;3373:55;-1:-1:-1;3447:20:1;;3490:18;3479:30;;3476:50;;;3522:1;3519;3512:12;3476:50;3559:4;3551:6;3547:17;3535:29;;3619:3;3612:4;3602:6;3599:1;3595:14;3587:6;3583:27;3579:38;3576:47;3573:67;;;3636:1;3633;3626:12;3573:67;3279:367;;;;;:::o;3651:773::-;3773:6;3781;3789;3797;3850:2;3838:9;3829:7;3825:23;3821:32;3818:52;;;3866:1;3863;3856:12;3818:52;3906:9;3893:23;3935:18;3976:2;3968:6;3965:14;3962:34;;;3992:1;3989;3982:12;3962:34;4031:70;4093:7;4084:6;4073:9;4069:22;4031:70;:::i;:::-;4120:8;;-1:-1:-1;4005:96:1;-1:-1:-1;4208:2:1;4193:18;;4180:32;;-1:-1:-1;4224:16:1;;;4221:36;;;4253:1;4250;4243:12;4221:36;;4292:72;4356:7;4345:8;4334:9;4330:24;4292:72;:::i;:::-;3651:773;;;;-1:-1:-1;4383:8:1;-1:-1:-1;;;;3651:773:1:o;4429:322::-;4506:6;4514;4522;4575:2;4563:9;4554:7;4550:23;4546:32;4543:52;;;4591:1;4588;4581:12;4543:52;4627:9;4614:23;4604:33;;4656:38;4690:2;4679:9;4675:18;4656:38;:::i;4964:260::-;5032:6;5040;5093:2;5081:9;5072:7;5068:23;5064:32;5061:52;;;5109:1;5106;5099:12;5061:52;5132:29;5151:9;5132:29;:::i;:::-;5122:39;;5180:38;5214:2;5203:9;5199:18;5180:38;:::i;:::-;5170:48;;4964:260;;;;;:::o;5229:380::-;5308:1;5304:12;;;;5351;;;5372:61;;5426:4;5418:6;5414:17;5404:27;;5372:61;5479:2;5471:6;5468:14;5448:18;5445:38;5442:161;;5525:10;5520:3;5516:20;5513:1;5506:31;5560:4;5557:1;5550:15;5588:4;5585:1;5578:15;5442:161;;5229:380;;;:::o;5614:356::-;5816:2;5798:21;;;5835:18;;;5828:30;5894:34;5889:2;5874:18;;5867:62;5961:2;5946:18;;5614:356::o;5975:127::-;6036:10;6031:3;6027:20;6024:1;6017:31;6067:4;6064:1;6057:15;6091:4;6088:1;6081:15;6107:127;6168:10;6163:3;6159:20;6156:1;6149:31;6199:4;6196:1;6189:15;6223:4;6220:1;6213:15;6239:127;6300:10;6295:3;6291:20;6288:1;6281:31;6331:4;6328:1;6321:15;6355:4;6352:1;6345:15;6371:135;6410:3;6431:17;;;6428:43;;6451:18;;:::i;:::-;-1:-1:-1;6498:1:1;6487:13;;6371:135::o;6511:400::-;6713:2;6695:21;;;6752:2;6732:18;;;6725:30;6791:34;6786:2;6771:18;;6764:62;-1:-1:-1;;;6857:2:1;6842:18;;6835:34;6901:3;6886:19;;6511:400::o;6916:128::-;6956:3;6987:1;6983:6;6980:1;6977:13;6974:39;;;6993:18;;:::i;:::-;-1:-1:-1;7029:9:1;;6916:128::o;7406:168::-;7446:7;7512:1;7508;7504:6;7500:14;7497:1;7494:21;7489:1;7482:9;7475:17;7471:45;7468:71;;;7519:18;;:::i;:::-;-1:-1:-1;7559:9:1;;7406:168::o;9039:125::-;9079:4;9107:1;9104;9101:8;9098:34;;;9112:18;;:::i;:::-;-1:-1:-1;9149:9:1;;9039:125::o;12365:217::-;12405:1;12431;12421:132;;12475:10;12470:3;12466:20;12463:1;12456:31;12510:4;12507:1;12500:15;12538:4;12535:1;12528:15;12421:132;-1:-1:-1;12567:9:1;;12365:217::o;14031:127::-;14092:10;14087:3;14083:20;14080:1;14073:31;14123:4;14120:1;14113:15;14147:4;14144:1;14137:15
Swarm Source
ipfs://c28331792873bba96b2410030b60b8dbd05e5d0fb179f92a7a369c061cfbd341
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.