ERC-721
Overview
Max Total Supply
1,500 b0t
Holders
252
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 b0tLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
b0tverse
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-30 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File: erc721a/contracts/IERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @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, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: erc721a/contracts/ERC721A.sol // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } } // File: contracts/b0tverse.sol pragma solidity ^0.8.0; contract b0tverse is ERC721A, Ownable, ReentrancyGuard { using Address for address; using Strings for uint; string public baseTokenURI = "ipfs://bafybeidmiawxdynorefwkxosmtzxw54ezivdozac66d75dd2pdxx7rtx7i/"; uint256 public maxSupply = 1500; uint256 public MAX_MINTS_PER_TX = 10; uint256 public PUBLIC_SALE_PRICE = 0.0069 ether; //like to game? uint256 public NUM_FREE_MINTS = 500; uint256 public MAX_FREE_PER_WALLET = 2; uint256 public freeAlreadyMinted = 0; bool public isPublicSaleActive = false; constructor() ERC721A("b0tverse", "b0t") { } function mint(uint256 numberOfTokens) external payable { require(isPublicSaleActive, "Sale is not open"); require(totalSupply() + numberOfTokens < maxSupply + 1, "No more left"); if(freeAlreadyMinted + numberOfTokens > NUM_FREE_MINTS){ require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); } else { if (balanceOf(msg.sender) + numberOfTokens > MAX_FREE_PER_WALLET) { require( (PUBLIC_SALE_PRICE * numberOfTokens) <= msg.value, "Incorrect ETH value sent" ); require( numberOfTokens <= MAX_MINTS_PER_TX, "Max mints per transaction exceeded" ); } else { require( numberOfTokens <= MAX_FREE_PER_WALLET, "Max mints per transaction exceeded" ); freeAlreadyMinted += numberOfTokens; } } _safeMint(msg.sender, numberOfTokens); } function setBaseURI(string memory baseURI) public onlyOwner { baseTokenURI = baseURI; } function treasuryMint(uint quantity) public onlyOwner { require( quantity > 0, "Invalid mint amount" ); require( totalSupply() + quantity <= maxSupply, "Maximum supply exceeded" ); _safeMint(msg.sender, quantity); } function withdraw() public onlyOwner nonReentrant { Address.sendValue(payable(msg.sender), address(this).balance); } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setIsPublicSaleActive(bool _isPublicSaleActive) external onlyOwner { isPublicSaleActive = _isPublicSaleActive; } function setNumFreeMints(uint256 _numfreemints) external onlyOwner { NUM_FREE_MINTS = _numfreemints; } function setSalePrice(uint256 _price) external onlyOwner { PUBLIC_SALE_PRICE = _price; } function setMaxLimitPerTransaction(uint256 _limit) external onlyOwner { MAX_MINTS_PER_TX = _limit; } function setFreeLimitPerWallet(uint256 _limit) external onlyOwner { MAX_FREE_PER_WALLET = _limit; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_FREE_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINTS_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_FREE_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_SALE_PRICE","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeAlreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setFreeLimitPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPublicSaleActive","type":"bool"}],"name":"setIsPublicSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxLimitPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numfreemints","type":"uint256"}],"name":"setNumFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610100604052604360808181529062001d2760a039600a90620000239082620001d3565b506105dc600b55600a600c556618838370f34000600d556101f4600e556002600f5560006010556011805460ff191690553480156200006157600080fd5b5060405180604001604052806008815260200167623074766572736560c01b81525060405180604001604052806003815260200162188c1d60ea1b8152508160029081620000b09190620001d3565b506003620000bf8282620001d3565b50506000805550620000d133620000dc565b60016009556200029f565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200015957607f821691505b6020821081036200017a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001ce57600081815260208120601f850160051c81016020861015620001a95750805b601f850160051c820191505b81811015620001ca57828155600101620001b5565b5050505b505050565b81516001600160401b03811115620001ef57620001ef6200012e565b620002078162000200845462000144565b8462000180565b602080601f8311600181146200023f5760008415620002265750858301515b600019600386901b1c1916600185901b178555620001ca565b600085815260208120601f198616915b8281101562000270578886015182559484019460019091019084016200024f565b50858210156200028f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611a7880620002af6000396000f3fe6080604052600436106101f95760003560e01c8063715018a61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb0114610539578063dffe56b21461054f578063e985e9c514610565578063efdc778814610585578063f2fde38b146105a557600080fd5b8063b88d4fde146104db578063c6a91b42146104ee578063c87b56dd14610504578063d547cfb71461052457600080fd5b806398710d1e116100dc57806398710d1e146104725780639e9fcffc14610488578063a0712d68146104a8578063a22cb465146104bb57600080fd5b8063715018a6146104145780638da5cb5b1461042957806395d89b4114610447578063982d669e1461045c57600080fd5b80631e84c413116101905780633ccfd60b1161015f5780633ccfd60b1461038c57806342842e0e146103a157806355f804b3146103b45780636352211e146103d457806370a08231146103f457600080fd5b80631e84c4131461031f578063202f298a1461033957806323b872dd1461035957806328cad13d1461036c57600080fd5b8063095ea7b3116101cc578063095ea7b3146102b15780630a00ae83146102c657806318160ddd146102e65780631919fed7146102ff57600080fd5b806301ffc9a7146101fe57806306fdde031461023357806307e89ec014610255578063081812fc14610279575b600080fd5b34801561020a57600080fd5b5061021e6102193660046114e8565b6105c5565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610617565b60405161022a9190611555565b34801561026157600080fd5b5061026b600d5481565b60405190815260200161022a565b34801561028557600080fd5b50610299610294366004611568565b6106a9565b6040516001600160a01b03909116815260200161022a565b6102c46102bf36600461159d565b6106ed565b005b3480156102d257600080fd5b506102c46102e1366004611568565b61078d565b3480156102f257600080fd5b506001546000540361026b565b34801561030b57600080fd5b506102c461031a366004611568565b61079a565b34801561032b57600080fd5b5060115461021e9060ff1681565b34801561034557600080fd5b506102c4610354366004611568565b6107a7565b6102c46103673660046115c7565b6107b4565b34801561037857600080fd5b506102c4610387366004611613565b61094d565b34801561039857600080fd5b506102c4610968565b6102c46103af3660046115c7565b6109dd565b3480156103c057600080fd5b506102c46103cf3660046116ba565b6109fd565b3480156103e057600080fd5b506102996103ef366004611568565b610a15565b34801561040057600080fd5b5061026b61040f366004611703565b610a20565b34801561042057600080fd5b506102c4610a6f565b34801561043557600080fd5b506008546001600160a01b0316610299565b34801561045357600080fd5b50610248610a83565b34801561046857600080fd5b5061026b600e5481565b34801561047e57600080fd5b5061026b600f5481565b34801561049457600080fd5b506102c46104a3366004611568565b610a92565b6102c46104b6366004611568565b610a9f565b3480156104c757600080fd5b506102c46104d636600461171e565b610c98565b6102c46104e9366004611751565b610d04565b3480156104fa57600080fd5b5061026b600c5481565b34801561051057600080fd5b5061024861051f366004611568565b610d4e565b34801561053057600080fd5b50610248610dd2565b34801561054557600080fd5b5061026b600b5481565b34801561055b57600080fd5b5061026b60105481565b34801561057157600080fd5b5061021e6105803660046117cd565b610e60565b34801561059157600080fd5b506102c46105a0366004611568565b610e8e565b3480156105b157600080fd5b506102c46105c0366004611703565b610f45565b60006301ffc9a760e01b6001600160e01b0319831614806105f657506380ac58cd60e01b6001600160e01b03198316145b806106115750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610626906117f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610652906117f7565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b482610fbb565b6106d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106f882610a15565b9050336001600160a01b03821614610731576107148133610e60565b610731576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610795610fe2565b600e55565b6107a2610fe2565b600d55565b6107af610fe2565b600f55565b60006107bf8261103c565b9050836001600160a01b0316816001600160a01b0316146107f25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761083f576108228633610e60565b61083f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661086657604051633a954ecd60e21b815260040160405180910390fd5b801561087157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610903576001840160008181526004602052604081205490036109015760005481146109015760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610955610fe2565b6011805460ff1916911515919091179055565b610970610fe2565b6002600954036109c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556109d633476110a3565b6001600955565b6109f883838360405180602001604052806000815250610d04565b505050565b610a05610fe2565b600a610a118282611877565b5050565b60006106118261103c565b60006001600160a01b038216610a49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a77610fe2565b610a8160006111bc565b565b606060038054610626906117f7565b610a9a610fe2565b600c55565b60115460ff16610ae45760405162461bcd60e51b815260206004820152601060248201526f29b0b6329034b9903737ba1037b832b760811b60448201526064016109be565b600b54610af290600161194d565b81610b006001546000540390565b610b0a919061194d565b10610b465760405162461bcd60e51b815260206004820152600c60248201526b139bc81b5bdc99481b19599d60a21b60448201526064016109be565b600e5481601054610b57919061194d565b1115610bba573481600d54610b6c9190611960565b1115610bb55760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b60448201526064016109be565b610c8b565b600f5481610bc733610a20565b610bd1919061194d565b1115610c51573481600d54610be69190611960565b1115610c2f5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b60448201526064016109be565b600c54811115610bb55760405162461bcd60e51b81526004016109be90611977565b600f54811115610c735760405162461bcd60e51b81526004016109be90611977565b8060106000828254610c85919061194d565b90915550505b610c95338261120e565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d0f8484846107b4565b6001600160a01b0383163b15610d4857610d2b84848484611228565b610d48576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d5982610fbb565b610d7657604051630a14c4b560e41b815260040160405180910390fd5b6000610d80611314565b90508051600003610da05760405180602001604052806000815250610dcb565b80610daa84611323565b604051602001610dbb9291906119b9565b6040516020818303038152906040525b9392505050565b600a8054610ddf906117f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b906117f7565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b505050505081565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e96610fe2565b60008111610edc5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b60448201526064016109be565b600b5481610eed6001546000540390565b610ef7919061194d565b1115610c8b5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c7920657863656564656400000000000000000060448201526064016109be565b610f4d610fe2565b6001600160a01b038116610fb25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109be565b610c95816111bc565b6000805482108015610611575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610a815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109be565b60008160005481101561108a5760008181526004602052604081205490600160e01b82169003611088575b80600003610dcb575060001901600081815260046020526040902054611067565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156110f35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109be565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611140576040519150601f19603f3d011682016040523d82523d6000602084013e611145565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109be565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a11828260405180602001604052806000815250611367565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061125d9033908990889088906004016119e8565b6020604051808303816000875af1925050508015611298575060408051601f3d908101601f1916820190925261129591810190611a25565b60015b6112f6573d8080156112c6576040519150601f19603f3d011682016040523d82523d6000602084013e6112cb565b606091505b5080516000036112ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a8054610626906117f7565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061133d5750819003601f19909101908152919050565b61137183836113d4565b6001600160a01b0383163b156109f8576000548281035b61139b6000868380600101945086611228565b6113b8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106113885781600054146113cd57600080fd5b5050505050565b60008054908290036113f95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114a857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611470565b50816000036114c957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610c9557600080fd5b6000602082840312156114fa57600080fd5b8135610dcb816114d2565b60005b83811015611520578181015183820152602001611508565b50506000910152565b60008151808452611541816020860160208601611505565b601f01601f19169290920160200192915050565b602081526000610dcb6020830184611529565b60006020828403121561157a57600080fd5b5035919050565b80356001600160a01b038116811461159857600080fd5b919050565b600080604083850312156115b057600080fd5b6115b983611581565b946020939093013593505050565b6000806000606084860312156115dc57600080fd5b6115e584611581565b92506115f360208501611581565b9150604084013590509250925092565b8035801515811461159857600080fd5b60006020828403121561162557600080fd5b610dcb82611603565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561165f5761165f61162e565b604051601f8501601f19908116603f011681019082821181831017156116875761168761162e565b816040528093508581528686860111156116a057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156116cc57600080fd5b813567ffffffffffffffff8111156116e357600080fd5b8201601f810184136116f457600080fd5b61130c84823560208401611644565b60006020828403121561171557600080fd5b610dcb82611581565b6000806040838503121561173157600080fd5b61173a83611581565b915061174860208401611603565b90509250929050565b6000806000806080858703121561176757600080fd5b61177085611581565b935061177e60208601611581565b925060408501359150606085013567ffffffffffffffff8111156117a157600080fd5b8501601f810187136117b257600080fd5b6117c187823560208401611644565b91505092959194509250565b600080604083850312156117e057600080fd5b6117e983611581565b915061174860208401611581565b600181811c9082168061180b57607f821691505b60208210810361182b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109f857600081815260208120601f850160051c810160208610156118585750805b601f850160051c820191505b8181101561094557828155600101611864565b815167ffffffffffffffff8111156118915761189161162e565b6118a58161189f84546117f7565b84611831565b602080601f8311600181146118da57600084156118c25750858301515b600019600386901b1c1916600185901b178555610945565b600085815260208120601f198616915b82811015611909578886015182559484019460019091019084016118ea565b50858210156119275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061157610611611937565b808202811582820484141761061157610611611937565b60208082526022908201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604082015261195960f21b606082015260800190565b600083516119cb818460208801611505565b8351908301906119df818360208801611505565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a1b90830184611529565b9695505050505050565b600060208284031215611a3757600080fd5b8151610dcb816114d256fea2646970667358221220f6be65524e02be23c86a129f33bc48901f596377b19d0c6c5cf05f5eb713f05564736f6c63430008110033697066733a2f2f62616679626569646d6961777864796e6f726566776b786f736d747a78773534657a6976646f7a61633636643735646432706478783772747837692f
Deployed Bytecode
0x6080604052600436106101f95760003560e01c8063715018a61161010d578063b88d4fde116100a0578063d5abeb011161006f578063d5abeb0114610539578063dffe56b21461054f578063e985e9c514610565578063efdc778814610585578063f2fde38b146105a557600080fd5b8063b88d4fde146104db578063c6a91b42146104ee578063c87b56dd14610504578063d547cfb71461052457600080fd5b806398710d1e116100dc57806398710d1e146104725780639e9fcffc14610488578063a0712d68146104a8578063a22cb465146104bb57600080fd5b8063715018a6146104145780638da5cb5b1461042957806395d89b4114610447578063982d669e1461045c57600080fd5b80631e84c413116101905780633ccfd60b1161015f5780633ccfd60b1461038c57806342842e0e146103a157806355f804b3146103b45780636352211e146103d457806370a08231146103f457600080fd5b80631e84c4131461031f578063202f298a1461033957806323b872dd1461035957806328cad13d1461036c57600080fd5b8063095ea7b3116101cc578063095ea7b3146102b15780630a00ae83146102c657806318160ddd146102e65780631919fed7146102ff57600080fd5b806301ffc9a7146101fe57806306fdde031461023357806307e89ec014610255578063081812fc14610279575b600080fd5b34801561020a57600080fd5b5061021e6102193660046114e8565b6105c5565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b50610248610617565b60405161022a9190611555565b34801561026157600080fd5b5061026b600d5481565b60405190815260200161022a565b34801561028557600080fd5b50610299610294366004611568565b6106a9565b6040516001600160a01b03909116815260200161022a565b6102c46102bf36600461159d565b6106ed565b005b3480156102d257600080fd5b506102c46102e1366004611568565b61078d565b3480156102f257600080fd5b506001546000540361026b565b34801561030b57600080fd5b506102c461031a366004611568565b61079a565b34801561032b57600080fd5b5060115461021e9060ff1681565b34801561034557600080fd5b506102c4610354366004611568565b6107a7565b6102c46103673660046115c7565b6107b4565b34801561037857600080fd5b506102c4610387366004611613565b61094d565b34801561039857600080fd5b506102c4610968565b6102c46103af3660046115c7565b6109dd565b3480156103c057600080fd5b506102c46103cf3660046116ba565b6109fd565b3480156103e057600080fd5b506102996103ef366004611568565b610a15565b34801561040057600080fd5b5061026b61040f366004611703565b610a20565b34801561042057600080fd5b506102c4610a6f565b34801561043557600080fd5b506008546001600160a01b0316610299565b34801561045357600080fd5b50610248610a83565b34801561046857600080fd5b5061026b600e5481565b34801561047e57600080fd5b5061026b600f5481565b34801561049457600080fd5b506102c46104a3366004611568565b610a92565b6102c46104b6366004611568565b610a9f565b3480156104c757600080fd5b506102c46104d636600461171e565b610c98565b6102c46104e9366004611751565b610d04565b3480156104fa57600080fd5b5061026b600c5481565b34801561051057600080fd5b5061024861051f366004611568565b610d4e565b34801561053057600080fd5b50610248610dd2565b34801561054557600080fd5b5061026b600b5481565b34801561055b57600080fd5b5061026b60105481565b34801561057157600080fd5b5061021e6105803660046117cd565b610e60565b34801561059157600080fd5b506102c46105a0366004611568565b610e8e565b3480156105b157600080fd5b506102c46105c0366004611703565b610f45565b60006301ffc9a760e01b6001600160e01b0319831614806105f657506380ac58cd60e01b6001600160e01b03198316145b806106115750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610626906117f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610652906117f7565b801561069f5780601f106106745761010080835404028352916020019161069f565b820191906000526020600020905b81548152906001019060200180831161068257829003601f168201915b5050505050905090565b60006106b482610fbb565b6106d1576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006106f882610a15565b9050336001600160a01b03821614610731576107148133610e60565b610731576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610795610fe2565b600e55565b6107a2610fe2565b600d55565b6107af610fe2565b600f55565b60006107bf8261103c565b9050836001600160a01b0316816001600160a01b0316146107f25760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b0388169091141761083f576108228633610e60565b61083f57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661086657604051633a954ecd60e21b815260040160405180910390fd5b801561087157600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610903576001840160008181526004602052604081205490036109015760005481146109015760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610955610fe2565b6011805460ff1916911515919091179055565b610970610fe2565b6002600954036109c75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026009556109d633476110a3565b6001600955565b6109f883838360405180602001604052806000815250610d04565b505050565b610a05610fe2565b600a610a118282611877565b5050565b60006106118261103c565b60006001600160a01b038216610a49576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610a77610fe2565b610a8160006111bc565b565b606060038054610626906117f7565b610a9a610fe2565b600c55565b60115460ff16610ae45760405162461bcd60e51b815260206004820152601060248201526f29b0b6329034b9903737ba1037b832b760811b60448201526064016109be565b600b54610af290600161194d565b81610b006001546000540390565b610b0a919061194d565b10610b465760405162461bcd60e51b815260206004820152600c60248201526b139bc81b5bdc99481b19599d60a21b60448201526064016109be565b600e5481601054610b57919061194d565b1115610bba573481600d54610b6c9190611960565b1115610bb55760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b60448201526064016109be565b610c8b565b600f5481610bc733610a20565b610bd1919061194d565b1115610c51573481600d54610be69190611960565b1115610c2f5760405162461bcd60e51b8152602060048201526018602482015277125b98dbdc9c9958dd08115512081d985b1d59481cd95b9d60421b60448201526064016109be565b600c54811115610bb55760405162461bcd60e51b81526004016109be90611977565b600f54811115610c735760405162461bcd60e51b81526004016109be90611977565b8060106000828254610c85919061194d565b90915550505b610c95338261120e565b50565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610d0f8484846107b4565b6001600160a01b0383163b15610d4857610d2b84848484611228565b610d48576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610d5982610fbb565b610d7657604051630a14c4b560e41b815260040160405180910390fd5b6000610d80611314565b90508051600003610da05760405180602001604052806000815250610dcb565b80610daa84611323565b604051602001610dbb9291906119b9565b6040516020818303038152906040525b9392505050565b600a8054610ddf906117f7565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0b906117f7565b8015610e585780601f10610e2d57610100808354040283529160200191610e58565b820191906000526020600020905b815481529060010190602001808311610e3b57829003601f168201915b505050505081565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610e96610fe2565b60008111610edc5760405162461bcd60e51b8152602060048201526013602482015272125b9d985b1a59081b5a5b9d08185b5bdd5b9d606a1b60448201526064016109be565b600b5481610eed6001546000540390565b610ef7919061194d565b1115610c8b5760405162461bcd60e51b815260206004820152601760248201527f4d6178696d756d20737570706c7920657863656564656400000000000000000060448201526064016109be565b610f4d610fe2565b6001600160a01b038116610fb25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109be565b610c95816111bc565b6000805482108015610611575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610a815760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109be565b60008160005481101561108a5760008181526004602052604081205490600160e01b82169003611088575b80600003610dcb575060001901600081815260046020526040902054611067565b505b604051636f96cda160e11b815260040160405180910390fd5b804710156110f35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109be565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611140576040519150601f19603f3d011682016040523d82523d6000602084013e611145565b606091505b50509050806109f85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109be565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610a11828260405180602001604052806000815250611367565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061125d9033908990889088906004016119e8565b6020604051808303816000875af1925050508015611298575060408051601f3d908101601f1916820190925261129591810190611a25565b60015b6112f6573d8080156112c6576040519150601f19603f3d011682016040523d82523d6000602084013e6112cb565b606091505b5080516000036112ee576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600a8054610626906117f7565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a90048061133d5750819003601f19909101908152919050565b61137183836113d4565b6001600160a01b0383163b156109f8576000548281035b61139b6000868380600101945086611228565b6113b8576040516368d2bf6b60e11b815260040160405180910390fd5b8181106113885781600054146113cd57600080fd5b5050505050565b60008054908290036113f95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146114a857808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611470565b50816000036114c957604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b031981168114610c9557600080fd5b6000602082840312156114fa57600080fd5b8135610dcb816114d2565b60005b83811015611520578181015183820152602001611508565b50506000910152565b60008151808452611541816020860160208601611505565b601f01601f19169290920160200192915050565b602081526000610dcb6020830184611529565b60006020828403121561157a57600080fd5b5035919050565b80356001600160a01b038116811461159857600080fd5b919050565b600080604083850312156115b057600080fd5b6115b983611581565b946020939093013593505050565b6000806000606084860312156115dc57600080fd5b6115e584611581565b92506115f360208501611581565b9150604084013590509250925092565b8035801515811461159857600080fd5b60006020828403121561162557600080fd5b610dcb82611603565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561165f5761165f61162e565b604051601f8501601f19908116603f011681019082821181831017156116875761168761162e565b816040528093508581528686860111156116a057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156116cc57600080fd5b813567ffffffffffffffff8111156116e357600080fd5b8201601f810184136116f457600080fd5b61130c84823560208401611644565b60006020828403121561171557600080fd5b610dcb82611581565b6000806040838503121561173157600080fd5b61173a83611581565b915061174860208401611603565b90509250929050565b6000806000806080858703121561176757600080fd5b61177085611581565b935061177e60208601611581565b925060408501359150606085013567ffffffffffffffff8111156117a157600080fd5b8501601f810187136117b257600080fd5b6117c187823560208401611644565b91505092959194509250565b600080604083850312156117e057600080fd5b6117e983611581565b915061174860208401611581565b600181811c9082168061180b57607f821691505b60208210810361182b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156109f857600081815260208120601f850160051c810160208610156118585750805b601f850160051c820191505b8181101561094557828155600101611864565b815167ffffffffffffffff8111156118915761189161162e565b6118a58161189f84546117f7565b84611831565b602080601f8311600181146118da57600084156118c25750858301515b600019600386901b1c1916600185901b178555610945565b600085815260208120601f198616915b82811015611909578886015182559484019460019091019084016118ea565b50858210156119275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082018082111561061157610611611937565b808202811582820484141761061157610611611937565b60208082526022908201527f4d6178206d696e747320706572207472616e73616374696f6e20657863656564604082015261195960f21b606082015260800190565b600083516119cb818460208801611505565b8351908301906119df818360208801611505565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611a1b90830184611529565b9695505050505050565b600060208284031215611a3757600080fd5b8151610dcb816114d256fea2646970667358221220f6be65524e02be23c86a129f33bc48901f596377b19d0c6c5cf05f5eb713f05564736f6c63430008110033
Deployed Bytecode Sourcemap
77649:3009:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44528:639;;;;;;;;;;-1:-1:-1;44528:639:0;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;44528:639:0;;;;;;;;45430:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;77954:48::-;;;;;;;;;;;;;;;;;;;1494:25:1;;;1482:2;1467:18;77954:48:0;1348:177:1;51921:218:0;;;;;;;;;;-1:-1:-1;51921:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1879:32:1;;;1861:51;;1849:2;1834:18;51921:218:0;1715:203:1;51354:408:0;;;;;;:::i;:::-;;:::i;:::-;;80140:129;;;;;;;;;;-1:-1:-1;80140:129:0;;;;;:::i;:::-;;:::i;41181:323::-;;;;;;;;;;-1:-1:-1;41455:12:0;;41242:7;41439:13;:28;41181:323;;80275:115;;;;;;;;;;-1:-1:-1;80275:115:0;;;;;:::i;:::-;;:::i;78149:38::-;;;;;;;;;;-1:-1:-1;78149:38:0;;;;;;;;80529:126;;;;;;;;;;-1:-1:-1;80529:126:0;;;;;:::i;:::-;;:::i;55560:2825::-;;;;;;:::i;:::-;;:::i;79986:148::-;;;;;;;;;;-1:-1:-1;79986:148:0;;;;;:::i;:::-;;:::i;79697:142::-;;;;;;;;;;;;;:::i;58481:193::-;;;;;;:::i;:::-;;:::i;79293:108::-;;;;;;;;;;-1:-1:-1;79293:108:0;;;;;:::i;:::-;;:::i;46823:152::-;;;;;;;;;;-1:-1:-1;46823:152:0;;;;;:::i;:::-;;:::i;42365:233::-;;;;;;;;;;-1:-1:-1;42365:233:0;;;;;:::i;:::-;;:::i;8067:103::-;;;;;;;;;;;;;:::i;7419:87::-;;;;;;;;;;-1:-1:-1;7492:6:0;;-1:-1:-1;;;;;7492:6:0;7419:87;;45606:104;;;;;;;;;;;;;:::i;78023:36::-;;;;;;;;;;;;;;;;78064:39;;;;;;;;;;;;;;;;80396:127;;;;;;;;;;-1:-1:-1;80396:127:0;;;;;:::i;:::-;;:::i;78247:1040::-;;;;;;:::i;:::-;;:::i;52479:234::-;;;;;;;;;;-1:-1:-1;52479:234:0;;;;;:::i;:::-;;:::i;59272:407::-;;;;;;:::i;:::-;;:::i;77912:37::-;;;;;;;;;;;;;;;;45816:318;;;;;;;;;;-1:-1:-1;45816:318:0;;;;;:::i;:::-;;:::i;77770:100::-;;;;;;;;;;;;;:::i;77875:32::-;;;;;;;;;;;;;;;;78108:36;;;;;;;;;;;;;;;;52870:164;;;;;;;;;;-1:-1:-1;52870:164:0;;;;;:::i;:::-;;:::i;79407:284::-;;;;;;;;;;-1:-1:-1;79407:284:0;;;;;:::i;:::-;;:::i;8325:201::-;;;;;;;;;;-1:-1:-1;8325:201:0;;;;;:::i;:::-;;:::i;44528:639::-;44613:4;-1:-1:-1;;;;;;;;;44937:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;45014:25:0;;;44937:102;:179;;;-1:-1:-1;;;;;;;;;;45091:25:0;;;44937:179;44917:199;44528:639;-1:-1:-1;;44528:639:0:o;45430:100::-;45484:13;45517:5;45510:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45430:100;:::o;51921:218::-;51997:7;52022:16;52030:7;52022;:16::i;:::-;52017:64;;52047:34;;-1:-1:-1;;;52047:34:0;;;;;;;;;;;52017:64;-1:-1:-1;52101:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;52101:30:0;;51921:218::o;51354:408::-;51443:13;51459:16;51467:7;51459;:16::i;:::-;51443:32;-1:-1:-1;75687:10:0;-1:-1:-1;;;;;51492:28:0;;;51488:175;;51540:44;51557:5;75687:10;52870:164;:::i;51540:44::-;51535:128;;51612:35;;-1:-1:-1;;;51612:35:0;;;;;;;;;;;51535:128;51675:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;51675:35:0;-1:-1:-1;;;;;51675:35:0;;;;;;;;;51726:28;;51675:24;;51726:28;;;;;;;51432:330;51354:408;;:::o;80140:129::-;7305:13;:11;:13::i;:::-;80233:14:::1;:30:::0;80140:129::o;80275:115::-;7305:13;:11;:13::i;:::-;80358:17:::1;:26:::0;80275:115::o;80529:126::-;7305:13;:11;:13::i;:::-;80621:19:::1;:28:::0;80529:126::o;55560:2825::-;55702:27;55732;55751:7;55732:18;:27::i;:::-;55702:57;;55817:4;-1:-1:-1;;;;;55776:45:0;55792:19;-1:-1:-1;;;;;55776:45:0;;55772:86;;55830:28;;-1:-1:-1;;;55830:28:0;;;;;;;;;;;55772:86;55872:27;54668:24;;;:15;:24;;;;;54896:26;;75687:10;54293:30;;;-1:-1:-1;;;;;53986:28:0;;54271:20;;;54268:56;56058:180;;56151:43;56168:4;75687:10;52870:164;:::i;56151:43::-;56146:92;;56203:35;;-1:-1:-1;;;56203:35:0;;;;;;;;;;;56146:92;-1:-1:-1;;;;;56255:16:0;;56251:52;;56280:23;;-1:-1:-1;;;56280:23:0;;;;;;;;;;;56251:52;56452:15;56449:160;;;56592:1;56571:19;56564:30;56449:160;-1:-1:-1;;;;;56989:24:0;;;;;;;:18;:24;;;;;;56987:26;;-1:-1:-1;;56987:26:0;;;57058:22;;;;;;;;;57056:24;;-1:-1:-1;57056:24:0;;;50212:11;50187:23;50183:41;50170:63;-1:-1:-1;;;50170:63:0;57351:26;;;;:17;:26;;;;;:175;;;;-1:-1:-1;;;57646:47:0;;:52;;57642:627;;57751:1;57741:11;;57719:19;57874:30;;;:17;:30;;;;;;:35;;57870:384;;58012:13;;57997:11;:28;57993:242;;58159:30;;;;:17;:30;;;;;:52;;;57993:242;57700:569;57642:627;58316:7;58312:2;-1:-1:-1;;;;;58297:27:0;58306:4;-1:-1:-1;;;;;58297:27:0;;;;;;;;;;;58335:42;55691:2694;;;55560:2825;;;:::o;79986:148::-;7305:13;:11;:13::i;:::-;80088:18:::1;:40:::0;;-1:-1:-1;;80088:40:0::1;::::0;::::1;;::::0;;;::::1;::::0;;79986:148::o;79697:142::-;7305:13;:11;:13::i;:::-;1847:1:::1;2445:7;;:19:::0;2437:63:::1;;;::::0;-1:-1:-1;;;2437:63:0;;6242:2:1;2437:63:0::1;::::0;::::1;6224:21:1::0;6281:2;6261:18;;;6254:30;6320:33;6300:18;;;6293:61;6371:18;;2437:63:0::1;;;;;;;;;1847:1;2578:7;:18:::0;79772:61:::2;79798:10;79811:21;79772:17;:61::i;:::-;1803:1:::1;2757:7;:22:::0;79697:142::o;58481:193::-;58627:39;58644:4;58650:2;58654:7;58627:39;;;;;;;;;;;;:16;:39::i;:::-;58481:193;;;:::o;79293:108::-;7305:13;:11;:13::i;:::-;79373:12:::1;:22;79388:7:::0;79373:12;:22:::1;:::i;:::-;;79293:108:::0;:::o;46823:152::-;46895:7;46938:27;46957:7;46938:18;:27::i;42365:233::-;42437:7;-1:-1:-1;;;;;42461:19:0;;42457:60;;42489:28;;-1:-1:-1;;;42489:28:0;;;;;;;;;;;42457:60;-1:-1:-1;;;;;;42535:25:0;;;;;:18;:25;;;;;;36524:13;42535:55;;42365:233::o;8067:103::-;7305:13;:11;:13::i;:::-;8132:30:::1;8159:1;8132:18;:30::i;:::-;8067:103::o:0;45606:104::-;45662:13;45695:7;45688:14;;;;;:::i;80396:127::-;7305:13;:11;:13::i;:::-;80492:16:::1;:25:::0;80396:127::o;78247:1040::-;78334:18;;;;78326:47;;;;-1:-1:-1;;;78326:47:0;;8806:2:1;78326:47:0;;;8788:21:1;8845:2;8825:18;;;8818:30;-1:-1:-1;;;8864:18:1;;;8857:46;8920:18;;78326:47:0;8604:340:1;78326:47:0;78421:9;;:13;;78433:1;78421:13;:::i;:::-;78404:14;78388:13;41455:12;;41242:7;41439:13;:28;;41181:323;78388:13;:30;;;;:::i;:::-;:46;78380:71;;;;-1:-1:-1;;;78380:71:0;;9413:2:1;78380:71:0;;;9395:21:1;9452:2;9432:18;;;9425:30;-1:-1:-1;;;9471:18:1;;;9464:42;9523:18;;78380:71:0;9211:336:1;78380:71:0;78500:14;;78483;78463:17;;:34;;;;:::i;:::-;:51;78460:778;;;78588:9;78569:14;78549:17;;:34;;;;:::i;:::-;78548:49;;78526:123;;;;-1:-1:-1;;;78526:123:0;;9927:2:1;78526:123:0;;;9909:21:1;9966:2;9946:18;;;9939:30;-1:-1:-1;;;9985:18:1;;;9978:54;10049:18;;78526:123:0;9725:348:1;78526:123:0;78460:778;;;78719:19;;78702:14;78678:21;78688:10;78678:9;:21::i;:::-;:38;;;;:::i;:::-;:60;78674:557;;;78813:9;78794:14;78774:17;;:34;;;;:::i;:::-;78773:49;;78751:123;;;;-1:-1:-1;;;78751:123:0;;9927:2:1;78751:123:0;;;9909:21:1;9966:2;9946:18;;;9939:30;-1:-1:-1;;;9985:18:1;;;9978:54;10049:18;;78751:123:0;9725:348:1;78751:123:0;78925:16;;78907:14;:34;;78885:118;;;;-1:-1:-1;;;78885:118:0;;;;;;;:::i;78674:557::-;79080:19;;79062:14;:37;;79036:133;;;;-1:-1:-1;;;79036:133:0;;;;;;;:::i;:::-;79205:14;79184:17;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;;78674:557:0;79244:37;79254:10;79266:14;79244:9;:37::i;:::-;78247:1040;:::o;52479:234::-;75687:10;52574:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;52574:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;52574:60:0;;;;;;;;;;52650:55;;540:41:1;;;52574:49:0;;75687:10;52650:55;;513:18:1;52650:55:0;;;;;;;52479:234;;:::o;59272:407::-;59447:31;59460:4;59466:2;59470:7;59447:12;:31::i;:::-;-1:-1:-1;;;;;59493:14:0;;;:19;59489:183;;59532:56;59563:4;59569:2;59573:7;59582:5;59532:30;:56::i;:::-;59527:145;;59616:40;;-1:-1:-1;;;59616:40:0;;;;;;;;;;;59527:145;59272:407;;;;:::o;45816:318::-;45889:13;45920:16;45928:7;45920;:16::i;:::-;45915:59;;45945:29;;-1:-1:-1;;;45945:29:0;;;;;;;;;;;45915:59;45987:21;46011:10;:8;:10::i;:::-;45987:34;;46045:7;46039:21;46064:1;46039:26;:87;;;;;;;;;;;;;;;;;46092:7;46101:18;46111:7;46101:9;:18::i;:::-;46075:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46039:87;46032:94;45816:318;-1:-1:-1;;;45816:318:0:o;77770:100::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52870:164::-;-1:-1:-1;;;;;52991:25:0;;;52967:4;52991:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;52870:164::o;79407:284::-;7305:13;:11;:13::i;:::-;79508:1:::1;79497:8;:12;79481:65;;;::::0;-1:-1:-1;;;79481:65:0;;11184:2:1;79481:65:0::1;::::0;::::1;11166:21:1::0;11223:2;11203:18;;;11196:30;-1:-1:-1;;;11242:18:1;;;11235:49;11301:18;;79481:65:0::1;10982:343:1::0;79481:65:0::1;79597:9;;79585:8;79569:13;41455:12:::0;;41242:7;41439:13;:28;;41181:323;79569:13:::1;:24;;;;:::i;:::-;:37;;79553:94;;;::::0;-1:-1:-1;;;79553:94:0;;11532:2:1;79553:94:0::1;::::0;::::1;11514:21:1::0;11571:2;11551:18;;;11544:30;11610:25;11590:18;;;11583:53;11653:18;;79553:94:0::1;11330:347:1::0;8325:201:0;7305:13;:11;:13::i;:::-;-1:-1:-1;;;;;8414:22:0;::::1;8406:73;;;::::0;-1:-1:-1;;;8406:73:0;;11884:2:1;8406:73:0::1;::::0;::::1;11866:21:1::0;11923:2;11903:18;;;11896:30;11962:34;11942:18;;;11935:62;-1:-1:-1;;;12013:18:1;;;12006:36;12059:19;;8406:73:0::1;11682:402:1::0;8406:73:0::1;8490:28;8509:8;8490:18;:28::i;53292:282::-:0;53357:4;53447:13;;53437:7;:23;53394:153;;;;-1:-1:-1;;53498:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;53498:44:0;:49;;53292:282::o;7584:132::-;7492:6;;-1:-1:-1;;;;;7492:6:0;75687:10;7648:23;7640:68;;;;-1:-1:-1;;;7640:68:0;;12291:2:1;7640:68:0;;;12273:21:1;;;12310:18;;;12303:30;12369:34;12349:18;;;12342:62;12421:18;;7640:68:0;12089:356:1;47978:1275:0;48045:7;48080;48182:13;;48175:4;:20;48171:1015;;;48220:14;48237:23;;;:17;:23;;;;;;;-1:-1:-1;;;48326:24:0;;:29;;48322:845;;48991:113;48998:6;49008:1;48998:11;48991:113;;-1:-1:-1;;;49069:6:0;49051:25;;;;:17;:25;;;;;;48991:113;;48322:845;48197:989;48171:1015;49214:31;;-1:-1:-1;;;49214:31:0;;;;;;;;;;;11378:317;11493:6;11468:21;:31;;11460:73;;;;-1:-1:-1;;;11460:73:0;;12652:2:1;11460:73:0;;;12634:21:1;12691:2;12671:18;;;12664:30;12730:31;12710:18;;;12703:59;12779:18;;11460:73:0;12450:353:1;11460:73:0;11547:12;11565:9;-1:-1:-1;;;;;11565:14:0;11587:6;11565:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11546:52;;;11617:7;11609:78;;;;-1:-1:-1;;;11609:78:0;;13220:2:1;11609:78:0;;;13202:21:1;13259:2;13239:18;;;13232:30;13298:34;13278:18;;;13271:62;13369:28;13349:18;;;13342:56;13415:19;;11609:78:0;13018:422:1;8686:191:0;8779:6;;;-1:-1:-1;;;;;8796:17:0;;;-1:-1:-1;;;;;;8796:17:0;;;;;;;8829:40;;8779:6;;;8796:17;8779:6;;8829:40;;8760:16;;8829:40;8749:128;8686:191;:::o;69432:112::-;69509:27;69519:2;69523:8;69509:27;;;;;;;;;;;;:9;:27::i;61763:716::-;61947:88;;-1:-1:-1;;;61947:88:0;;61926:4;;-1:-1:-1;;;;;61947:45:0;;;;;:88;;75687:10;;62014:4;;62020:7;;62029:5;;61947:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61947:88:0;;;;;;;;-1:-1:-1;;61947:88:0;;;;;;;;;;;;:::i;:::-;;;61943:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62230:6;:13;62247:1;62230:18;62226:235;;62276:40;;-1:-1:-1;;;62276:40:0;;;;;;;;;;;62226:235;62419:6;62413:13;62404:6;62400:2;62396:15;62389:38;61943:529;-1:-1:-1;;;;;;62106:64:0;-1:-1:-1;;;62106:64:0;;-1:-1:-1;61943:529:0;61763:716;;;;;;:::o;79845:135::-;79930:13;79962:12;79955:19;;;;;:::i;75807:1745::-;75872:17;76306:4;76299;76293:11;76289:22;76398:1;76392:4;76385:15;76473:4;76470:1;76466:12;76459:19;;;76555:1;76550:3;76543:14;76659:3;76898:5;76880:428;76946:1;76941:3;76937:11;76930:18;;77117:2;77111:4;77107:13;77103:2;77099:22;77094:3;77086:36;77211:2;77201:13;;77268:25;76880:428;77268:25;-1:-1:-1;77338:13:0;;;-1:-1:-1;;77453:14:0;;;77515:19;;;77453:14;75807:1745;-1:-1:-1;75807:1745:0:o;68659:689::-;68790:19;68796:2;68800:8;68790:5;:19::i;:::-;-1:-1:-1;;;;;68851:14:0;;;:19;68847:483;;68891:11;68905:13;68953:14;;;68986:233;69017:62;69056:1;69060:2;69064:7;;;;;;69073:5;69017:30;:62::i;:::-;69012:167;;69115:40;;-1:-1:-1;;;69115:40:0;;;;;;;;;;;69012:167;69214:3;69206:5;:11;68986:233;;69301:3;69284:13;;:20;69280:34;;69306:8;;;69280:34;68872:458;;68659:689;;;:::o;62941:2966::-;63014:20;63037:13;;;63065;;;63061:44;;63087:18;;-1:-1:-1;;;63087:18:0;;;;;;;;;;;63061:44;-1:-1:-1;;;;;63593:22:0;;;;;;:18;:22;;;;36662:2;63593:22;;;:71;;63631:32;63619:45;;63593:71;;;63907:31;;;:17;:31;;;;;-1:-1:-1;50643:15:0;;50617:24;50613:46;50212:11;50187:23;50183:41;50180:52;50170:63;;63907:173;;64142:23;;;;63907:31;;63593:22;;64907:25;63593:22;;64760:335;65421:1;65407:12;65403:20;65361:346;65462:3;65453:7;65450:16;65361:346;;65680:7;65670:8;65667:1;65640:25;65637:1;65634;65629:59;65515:1;65502:15;65361:346;;;65365:77;65740:8;65752:1;65740:13;65736:45;;65762:19;;-1:-1:-1;;;65762:19:0;;;;;;;;;;;65736:45;65798:13;:19;-1:-1:-1;58481:193:0;;;:::o;14:131:1:-;-1:-1:-1;;;;;;88:32:1;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:1;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:1;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:1:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1530:180::-;1589:6;1642:2;1630:9;1621:7;1617:23;1613:32;1610:52;;;1658:1;1655;1648:12;1610:52;-1:-1:-1;1681:23:1;;1530:180;-1:-1:-1;1530:180:1:o;1923:173::-;1991:20;;-1:-1:-1;;;;;2040:31:1;;2030:42;;2020:70;;2086:1;2083;2076:12;2020:70;1923:173;;;:::o;2101:254::-;2169:6;2177;2230:2;2218:9;2209:7;2205:23;2201:32;2198:52;;;2246:1;2243;2236:12;2198:52;2269:29;2288:9;2269:29;:::i;:::-;2259:39;2345:2;2330:18;;;;2317:32;;-1:-1:-1;;;2101:254:1:o;2360:328::-;2437:6;2445;2453;2506:2;2494:9;2485:7;2481:23;2477:32;2474:52;;;2522:1;2519;2512:12;2474:52;2545:29;2564:9;2545:29;:::i;:::-;2535:39;;2593:38;2627:2;2616:9;2612:18;2593:38;:::i;:::-;2583:48;;2678:2;2667:9;2663:18;2650:32;2640:42;;2360:328;;;;;:::o;2693:160::-;2758:20;;2814:13;;2807:21;2797:32;;2787:60;;2843:1;2840;2833:12;2858:180;2914:6;2967:2;2955:9;2946:7;2942:23;2938:32;2935:52;;;2983:1;2980;2973:12;2935:52;3006:26;3022:9;3006:26;:::i;3043:127::-;3104:10;3099:3;3095:20;3092:1;3085:31;3135:4;3132:1;3125:15;3159:4;3156:1;3149:15;3175:632;3240:5;3270:18;3311:2;3303:6;3300:14;3297:40;;;3317:18;;:::i;:::-;3392:2;3386:9;3360:2;3446:15;;-1:-1:-1;;3442:24:1;;;3468:2;3438:33;3434:42;3422:55;;;3492:18;;;3512:22;;;3489:46;3486:72;;;3538:18;;:::i;:::-;3578:10;3574:2;3567:22;3607:6;3598:15;;3637:6;3629;3622:22;3677:3;3668:6;3663:3;3659:16;3656:25;3653:45;;;3694:1;3691;3684:12;3653:45;3744:6;3739:3;3732:4;3724:6;3720:17;3707:44;3799:1;3792:4;3783:6;3775;3771:19;3767:30;3760:41;;;;3175:632;;;;;:::o;3812:451::-;3881:6;3934:2;3922:9;3913:7;3909:23;3905:32;3902:52;;;3950:1;3947;3940:12;3902:52;3990:9;3977:23;4023:18;4015:6;4012:30;4009:50;;;4055:1;4052;4045:12;4009:50;4078:22;;4131:4;4123:13;;4119:27;-1:-1:-1;4109:55:1;;4160:1;4157;4150:12;4109:55;4183:74;4249:7;4244:2;4231:16;4226:2;4222;4218:11;4183:74;:::i;4268:186::-;4327:6;4380:2;4368:9;4359:7;4355:23;4351:32;4348:52;;;4396:1;4393;4386:12;4348:52;4419:29;4438:9;4419:29;:::i;4459:254::-;4524:6;4532;4585:2;4573:9;4564:7;4560:23;4556:32;4553:52;;;4601:1;4598;4591:12;4553:52;4624:29;4643:9;4624:29;:::i;:::-;4614:39;;4672:35;4703:2;4692:9;4688:18;4672:35;:::i;:::-;4662:45;;4459:254;;;;;:::o;4718:667::-;4813:6;4821;4829;4837;4890:3;4878:9;4869:7;4865:23;4861:33;4858:53;;;4907:1;4904;4897:12;4858:53;4930:29;4949:9;4930:29;:::i;:::-;4920:39;;4978:38;5012:2;5001:9;4997:18;4978:38;:::i;:::-;4968:48;;5063:2;5052:9;5048:18;5035:32;5025:42;;5118:2;5107:9;5103:18;5090:32;5145:18;5137:6;5134:30;5131:50;;;5177:1;5174;5167:12;5131:50;5200:22;;5253:4;5245:13;;5241:27;-1:-1:-1;5231:55:1;;5282:1;5279;5272:12;5231:55;5305:74;5371:7;5366:2;5353:16;5348:2;5344;5340:11;5305:74;:::i;:::-;5295:84;;;4718:667;;;;;;;:::o;5390:260::-;5458:6;5466;5519:2;5507:9;5498:7;5494:23;5490:32;5487:52;;;5535:1;5532;5525:12;5487:52;5558:29;5577:9;5558:29;:::i;:::-;5548:39;;5606:38;5640:2;5629:9;5625:18;5606:38;:::i;5655:380::-;5734:1;5730:12;;;;5777;;;5798:61;;5852:4;5844:6;5840:17;5830:27;;5798:61;5905:2;5897:6;5894:14;5874:18;5871:38;5868:161;;5951:10;5946:3;5942:20;5939:1;5932:31;5986:4;5983:1;5976:15;6014:4;6011:1;6004:15;5868:161;;5655:380;;;:::o;6526:545::-;6628:2;6623:3;6620:11;6617:448;;;6664:1;6689:5;6685:2;6678:17;6734:4;6730:2;6720:19;6804:2;6792:10;6788:19;6785:1;6781:27;6775:4;6771:38;6840:4;6828:10;6825:20;6822:47;;;-1:-1:-1;6863:4:1;6822:47;6918:2;6913:3;6909:12;6906:1;6902:20;6896:4;6892:31;6882:41;;6973:82;6991:2;6984:5;6981:13;6973:82;;;7036:17;;;7017:1;7006:13;6973:82;;7247:1352;7373:3;7367:10;7400:18;7392:6;7389:30;7386:56;;;7422:18;;:::i;:::-;7451:97;7541:6;7501:38;7533:4;7527:11;7501:38;:::i;:::-;7495:4;7451:97;:::i;:::-;7603:4;;7667:2;7656:14;;7684:1;7679:663;;;;8386:1;8403:6;8400:89;;;-1:-1:-1;8455:19:1;;;8449:26;8400:89;-1:-1:-1;;7204:1:1;7200:11;;;7196:24;7192:29;7182:40;7228:1;7224:11;;;7179:57;8502:81;;7649:944;;7679:663;6473:1;6466:14;;;6510:4;6497:18;;-1:-1:-1;;7715:20:1;;;7833:236;7847:7;7844:1;7841:14;7833:236;;;7936:19;;;7930:26;7915:42;;8028:27;;;;7996:1;7984:14;;;;7863:19;;7833:236;;;7837:3;8097:6;8088:7;8085:19;8082:201;;;8158:19;;;8152:26;-1:-1:-1;;8241:1:1;8237:14;;;8253:3;8233:24;8229:37;8225:42;8210:58;8195:74;;8082:201;-1:-1:-1;;;;;8329:1:1;8313:14;;;8309:22;8296:36;;-1:-1:-1;7247:1352:1:o;8949:127::-;9010:10;9005:3;9001:20;8998:1;8991:31;9041:4;9038:1;9031:15;9065:4;9062:1;9055:15;9081:125;9146:9;;;9167:10;;;9164:36;;;9180:18;;:::i;9552:168::-;9625:9;;;9656;;9673:15;;;9667:22;;9653:37;9643:71;;9694:18;;:::i;10078:398::-;10280:2;10262:21;;;10319:2;10299:18;;;10292:30;10358:34;10353:2;10338:18;;10331:62;-1:-1:-1;;;10424:2:1;10409:18;;10402:32;10466:3;10451:19;;10078:398::o;10481:496::-;10660:3;10698:6;10692:13;10714:66;10773:6;10768:3;10761:4;10753:6;10749:17;10714:66;:::i;:::-;10843:13;;10802:16;;;;10865:70;10843:13;10802:16;10912:4;10900:17;;10865:70;:::i;:::-;10951:20;;10481:496;-1:-1:-1;;;;10481:496:1:o;13445:489::-;-1:-1:-1;;;;;13714:15:1;;;13696:34;;13766:15;;13761:2;13746:18;;13739:43;13813:2;13798:18;;13791:34;;;13861:3;13856:2;13841:18;;13834:31;;;13639:4;;13882:46;;13908:19;;13900:6;13882:46;:::i;:::-;13874:54;13445:489;-1:-1:-1;;;;;;13445:489:1:o;13939:249::-;14008:6;14061:2;14049:9;14040:7;14036:23;14032:32;14029:52;;;14077:1;14074;14067:12;14029:52;14109:9;14103:16;14128:30;14152:5;14128:30;:::i
Swarm Source
ipfs://f6be65524e02be23c86a129f33bc48901f596377b19d0c6c5cf05f5eb713f055
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.