Overview
TokenID
514
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BraveSeries
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-02 */ /** *Submitted for verification at Etherscan.io on 2021-09-18 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/introspection/IERC165.sol pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } // File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } // File: @openzeppelin/contracts/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts may inherit from this and call {_registerInterface} to declare * their support of an interface. */ abstract contract ERC165 is IERC165 { /* * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7 */ bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7; /** * @dev Mapping of interface ids to whether or not it's supported. */ mapping(bytes4 => bool) private _supportedInterfaces; constructor () { // Derived contracts need only register support for their own interfaces, // we register support for ERC165 itself here _registerInterface(_INTERFACE_ID_ERC165); } /** * @dev See {IERC165-supportsInterface}. * * Time complexity O(1), guaranteed to always use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev Registers the contract as an implementer of the interface defined by * `interfaceId`. Support of the actual ERC165 interface is automatic and * registering its interface id is not required. * * See {IERC165-supportsInterface}. * * Requirements: * * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`). */ function _registerInterface(bytes4 interfaceId) internal virtual { require(interfaceId != 0xffffffff, "ERC165: invalid interface id"); _supportedInterfaces[interfaceId] = true; } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type' */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/utils/EnumerableSet.sol pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping (bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { require(set._values.length > index, "EnumerableSet: index out of bounds"); return set._values[index]; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } } // File: @openzeppelin/contracts/utils/EnumerableMap.sol pragma solidity ^0.8.0; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct MapEntry { bytes32 _key; bytes32 _value; } struct Map { // Storage of map keys and values MapEntry[] _entries; // Position of the entry defined by a key in the `entries` array, plus 1 // because index 0 means a key is not in the map. mapping (bytes32 => uint256) _indexes; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) { // Equivalent to !contains(map, key) map._entries.push(MapEntry({ _key: key, _value: value })); // The entry is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value map._indexes[key] = map._entries.length; return true; } else { map._entries[keyIndex - 1]._value = value; return false; } } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { // We read and store the key's index to prevent multiple reads from the same storage slot uint256 keyIndex = map._indexes[key]; if (keyIndex != 0) { // Equivalent to contains(map, key) // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one // in the array, and then remove the last entry (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = keyIndex - 1; uint256 lastIndex = map._entries.length - 1; // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement. MapEntry storage lastEntry = map._entries[lastIndex]; // Move the last entry to the index where the entry to delete is map._entries[toDeleteIndex] = lastEntry; // Update the index for the moved entry map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based // Delete the slot where the moved entry was stored map._entries.pop(); // Delete the index for the deleted slot delete map._indexes[key]; return true; } else { return false; } } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._indexes[key] != 0; } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._entries.length; } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { require(map._entries.length > index, "EnumerableMap: index out of bounds"); MapEntry storage entry = map._entries[index]; return (entry._key, entry._value); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { uint256 keyIndex = map._indexes[key]; if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key) return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) { uint256 keyIndex = map._indexes[key]; require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key) return map._entries[keyIndex - 1]._value; // All indexes are 1-based } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } } // File: @openzeppelin/contracts/utils/Strings.sol pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { /** * @dev Converts a `uint256` to its ASCII `string` representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } } // File: @openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.8.0; /** * @title ERC721 Non-Fungible Token Standard basic implementation * @dev see https://eips.ethereum.org/EIPS/eip-721 */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using SafeMath for uint256; using Address for address; using EnumerableSet for EnumerableSet.UintSet; using EnumerableMap for EnumerableMap.UintToAddressMap; using Strings for uint256; // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))` // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector` bytes4 private constant _ERC721_RECEIVED = 0x150b7a02; // Mapping from holder address to their (enumerable) set of owned tokens mapping (address => EnumerableSet.UintSet) private _holderTokens; // Enumerable mapping from token ids to their owners EnumerableMap.UintToAddressMap private _tokenOwners; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; // Token name string private _name; // Token symbol string private _symbol; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; // Base URI string private _baseURI; /* * bytes4(keccak256('balanceOf(address)')) == 0x70a08231 * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3 * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465 * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5 * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde * * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^ * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd */ bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd; /* * bytes4(keccak256('name()')) == 0x06fdde03 * bytes4(keccak256('symbol()')) == 0x95d89b41 * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd * * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f */ bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f; /* * bytes4(keccak256('totalSupply()')) == 0x18160ddd * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59 * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7 * * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63 */ bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; // register the supported interfaces to conform to ERC721 via ERC165 _registerInterface(_INTERFACE_ID_ERC721); _registerInterface(_INTERFACE_ID_ERC721_METADATA); _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _holderTokens[owner].length(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token"); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI. return string(abi.encodePacked(base, tokenId.toString())); } /** * @dev Returns the base URI set via {_setBaseURI}. This will be * automatically added as a prefix in {tokenURI} to each token's URI, or * to the token ID if no specific URI is set for that token ID. */ function baseURI() public view virtual returns (string memory) { return _baseURI; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { return _holderTokens[owner].at(index); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds return _tokenOwners.length(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { (uint256 tokenId, ) = _tokenOwners.at(index); return tokenId; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _tokenOwners.contains(tokenId); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: d* * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // internal owner _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); // Clear metadata (if any) if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } _holderTokens[owner].remove(tokenId); _tokenOwners.remove(tokenId); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _holderTokens[from].remove(tokenId); _holderTokens[to].add(tokenId); _tokenOwners.set(tokenId, to); emit Transfer(from, to, tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721Metadata: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (!to.isContract()) { return true; } bytes memory returndata = to.functionCall(abi.encodeWithSelector( IERC721Receiver(to).onERC721Received.selector, _msgSender(), from, tokenId, _data ), "ERC721: transfer to non ERC721Receiver implementer"); bytes4 retval = abi.decode(returndata, (bytes4)); return (retval == _ERC721_RECEIVED); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } pragma solidity ^0.8.0; /** * @title BraveSeries * @dev Extends ERC721 Non-Fungible Token Standard basic implementation */ contract BraveSeries is ERC721, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public constant BraveSeriesPrice = 100000000000000000; //0.1 ETH uint public constant maxBraveSeriesPurchase = 20; uint256 public immutable MAX_BraveSeries; uint256 public airdropSupply; uint256 public firstPhaseSupply; uint256 public secondPhaseSupply; // different starting index on three phases uint256 public startingIndexForAirdrop; uint256 public startingIndexForFirst; uint256 public startingIndexForSecond; uint256 public nowTokenId; // tokenId start from 1 bool public saleIsActive = false; bool public secondSaleIsActive = false; address payable public treasury; constructor(uint256 maxBraveSeriesSupply,uint256 _airdropSupply, uint256 _firstPhaseSupply, address payable fundReceiver) ERC721("Brave Series More Want", "BSMW") { MAX_BraveSeries = maxBraveSeriesSupply; airdropSupply = _airdropSupply; firstPhaseSupply = _firstPhaseSupply; secondPhaseSupply = maxBraveSeriesSupply - _airdropSupply - _firstPhaseSupply; treasury = fundReceiver; } /** * Mints BraveSeries On First Phase */ function mintBraveSeriesOnFirstPhase(uint numberOfTokens) public payable { // Gas optimization uint256 _nowTokenId = nowTokenId; require(saleIsActive, "Sale must be active to mint BraveSeries"); require(numberOfTokens <= maxBraveSeriesPurchase, "Can only mint 20 tokens at a time"); require((_nowTokenId + numberOfTokens) <= (airdropSupply + firstPhaseSupply), "Purchase would exceed max supply of first phase"); require(BraveSeriesPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); // The contract never holds any Ether. Everything gets redirected to treasury directly. treasury.transfer(msg.value); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, _nowTokenId + i); } nowTokenId += numberOfTokens; } /** * Mints BraveSeries On Second Phase */ function mintBraveSeriesOnSecondPhase(uint numberOfTokens) public payable { // Gas optimization uint256 _nowTokenId = nowTokenId; require(saleIsActive, "Sale must be active to mint BraveSeries"); require(secondSaleIsActive, "Second sale must be active to mint BraveSeries"); require(numberOfTokens <= maxBraveSeriesPurchase, "Can only mint 20 tokens at a time"); require(_nowTokenId + numberOfTokens <= MAX_BraveSeries, "Purchase would exceed max supply of BraveSeries"); require(BraveSeriesPrice.mul(numberOfTokens) <= msg.value, "Ether value sent is not correct"); // The contract never holds any Ether. Everything gets redirected to treasury directly. treasury.transfer(msg.value); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, _nowTokenId + i); } nowTokenId += numberOfTokens; } // RNG for each phase after fully minted function setStartingIndexForAirdrop() public onlyOwner { require(startingIndexForAirdrop == 0, "Starting index is already set"); startingIndexForAirdrop = uint(blockhash(block.number - 1)) % airdropSupply; } function setStartingIndexForFirst() public onlyOwner { require(startingIndexForFirst == 0, "Starting index is already set"); startingIndexForFirst = uint(blockhash(block.number - 1)) % firstPhaseSupply; } function setStartingIndexForSecond() public onlyOwner { require(startingIndexForSecond == 0, "Starting index is already set"); startingIndexForSecond = uint(blockhash(block.number - 1)) % secondPhaseSupply; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory base = baseURI(); string memory unRevealURI = "ipfs://Qmb6ri3QpTHJxXpwTeVf5PLPP4YXBzmu753Nsb71ZCkiDo"; uint256 _onFirstPhaseTotalSupply = airdropSupply + firstPhaseSupply; // when airdrop start index has been revealed if (startingIndexForAirdrop != 0 && tokenId <= airdropSupply) { uint256 _id = tokenId + startingIndexForAirdrop; if (_id > airdropSupply) { _id -= airdropSupply; } return string(abi.encodePacked(base, _id.toString())); } // when first phase start index has been revealed if (startingIndexForFirst !=0 && tokenId <= _onFirstPhaseTotalSupply) { uint256 _id = tokenId + startingIndexForFirst; if (_id > _onFirstPhaseTotalSupply) { _id -= firstPhaseSupply; } return string(abi.encodePacked(base, _id.toString())); } // when second phase start index has been revealed if (startingIndexForSecond != 0) { uint256 _id = tokenId + startingIndexForSecond; if (_id > MAX_BraveSeries) { _id -= secondPhaseSupply; } return string(abi.encodePacked(base, _id.toString())); } // when not revealed yet, give the same image return unRevealURI; } /** * Set some BraveSeries aside */ function reserveBraveSeries(uint numberOfTokens) public onlyOwner { require(numberOfTokens + nowTokenId <= airdropSupply, "reserve would excced max airdrop supply"); for(uint i = 1; i <= numberOfTokens; i++) { _safeMint(msg.sender, nowTokenId + i); } nowTokenId += numberOfTokens; } function setBaseURI(string memory baseURI) public onlyOwner { _setBaseURI(baseURI); } /* * Pause sale if active, make active if paused */ function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipSecondSaleState() public onlyOwner { secondSaleIsActive = !secondSaleIsActive; } // burn it down!!!! function burn(uint256 tokenId) external { require(_isApprovedOrOwner(msg.sender, tokenId), "BraveSeries: burn caller is not owner nor approved"); _burn(tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxBraveSeriesSupply","type":"uint256"},{"internalType":"uint256","name":"_airdropSupply","type":"uint256"},{"internalType":"uint256","name":"_firstPhaseSupply","type":"uint256"},{"internalType":"address payable","name":"fundReceiver","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"BraveSeriesPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_BraveSeries","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"airdropSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"firstPhaseSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSecondSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBraveSeriesPurchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintBraveSeriesOnFirstPhase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mintBraveSeriesOnSecondPhase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nowTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"reserveBraveSeries","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondPhaseSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondSaleIsActive","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":[],"name":"setStartingIndexForAirdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndexForFirst","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndexForSecond","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndexForAirdrop","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexForFirst","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingIndexForSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040526012805461ffff191690553480156200001c57600080fd5b5060405162002fbd38038062002fbd8339810160408190526200003f91620002cf565b604080518082018252601681527f427261766520536572696573204d6f72652057616e74000000000000000000006020808301919091528251808401909352600483526342534d5760e01b9083015290620000a16301ffc9a760e01b620001a5565b8151620000b690600690602085019062000229565b508051620000cc90600790602084019062000229565b50620000df6380ac58cd60e01b620001a5565b620000f1635b5e139f60e01b620001a5565b6200010363780e9d6360e01b620001a5565b5050600a80546001600160a01b0319163390811790915560405181906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506080849052600b839055600c8290558162000164848662000320565b62000170919062000320565b600d55601280546001600160a01b03909216620100000262010000600160b01b03199092169190911790555062000383915050565b6001600160e01b03198082161415620002045760405162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015260640160405180910390fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b828054620002379062000346565b90600052602060002090601f0160209004810192826200025b5760008555620002a6565b82601f106200027657805160ff1916838001178555620002a6565b82800160010185558215620002a6579182015b82811115620002a657825182559160200191906001019062000289565b50620002b4929150620002b8565b5090565b5b80821115620002b45760008155600101620002b9565b60008060008060808587031215620002e657600080fd5b845160208601516040870151606088015192965090945092506001600160a01b03811681146200031557600080fd5b939692955090935050565b6000828210156200034157634e487b7160e01b600052601160045260246000fd5b500390565b600181811c908216806200035b57607f821691505b602082108114156200037d57634e487b7160e01b600052602260045260246000fd5b50919050565b608051612c10620003ad600039600081816104000152818161100a01526113e30152612c106000f3fe60806040526004361061025c5760003560e01c80635e22bb7911610144578063a22cb465116100b6578063eb8d24441161007a578063eb8d2444146106e7578063f0b71d3314610701578063f2fde38b14610717578063f80c262514610737578063fb3ed5c714610757578063ffff5dd81461076d57600080fd5b8063a22cb46514610628578063b88d4fde14610648578063c87b56dd14610668578063d58f197d14610688578063e985e9c51461069e57600080fd5b8063715018a611610108578063715018a6146105a15780638cd7868d146105b65780638da5cb5b146105cc57806395d89b41146105ea57806398cdceae146105ff5780639d6b44a71461061557600080fd5b80635e22bb791461051357806361d027b3146105265780636352211e1461054c5780636c0360eb1461056c57806370a082311461058157600080fd5b806334918dfd116101dd5780634b529d86116101a15780634b529d86146104775780634f6ccce71461048c5780634f8f0a04146104ac57806350a32782146104c257806355f804b3146104de578063570b85a9146104fe57600080fd5b806334918dfd146103d95780633e9e6913146103ee578063426040441461042257806342842e0e1461043757806342966c681461045757600080fd5b806318160ddd1161022457806318160ddd1461034b578063239b51251461036e57806323b872dd14610383578063275ffed7146103a35780632f745c59146103b957600080fd5b806301ffc9a71461026157806306fdde03146102b057806307d10d31146102d2578063081812fc146102f1578063095ea7b314610329575b600080fd5b34801561026d57600080fd5b5061029b61027c3660046126d4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b3480156102bc57600080fd5b506102c5610782565b6040516102a79190612824565b3480156102de57600080fd5b5060125461029b90610100900460ff1681565b3480156102fd57600080fd5b5061031161030c366004612757565b610814565b6040516001600160a01b0390911681526020016102a7565b34801561033557600080fd5b506103496103443660046126aa565b6108a1565b005b34801561035757600080fd5b506103606109b7565b6040519081526020016102a7565b34801561037a57600080fd5b506103496109c8565b34801561038f57600080fd5b5061034961039e3660046125b6565b610a0f565b3480156103af57600080fd5b50610360600f5481565b3480156103c557600080fd5b506103606103d43660046126aa565b610a40565b3480156103e557600080fd5b50610349610a6b565b3480156103fa57600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000000081565b34801561042e57600080fd5b50610349610aa9565b34801561044357600080fd5b506103496104523660046125b6565b610b11565b34801561046357600080fd5b50610349610472366004612757565b610b2c565b34801561048357600080fd5b50610349610ba9565b34801561049857600080fd5b506103606104a7366004612757565b610c11565b3480156104b857600080fd5b5061036060115481565b3480156104ce57600080fd5b5061036067016345785d8a000081565b3480156104ea57600080fd5b506103496104f936600461270e565b610c27565b34801561050a57600080fd5b50610360601481565b610349610521366004612757565b610c5a565b34801561053257600080fd5b50601254610311906201000090046001600160a01b031681565b34801561055857600080fd5b50610311610567366004612757565b610e0e565b34801561057857600080fd5b506102c5610e36565b34801561058d57600080fd5b5061036061059c366004612568565b610e45565b3480156105ad57600080fd5b50610349610ed1565b3480156105c257600080fd5b50610360600e5481565b3480156105d857600080fd5b50600a546001600160a01b0316610311565b3480156105f657600080fd5b506102c5610f45565b34801561060b57600080fd5b5061036060105481565b610349610623366004612757565b610f54565b34801561063457600080fd5b5061034961064336600461266e565b611166565b34801561065457600080fd5b506103496106633660046125f2565b61122b565b34801561067457600080fd5b506102c5610683366004612757565b611263565b34801561069457600080fd5b50610360600c5481565b3480156106aa57600080fd5b5061029b6106b9366004612583565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106f357600080fd5b5060125461029b9060ff1681565b34801561070d57600080fd5b50610360600d5481565b34801561072357600080fd5b50610349610732366004612568565b611416565b34801561074357600080fd5b50610349610752366004612757565b611501565b34801561076357600080fd5b50610360600b5481565b34801561077957600080fd5b506103496115e2565b60606006805461079190612a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546107bd90612a5c565b801561080a5780601f106107df5761010080835404028352916020019161080a565b820191906000526020600020905b8154815290600101906020018083116107ed57829003601f168201915b5050505050905090565b600061081f8261164a565b6108855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108ac82610e0e565b9050806001600160a01b0316836001600160a01b0316141561091a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161087c565b336001600160a01b0382161480610936575061093681336106b9565b6109a85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161087c565b6109b28383611657565b505050565b60006109c360026116c5565b905090565b600a546001600160a01b031633146109f25760405162461bcd60e51b815260040161087c90612901565b6012805461ff001981166101009182900460ff1615909102179055565b610a1933826116cf565b610a355760405162461bcd60e51b815260040161087c9061297d565b6109b28383836117b9565b6001600160a01b0382166000908152600160205260408120610a62908361193a565b90505b92915050565b600a546001600160a01b03163314610a955760405162461bcd60e51b815260040161087c90612901565b6012805460ff19811660ff90911615179055565b600a546001600160a01b03163314610ad35760405162461bcd60e51b815260040161087c90612901565b60105415610af35760405162461bcd60e51b815260040161087c906128ca565b600d54610b01600143612a19565b610b0c919040612ab2565b601055565b6109b28383836040518060200160405280600081525061122b565b610b3633826116cf565b610b9d5760405162461bcd60e51b815260206004820152603260248201527f42726176655365726965733a206275726e2063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161087c565b610ba681611946565b50565b600a546001600160a01b03163314610bd35760405162461bcd60e51b815260040161087c90612901565b600e5415610bf35760405162461bcd60e51b815260040161087c906128ca565b600b54610c01600143612a19565b610c0c919040612ab2565b600e55565b600080610c1f600284611a00565b509392505050565b600a546001600160a01b03163314610c515760405162461bcd60e51b815260040161087c90612901565b610ba681611a1c565b60115460125460ff16610c7f5760405162461bcd60e51b815260040161087c90612936565b6014821115610ca05760405162461bcd60e51b815260040161087c90612889565b600c54600b54610cb091906129ce565b610cba83836129ce565b1115610d205760405162461bcd60e51b815260206004820152602f60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526e206f6620666972737420706861736560881b606482015260840161087c565b34610d3367016345785d8a000084611a33565b1115610d815760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161087c565b6012546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050158015610dc2573d6000803e3d6000fd5b5060015b828111610df257610de033610ddb83856129ce565b611ab2565b80610dea81612a97565b915050610dc6565b508160116000828254610e0591906129ce565b90915550505050565b6000610a6582604051806060016040528060298152602001612b7d6029913960029190611acc565b60606009805461079190612a5c565b60006001600160a01b038216610eb05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161087c565b6001600160a01b0382166000908152600160205260409020610a65906116c5565b600a546001600160a01b03163314610efb5760405162461bcd60e51b815260040161087c90612901565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606007805461079190612a5c565b60115460125460ff16610f795760405162461bcd60e51b815260040161087c90612936565b601254610100900460ff16610fe75760405162461bcd60e51b815260206004820152602e60248201527f5365636f6e642073616c65206d7573742062652061637469766520746f206d6960448201526d6e7420427261766553657269657360901b606482015260840161087c565b60148211156110085760405162461bcd60e51b815260040161087c90612889565b7f000000000000000000000000000000000000000000000000000000000000000061103383836129ce565b11156110995760405162461bcd60e51b815260206004820152602f60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526e206f6620427261766553657269657360881b606482015260840161087c565b346110ac67016345785d8a000084611a33565b11156110fa5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161087c565b6012546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f1935050505015801561113b573d6000803e3d6000fd5b5060015b828111610df25761115433610ddb83856129ce565b8061115e81612a97565b91505061113f565b6001600160a01b0382163314156111bf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087c565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61123533836116cf565b6112515760405162461bcd60e51b815260040161087c9061297d565b61125d84848484611ae3565b50505050565b606061126e8261164a565b6112d25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087c565b60006112dc610e36565b90506000604051806060016040528060358152602001612ba66035913990506000600c54600b5461130d91906129ce565b9050600e546000141580156113245750600b548511155b1561138a576000600e548661133991906129ce565b9050600b5481111561135557600b546113529082612a19565b90505b8361135f82611b16565b6040516020016113709291906127b8565b604051602081830303815290604052945050505050919050565b600f541580159061139b5750808511155b156113c7576000600f54866113b091906129ce565b90508181111561135557600c546113529082612a19565b60105415610c1f576000601054866113df91906129ce565b90507f000000000000000000000000000000000000000000000000000000000000000081111561135557600d546113529082612a19565b600a546001600160a01b031633146114405760405162461bcd60e51b815260040161087c90612901565b6001600160a01b0381166114a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087c565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316331461152b5760405162461bcd60e51b815260040161087c90612901565b600b5460115461153b90836129ce565b11156115995760405162461bcd60e51b815260206004820152602760248201527f7265736572766520776f756c6420657863636564206d61782061697264726f7060448201526620737570706c7960c81b606482015260840161087c565b60015b8181116115c7576115b53382601154610ddb91906129ce565b806115bf81612a97565b91505061159c565b5080601160008282546115da91906129ce565b909155505050565b600a546001600160a01b0316331461160c5760405162461bcd60e51b815260040161087c90612901565b600f541561162c5760405162461bcd60e51b815260040161087c906128ca565b600c5461163a600143612a19565b611645919040612ab2565b600f55565b6000610a65600283611c14565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061168c82610e0e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a65825490565b60006116da8261164a565b61173b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b600061174683610e0e565b9050806001600160a01b0316846001600160a01b031614806117815750836001600160a01b031661177684610814565b6001600160a01b0316145b806117b157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117cc82610e0e565b6001600160a01b0316146118345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161087c565b6001600160a01b0382166118965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161087c565b6118a1600082611657565b6001600160a01b03831660009081526001602052604090206118c39082611c2c565b506001600160a01b03821660009081526001602052604090206118e69082611c38565b506118f360028284611c44565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a628383611c5a565b600061195182610e0e565b905061195e600083611657565b6000828152600860205260409020805461197790612a5c565b15905061199557600082815260086020526040812061199591612403565b6001600160a01b03811660009081526001602052604090206119b79083611c2c565b506119c3600283611ce0565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080611a0f8686611cec565b9097909650945050505050565b8051611a2f90600990602084019061243d565b5050565b600082611a4257506000610a65565b6000611a4e83856129fa565b905082611a5b85836129e6565b14610a625760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161087c565b611a2f828260405180602001604052806000815250611d89565b6000611ad9848484611dbc565b90505b9392505050565b611aee8484846117b9565b611afa84848484611e25565b61125d5760405162461bcd60e51b815260040161087c90612837565b606081611b3a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b645780611b4e81612a97565b9150611b5d9050600a836129e6565b9150611b3e565b60008167ffffffffffffffff811115611b7f57611b7f612b1e565b6040519080825280601f01601f191660200182016040528015611ba9576020820181803683370190505b5090505b84156117b157611bbe600183612a19565b9150611bcb600a86612ab2565b611bd69060306129ce565b60f81b818381518110611beb57611beb612b08565b60200101906001600160f81b031916908160001a905350611c0d600a866129e6565b9450611bad565b60008181526001830160205260408120541515610a62565b6000610a628383611ef6565b6000610a628383611fe9565b6000611ad984846001600160a01b038516612038565b81546000908210611cb85760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161087c565b826000018281548110611ccd57611ccd612b08565b9060005260206000200154905092915050565b6000610a6283836120d9565b815460009081908310611d4c5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161087c565b6000846000018481548110611d6357611d63612b08565b906000526020600020906002020190508060000154816001015492509250509250929050565b611d9383836121e0565b611da06000848484611e25565b6109b25760405162461bcd60e51b815260040161087c90612837565b60008281526001840160205260408120548281611dec5760405162461bcd60e51b815260040161087c9190612824565b5084611df9600183612a19565b81548110611e0957611e09612b08565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611e3e575060016117b1565b6000611ebf630a85bd0160e11b33888787604051602401611e6294939291906127e7565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612b4b603291396001600160a01b03881691906122f8565b9050600081806020019051810190611ed791906126f1565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015611fdf576000611f1a600183612a19565b8554909150600090611f2e90600190612a19565b90506000866000018281548110611f4757611f47612b08565b9060005260206000200154905080876000018481548110611f6a57611f6a612b08565b600091825260209091200155611f818360016129ce565b60008281526001890160205260409020558654879080611fa357611fa3612af2565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a65565b6000915050610a65565b600081815260018301602052604081205461203057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a65565b506000610a65565b60008281526001840160205260408120548061209d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611adc565b82856120aa600184612a19565b815481106120ba576120ba612b08565b9060005260206000209060020201600101819055506000915050611adc565b60008181526001830160205260408120548015611fdf5760006120fd600183612a19565b855490915060009061211190600190612a19565b9050600086600001828154811061212a5761212a612b08565b906000526020600020906002020190508087600001848154811061215057612150612b08565b6000918252602090912082546002909202019081556001918201549082015561217a9084906129ce565b81546000908152600189016020526040902055865487908061219e5761219e612af2565b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610a659350505050565b6001600160a01b0382166122365760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087c565b61223f8161164a565b1561228c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087c565b6001600160a01b03821660009081526001602052604090206122ae9082611c38565b506122bb60028284611c44565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611ad9848460008585843b6123515760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161087c565b600080866001600160a01b0316858760405161236d919061279c565b60006040518083038185875af1925050503d80600081146123aa576040519150601f19603f3d011682016040523d82523d6000602084013e6123af565b606091505b50915091506123bf8282866123ca565b979650505050505050565b606083156123d9575081611adc565b8251156123e95782518084602001fd5b8160405162461bcd60e51b815260040161087c9190612824565b50805461240f90612a5c565b6000825580601f1061241f575050565b601f016020900490600052602060002090810190610ba691906124c1565b82805461244990612a5c565b90600052602060002090601f01602090048101928261246b57600085556124b1565b82601f1061248457805160ff19168380011785556124b1565b828001600101855582156124b1579182015b828111156124b1578251825591602001919060010190612496565b506124bd9291506124c1565b5090565b5b808211156124bd57600081556001016124c2565b600067ffffffffffffffff808411156124f1576124f1612b1e565b604051601f8501601f19908116603f0116810190828211818310171561251957612519612b1e565b8160405280935085815286868601111561253257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461256357600080fd5b919050565b60006020828403121561257a57600080fd5b610a628261254c565b6000806040838503121561259657600080fd5b61259f8361254c565b91506125ad6020840161254c565b90509250929050565b6000806000606084860312156125cb57600080fd5b6125d48461254c565b92506125e26020850161254c565b9150604084013590509250925092565b6000806000806080858703121561260857600080fd5b6126118561254c565b935061261f6020860161254c565b925060408501359150606085013567ffffffffffffffff81111561264257600080fd5b8501601f8101871361265357600080fd5b612662878235602084016124d6565b91505092959194509250565b6000806040838503121561268157600080fd5b61268a8361254c565b91506020830135801515811461269f57600080fd5b809150509250929050565b600080604083850312156126bd57600080fd5b6126c68361254c565b946020939093013593505050565b6000602082840312156126e657600080fd5b8135610a6281612b34565b60006020828403121561270357600080fd5b8151610a6281612b34565b60006020828403121561272057600080fd5b813567ffffffffffffffff81111561273757600080fd5b8201601f8101841361274857600080fd5b6117b1848235602084016124d6565b60006020828403121561276957600080fd5b5035919050565b60008151808452612788816020860160208601612a30565b601f01601f19169290920160200192915050565b600082516127ae818460208701612a30565b9190910192915050565b600083516127ca818460208801612a30565b8351908301906127de818360208801612a30565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061281a90830184612770565b9695505050505050565b602081526000610a626020830184612770565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526021908201527f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d6040820152606560f81b606082015260800190565b6020808252601d908201527f5374617274696e6720696e64657820697320616c726561647920736574000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f53616c65206d7573742062652061637469766520746f206d696e7420427261766040820152666553657269657360c81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156129e1576129e1612ac6565b500190565b6000826129f5576129f5612adc565b500490565b6000816000190483118215151615612a1457612a14612ac6565b500290565b600082821015612a2b57612a2b612ac6565b500390565b60005b83811015612a4b578181015183820152602001612a33565b8381111561125d5750506000910152565b600181811c90821680612a7057607f821691505b60208210811415612a9157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612aab57612aab612ac6565b5060010190565b600082612ac157612ac1612adc565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ba657600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e697066733a2f2f516d6236726933517054484a785870775465566635504c5050345958427a6d753735334e736237315a436b69446fa26469706673582212206edee5547a7e4dd17fb1f00bfd3bda7e25945783e63697bfe0a06288389df43064736f6c63430008070033000000000000000000000000000000000000000000000000000000000000022e000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000002f1daaabe3463ba5224386dcefb2c9d9024a9b3b
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80635e22bb7911610144578063a22cb465116100b6578063eb8d24441161007a578063eb8d2444146106e7578063f0b71d3314610701578063f2fde38b14610717578063f80c262514610737578063fb3ed5c714610757578063ffff5dd81461076d57600080fd5b8063a22cb46514610628578063b88d4fde14610648578063c87b56dd14610668578063d58f197d14610688578063e985e9c51461069e57600080fd5b8063715018a611610108578063715018a6146105a15780638cd7868d146105b65780638da5cb5b146105cc57806395d89b41146105ea57806398cdceae146105ff5780639d6b44a71461061557600080fd5b80635e22bb791461051357806361d027b3146105265780636352211e1461054c5780636c0360eb1461056c57806370a082311461058157600080fd5b806334918dfd116101dd5780634b529d86116101a15780634b529d86146104775780634f6ccce71461048c5780634f8f0a04146104ac57806350a32782146104c257806355f804b3146104de578063570b85a9146104fe57600080fd5b806334918dfd146103d95780633e9e6913146103ee578063426040441461042257806342842e0e1461043757806342966c681461045757600080fd5b806318160ddd1161022457806318160ddd1461034b578063239b51251461036e57806323b872dd14610383578063275ffed7146103a35780632f745c59146103b957600080fd5b806301ffc9a71461026157806306fdde03146102b057806307d10d31146102d2578063081812fc146102f1578063095ea7b314610329575b600080fd5b34801561026d57600080fd5b5061029b61027c3660046126d4565b6001600160e01b03191660009081526020819052604090205460ff1690565b60405190151581526020015b60405180910390f35b3480156102bc57600080fd5b506102c5610782565b6040516102a79190612824565b3480156102de57600080fd5b5060125461029b90610100900460ff1681565b3480156102fd57600080fd5b5061031161030c366004612757565b610814565b6040516001600160a01b0390911681526020016102a7565b34801561033557600080fd5b506103496103443660046126aa565b6108a1565b005b34801561035757600080fd5b506103606109b7565b6040519081526020016102a7565b34801561037a57600080fd5b506103496109c8565b34801561038f57600080fd5b5061034961039e3660046125b6565b610a0f565b3480156103af57600080fd5b50610360600f5481565b3480156103c557600080fd5b506103606103d43660046126aa565b610a40565b3480156103e557600080fd5b50610349610a6b565b3480156103fa57600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000022e81565b34801561042e57600080fd5b50610349610aa9565b34801561044357600080fd5b506103496104523660046125b6565b610b11565b34801561046357600080fd5b50610349610472366004612757565b610b2c565b34801561048357600080fd5b50610349610ba9565b34801561049857600080fd5b506103606104a7366004612757565b610c11565b3480156104b857600080fd5b5061036060115481565b3480156104ce57600080fd5b5061036067016345785d8a000081565b3480156104ea57600080fd5b506103496104f936600461270e565b610c27565b34801561050a57600080fd5b50610360601481565b610349610521366004612757565b610c5a565b34801561053257600080fd5b50601254610311906201000090046001600160a01b031681565b34801561055857600080fd5b50610311610567366004612757565b610e0e565b34801561057857600080fd5b506102c5610e36565b34801561058d57600080fd5b5061036061059c366004612568565b610e45565b3480156105ad57600080fd5b50610349610ed1565b3480156105c257600080fd5b50610360600e5481565b3480156105d857600080fd5b50600a546001600160a01b0316610311565b3480156105f657600080fd5b506102c5610f45565b34801561060b57600080fd5b5061036060105481565b610349610623366004612757565b610f54565b34801561063457600080fd5b5061034961064336600461266e565b611166565b34801561065457600080fd5b506103496106633660046125f2565b61122b565b34801561067457600080fd5b506102c5610683366004612757565b611263565b34801561069457600080fd5b50610360600c5481565b3480156106aa57600080fd5b5061029b6106b9366004612583565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156106f357600080fd5b5060125461029b9060ff1681565b34801561070d57600080fd5b50610360600d5481565b34801561072357600080fd5b50610349610732366004612568565b611416565b34801561074357600080fd5b50610349610752366004612757565b611501565b34801561076357600080fd5b50610360600b5481565b34801561077957600080fd5b506103496115e2565b60606006805461079190612a5c565b80601f01602080910402602001604051908101604052809291908181526020018280546107bd90612a5c565b801561080a5780601f106107df5761010080835404028352916020019161080a565b820191906000526020600020905b8154815290600101906020018083116107ed57829003601f168201915b5050505050905090565b600061081f8261164a565b6108855760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108ac82610e0e565b9050806001600160a01b0316836001600160a01b0316141561091a5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161087c565b336001600160a01b0382161480610936575061093681336106b9565b6109a85760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161087c565b6109b28383611657565b505050565b60006109c360026116c5565b905090565b600a546001600160a01b031633146109f25760405162461bcd60e51b815260040161087c90612901565b6012805461ff001981166101009182900460ff1615909102179055565b610a1933826116cf565b610a355760405162461bcd60e51b815260040161087c9061297d565b6109b28383836117b9565b6001600160a01b0382166000908152600160205260408120610a62908361193a565b90505b92915050565b600a546001600160a01b03163314610a955760405162461bcd60e51b815260040161087c90612901565b6012805460ff19811660ff90911615179055565b600a546001600160a01b03163314610ad35760405162461bcd60e51b815260040161087c90612901565b60105415610af35760405162461bcd60e51b815260040161087c906128ca565b600d54610b01600143612a19565b610b0c919040612ab2565b601055565b6109b28383836040518060200160405280600081525061122b565b610b3633826116cf565b610b9d5760405162461bcd60e51b815260206004820152603260248201527f42726176655365726965733a206275726e2063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b606482015260840161087c565b610ba681611946565b50565b600a546001600160a01b03163314610bd35760405162461bcd60e51b815260040161087c90612901565b600e5415610bf35760405162461bcd60e51b815260040161087c906128ca565b600b54610c01600143612a19565b610c0c919040612ab2565b600e55565b600080610c1f600284611a00565b509392505050565b600a546001600160a01b03163314610c515760405162461bcd60e51b815260040161087c90612901565b610ba681611a1c565b60115460125460ff16610c7f5760405162461bcd60e51b815260040161087c90612936565b6014821115610ca05760405162461bcd60e51b815260040161087c90612889565b600c54600b54610cb091906129ce565b610cba83836129ce565b1115610d205760405162461bcd60e51b815260206004820152602f60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526e206f6620666972737420706861736560881b606482015260840161087c565b34610d3367016345785d8a000084611a33565b1115610d815760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161087c565b6012546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f19350505050158015610dc2573d6000803e3d6000fd5b5060015b828111610df257610de033610ddb83856129ce565b611ab2565b80610dea81612a97565b915050610dc6565b508160116000828254610e0591906129ce565b90915550505050565b6000610a6582604051806060016040528060298152602001612b7d6029913960029190611acc565b60606009805461079190612a5c565b60006001600160a01b038216610eb05760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161087c565b6001600160a01b0382166000908152600160205260409020610a65906116c5565b600a546001600160a01b03163314610efb5760405162461bcd60e51b815260040161087c90612901565b600a546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a80546001600160a01b0319169055565b60606007805461079190612a5c565b60115460125460ff16610f795760405162461bcd60e51b815260040161087c90612936565b601254610100900460ff16610fe75760405162461bcd60e51b815260206004820152602e60248201527f5365636f6e642073616c65206d7573742062652061637469766520746f206d6960448201526d6e7420427261766553657269657360901b606482015260840161087c565b60148211156110085760405162461bcd60e51b815260040161087c90612889565b7f000000000000000000000000000000000000000000000000000000000000022e61103383836129ce565b11156110995760405162461bcd60e51b815260206004820152602f60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201526e206f6620427261766553657269657360881b606482015260840161087c565b346110ac67016345785d8a000084611a33565b11156110fa5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f727265637400604482015260640161087c565b6012546040516001600160a01b036201000090920491909116903480156108fc02916000818181858888f1935050505015801561113b573d6000803e3d6000fd5b5060015b828111610df25761115433610ddb83856129ce565b8061115e81612a97565b91505061113f565b6001600160a01b0382163314156111bf5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161087c565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61123533836116cf565b6112515760405162461bcd60e51b815260040161087c9061297d565b61125d84848484611ae3565b50505050565b606061126e8261164a565b6112d25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161087c565b60006112dc610e36565b90506000604051806060016040528060358152602001612ba66035913990506000600c54600b5461130d91906129ce565b9050600e546000141580156113245750600b548511155b1561138a576000600e548661133991906129ce565b9050600b5481111561135557600b546113529082612a19565b90505b8361135f82611b16565b6040516020016113709291906127b8565b604051602081830303815290604052945050505050919050565b600f541580159061139b5750808511155b156113c7576000600f54866113b091906129ce565b90508181111561135557600c546113529082612a19565b60105415610c1f576000601054866113df91906129ce565b90507f000000000000000000000000000000000000000000000000000000000000022e81111561135557600d546113529082612a19565b600a546001600160a01b031633146114405760405162461bcd60e51b815260040161087c90612901565b6001600160a01b0381166114a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161087c565b600a546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b0316331461152b5760405162461bcd60e51b815260040161087c90612901565b600b5460115461153b90836129ce565b11156115995760405162461bcd60e51b815260206004820152602760248201527f7265736572766520776f756c6420657863636564206d61782061697264726f7060448201526620737570706c7960c81b606482015260840161087c565b60015b8181116115c7576115b53382601154610ddb91906129ce565b806115bf81612a97565b91505061159c565b5080601160008282546115da91906129ce565b909155505050565b600a546001600160a01b0316331461160c5760405162461bcd60e51b815260040161087c90612901565b600f541561162c5760405162461bcd60e51b815260040161087c906128ca565b600c5461163a600143612a19565b611645919040612ab2565b600f55565b6000610a65600283611c14565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061168c82610e0e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610a65825490565b60006116da8261164a565b61173b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161087c565b600061174683610e0e565b9050806001600160a01b0316846001600160a01b031614806117815750836001600160a01b031661177684610814565b6001600160a01b0316145b806117b157506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166117cc82610e0e565b6001600160a01b0316146118345760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b606482015260840161087c565b6001600160a01b0382166118965760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161087c565b6118a1600082611657565b6001600160a01b03831660009081526001602052604090206118c39082611c2c565b506001600160a01b03821660009081526001602052604090206118e69082611c38565b506118f360028284611c44565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000610a628383611c5a565b600061195182610e0e565b905061195e600083611657565b6000828152600860205260409020805461197790612a5c565b15905061199557600082815260086020526040812061199591612403565b6001600160a01b03811660009081526001602052604090206119b79083611c2c565b506119c3600283611ce0565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6000808080611a0f8686611cec565b9097909650945050505050565b8051611a2f90600990602084019061243d565b5050565b600082611a4257506000610a65565b6000611a4e83856129fa565b905082611a5b85836129e6565b14610a625760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161087c565b611a2f828260405180602001604052806000815250611d89565b6000611ad9848484611dbc565b90505b9392505050565b611aee8484846117b9565b611afa84848484611e25565b61125d5760405162461bcd60e51b815260040161087c90612837565b606081611b3a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b645780611b4e81612a97565b9150611b5d9050600a836129e6565b9150611b3e565b60008167ffffffffffffffff811115611b7f57611b7f612b1e565b6040519080825280601f01601f191660200182016040528015611ba9576020820181803683370190505b5090505b84156117b157611bbe600183612a19565b9150611bcb600a86612ab2565b611bd69060306129ce565b60f81b818381518110611beb57611beb612b08565b60200101906001600160f81b031916908160001a905350611c0d600a866129e6565b9450611bad565b60008181526001830160205260408120541515610a62565b6000610a628383611ef6565b6000610a628383611fe9565b6000611ad984846001600160a01b038516612038565b81546000908210611cb85760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161087c565b826000018281548110611ccd57611ccd612b08565b9060005260206000200154905092915050565b6000610a6283836120d9565b815460009081908310611d4c5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e604482015261647360f01b606482015260840161087c565b6000846000018481548110611d6357611d63612b08565b906000526020600020906002020190508060000154816001015492509250509250929050565b611d9383836121e0565b611da06000848484611e25565b6109b25760405162461bcd60e51b815260040161087c90612837565b60008281526001840160205260408120548281611dec5760405162461bcd60e51b815260040161087c9190612824565b5084611df9600183612a19565b81548110611e0957611e09612b08565b9060005260206000209060020201600101549150509392505050565b60006001600160a01b0384163b611e3e575060016117b1565b6000611ebf630a85bd0160e11b33888787604051602401611e6294939291906127e7565b604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b038381831617835250505050604051806060016040528060328152602001612b4b603291396001600160a01b03881691906122f8565b9050600081806020019051810190611ed791906126f1565b6001600160e01b031916630a85bd0160e11b1492505050949350505050565b60008181526001830160205260408120548015611fdf576000611f1a600183612a19565b8554909150600090611f2e90600190612a19565b90506000866000018281548110611f4757611f47612b08565b9060005260206000200154905080876000018481548110611f6a57611f6a612b08565b600091825260209091200155611f818360016129ce565b60008281526001890160205260409020558654879080611fa357611fa3612af2565b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050610a65565b6000915050610a65565b600081815260018301602052604081205461203057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a65565b506000610a65565b60008281526001840160205260408120548061209d575050604080518082018252838152602080820184815286546001818101895560008981528481209551600290930290950191825591519082015586548684528188019092529290912055611adc565b82856120aa600184612a19565b815481106120ba576120ba612b08565b9060005260206000209060020201600101819055506000915050611adc565b60008181526001830160205260408120548015611fdf5760006120fd600183612a19565b855490915060009061211190600190612a19565b9050600086600001828154811061212a5761212a612b08565b906000526020600020906002020190508087600001848154811061215057612150612b08565b6000918252602090912082546002909202019081556001918201549082015561217a9084906129ce565b81546000908152600189016020526040902055865487908061219e5761219e612af2565b6000828152602080822060026000199094019384020182815560019081018390559290935588815289820190925260408220919091559450610a659350505050565b6001600160a01b0382166122365760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161087c565b61223f8161164a565b1561228c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161087c565b6001600160a01b03821660009081526001602052604090206122ae9082611c38565b506122bb60028284611c44565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060611ad9848460008585843b6123515760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161087c565b600080866001600160a01b0316858760405161236d919061279c565b60006040518083038185875af1925050503d80600081146123aa576040519150601f19603f3d011682016040523d82523d6000602084013e6123af565b606091505b50915091506123bf8282866123ca565b979650505050505050565b606083156123d9575081611adc565b8251156123e95782518084602001fd5b8160405162461bcd60e51b815260040161087c9190612824565b50805461240f90612a5c565b6000825580601f1061241f575050565b601f016020900490600052602060002090810190610ba691906124c1565b82805461244990612a5c565b90600052602060002090601f01602090048101928261246b57600085556124b1565b82601f1061248457805160ff19168380011785556124b1565b828001600101855582156124b1579182015b828111156124b1578251825591602001919060010190612496565b506124bd9291506124c1565b5090565b5b808211156124bd57600081556001016124c2565b600067ffffffffffffffff808411156124f1576124f1612b1e565b604051601f8501601f19908116603f0116810190828211818310171561251957612519612b1e565b8160405280935085815286868601111561253257600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461256357600080fd5b919050565b60006020828403121561257a57600080fd5b610a628261254c565b6000806040838503121561259657600080fd5b61259f8361254c565b91506125ad6020840161254c565b90509250929050565b6000806000606084860312156125cb57600080fd5b6125d48461254c565b92506125e26020850161254c565b9150604084013590509250925092565b6000806000806080858703121561260857600080fd5b6126118561254c565b935061261f6020860161254c565b925060408501359150606085013567ffffffffffffffff81111561264257600080fd5b8501601f8101871361265357600080fd5b612662878235602084016124d6565b91505092959194509250565b6000806040838503121561268157600080fd5b61268a8361254c565b91506020830135801515811461269f57600080fd5b809150509250929050565b600080604083850312156126bd57600080fd5b6126c68361254c565b946020939093013593505050565b6000602082840312156126e657600080fd5b8135610a6281612b34565b60006020828403121561270357600080fd5b8151610a6281612b34565b60006020828403121561272057600080fd5b813567ffffffffffffffff81111561273757600080fd5b8201601f8101841361274857600080fd5b6117b1848235602084016124d6565b60006020828403121561276957600080fd5b5035919050565b60008151808452612788816020860160208601612a30565b601f01601f19169290920160200192915050565b600082516127ae818460208701612a30565b9190910192915050565b600083516127ca818460208801612a30565b8351908301906127de818360208801612a30565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061281a90830184612770565b9695505050505050565b602081526000610a626020830184612770565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526021908201527f43616e206f6e6c79206d696e7420323020746f6b656e7320617420612074696d6040820152606560f81b606082015260800190565b6020808252601d908201527f5374617274696e6720696e64657820697320616c726561647920736574000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526027908201527f53616c65206d7573742062652061637469766520746f206d696e7420427261766040820152666553657269657360c81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156129e1576129e1612ac6565b500190565b6000826129f5576129f5612adc565b500490565b6000816000190483118215151615612a1457612a14612ac6565b500290565b600082821015612a2b57612a2b612ac6565b500390565b60005b83811015612a4b578181015183820152602001612a33565b8381111561125d5750506000910152565b600181811c90821680612a7057607f821691505b60208210811415612a9157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612aab57612aab612ac6565b5060010190565b600082612ac157612ac1612adc565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ba657600080fdfe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e697066733a2f2f516d6236726933517054484a785870775465566635504c5050345958427a6d753735334e736237315a436b69446fa26469706673582212206edee5547a7e4dd17fb1f00bfd3bda7e25945783e63697bfe0a06288389df43064736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000022e000000000000000000000000000000000000000000000000000000000000003a000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000002f1daaabe3463ba5224386dcefb2c9d9024a9b3b
-----Decoded View---------------
Arg [0] : maxBraveSeriesSupply (uint256): 558
Arg [1] : _airdropSupply (uint256): 58
Arg [2] : _firstPhaseSupply (uint256): 300
Arg [3] : fundReceiver (address): 0x2F1DAAaBe3463bA5224386DCEFB2c9D9024a9b3b
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000022e
Arg [1] : 000000000000000000000000000000000000000000000000000000000000003a
Arg [2] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [3] : 0000000000000000000000002f1daaabe3463ba5224386dcefb2c9d9024a9b3b
Deployed Bytecode Sourcemap
66841:6549:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10233:150;;;;;;;;;;-1:-1:-1;10233:150:0;;;;;:::i;:::-;-1:-1:-1;;;;;;10342:33:0;10318:4;10342:33;;;;;;;;;;;;;;10233:150;;;;6149:14:1;;6142:22;6124:41;;6112:2;6097:18;10233:150:0;;;;;;;;51460:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;67533:38::-;;;;;;;;;;-1:-1:-1;67533:38:0;;;;;;;;;;;54246:221;;;;;;;;;;-1:-1:-1;54246:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5223:32:1;;;5205:51;;5193:2;5178:18;54246:221:0;5059:203:1;53776:404:0;;;;;;;;;;-1:-1:-1;53776:404:0;;;;;:::i;:::-;;:::i;:::-;;53254:211;;;;;;;;;;;;;:::i;:::-;;;18093:25:1;;;18081:2;18066:18;53254:211:0;17947:177:1;73061:107:0;;;;;;;;;;;;;:::i;55136:305::-;;;;;;;;;;-1:-1:-1;55136:305:0;;;;;:::i;:::-;;:::i;67347:36::-;;;;;;;;;;;;;;;;53016:162;;;;;;;;;;-1:-1:-1;53016:162:0;;;;;:::i;:::-;;:::i;72960:89::-;;;;;;;;;;;;;:::i;67088:40::-;;;;;;;;;;;;;;;70546:241;;;;;;;;;;;;;:::i;55512:151::-;;;;;;;;;;-1:-1:-1;55512:151:0;;;;;:::i;:::-;;:::i;73201:186::-;;;;;;;;;;-1:-1:-1;73201:186:0;;;;;:::i;:::-;;:::i;70053:240::-;;;;;;;;;;;;;:::i;53542:172::-;;;;;;;;;;-1:-1:-1;53542:172:0;;;;;:::i;:::-;;:::i;67436:25::-;;;;;;;;;;;;;;;;66955:61;;;;;;;;;;;;66998:18;66955:61;;72786:99;;;;;;;;;;-1:-1:-1;72786:99:0;;;;;:::i;:::-;;:::i;67033:48::-;;;;;;;;;;;;67079:2;67033:48;;68115:875;;;;;;:::i;:::-;;:::i;67580:31::-;;;;;;;;;;-1:-1:-1;67580:31:0;;;;;;;-1:-1:-1;;;;;67580:31:0;;;51216:177;;;;;;;;;;-1:-1:-1;51216:177:0;;;;;:::i;:::-;;:::i;52835:97::-;;;;;;;;;;;;;:::i;50933:221::-;;;;;;;;;;-1:-1:-1;50933:221:0;;;;;:::i;:::-;;:::i;66154:148::-;;;;;;;;;;;;;:::i;67302:38::-;;;;;;;;;;;;;;;;65503:87;;;;;;;;;;-1:-1:-1;65576:6:0;;-1:-1:-1;;;;;65576:6:0;65503:87;;51629:104;;;;;;;;;;;;;:::i;67390:37::-;;;;;;;;;;;;;;;;69056:942;;;;;;:::i;:::-;;:::i;54539:295::-;;;;;;;;;;-1:-1:-1;54539:295:0;;;;;:::i;:::-;;:::i;55734:285::-;;;;;;;;;;-1:-1:-1;55734:285:0;;;;;:::i;:::-;;:::i;70795:1584::-;;;;;;;;;;-1:-1:-1;70795:1584:0;;;;;:::i;:::-;;:::i;67174:31::-;;;;;;;;;;;;;;;;54905:164;;;;;;;;;;-1:-1:-1;54905:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;55026:25:0;;;55002:4;55026:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;54905:164;67494:32;;;;;;;;;;-1:-1:-1;67494:32:0;;;;;;;;67212;;;;;;;;;;;;;;;;66457:244;;;;;;;;;;-1:-1:-1;66457:244:0;;;;;:::i;:::-;;:::i;72440:338::-;;;;;;;;;;-1:-1:-1;72440:338:0;;;;;:::i;:::-;;:::i;67139:28::-;;;;;;;;;;;;;;;;70301:237;;;;;;;;;;;;;:::i;51460:100::-;51514:13;51547:5;51540:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51460:100;:::o;54246:221::-;54322:7;54350:16;54358:7;54350;:16::i;:::-;54342:73;;;;-1:-1:-1;;;54342:73:0;;13720:2:1;54342:73:0;;;13702:21:1;13759:2;13739:18;;;13732:30;13798:34;13778:18;;;13771:62;-1:-1:-1;;;13849:18:1;;;13842:42;13901:19;;54342:73:0;;;;;;;;;-1:-1:-1;54435:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54435:24:0;;54246:221::o;53776:404::-;53857:13;53873:23;53888:7;53873:14;:23::i;:::-;53857:39;;53921:5;-1:-1:-1;;;;;53915:11:0;:2;-1:-1:-1;;;;;53915:11:0;;;53907:57;;;;-1:-1:-1;;;53907:57:0;;16563:2:1;53907:57:0;;;16545:21:1;16602:2;16582:18;;;16575:30;16641:34;16621:18;;;16614:62;-1:-1:-1;;;16692:18:1;;;16685:31;16733:19;;53907:57:0;16361:397:1;53907:57:0;810:10;-1:-1:-1;;;;;53985:21:0;;;;:69;;-1:-1:-1;54010:44:0;54034:5;810:10;54905:164;:::i;54010:44::-;53977:161;;;;-1:-1:-1;;;53977:161:0;;11303:2:1;53977:161:0;;;11285:21:1;11342:2;11322:18;;;11315:30;11381:34;11361:18;;;11354:62;11452:26;11432:18;;;11425:54;11496:19;;53977:161:0;11101:420:1;53977:161:0;54151:21;54160:2;54164:7;54151:8;:21::i;:::-;53846:334;53776:404;;:::o;53254:211::-;53315:7;53436:21;:12;:19;:21::i;:::-;53429:28;;53254:211;:::o;73061:107::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;73142:18:::1;::::0;;-1:-1:-1;;73120:40:0;::::1;73142:18;::::0;;;::::1;;;73141:19;73120:40:::0;;::::1;;::::0;;73061:107::o;55136:305::-;55297:41;810:10;55330:7;55297:18;:41::i;:::-;55289:103;;;;-1:-1:-1;;;55289:103:0;;;;;;;:::i;:::-;55405:28;55415:4;55421:2;55425:7;55405:9;:28::i;53016:162::-;-1:-1:-1;;;;;53140:20:0;;53113:7;53140:20;;;:13;:20;;;;;:30;;53164:5;53140:23;:30::i;:::-;53133:37;;53016:162;;;;;:::o;72960:89::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;73029:12:::1;::::0;;-1:-1:-1;;73013:28:0;::::1;73029:12;::::0;;::::1;73028:13;73013:28;::::0;;72960:89::o;70546:241::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;70619:22:::1;::::0;:27;70611:69:::1;;;;-1:-1:-1::0;;;70611:69:0::1;;;;;;;:::i;:::-;70762:17;::::0;70741:16:::1;70756:1;70741:12;:16;:::i;:::-;70726:53;::::0;;70731:27:::1;70726:53;:::i;:::-;70701:22;:78:::0;70546:241::o;55512:151::-;55616:39;55633:4;55639:2;55643:7;55616:39;;;;;;;;;;;;:16;:39::i;73201:186::-;73260:39;73279:10;73291:7;73260:18;:39::i;:::-;73252:102;;;;-1:-1:-1;;;73252:102:0;;16144:2:1;73252:102:0;;;16126:21:1;16183:2;16163:18;;;16156:30;16222:34;16202:18;;;16195:62;-1:-1:-1;;;16273:18:1;;;16266:48;16331:19;;73252:102:0;15942:414:1;73252:102:0;73365:14;73371:7;73365:5;:14::i;:::-;73201:186;:::o;70053:240::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;70127:23:::1;::::0;:28;70119:70:::1;;;;-1:-1:-1::0;;;70119:70:0::1;;;;;;;:::i;:::-;70272:13;::::0;70251:16:::1;70266:1;70251:12;:16;:::i;:::-;70236:49;::::0;;70241:27:::1;70236:49;:::i;:::-;70210:23;:75:::0;70053:240::o;53542:172::-;53617:7;;53659:22;:12;53675:5;53659:15;:22::i;:::-;-1:-1:-1;53637:44:0;53542:172;-1:-1:-1;;;53542:172:0:o;72786:99::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;72857:20:::1;72869:7;72857:11;:20::i;68115:875::-:0;68251:10;;68282:12;;;;68274:64;;;;-1:-1:-1;;;68274:64:0;;;;;;;:::i;:::-;67079:2;68357:14;:40;;68349:86;;;;-1:-1:-1;;;68349:86:0;;;;;;;:::i;:::-;68505:16;;68489:13;;:32;;;;:::i;:::-;68455:28;68469:14;68455:11;:28;:::i;:::-;68454:68;;68446:128;;;;-1:-1:-1;;;68446:128:0;;15312:2:1;68446:128:0;;;15294:21:1;15351:2;15331:18;;;15324:30;15390:34;15370:18;;;15363:62;-1:-1:-1;;;15441:18:1;;;15434:45;15496:19;;68446:128:0;15110:411:1;68446:128:0;68633:9;68593:36;66998:18;68614:14;68593:20;:36::i;:::-;:49;;68585:93;;;;-1:-1:-1;;;68585:93:0;;9363:2:1;68585:93:0;;;9345:21:1;9402:2;9382:18;;;9375:30;9441:33;9421:18;;;9414:61;9492:18;;68585:93:0;9161:355:1;68585:93:0;68788:8;;:28;;-1:-1:-1;;;;;68788:8:0;;;;;;;;;68806:9;68788:28;;;;;;;;;68806:9;68788:8;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68850:1:0;68837:107;68858:14;68853:1;:19;68837:107;;68894:38;68904:10;68916:15;68930:1;68916:11;:15;:::i;:::-;68894:9;:38::i;:::-;68874:3;;;;:::i;:::-;;;;68837:107;;;;68968:14;68954:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;68115:875:0:o;51216:177::-;51288:7;51315:70;51332:7;51315:70;;;;;;;;;;;;;;;;;:12;;:70;:16;:70::i;52835:97::-;52883:13;52916:8;52909:15;;;;;:::i;50933:221::-;51005:7;-1:-1:-1;;;;;51033:19:0;;51025:74;;;;-1:-1:-1;;;51025:74:0;;11728:2:1;51025:74:0;;;11710:21:1;11767:2;11747:18;;;11740:30;11806:34;11786:18;;;11779:62;-1:-1:-1;;;11857:18:1;;;11850:40;11907:19;;51025:74:0;11526:406:1;51025:74:0;-1:-1:-1;;;;;51117:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;66154:148::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;66245:6:::1;::::0;66224:40:::1;::::0;66261:1:::1;::::0;-1:-1:-1;;;;;66245:6:0::1;::::0;66224:40:::1;::::0;66261:1;;66224:40:::1;66275:6;:19:::0;;-1:-1:-1;;;;;;66275:19:0::1;::::0;;66154:148::o;51629:104::-;51685:13;51718:7;51711:14;;;;;:::i;69056:942::-;69192:10;;69223:12;;;;69215:64;;;;-1:-1:-1;;;69215:64:0;;;;;;;:::i;:::-;69298:18;;;;;;;69290:77;;;;-1:-1:-1;;;69290:77:0;;12139:2:1;69290:77:0;;;12121:21:1;12178:2;12158:18;;;12151:30;12217:34;12197:18;;;12190:62;-1:-1:-1;;;12268:18:1;;;12261:44;12322:19;;69290:77:0;11937:410:1;69290:77:0;67079:2;69386:14;:40;;69378:86;;;;-1:-1:-1;;;69378:86:0;;;;;;;:::i;:::-;69515:15;69483:28;69497:14;69483:11;:28;:::i;:::-;:47;;69475:107;;;;-1:-1:-1;;;69475:107:0;;7005:2:1;69475:107:0;;;6987:21:1;7044:2;7024:18;;;7017:30;7083:34;7063:18;;;7056:62;-1:-1:-1;;;7134:18:1;;;7127:45;7189:19;;69475:107:0;6803:411:1;69475:107:0;69641:9;69601:36;66998:18;69622:14;69601:20;:36::i;:::-;:49;;69593:93;;;;-1:-1:-1;;;69593:93:0;;9363:2:1;69593:93:0;;;9345:21:1;9402:2;9382:18;;;9375:30;9441:33;9421:18;;;9414:61;9492:18;;69593:93:0;9161:355:1;69593:93:0;69796:8;;:28;;-1:-1:-1;;;;;69796:8:0;;;;;;;;;69814:9;69796:28;;;;;;;;;69814:9;69796:8;:28;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69858:1:0;69845:107;69866:14;69861:1;:19;69845:107;;69902:38;69912:10;69924:15;69938:1;69924:11;:15;:::i;69902:38::-;69882:3;;;;:::i;:::-;;;;69845:107;;54539:295;-1:-1:-1;;;;;54642:24:0;;810:10;54642:24;;54634:62;;;;-1:-1:-1;;;54634:62:0;;9009:2:1;54634:62:0;;;8991:21:1;9048:2;9028:18;;;9021:30;9087:27;9067:18;;;9060:55;9132:18;;54634:62:0;8807:349:1;54634:62:0;810:10;54709:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;54709:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;54709:53:0;;;;;;;;;;54778:48;;6124:41:1;;;54709:42:0;;810:10;54778:48;;6097:18:1;54778:48:0;;;;;;;54539:295;;:::o;55734:285::-;55866:41;810:10;55899:7;55866:18;:41::i;:::-;55858:103;;;;-1:-1:-1;;;55858:103:0;;;;;;;:::i;:::-;55972:39;55986:4;55992:2;55996:7;56005:5;55972:13;:39::i;:::-;55734:285;;;;:::o;70795:1584::-;70868:13;70902:16;70910:7;70902;:16::i;:::-;70894:76;;;;-1:-1:-1;;;70894:76:0;;15728:2:1;70894:76:0;;;15710:21:1;15767:2;15747:18;;;15740:30;15806:34;15786:18;;;15779:62;-1:-1:-1;;;15857:18:1;;;15850:45;15912:19;;70894:76:0;15526:411:1;70894:76:0;70983:18;71004:9;:7;:9::i;:::-;70983:30;;71024:25;:83;;;;;;;;;;;;;;;;;;;71118:32;71169:16;;71153:13;;:32;;;;:::i;:::-;71118:67;;71257:23;;71284:1;71257:28;;:56;;;;;71300:13;;71289:7;:24;;71257:56;71253:298;;;71330:11;71354:23;;71344:7;:33;;;;:::i;:::-;71330:47;;71402:13;;71396:3;:19;71392:80;;;71443:13;;71436:20;;;;:::i;:::-;;;71392:80;71517:4;71523:14;:3;:12;:14::i;:::-;71500:38;;;;;;;;;:::i;:::-;;;;;;;;;;;;;71486:53;;;;;;70795:1584;;;:::o;71253:298::-;71626:21;;:25;;;;:64;;;71666:24;71655:7;:35;;71626:64;71622:318;;;71707:11;71731:21;;71721:7;:31;;;;:::i;:::-;71707:45;;71777:24;71771:3;:30;71767:94;;;71829:16;;71822:23;;;;:::i;71622:318::-;72016:22;;:27;72012:274;;72060:11;72084:22;;72074:7;:32;;;;:::i;:::-;72060:46;;72131:15;72125:3;:21;72121:86;;;72174:17;;72167:24;;;;:::i;66457:244::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;66546:22:0;::::1;66538:73;;;::::0;-1:-1:-1;;;66538:73:0;;7840:2:1;66538:73:0::1;::::0;::::1;7822:21:1::0;7879:2;7859:18;;;7852:30;7918:34;7898:18;;;7891:62;-1:-1:-1;;;7969:18:1;;;7962:36;8015:19;;66538:73:0::1;7638:402:1::0;66538:73:0::1;66648:6;::::0;66627:38:::1;::::0;-1:-1:-1;;;;;66627:38:0;;::::1;::::0;66648:6:::1;::::0;66627:38:::1;::::0;66648:6:::1;::::0;66627:38:::1;66676:6;:17:::0;;-1:-1:-1;;;;;;66676:17:0::1;-1:-1:-1::0;;;;;66676:17:0;;;::::1;::::0;;;::::1;::::0;;66457:244::o;72440:338::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;72556:13:::1;::::0;72542:10:::1;::::0;72525:27:::1;::::0;:14;:27:::1;:::i;:::-;:44;;72517:96;;;::::0;-1:-1:-1;;;72517:96:0;;17741:2:1;72517:96:0::1;::::0;::::1;17723:21:1::0;17780:2;17760:18;;;17753:30;17819:34;17799:18;;;17792:62;-1:-1:-1;;;17870:18:1;;;17863:37;17917:19;;72517:96:0::1;17539:403:1::0;72517:96:0::1;72639:1;72626:106;72647:14;72642:1;:19;72626:106;;72683:37;72693:10;72718:1;72705:10;;:14;;;;:::i;72683:37::-;72663:3:::0;::::1;::::0;::::1;:::i;:::-;;;;72626:106;;;;72756:14;72742:10;;:28;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;72440:338:0:o;70301:237::-;65576:6;;-1:-1:-1;;;;;65576:6:0;810:10;65723:23;65715:68;;;;-1:-1:-1;;;65715:68:0;;;;;;;:::i;:::-;70373:21:::1;::::0;:26;70365:68:::1;;;;-1:-1:-1::0;;;70365:68:0::1;;;;;;;:::i;:::-;70514:16;::::0;70493::::1;70508:1;70493:12;:16;:::i;:::-;70478:52;::::0;;70483:27:::1;70478:52;:::i;:::-;70454:21;:76:::0;70301:237::o;57486:127::-;57551:4;57575:30;:12;57597:7;57575:21;:30::i;63504:192::-;63579:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;63579:29:0;-1:-1:-1;;;;;63579:29:0;;;;;;;;:24;;63633:23;63579:24;63633:14;:23::i;:::-;-1:-1:-1;;;;;63624:46:0;;;;;;;;;;;63504:192;;:::o;44245:123::-;44314:7;44341:19;44349:3;40907:19;;40824:110;57780:355;57873:4;57898:16;57906:7;57898;:16::i;:::-;57890:73;;;;-1:-1:-1;;;57890:73:0;;10130:2:1;57890:73:0;;;10112:21:1;10169:2;10149:18;;;10142:30;10208:34;10188:18;;;10181:62;-1:-1:-1;;;10259:18:1;;;10252:42;10311:19;;57890:73:0;9928:408:1;57890:73:0;57974:13;57990:23;58005:7;57990:14;:23::i;:::-;57974:39;;58043:5;-1:-1:-1;;;;;58032:16:0;:7;-1:-1:-1;;;;;58032:16:0;;:51;;;;58076:7;-1:-1:-1;;;;;58052:31:0;:20;58064:7;58052:11;:20::i;:::-;-1:-1:-1;;;;;58052:31:0;;58032:51;:94;;;-1:-1:-1;;;;;;55026:25:0;;;55002:4;55026:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;58087:39;58024:103;57780:355;-1:-1:-1;;;;57780:355:0:o;60916:599::-;61041:4;-1:-1:-1;;;;;61014:31:0;:23;61029:7;61014:14;:23::i;:::-;-1:-1:-1;;;;;61014:31:0;;61006:85;;;;-1:-1:-1;;;61006:85:0;;14902:2:1;61006:85:0;;;14884:21:1;14941:2;14921:18;;;14914:30;14980:34;14960:18;;;14953:62;-1:-1:-1;;;15031:18:1;;;15024:39;15080:19;;61006:85:0;14700:405:1;61006:85:0;-1:-1:-1;;;;;61128:16:0;;61120:65;;;;-1:-1:-1;;;61120:65:0;;8604:2:1;61120:65:0;;;8586:21:1;8643:2;8623:18;;;8616:30;8682:34;8662:18;;;8655:62;-1:-1:-1;;;8733:18:1;;;8726:34;8777:19;;61120:65:0;8402:400:1;61120:65:0;61302:29;61319:1;61323:7;61302:8;:29::i;:::-;-1:-1:-1;;;;;61344:19:0;;;;;;:13;:19;;;;;:35;;61371:7;61344:26;:35::i;:::-;-1:-1:-1;;;;;;61390:17:0;;;;;;:13;:17;;;;;:30;;61412:7;61390:21;:30::i;:::-;-1:-1:-1;61433:29:0;:12;61450:7;61459:2;61433:16;:29::i;:::-;;61499:7;61495:2;-1:-1:-1;;;;;61480:27:0;61489:4;-1:-1:-1;;;;;61480:27:0;;;;;;;;;;;60916:599;;;:::o;36044:137::-;36115:7;36150:22;36154:3;36166:5;36150:3;:22::i;60034:545::-;60094:13;60110:23;60125:7;60110:14;:23::i;:::-;60094:39;;60253:29;60270:1;60274:7;60253:8;:29::i;:::-;60341:19;;;;:10;:19;;;;;60335:33;;;;;:::i;:::-;:38;;-1:-1:-1;60331:97:0;;60397:19;;;;:10;:19;;;;;60390:26;;;:::i;:::-;-1:-1:-1;;;;;60440:20:0;;;;;;:13;:20;;;;;:36;;60468:7;60440:27;:36::i;:::-;-1:-1:-1;60489:28:0;:12;60509:7;60489:19;:28::i;:::-;-1:-1:-1;60535:36:0;;60563:7;;60559:1;;-1:-1:-1;;;;;60535:36:0;;;;;60559:1;;60535:36;60083:496;60034:545;:::o;44707:236::-;44787:7;;;;44847:22;44851:3;44863:5;44847:3;:22::i;:::-;44816:53;;;;-1:-1:-1;44707:236:0;-1:-1:-1;;;;;44707:236:0:o;62116:100::-;62189:19;;;;:8;;:19;;;;;:::i;:::-;;62116:100;:::o;14666:220::-;14724:7;14748:6;14744:20;;-1:-1:-1;14763:1:0;14756:8;;14744:20;14775:9;14787:5;14791:1;14787;:5;:::i;:::-;14775:17;-1:-1:-1;14820:1:0;14811:5;14815:1;14775:17;14811:5;:::i;:::-;:10;14803:56;;;;-1:-1:-1;;;14803:56:0;;13318:2:1;14803:56:0;;;13300:21:1;13357:2;13337:18;;;13330:30;13396:34;13376:18;;;13369:62;-1:-1:-1;;;13447:18:1;;;13440:31;13488:19;;14803:56:0;13116:397:1;58478:110:0;58554:26;58564:2;58568:7;58554:26;;;;;;;;;;;;:9;:26::i;45993:213::-;46100:7;46151:44;46156:3;46176;46182:12;46151:4;:44::i;:::-;46143:53;-1:-1:-1;45993:213:0;;;;;;:::o;56901:272::-;57015:28;57025:4;57031:2;57035:7;57015:9;:28::i;:::-;57062:48;57085:4;57091:2;57095:7;57104:5;57062:22;:48::i;:::-;57054:111;;;;-1:-1:-1;;;57054:111:0;;;;;;;:::i;46449:723::-;46505:13;46726:10;46722:53;;-1:-1:-1;;46753:10:0;;;;;;;;;;;;-1:-1:-1;;;46753:10:0;;;;;46449:723::o;46722:53::-;46800:5;46785:12;46841:78;46848:9;;46841:78;;46874:8;;;;:::i;:::-;;-1:-1:-1;46897:10:0;;-1:-1:-1;46905:2:0;46897:10;;:::i;:::-;;;46841:78;;;46929:19;46961:6;46951:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46951:17:0;;46929:39;;46979:154;46986:10;;46979:154;;47013:11;47023:1;47013:11;;:::i;:::-;;-1:-1:-1;47082:10:0;47090:2;47082:5;:10;:::i;:::-;47069:24;;:2;:24;:::i;:::-;47056:39;;47039:6;47046;47039:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;47039:56:0;;;;;;;;-1:-1:-1;47110:11:0;47119:2;47110:11;;:::i;:::-;;;46979:154;;44006:151;44090:4;40699:17;;;:12;;;:17;;;;;;:22;;44114:35;40604:125;35131:137;35201:4;35225:35;35233:3;35253:5;35225:7;:35::i;34824:131::-;34891:4;34915:32;34920:3;34940:5;34915:4;:32::i;43429:185::-;43518:4;43542:64;43547:3;43567;-1:-1:-1;;;;;43581:23:0;;43542:4;:64::i;31082:204::-;31177:18;;31149:7;;31177:26;-1:-1:-1;31169:73:0;;;;-1:-1:-1;;;31169:73:0;;6602:2:1;31169:73:0;;;6584:21:1;6641:2;6621:18;;;6614:30;6680:34;6660:18;;;6653:62;-1:-1:-1;;;6731:18:1;;;6724:32;6773:19;;31169:73:0;6400:398:1;31169:73:0;31260:3;:11;;31272:5;31260:18;;;;;;;;:::i;:::-;;;;;;;;;31253:25;;31082:204;;;;:::o;43780:142::-;43857:4;43881:33;43889:3;43909;43881:7;:33::i;41289:279::-;41393:19;;41356:7;;;;41393:27;-1:-1:-1;41385:74:0;;;;-1:-1:-1;;;41385:74:0;;12554:2:1;41385:74:0;;;12536:21:1;12593:2;12573:18;;;12566:30;12632:34;12612:18;;;12605:62;-1:-1:-1;;;12683:18:1;;;12676:32;12725:19;;41385:74:0;12352:398:1;41385:74:0;41472:22;41497:3;:12;;41510:5;41497:19;;;;;;;;:::i;:::-;;;;;;;;;;;41472:44;;41535:5;:10;;;41547:5;:12;;;41527:33;;;;;41289:279;;;;;:::o;58815:250::-;58911:18;58917:2;58921:7;58911:5;:18::i;:::-;58948:54;58979:1;58983:2;58987:7;58996:5;58948:22;:54::i;:::-;58940:117;;;;-1:-1:-1;;;58940:117:0;;;;;;;:::i;42786:319::-;42880:7;42919:17;;;:12;;;:17;;;;;;42970:12;42955:13;42947:36;;;;-1:-1:-1;;;42947:36:0;;;;;;;;:::i;:::-;-1:-1:-1;43037:3:0;43050:12;43061:1;43050:8;:12;:::i;:::-;43037:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;;43030:40;;;42786:319;;;;;:::o;62781:604::-;62902:4;-1:-1:-1;;;;;62929:13:0;;19588:20;62924:60;;-1:-1:-1;62968:4:0;62961:11;;62924:60;62994:23;63020:252;-1:-1:-1;;;810:10:0;63160:4;63179:7;63201:5;63036:181;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;-1:-1:-1;;;;;63036:181:0;;;;;;;-1:-1:-1;;;;;63036:181:0;;;;;;;;;;;63020:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63020:15:0;;;:252;:15;:252::i;:::-;62994:278;;63283:13;63310:10;63299:32;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;;63350:26:0;-1:-1:-1;;;63350:26:0;;-1:-1:-1;;;62781:604:0;;;;;;:::o;28784:1544::-;28850:4;28989:19;;;:12;;;:19;;;;;;29025:15;;29021:1300;;29387:21;29411:14;29424:1;29411:10;:14;:::i;:::-;29460:18;;29387:38;;-1:-1:-1;29440:17:0;;29460:22;;29481:1;;29460:22;:::i;:::-;29440:42;;29727:17;29747:3;:11;;29759:9;29747:22;;;;;;;;:::i;:::-;;;;;;;;;29727:42;;29893:9;29864:3;:11;;29876:13;29864:26;;;;;;;;:::i;:::-;;;;;;;;;;:38;29996:17;:13;30012:1;29996:17;:::i;:::-;29970:23;;;;:12;;;:23;;;;;:43;30122:17;;29970:3;;30122:17;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;30217:3;:12;;:19;30230:5;30217:19;;;;;;;;;;;30210:26;;;30260:4;30253:11;;;;;;;;29021:1300;30304:5;30297:12;;;;;28194:414;28257:4;40699:17;;;:12;;;:17;;;;;;28274:327;;-1:-1:-1;28317:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;28500:18;;28478:19;;;:12;;;:19;;;;;;:40;;;;28533:11;;28274:327;-1:-1:-1;28584:5:0;28577:12;;38104:692;38180:4;38315:17;;;:12;;;:17;;;;;;38349:13;38345:444;;-1:-1:-1;;38434:38:0;;;;;;;;;;;;;;;;;;38416:57;;;;;;;;:12;:57;;;;;;;;;;;;;;;;;;;;;;;;38631:19;;38611:17;;;:12;;;:17;;;;;;;:39;38665:11;;38345:444;38745:5;38709:3;38722:12;38733:1;38722:8;:12;:::i;:::-;38709:26;;;;;;;;:::i;:::-;;;;;;;;;;;:33;;:41;;;;38772:5;38765:12;;;;;38971:1549;39035:4;39170:17;;;:12;;;:17;;;;;;39204:13;;39200:1313;;39565:21;39589:12;39600:1;39589:8;:12;:::i;:::-;39636:19;;39565:36;;-1:-1:-1;39616:17:0;;39636:23;;39658:1;;39636:23;:::i;:::-;39616:43;;39904:26;39933:3;:12;;39946:9;39933:23;;;;;;;;:::i;:::-;;;;;;;;;;;39904:52;;40081:9;40051:3;:12;;40064:13;40051:27;;;;;;;;:::i;:::-;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;40189:17;;:13;;:17;:::i;:::-;40171:14;;40158:28;;;;:12;;;:28;;;;;:48;40315:18;;40158:3;;40315:18;;;;;:::i;:::-;;;;;;;;;;-1:-1:-1;;40315:18:0;;;;;;;;;;;;;;;;;;;;;40411:17;;;:12;;;:17;;;;;;40404:24;;;;40315:18;-1:-1:-1;40445:11:0;;-1:-1:-1;;;;40445:11:0;59401:404;-1:-1:-1;;;;;59481:16:0;;59473:61;;;;-1:-1:-1;;;59473:61:0;;12957:2:1;59473:61:0;;;12939:21:1;;;12976:18;;;12969:30;13035:34;13015:18;;;13008:62;13087:18;;59473:61:0;12755:356:1;59473:61:0;59554:16;59562:7;59554;:16::i;:::-;59553:17;59545:58;;;;-1:-1:-1;;;59545:58:0;;8247:2:1;59545:58:0;;;8229:21:1;8286:2;8266:18;;;8259:30;8325;8305:18;;;8298:58;8373:18;;59545:58:0;8045:352:1;59545:58:0;-1:-1:-1;;;;;59674:17:0;;;;;;:13;:17;;;;;:30;;59696:7;59674:21;:30::i;:::-;-1:-1:-1;59717:29:0;:12;59734:7;59743:2;59717:16;:29::i;:::-;-1:-1:-1;59764:33:0;;59789:7;;-1:-1:-1;;;;;59764:33:0;;;59781:1;;59764:33;;59781:1;;59764:33;59401:404;;:::o;22139:195::-;22242:12;22274:52;22296:6;22304:4;22310:1;22313:12;22242;19588:20;;23435:60;;;;-1:-1:-1;;;23435:60:0;;17383:2:1;23435:60:0;;;17365:21:1;17422:2;17402:18;;;17395:30;17461:31;17441:18;;;17434:59;17510:18;;23435:60:0;17181:353:1;23435:60:0;23569:12;23583:23;23610:6;-1:-1:-1;;;;;23610:11:0;23630:5;23638:4;23610:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23568:75;;;;23661:52;23679:7;23688:10;23700:12;23661:17;:52::i;:::-;23654:59;23191:530;-1:-1:-1;;;;;;;23191:530:0:o;25731:742::-;25846:12;25875:7;25871:595;;;-1:-1:-1;25906:10:0;25899:17;;25871:595;26020:17;;:21;26016:439;;26283:10;26277:17;26344:15;26331:10;26327:2;26323:19;26316:44;26016:439;26426:12;26419:20;;-1:-1:-1;;;26419:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:186::-;887:6;940:2;928:9;919:7;915:23;911:32;908:52;;;956:1;953;946:12;908:52;979:29;998:9;979:29;:::i;1019:260::-;1087:6;1095;1148:2;1136:9;1127:7;1123:23;1119:32;1116:52;;;1164:1;1161;1154:12;1116:52;1187:29;1206:9;1187:29;:::i;:::-;1177:39;;1235:38;1269:2;1258:9;1254:18;1235:38;:::i;:::-;1225:48;;1019:260;;;;;:::o;1284:328::-;1361:6;1369;1377;1430:2;1418:9;1409:7;1405:23;1401:32;1398:52;;;1446:1;1443;1436:12;1398:52;1469:29;1488:9;1469:29;:::i;:::-;1459:39;;1517:38;1551:2;1540:9;1536:18;1517:38;:::i;:::-;1507:48;;1602:2;1591:9;1587:18;1574:32;1564:42;;1284:328;;;;;:::o;1617:666::-;1712:6;1720;1728;1736;1789:3;1777:9;1768:7;1764:23;1760:33;1757:53;;;1806:1;1803;1796:12;1757:53;1829:29;1848:9;1829:29;:::i;:::-;1819:39;;1877:38;1911:2;1900:9;1896:18;1877:38;:::i;:::-;1867:48;;1962:2;1951:9;1947:18;1934:32;1924:42;;2017:2;2006:9;2002:18;1989:32;2044:18;2036:6;2033:30;2030:50;;;2076:1;2073;2066:12;2030:50;2099:22;;2152:4;2144:13;;2140:27;-1:-1:-1;2130:55:1;;2181:1;2178;2171:12;2130:55;2204:73;2269:7;2264:2;2251:16;2246:2;2242;2238:11;2204:73;:::i;:::-;2194:83;;;1617:666;;;;;;;:::o;2288:347::-;2353:6;2361;2414:2;2402:9;2393:7;2389:23;2385:32;2382:52;;;2430:1;2427;2420:12;2382:52;2453:29;2472:9;2453:29;:::i;:::-;2443:39;;2532:2;2521:9;2517:18;2504:32;2579:5;2572:13;2565:21;2558:5;2555:32;2545:60;;2601:1;2598;2591:12;2545:60;2624:5;2614:15;;;2288:347;;;;;:::o;2640:254::-;2708:6;2716;2769:2;2757:9;2748:7;2744:23;2740:32;2737:52;;;2785:1;2782;2775:12;2737:52;2808:29;2827:9;2808:29;:::i;:::-;2798:39;2884:2;2869:18;;;;2856:32;;-1:-1:-1;;;2640:254:1:o;2899:245::-;2957:6;3010:2;2998:9;2989:7;2985:23;2981:32;2978:52;;;3026:1;3023;3016:12;2978:52;3065:9;3052:23;3084:30;3108:5;3084:30;:::i;3149:249::-;3218:6;3271:2;3259:9;3250:7;3246:23;3242:32;3239:52;;;3287:1;3284;3277:12;3239:52;3319:9;3313:16;3338:30;3362:5;3338:30;:::i;3403:450::-;3472:6;3525:2;3513:9;3504:7;3500:23;3496:32;3493:52;;;3541:1;3538;3531:12;3493:52;3581:9;3568:23;3614:18;3606:6;3603:30;3600:50;;;3646:1;3643;3636:12;3600:50;3669:22;;3722:4;3714:13;;3710:27;-1:-1:-1;3700:55:1;;3751:1;3748;3741:12;3700:55;3774:73;3839:7;3834:2;3821:16;3816:2;3812;3808:11;3774:73;:::i;3858:180::-;3917:6;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;-1:-1:-1;4009:23:1;;3858:180;-1:-1:-1;3858:180:1:o;4043:257::-;4084:3;4122:5;4116:12;4149:6;4144:3;4137:19;4165:63;4221:6;4214:4;4209:3;4205:14;4198:4;4191:5;4187:16;4165:63;:::i;:::-;4282:2;4261:15;-1:-1:-1;;4257:29:1;4248:39;;;;4289:4;4244:50;;4043:257;-1:-1:-1;;4043:257:1:o;4305:274::-;4434:3;4472:6;4466:13;4488:53;4534:6;4529:3;4522:4;4514:6;4510:17;4488:53;:::i;:::-;4557:16;;;;;4305:274;-1:-1:-1;;4305:274:1:o;4584:470::-;4763:3;4801:6;4795:13;4817:53;4863:6;4858:3;4851:4;4843:6;4839:17;4817:53;:::i;:::-;4933:13;;4892:16;;;;4955:57;4933:13;4892:16;4989:4;4977:17;;4955:57;:::i;:::-;5028:20;;4584:470;-1:-1:-1;;;;4584:470:1:o;5491:488::-;-1:-1:-1;;;;;5760:15:1;;;5742:34;;5812:15;;5807:2;5792:18;;5785:43;5859:2;5844:18;;5837:34;;;5907:3;5902:2;5887:18;;5880:31;;;5685:4;;5928:45;;5953:19;;5945:6;5928:45;:::i;:::-;5920:53;5491:488;-1:-1:-1;;;;;;5491:488:1:o;6176:219::-;6325:2;6314:9;6307:21;6288:4;6345:44;6385:2;6374:9;6370:18;6362:6;6345:44;:::i;7219:414::-;7421:2;7403:21;;;7460:2;7440:18;;;7433:30;7499:34;7494:2;7479:18;;7472:62;-1:-1:-1;;;7565:2:1;7550:18;;7543:48;7623:3;7608:19;;7219:414::o;10341:397::-;10543:2;10525:21;;;10582:2;10562:18;;;10555:30;10621:34;10616:2;10601:18;;10594:62;-1:-1:-1;;;10687:2:1;10672:18;;10665:31;10728:3;10713:19;;10341:397::o;10743:353::-;10945:2;10927:21;;;10984:2;10964:18;;;10957:30;11023:31;11018:2;11003:18;;10996:59;11087:2;11072:18;;10743:353::o;13931:356::-;14133:2;14115:21;;;14152:18;;;14145:30;14211:34;14206:2;14191:18;;14184:62;14278:2;14263:18;;13931:356::o;14292:403::-;14494:2;14476:21;;;14533:2;14513:18;;;14506:30;14572:34;14567:2;14552:18;;14545:62;-1:-1:-1;;;14638:2:1;14623:18;;14616:37;14685:3;14670:19;;14292:403::o;16763:413::-;16965:2;16947:21;;;17004:2;16984:18;;;16977:30;17043:34;17038:2;17023:18;;17016:62;-1:-1:-1;;;17109:2:1;17094:18;;17087:47;17166:3;17151:19;;16763:413::o;18129:128::-;18169:3;18200:1;18196:6;18193:1;18190:13;18187:39;;;18206:18;;:::i;:::-;-1:-1:-1;18242:9:1;;18129:128::o;18262:120::-;18302:1;18328;18318:35;;18333:18;;:::i;:::-;-1:-1:-1;18367:9:1;;18262:120::o;18387:168::-;18427:7;18493:1;18489;18485:6;18481:14;18478:1;18475:21;18470:1;18463:9;18456:17;18452:45;18449:71;;;18500:18;;:::i;:::-;-1:-1:-1;18540:9:1;;18387:168::o;18560:125::-;18600:4;18628:1;18625;18622:8;18619:34;;;18633:18;;:::i;:::-;-1:-1:-1;18670:9:1;;18560:125::o;18690:258::-;18762:1;18772:113;18786:6;18783:1;18780:13;18772:113;;;18862:11;;;18856:18;18843:11;;;18836:39;18808:2;18801:10;18772:113;;;18903:6;18900:1;18897:13;18894:48;;;-1:-1:-1;;18938:1:1;18920:16;;18913:27;18690:258::o;18953:380::-;19032:1;19028:12;;;;19075;;;19096:61;;19150:4;19142:6;19138:17;19128:27;;19096:61;19203:2;19195:6;19192:14;19172:18;19169:38;19166:161;;;19249:10;19244:3;19240:20;19237:1;19230:31;19284:4;19281:1;19274:15;19312:4;19309:1;19302:15;19166:161;;18953:380;;;:::o;19338:135::-;19377:3;-1:-1:-1;;19398:17:1;;19395:43;;;19418:18;;:::i;:::-;-1:-1:-1;19465:1:1;19454:13;;19338:135::o;19478:112::-;19510:1;19536;19526:35;;19541:18;;:::i;:::-;-1:-1:-1;19575:9:1;;19478:112::o;19595:127::-;19656:10;19651:3;19647:20;19644:1;19637:31;19687:4;19684:1;19677:15;19711:4;19708:1;19701:15;19727:127;19788:10;19783:3;19779:20;19776:1;19769:31;19819:4;19816:1;19809:15;19843:4;19840:1;19833:15;19859:127;19920:10;19915:3;19911:20;19908:1;19901:31;19951:4;19948:1;19941:15;19975:4;19972:1;19965:15;19991:127;20052:10;20047:3;20043:20;20040:1;20033:31;20083:4;20080:1;20073:15;20107:4;20104:1;20097:15;20123:127;20184:10;20179:3;20175:20;20172:1;20165:31;20215:4;20212:1;20205:15;20239:4;20236:1;20229:15;20255:131;-1:-1:-1;;;;;;20329:32:1;;20319:43;;20309:71;;20376:1;20373;20366:12
Swarm Source
ipfs://6edee5547a7e4dd17fb1f00bfd3bda7e25945783e63697bfe0a06288389df430
Loading...
Loading
Loading...
Loading
[ 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.