ERC-721
Overview
Max Total Supply
300 SENSHI
Holders
90
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
200 SENSHILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
SENSHI
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-17 */ /* /@/ &@ @@@@@@@& *@@@@@@@@ &@@@@@@@@@@ @@@@@@@@@@@ @@@@@ .@@ @@@@@@ #@@ (@@@@( @@@@@ @@@@@@@ /@@@@% @@@@@ @@@@@@@@( @@@@@. *@@@@& @@@@@@@@@@ @@@@@ @@@@@/ @@@@@.@@@@@ @@@@@. @@@@@% (@@@@@@@@@@ @@@@@@@@@@@ @@@@@* @@@@@@ .@@@@@@@@@@@@@@@ @@@@@@@@@@@@@@& %@@@@@ @@@@@@@@@@@@/ @@@@@ *@@@@@ @@@@@@@@@@@@@ @@@@@@@ @@@@@ @@@@@ ,@@@@@@@ @@@@@@@@@ *@@@@@ @@@@@ ,@@@@@@@@* /@@@@# &@@@@@@@@@@@@@&%#%@@@@@@@@@@@@@@. @@@@@ /@@@@@@@@@@. .@@@@@@@@@@@@@@@@@@@@@@% %@@@@@@@@@@ /@@@@@@@@@@@@ .,,, ,@@@@@@@@@@@@ &@@@@@@@@@@@/ @@@@@@@@@@@@* @@@@& .@@@@@@@@@@@@@@@@@@@@@@% .@@@@# @@@@@@@@@@@* #@@@@@@@@@@@ &@@@@@@@@@@ .@@@@@@@@ ( &@@@@@@@& @@@@@# @@@@@ @@@@@ @@@@@% &@@@@@@@@@@@@@& @@@@@@@@@@@@@@ . /@@@@@@@@ @@@@@@@@@ , @@@@@@( @@@@@ /@@@@% @@@@@@@ @@@@@@@@@@@@@@@ ,@@@ .@@@ @@@@@@@@@@@@@@& %@@@@@@@@, @@@@@@@@@/ @@@@@@@@@ @@@@@@@@@ &@@ @@@@@@@@@@@@@@& &@@( %@@@ https://senshi.app https://twitter.com/senshiapp https://t.me/senshi_portal https://medium.com/@senshiapp/foresight-is-bliss-e756452ead31 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.9.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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or 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 { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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/interfaces/IERC2981.sol // OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); } // 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/common/ERC2981.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts (last updated v4.9.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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * 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: operator-filter-registry/src/lib/Constants.sol pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6; // File: operator-filter-registry/src/IOperatorFilterRegistry.sol pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); } // File: operator-filter-registry/src/OperatorFilterer.sol pragma solidity ^0.8.13; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } } // File: @openzeppelin/contracts/utils/math/SignedMath.sol // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol) pragma solidity ^0.8.0; /** * @dev Standard signed math utilities missing in the Solidity language. */ library SignedMath { /** * @dev Returns the largest of two signed numbers. */ function max(int256 a, int256 b) internal pure returns (int256) { return a > b ? a : b; } /** * @dev Returns the smallest of two signed numbers. */ function min(int256 a, int256 b) internal pure returns (int256) { return a < b ? a : b; } /** * @dev Returns the average of two signed numbers without overflow. * The result is rounded towards zero. */ function average(int256 a, int256 b) internal pure returns (int256) { // Formula from the book "Hacker's Delight" int256 x = (a & b) + ((a ^ b) >> 1); return x + (int256(uint256(x) >> 255) & (a ^ b)); } /** * @dev Returns the absolute unsigned value of a signed value. */ function abs(int256 n) internal pure returns (uint256) { unchecked { // must be unchecked in order to support `n = type(int256).min` return uint256(n >= 0 ? n : -n); } } } // File: @openzeppelin/contracts/utils/math/Math.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1, "Math: mulDiv overflow"); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0); } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _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) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `int256` to its ASCII `string` decimal representation. */ function toString(int256 value) internal pure returns (string memory) { return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value)))); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _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); } /** * @dev Returns true if the two strings are equal. */ function equal(string memory a, string memory b) internal pure returns (bool) { return keccak256(bytes(a)) == keccak256(bytes(b)); } } // 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/token/ERC721/ERC721.sol // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _ownerOf(tokenId) != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory data) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll(address owner, address operator, bool approved) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 firstTokenId, uint256 batchSize) internal virtual {} /** * @dev Unsafe write access to the balances, used by extensions that "mint" tokens using an {ownerOf} override. * * WARNING: Anyone calling this MUST ensure that the balances remain consistent with the ownership. The invariant * being that for any address `a` the value returned by `balanceOf(a)` must be equal to the number of tokens such * that `ownerOf(tokenId)` is `a`. */ // solhint-disable-next-line func-name-mixedcase function __unsafe_increaseBalance(address account, uint256 amount) internal { _balances[account] += amount; } } // File: @openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {ERC2981-_setDefaultRoyalty}, and/or individually for * specific token ids via {ERC2981-_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.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. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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); } } pragma solidity ^0.8.0; contract SENSHI is ERC721A, OperatorFilterer, Ownable, IERC2981 { uint256 public immutable maxSupply; uint256 public immutable teamAlloc; uint256 public immutable availableMaxSupply; uint256 private constant ROYALTY_DIVISOR = 1_000; string public baseURI; // Sale state uint256 public maxMint; uint256 public price = 1.5 ether; bool public publicSaleLive; uint256 public teamClaimed; mapping(address => uint256) public saleCount; // Royalty state uint256 royaltyFee = 75; address royaltyReceiver; constructor( uint256 maxSupply_, uint256 teamAlloc_, uint256 maxMint_ ) ERC721A("Senshi", "SENSHI") OperatorFilterer( address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6), false ) { royaltyReceiver = msg.sender; maxSupply = maxSupply_; teamAlloc = teamAlloc_; availableMaxSupply = maxSupply - teamAlloc; maxMint = maxMint_; } modifier publicLive() { require(publicSaleLive, "Public sale is not yet live."); _; } modifier checkSale(uint256 quantity) { require(tx.origin == msg.sender, "Tx origin check failed."); require(quantity <= maxMint, "Exceeds transaction limit."); require(quantity > 0, "Quantity equal to zero."); require(price * quantity == msg.value, "Transaction value invalid."); require( totalSupply() + quantity <= availableMaxSupply, "Exceeds available total supply." ); require( saleCount[msg.sender] + quantity <= maxMint, "Max mint exceeded." ); _; } function getSaleCount(address _address) external view returns (uint256) { return saleCount[_address]; } function mint( uint256 quantity ) external payable publicLive checkSale(quantity) { saleCount[msg.sender] += quantity; _safeMint(msg.sender, quantity); } function teamMint(uint256 quantity_) external onlyOwner { require( teamClaimed + quantity_ <= teamAlloc, "Team tokens already claimed." ); teamClaimed += quantity_; _safeMint(msg.sender, quantity_); } function togglePublic() external onlyOwner { publicSaleLive = !publicSaleLive; } function setTransactionLimit(uint256 _maxMint) external onlyOwner { maxMint = _maxMint; } function setPrice(uint256 _price) external onlyOwner { price = _price; } function setBaseURI(string memory _URI) external onlyOwner { baseURI = _URI; } function withdrawTransfer() external onlyOwner { payable(owner()).transfer(address(this).balance); } function withdrawCall() external onlyOwner { (bool success, ) = payable(owner()).call{value: address(this).balance}( "" ); require(success, "Transfer failed"); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function tokenURI( uint256 tokenId ) public view override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string(abi.encodePacked(super.tokenURI(tokenId), ".json")); } function setApprovalForAll( address operator, bool approved ) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve( address operator, uint256 tokenId ) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } // ERC-2981 function royaltyInfo( uint256 _tokenId, uint256 _salePrice ) external view returns (address, uint256) { return (royaltyReceiver, (_salePrice * royaltyFee) / ROYALTY_DIVISOR); } function setRoyaltyFee(uint256 _royaltyFee) external onlyOwner { require(_royaltyFee <= ROYALTY_DIVISOR, "Royalty fee too high."); royaltyFee = _royaltyFee; } function setRoyaltyReceiver(address _royaltyReceiver) external onlyOwner { require(_royaltyReceiver != address(0), "Invalid receiver address."); royaltyReceiver = _royaltyReceiver; } function supportsInterface( bytes4 interfaceId ) public view virtual override(ERC721A, IERC165) returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC2981 interface ID. super.supportsInterface(interfaceId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"teamAlloc_","type":"uint256"},{"internalType":"uint256","name":"maxMint_","type":"uint256"}],"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":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"availableMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getSaleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleLive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"","type":"address"}],"name":"saleCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_royaltyFee","type":"uint256"}],"name":"setRoyaltyFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"}],"name":"setRoyaltyReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMint","type":"uint256"}],"name":"setTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAlloc","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity_","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","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":[],"name":"withdrawCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60e06040526714d1120d7b160000600b55604b600f5534801562000021575f80fd5b50604051620042c9380380620042c983398181016040528101906200004791906200048d565b733cc6cdda760b79bafa08df41ecfa224f810dceb65f6040518060400160405280600681526020017f53656e73686900000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f53454e53484900000000000000000000000000000000000000000000000000008152508160029081620000da919062000741565b508060039081620000ec919062000741565b50620000fd6200038360201b60201c565b5f8190555050505f6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115620002e8578015620001b9576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b81526004016200018492919062000868565b5f604051808303815f87803b1580156200019c575f80fd5b505af1158015620001af573d5f803e3d5ffd5b50505050620002e7565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146200026d576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200023892919062000868565b5f604051808303815f87803b15801562000250575f80fd5b505af115801562000263573d5f803e3d5ffd5b50505050620002e6565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002b6919062000893565b5f604051808303815f87803b158015620002ce575f80fd5b505af1158015620002e1573d5f803e3d5ffd5b505050505b5b5b50506200030a620002fe6200038760201b60201c565b6200038e60201b60201c565b3360105f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082608081815250508160a0818152505060a0516080516200036c9190620008db565b60c0818152505080600a8190555050505062000915565b5f90565b5f33905090565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80fd5b5f819050919050565b620004698162000455565b811462000474575f80fd5b50565b5f8151905062000487816200045e565b92915050565b5f805f60608486031215620004a757620004a662000451565b5b5f620004b68682870162000477565b9350506020620004c98682870162000477565b9250506040620004dc8682870162000477565b9150509250925092565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200056257607f821691505b6020821081036200057857620005776200051d565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620005dc7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200059f565b620005e886836200059f565b95508019841693508086168417925050509392505050565b5f819050919050565b5f62000629620006236200061d8462000455565b62000600565b62000455565b9050919050565b5f819050919050565b620006448362000609565b6200065c620006538262000630565b848454620005ab565b825550505050565b5f90565b6200067262000664565b6200067f81848462000639565b505050565b5b81811015620006a6576200069a5f8262000668565b60018101905062000685565b5050565b601f821115620006f557620006bf816200057e565b620006ca8462000590565b81016020851015620006da578190505b620006f2620006e98562000590565b83018262000684565b50505b505050565b5f82821c905092915050565b5f620007175f1984600802620006fa565b1980831691505092915050565b5f62000731838362000706565b9150826002028217905092915050565b6200074c82620004e6565b67ffffffffffffffff811115620007685762000767620004f0565b5b6200077482546200054a565b62000781828285620006aa565b5f60209050601f831160018114620007b7575f8415620007a2578287015190505b620007ae858262000724565b8655506200081d565b601f198416620007c7866200057e565b5f5b82811015620007f057848901518255600182019150602085019450602081019050620007c9565b868310156200081057848901516200080c601f89168262000706565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620008508262000825565b9050919050565b620008628162000844565b82525050565b5f6040820190506200087d5f83018562000857565b6200088c602083018462000857565b9392505050565b5f602082019050620008a85f83018462000857565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f620008e78262000455565b9150620008f48362000455565b92508282039050818111156200090f576200090e620008ae565b5b92915050565b60805160a05160c05161397b6200094e5f395f8181610c78015261127601525f8181610aca01526114bc01525f6114e0015261397b5ff3fe60806040526004361061022f575f3560e01c80636c0360eb1161012d578063a035b1fe116100aa578063d5128fde1161006e578063d5128fde146107a2578063d5abeb01146107cc578063e3e699bb146107f6578063e985e9c514610832578063f2fde38b1461086e5761022f565b8063a035b1fe146106dc578063a0712d6814610706578063a22cb46514610722578063b88d4fde1461074a578063c87b56dd146107665761022f565b80638dc251e3116100f15780638dc251e31461063657806391b7f5ed1461065e57806395d89b4114610686578063981d8771146106b05780639bc86d0d146106c65761022f565b80636c0360eb1461056657806370a0823114610590578063715018a6146105cc5780637501f741146105e25780638da5cb5b1461060c5761022f565b80632fbba115116101bb57806355f804b31161017f57806355f804b31461049a578063581f4a7c146104c25780635894945c146104ec5780636352211e1461050257806364bfa5461461053e5761022f565b80632fbba115146103c85780633e4086e5146103f05780633ef3d4521461041857806341f434341461045457806342842e0e1461047e5761022f565b806318160ddd1161020257806318160ddd146102f157806323b872dd1461031b57806326d93800146103375780632a55205a146103615780632f3346521461039e5761022f565b806301ffc9a71461023357806306fdde031461026f578063081812fc14610299578063095ea7b3146102d5575b5f80fd5b34801561023e575f80fd5b5061025960048036038101906102549190612668565b610896565b60405161026691906126ad565b60405180910390f35b34801561027a575f80fd5b506102836108d7565b6040516102909190612750565b60405180910390f35b3480156102a4575f80fd5b506102bf60048036038101906102ba91906127a3565b610967565b6040516102cc919061280d565b60405180910390f35b6102ef60048036038101906102ea9190612850565b6109e1565b005b3480156102fc575f80fd5b506103056109fa565b604051610312919061289d565b60405180910390f35b610335600480360381019061033091906128b6565b610a0f565b005b348015610342575f80fd5b5061034b610a5e565b60405161035891906126ad565b60405180910390f35b34801561036c575f80fd5b5061038760048036038101906103829190612906565b610a70565b604051610395929190612944565b60405180910390f35b3480156103a9575f80fd5b506103b2610aba565b6040516103bf919061289d565b60405180910390f35b3480156103d3575f80fd5b506103ee60048036038101906103e991906127a3565b610ac0565b005b3480156103fb575f80fd5b50610416600480360381019061041191906127a3565b610b5d565b005b348015610423575f80fd5b5061043e6004803603810190610439919061296b565b610bb4565b60405161044b919061289d565b60405180910390f35b34801561045f575f80fd5b50610468610bfa565b60405161047591906129f1565b60405180910390f35b610498600480360381019061049391906128b6565b610c0c565b005b3480156104a5575f80fd5b506104c060048036038101906104bb9190612b36565b610c5b565b005b3480156104cd575f80fd5b506104d6610c76565b6040516104e3919061289d565b60405180910390f35b3480156104f7575f80fd5b50610500610c9a565b005b34801561050d575f80fd5b50610528600480360381019061052391906127a3565b610cef565b604051610535919061280d565b60405180910390f35b348015610549575f80fd5b50610564600480360381019061055f91906127a3565b610d00565b005b348015610571575f80fd5b5061057a610d12565b6040516105879190612750565b60405180910390f35b34801561059b575f80fd5b506105b660048036038101906105b1919061296b565b610d9e565b6040516105c3919061289d565b60405180910390f35b3480156105d7575f80fd5b506105e0610e53565b005b3480156105ed575f80fd5b506105f6610e66565b604051610603919061289d565b60405180910390f35b348015610617575f80fd5b50610620610e6c565b60405161062d919061280d565b60405180910390f35b348015610641575f80fd5b5061065c6004803603810190610657919061296b565b610e94565b005b348015610669575f80fd5b50610684600480360381019061067f91906127a3565b610f4d565b005b348015610691575f80fd5b5061069a610f5f565b6040516106a79190612750565b60405180910390f35b3480156106bb575f80fd5b506106c4610fef565b005b3480156106d1575f80fd5b506106da611021565b005b3480156106e7575f80fd5b506106f06110db565b6040516106fd919061289d565b60405180910390f35b610720600480360381019061071b91906127a3565b6110e1565b005b34801561072d575f80fd5b5061074860048036038101906107439190612ba7565b6113d7565b005b610764600480360381019061075f9190612c83565b6113f0565b005b348015610771575f80fd5b5061078c600480360381019061078791906127a3565b611441565b6040516107999190612750565b60405180910390f35b3480156107ad575f80fd5b506107b66114ba565b6040516107c3919061289d565b60405180910390f35b3480156107d7575f80fd5b506107e06114de565b6040516107ed919061289d565b60405180910390f35b348015610801575f80fd5b5061081c6004803603810190610817919061296b565b611502565b604051610829919061289d565b60405180910390f35b34801561083d575f80fd5b5061085860048036038101906108539190612d03565b611517565b60405161086591906126ad565b60405180910390f35b348015610879575f80fd5b50610894600480360381019061088f919061296b565b6115a5565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d057506108cf82611627565b5b9050919050565b6060600280546108e690612d6e565b80601f016020809104026020016040519081016040528092919081815260200182805461091290612d6e565b801561095d5780601f106109345761010080835404028352916020019161095d565b820191905f5260205f20905b81548152906001019060200180831161094057829003601f168201915b5050505050905090565b5f610971826116b8565b6109a7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109eb81611712565b6109f5838361180c565b505050565b5f610a0361194b565b6001545f540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a4d57610a4c33611712565b5b610a5884848461194f565b50505050565b600c5f9054906101000a900460ff1681565b5f8060105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8600f5485610aa59190612dcb565b610aaf9190612e39565b915091509250929050565b600d5481565b610ac8611c5d565b7f000000000000000000000000000000000000000000000000000000000000000081600d54610af79190612e69565b1115610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f90612ee6565b60405180910390fd5b80600d5f828254610b499190612e69565b92505081905550610b5a3382611cdb565b50565b610b65611c5d565b6103e8811115610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190612f4e565b60405180910390fd5b80600f8190555050565b5f600e5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4a57610c4933611712565b5b610c55848484611cf8565b50505050565b610c63611c5d565b8060099081610c729190613100565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610ca2611c5d565b610caa610e6c565b73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610cec573d5f803e3d5ffd5b50565b5f610cf982611d17565b9050919050565b610d08611c5d565b80600a8190555050565b60098054610d1f90612d6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4b90612d6e565b8015610d965780601f10610d6d57610100808354040283529160200191610d96565b820191905f5260205f20905b815481529060010190602001808311610d7957829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e04576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610e5b611c5d565b610e645f611dda565b565b600a5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e9c611c5d565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0190613219565b60405180910390fd5b8060105f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f55611c5d565b80600b8190555050565b606060038054610f6e90612d6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9a90612d6e565b8015610fe55780601f10610fbc57610100808354040283529160200191610fe5565b820191905f5260205f20905b815481529060010190602001808311610fc857829003601f168201915b5050505050905090565b610ff7611c5d565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b611029611c5d565b5f611032610e6c565b73ffffffffffffffffffffffffffffffffffffffff164760405161105590613264565b5f6040518083038185875af1925050503d805f811461108f576040519150601f19603f3d011682016040523d82523d5f602084013e611094565b606091505b50509050806110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf906132c2565b60405180910390fd5b50565b600b5481565b600c5f9054906101000a900460ff1661112f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111269061332a565b60405180910390fd5b803373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590613392565b60405180910390fd5b600a548111156111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da906133fa565b60405180910390fd5b5f8111611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c90613462565b60405180910390fd5b3481600b546112349190612dcb565b14611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b906134ca565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008161129e6109fa565b6112a89190612e69565b11156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e090613532565b60405180910390fd5b600a5481600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546113359190612e69565b1115611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d9061359a565b60405180910390fd5b81600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546113c29190612e69565b925050819055506113d33383611cdb565b5050565b816113e181611712565b6113eb8383611e9d565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142e5761142d33611712565b5b61143a85858585611fa3565b5050505050565b606061144c826116b8565b61148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290613628565b60405180910390fd5b61149482612015565b6040516020016114a491906136ca565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600e602052805f5260405f205f915090505481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6115ad611c5d565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361161b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116129061375b565b60405180910390fd5b61162481611dda565b50565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061168157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806116b15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b5f816116c261194b565b111580156116d057505f5482105b801561170b57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611809576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611788929190613779565b602060405180830381865afa1580156117a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c791906137b4565b61180857806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016117ff919061280d565b60405180910390fd5b5b50565b5f61181682610cef565b90508073ffffffffffffffffffffffffffffffffffffffff166118376120b0565b73ffffffffffffffffffffffffffffffffffffffff161461189a576118638161185e6120b0565b611517565b611899576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f90565b5f61195982611d17565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119c0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f806119cb846120b7565b915091506119e181876119dc6120b0565b6120da565b611a2d576119f6866119f16120b0565b611517565b611a2c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611a92576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a9f868686600161211d565b8015611aa9575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550611b7185611b4d888887612123565b7c02000000000000000000000000000000000000000000000000000000001761214a565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603611bed575f6001850190505f60045f8381526020019081526020015f205403611beb575f548114611bea578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c558686866001612174565b505050505050565b611c6561217a565b73ffffffffffffffffffffffffffffffffffffffff16611c83610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd090613829565b60405180910390fd5b565b611cf4828260405180602001604052805f815250612181565b5050565b611d1283838360405180602001604052805f8152506113f0565b505050565b5f8082905080611d2561194b565b11611da3575f54811015611da2575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611da0575b5f8103611d965760045f836001900393508381526020019081526020015f20549050611d6f565b8092505050611dd5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060075f611ea96120b0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f526120b0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f9791906126ad565b60405180910390a35050565b611fae848484610a0f565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461200f57611fd884848484612218565b61200e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060612020826116b8565b612056576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f61205f612363565b90505f81510361207d5760405180602001604052805f8152506120a8565b80612087846123f3565b604051602001612098929190613847565b6040516020818303038152906040525b915050919050565b5f33905090565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612139868684612442565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f33905090565b61218b838361244a565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14612213575f805490505f83820390505b6121c75f868380600101945086612218565b6121fd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121b557815f5414612210575f80fd5b50505b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261223d6120b0565b8786866040518563ffffffff1660e01b815260040161225f94939291906138bc565b6020604051808303815f875af192505050801561229a57506040513d601f19601f82011682018060405250810190612297919061391a565b60015b612310573d805f81146122c8576040519150601f19603f3d011682016040523d82523d5f602084013e6122cd565b606091505b505f815103612308576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461237290612d6e565b80601f016020809104026020016040519081016040528092919081815260200182805461239e90612d6e565b80156123e95780601f106123c0576101008083540402835291602001916123e9565b820191905f5260205f20905b8154815290600101906020018083116123cc57829003601f168201915b5050505050905090565b606060a060405101806040526020810391505f825281835b60011561242d57600184039350600a81066030018453600a810490508061240b575b50828103602084039350808452505050919050565b5f9392505050565b5f805490505f8203612488576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124945f84838561211d565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612506836124f75f865f612123565b612500856125f3565b1761214a565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146125a05780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050612567565b505f82036125da576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506125ee5f848385612174565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61264781612613565b8114612651575f80fd5b50565b5f813590506126628161263e565b92915050565b5f6020828403121561267d5761267c61260b565b5b5f61268a84828501612654565b91505092915050565b5f8115159050919050565b6126a781612693565b82525050565b5f6020820190506126c05f83018461269e565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156126fd5780820151818401526020810190506126e2565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612722826126c6565b61272c81856126d0565b935061273c8185602086016126e0565b61274581612708565b840191505092915050565b5f6020820190508181035f8301526127688184612718565b905092915050565b5f819050919050565b61278281612770565b811461278c575f80fd5b50565b5f8135905061279d81612779565b92915050565b5f602082840312156127b8576127b761260b565b5b5f6127c58482850161278f565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6127f7826127ce565b9050919050565b612807816127ed565b82525050565b5f6020820190506128205f8301846127fe565b92915050565b61282f816127ed565b8114612839575f80fd5b50565b5f8135905061284a81612826565b92915050565b5f80604083850312156128665761286561260b565b5b5f6128738582860161283c565b92505060206128848582860161278f565b9150509250929050565b61289781612770565b82525050565b5f6020820190506128b05f83018461288e565b92915050565b5f805f606084860312156128cd576128cc61260b565b5b5f6128da8682870161283c565b93505060206128eb8682870161283c565b92505060406128fc8682870161278f565b9150509250925092565b5f806040838503121561291c5761291b61260b565b5b5f6129298582860161278f565b925050602061293a8582860161278f565b9150509250929050565b5f6040820190506129575f8301856127fe565b612964602083018461288e565b9392505050565b5f602082840312156129805761297f61260b565b5b5f61298d8482850161283c565b91505092915050565b5f819050919050565b5f6129b96129b46129af846127ce565b612996565b6127ce565b9050919050565b5f6129ca8261299f565b9050919050565b5f6129db826129c0565b9050919050565b6129eb816129d1565b82525050565b5f602082019050612a045f8301846129e2565b92915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612a4882612708565b810181811067ffffffffffffffff82111715612a6757612a66612a12565b5b80604052505050565b5f612a79612602565b9050612a858282612a3f565b919050565b5f67ffffffffffffffff821115612aa457612aa3612a12565b5b612aad82612708565b9050602081019050919050565b828183375f83830152505050565b5f612ada612ad584612a8a565b612a70565b905082815260208101848484011115612af657612af5612a0e565b5b612b01848285612aba565b509392505050565b5f82601f830112612b1d57612b1c612a0a565b5b8135612b2d848260208601612ac8565b91505092915050565b5f60208284031215612b4b57612b4a61260b565b5b5f82013567ffffffffffffffff811115612b6857612b6761260f565b5b612b7484828501612b09565b91505092915050565b612b8681612693565b8114612b90575f80fd5b50565b5f81359050612ba181612b7d565b92915050565b5f8060408385031215612bbd57612bbc61260b565b5b5f612bca8582860161283c565b9250506020612bdb85828601612b93565b9150509250929050565b5f67ffffffffffffffff821115612bff57612bfe612a12565b5b612c0882612708565b9050602081019050919050565b5f612c27612c2284612be5565b612a70565b905082815260208101848484011115612c4357612c42612a0e565b5b612c4e848285612aba565b509392505050565b5f82601f830112612c6a57612c69612a0a565b5b8135612c7a848260208601612c15565b91505092915050565b5f805f8060808587031215612c9b57612c9a61260b565b5b5f612ca88782880161283c565b9450506020612cb98782880161283c565b9350506040612cca8782880161278f565b925050606085013567ffffffffffffffff811115612ceb57612cea61260f565b5b612cf787828801612c56565b91505092959194509250565b5f8060408385031215612d1957612d1861260b565b5b5f612d268582860161283c565b9250506020612d378582860161283c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612d8557607f821691505b602082108103612d9857612d97612d41565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612dd582612770565b9150612de083612770565b9250828202612dee81612770565b91508282048414831517612e0557612e04612d9e565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612e4382612770565b9150612e4e83612770565b925082612e5e57612e5d612e0c565b5b828204905092915050565b5f612e7382612770565b9150612e7e83612770565b9250828201905080821115612e9657612e95612d9e565b5b92915050565b7f5465616d20746f6b656e7320616c726561647920636c61696d65642e000000005f82015250565b5f612ed0601c836126d0565b9150612edb82612e9c565b602082019050919050565b5f6020820190508181035f830152612efd81612ec4565b9050919050565b7f526f79616c74792066656520746f6f20686967682e00000000000000000000005f82015250565b5f612f386015836126d0565b9150612f4382612f04565b602082019050919050565b5f6020820190508181035f830152612f6581612f2c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612fc87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612f8d565b612fd28683612f8d565b95508019841693508086168417925050509392505050565b5f613004612fff612ffa84612770565b612996565b612770565b9050919050565b5f819050919050565b61301d83612fea565b6130316130298261300b565b848454612f99565b825550505050565b5f90565b613045613039565b613050818484613014565b505050565b5b81811015613073576130685f8261303d565b600181019050613056565b5050565b601f8211156130b85761308981612f6c565b61309284612f7e565b810160208510156130a1578190505b6130b56130ad85612f7e565b830182613055565b50505b505050565b5f82821c905092915050565b5f6130d85f19846008026130bd565b1980831691505092915050565b5f6130f083836130c9565b9150826002028217905092915050565b613109826126c6565b67ffffffffffffffff81111561312257613121612a12565b5b61312c8254612d6e565b613137828285613077565b5f60209050601f831160018114613168575f8415613156578287015190505b61316085826130e5565b8655506131c7565b601f19841661317686612f6c565b5f5b8281101561319d57848901518255600182019150602085019450602081019050613178565b868310156131ba57848901516131b6601f8916826130c9565b8355505b6001600288020188555050505b505050505050565b7f496e76616c696420726563656976657220616464726573732e000000000000005f82015250565b5f6132036019836126d0565b915061320e826131cf565b602082019050919050565b5f6020820190508181035f830152613230816131f7565b9050919050565b5f81905092915050565b50565b5f61324f5f83613237565b915061325a82613241565b5f82019050919050565b5f61326e82613244565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f6132ac600f836126d0565b91506132b782613278565b602082019050919050565b5f6020820190508181035f8301526132d9816132a0565b9050919050565b7f5075626c69632073616c65206973206e6f7420796574206c6976652e000000005f82015250565b5f613314601c836126d0565b915061331f826132e0565b602082019050919050565b5f6020820190508181035f83015261334181613308565b9050919050565b7f5478206f726967696e20636865636b206661696c65642e0000000000000000005f82015250565b5f61337c6017836126d0565b915061338782613348565b602082019050919050565b5f6020820190508181035f8301526133a981613370565b9050919050565b7f45786365656473207472616e73616374696f6e206c696d69742e0000000000005f82015250565b5f6133e4601a836126d0565b91506133ef826133b0565b602082019050919050565b5f6020820190508181035f830152613411816133d8565b9050919050565b7f5175616e7469747920657175616c20746f207a65726f2e0000000000000000005f82015250565b5f61344c6017836126d0565b915061345782613418565b602082019050919050565b5f6020820190508181035f83015261347981613440565b9050919050565b7f5472616e73616374696f6e2076616c756520696e76616c69642e0000000000005f82015250565b5f6134b4601a836126d0565b91506134bf82613480565b602082019050919050565b5f6020820190508181035f8301526134e1816134a8565b9050919050565b7f4578636565647320617661696c61626c6520746f74616c20737570706c792e005f82015250565b5f61351c601f836126d0565b9150613527826134e8565b602082019050919050565b5f6020820190508181035f83015261354981613510565b9050919050565b7f4d6178206d696e742065786365656465642e00000000000000000000000000005f82015250565b5f6135846012836126d0565b915061358f82613550565b602082019050919050565b5f6020820190508181035f8301526135b181613578565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f613612602f836126d0565b915061361d826135b8565b604082019050919050565b5f6020820190508181035f83015261363f81613606565b9050919050565b5f81905092915050565b5f61365a826126c6565b6136648185613646565b93506136748185602086016126e0565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6136b4600583613646565b91506136bf82613680565b600582019050919050565b5f6136d58284613650565b91506136e0826136a8565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6137456026836126d0565b9150613750826136eb565b604082019050919050565b5f6020820190508181035f83015261377281613739565b9050919050565b5f60408201905061378c5f8301856127fe565b61379960208301846127fe565b9392505050565b5f815190506137ae81612b7d565b92915050565b5f602082840312156137c9576137c861260b565b5b5f6137d6848285016137a0565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6138136020836126d0565b915061381e826137df565b602082019050919050565b5f6020820190508181035f83015261384081613807565b9050919050565b5f6138528285613650565b915061385e8284613650565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f61388e8261386a565b6138988185613874565b93506138a88185602086016126e0565b6138b181612708565b840191505092915050565b5f6080820190506138cf5f8301876127fe565b6138dc60208301866127fe565b6138e9604083018561288e565b81810360608301526138fb8184613884565b905095945050505050565b5f815190506139148161263e565b92915050565b5f6020828403121561392f5761392e61260b565b5b5f61393c84828501613906565b9150509291505056fea26469706673582212207b5f9a8263d8cc1a7f4715eb6d10a748296250cc400ced7c7bfa84a32b10be0f64736f6c63430008140033000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000005
Deployed Bytecode
0x60806040526004361061022f575f3560e01c80636c0360eb1161012d578063a035b1fe116100aa578063d5128fde1161006e578063d5128fde146107a2578063d5abeb01146107cc578063e3e699bb146107f6578063e985e9c514610832578063f2fde38b1461086e5761022f565b8063a035b1fe146106dc578063a0712d6814610706578063a22cb46514610722578063b88d4fde1461074a578063c87b56dd146107665761022f565b80638dc251e3116100f15780638dc251e31461063657806391b7f5ed1461065e57806395d89b4114610686578063981d8771146106b05780639bc86d0d146106c65761022f565b80636c0360eb1461056657806370a0823114610590578063715018a6146105cc5780637501f741146105e25780638da5cb5b1461060c5761022f565b80632fbba115116101bb57806355f804b31161017f57806355f804b31461049a578063581f4a7c146104c25780635894945c146104ec5780636352211e1461050257806364bfa5461461053e5761022f565b80632fbba115146103c85780633e4086e5146103f05780633ef3d4521461041857806341f434341461045457806342842e0e1461047e5761022f565b806318160ddd1161020257806318160ddd146102f157806323b872dd1461031b57806326d93800146103375780632a55205a146103615780632f3346521461039e5761022f565b806301ffc9a71461023357806306fdde031461026f578063081812fc14610299578063095ea7b3146102d5575b5f80fd5b34801561023e575f80fd5b5061025960048036038101906102549190612668565b610896565b60405161026691906126ad565b60405180910390f35b34801561027a575f80fd5b506102836108d7565b6040516102909190612750565b60405180910390f35b3480156102a4575f80fd5b506102bf60048036038101906102ba91906127a3565b610967565b6040516102cc919061280d565b60405180910390f35b6102ef60048036038101906102ea9190612850565b6109e1565b005b3480156102fc575f80fd5b506103056109fa565b604051610312919061289d565b60405180910390f35b610335600480360381019061033091906128b6565b610a0f565b005b348015610342575f80fd5b5061034b610a5e565b60405161035891906126ad565b60405180910390f35b34801561036c575f80fd5b5061038760048036038101906103829190612906565b610a70565b604051610395929190612944565b60405180910390f35b3480156103a9575f80fd5b506103b2610aba565b6040516103bf919061289d565b60405180910390f35b3480156103d3575f80fd5b506103ee60048036038101906103e991906127a3565b610ac0565b005b3480156103fb575f80fd5b50610416600480360381019061041191906127a3565b610b5d565b005b348015610423575f80fd5b5061043e6004803603810190610439919061296b565b610bb4565b60405161044b919061289d565b60405180910390f35b34801561045f575f80fd5b50610468610bfa565b60405161047591906129f1565b60405180910390f35b610498600480360381019061049391906128b6565b610c0c565b005b3480156104a5575f80fd5b506104c060048036038101906104bb9190612b36565b610c5b565b005b3480156104cd575f80fd5b506104d6610c76565b6040516104e3919061289d565b60405180910390f35b3480156104f7575f80fd5b50610500610c9a565b005b34801561050d575f80fd5b50610528600480360381019061052391906127a3565b610cef565b604051610535919061280d565b60405180910390f35b348015610549575f80fd5b50610564600480360381019061055f91906127a3565b610d00565b005b348015610571575f80fd5b5061057a610d12565b6040516105879190612750565b60405180910390f35b34801561059b575f80fd5b506105b660048036038101906105b1919061296b565b610d9e565b6040516105c3919061289d565b60405180910390f35b3480156105d7575f80fd5b506105e0610e53565b005b3480156105ed575f80fd5b506105f6610e66565b604051610603919061289d565b60405180910390f35b348015610617575f80fd5b50610620610e6c565b60405161062d919061280d565b60405180910390f35b348015610641575f80fd5b5061065c6004803603810190610657919061296b565b610e94565b005b348015610669575f80fd5b50610684600480360381019061067f91906127a3565b610f4d565b005b348015610691575f80fd5b5061069a610f5f565b6040516106a79190612750565b60405180910390f35b3480156106bb575f80fd5b506106c4610fef565b005b3480156106d1575f80fd5b506106da611021565b005b3480156106e7575f80fd5b506106f06110db565b6040516106fd919061289d565b60405180910390f35b610720600480360381019061071b91906127a3565b6110e1565b005b34801561072d575f80fd5b5061074860048036038101906107439190612ba7565b6113d7565b005b610764600480360381019061075f9190612c83565b6113f0565b005b348015610771575f80fd5b5061078c600480360381019061078791906127a3565b611441565b6040516107999190612750565b60405180910390f35b3480156107ad575f80fd5b506107b66114ba565b6040516107c3919061289d565b60405180910390f35b3480156107d7575f80fd5b506107e06114de565b6040516107ed919061289d565b60405180910390f35b348015610801575f80fd5b5061081c6004803603810190610817919061296b565b611502565b604051610829919061289d565b60405180910390f35b34801561083d575f80fd5b5061085860048036038101906108539190612d03565b611517565b60405161086591906126ad565b60405180910390f35b348015610879575f80fd5b50610894600480360381019061088f919061296b565b6115a5565b005b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806108d057506108cf82611627565b5b9050919050565b6060600280546108e690612d6e565b80601f016020809104026020016040519081016040528092919081815260200182805461091290612d6e565b801561095d5780601f106109345761010080835404028352916020019161095d565b820191905f5260205f20905b81548152906001019060200180831161094057829003601f168201915b5050505050905090565b5f610971826116b8565b6109a7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b816109eb81611712565b6109f5838361180c565b505050565b5f610a0361194b565b6001545f540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a4d57610a4c33611712565b5b610a5884848461194f565b50505050565b600c5f9054906101000a900460ff1681565b5f8060105f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166103e8600f5485610aa59190612dcb565b610aaf9190612e39565b915091509250929050565b600d5481565b610ac8611c5d565b7f000000000000000000000000000000000000000000000000000000000000012c81600d54610af79190612e69565b1115610b38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2f90612ee6565b60405180910390fd5b80600d5f828254610b499190612e69565b92505081905550610b5a3382611cdb565b50565b610b65611c5d565b6103e8811115610baa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba190612f4e565b60405180910390fd5b80600f8190555050565b5f600e5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c4a57610c4933611712565b5b610c55848484611cf8565b50505050565b610c63611c5d565b8060099081610c729190613100565b5050565b7f000000000000000000000000000000000000000000000000000000000000000081565b610ca2611c5d565b610caa610e6c565b73ffffffffffffffffffffffffffffffffffffffff166108fc4790811502906040515f60405180830381858888f19350505050158015610cec573d5f803e3d5ffd5b50565b5f610cf982611d17565b9050919050565b610d08611c5d565b80600a8190555050565b60098054610d1f90612d6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610d4b90612d6e565b8015610d965780601f10610d6d57610100808354040283529160200191610d96565b820191905f5260205f20905b815481529060010190602001808311610d7957829003601f168201915b505050505081565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e04576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b610e5b611c5d565b610e645f611dda565b565b600a5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610e9c611c5d565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0190613219565b60405180910390fd5b8060105f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610f55611c5d565b80600b8190555050565b606060038054610f6e90612d6e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f9a90612d6e565b8015610fe55780601f10610fbc57610100808354040283529160200191610fe5565b820191905f5260205f20905b815481529060010190602001808311610fc857829003601f168201915b5050505050905090565b610ff7611c5d565b600c5f9054906101000a900460ff1615600c5f6101000a81548160ff021916908315150217905550565b611029611c5d565b5f611032610e6c565b73ffffffffffffffffffffffffffffffffffffffff164760405161105590613264565b5f6040518083038185875af1925050503d805f811461108f576040519150601f19603f3d011682016040523d82523d5f602084013e611094565b606091505b50509050806110d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110cf906132c2565b60405180910390fd5b50565b600b5481565b600c5f9054906101000a900460ff1661112f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111269061332a565b60405180910390fd5b803373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff161461119e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119590613392565b60405180910390fd5b600a548111156111e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111da906133fa565b60405180910390fd5b5f8111611225576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121c90613462565b60405180910390fd5b3481600b546112349190612dcb565b14611274576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126b906134ca565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008161129e6109fa565b6112a89190612e69565b11156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e090613532565b60405180910390fd5b600a5481600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20546113359190612e69565b1115611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d9061359a565b60405180910390fd5b81600e5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546113c29190612e69565b925050819055506113d33383611cdb565b5050565b816113e181611712565b6113eb8383611e9d565b505050565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461142e5761142d33611712565b5b61143a85858585611fa3565b5050505050565b606061144c826116b8565b61148b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148290613628565b60405180910390fd5b61149482612015565b6040516020016114a491906136ca565b6040516020818303038152906040529050919050565b7f000000000000000000000000000000000000000000000000000000000000012c81565b7f000000000000000000000000000000000000000000000000000000000000012c81565b600e602052805f5260405f205f915090505481565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6115ad611c5d565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361161b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116129061375b565b60405180910390fd5b61162481611dda565b50565b5f6301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061168157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806116b15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b5f816116c261194b565b111580156116d057505f5482105b801561170b57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611809576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611788929190613779565b602060405180830381865afa1580156117a3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117c791906137b4565b61180857806040517fede71dcc0000000000000000000000000000000000000000000000000000000081526004016117ff919061280d565b60405180910390fd5b5b50565b5f61181682610cef565b90508073ffffffffffffffffffffffffffffffffffffffff166118376120b0565b73ffffffffffffffffffffffffffffffffffffffff161461189a576118638161185e6120b0565b611517565b611899576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b5f90565b5f61195982611d17565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146119c0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f806119cb846120b7565b915091506119e181876119dc6120b0565b6120da565b611a2d576119f6866119f16120b0565b611517565b611a2c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603611a92576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a9f868686600161211d565b8015611aa9575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550611b7185611b4d888887612123565b7c02000000000000000000000000000000000000000000000000000000001761214a565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603611bed575f6001850190505f60045f8381526020019081526020015f205403611beb575f548114611bea578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611c558686866001612174565b505050505050565b611c6561217a565b73ffffffffffffffffffffffffffffffffffffffff16611c83610e6c565b73ffffffffffffffffffffffffffffffffffffffff1614611cd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd090613829565b60405180910390fd5b565b611cf4828260405180602001604052805f815250612181565b5050565b611d1283838360405180602001604052805f8152506113f0565b505050565b5f8082905080611d2561194b565b11611da3575f54811015611da2575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603611da0575b5f8103611d965760045f836001900393508381526020019081526020015f20549050611d6f565b8092505050611dd5565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8060075f611ea96120b0565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611f526120b0565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f9791906126ad565b60405180910390a35050565b611fae848484610a0f565b5f8373ffffffffffffffffffffffffffffffffffffffff163b1461200f57611fd884848484612218565b61200e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6060612020826116b8565b612056576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f61205f612363565b90505f81510361207d5760405180602001604052805f8152506120a8565b80612087846123f3565b604051602001612098929190613847565b6040516020818303038152906040525b915050919050565b5f33905090565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612139868684612442565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f33905090565b61218b838361244a565b5f8373ffffffffffffffffffffffffffffffffffffffff163b14612213575f805490505f83820390505b6121c75f868380600101945086612218565b6121fd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106121b557815f5414612210575f80fd5b50505b505050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261223d6120b0565b8786866040518563ffffffff1660e01b815260040161225f94939291906138bc565b6020604051808303815f875af192505050801561229a57506040513d601f19601f82011682018060405250810190612297919061391a565b60015b612310573d805f81146122c8576040519150601f19603f3d011682016040523d82523d5f602084013e6122cd565b606091505b505f815103612308576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606009805461237290612d6e565b80601f016020809104026020016040519081016040528092919081815260200182805461239e90612d6e565b80156123e95780601f106123c0576101008083540402835291602001916123e9565b820191905f5260205f20905b8154815290600101906020018083116123cc57829003601f168201915b5050505050905090565b606060a060405101806040526020810391505f825281835b60011561242d57600184039350600a81066030018453600a810490508061240b575b50828103602084039350808452505050919050565b5f9392505050565b5f805490505f8203612488576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124945f84838561211d565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612506836124f75f865f612123565b612500856125f3565b1761214a565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146125a05780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600181019050612567565b505f82036125da576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f8190555050506125ee5f848385612174565b505050565b5f6001821460e11b9050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61264781612613565b8114612651575f80fd5b50565b5f813590506126628161263e565b92915050565b5f6020828403121561267d5761267c61260b565b5b5f61268a84828501612654565b91505092915050565b5f8115159050919050565b6126a781612693565b82525050565b5f6020820190506126c05f83018461269e565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b838110156126fd5780820151818401526020810190506126e2565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612722826126c6565b61272c81856126d0565b935061273c8185602086016126e0565b61274581612708565b840191505092915050565b5f6020820190508181035f8301526127688184612718565b905092915050565b5f819050919050565b61278281612770565b811461278c575f80fd5b50565b5f8135905061279d81612779565b92915050565b5f602082840312156127b8576127b761260b565b5b5f6127c58482850161278f565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6127f7826127ce565b9050919050565b612807816127ed565b82525050565b5f6020820190506128205f8301846127fe565b92915050565b61282f816127ed565b8114612839575f80fd5b50565b5f8135905061284a81612826565b92915050565b5f80604083850312156128665761286561260b565b5b5f6128738582860161283c565b92505060206128848582860161278f565b9150509250929050565b61289781612770565b82525050565b5f6020820190506128b05f83018461288e565b92915050565b5f805f606084860312156128cd576128cc61260b565b5b5f6128da8682870161283c565b93505060206128eb8682870161283c565b92505060406128fc8682870161278f565b9150509250925092565b5f806040838503121561291c5761291b61260b565b5b5f6129298582860161278f565b925050602061293a8582860161278f565b9150509250929050565b5f6040820190506129575f8301856127fe565b612964602083018461288e565b9392505050565b5f602082840312156129805761297f61260b565b5b5f61298d8482850161283c565b91505092915050565b5f819050919050565b5f6129b96129b46129af846127ce565b612996565b6127ce565b9050919050565b5f6129ca8261299f565b9050919050565b5f6129db826129c0565b9050919050565b6129eb816129d1565b82525050565b5f602082019050612a045f8301846129e2565b92915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b612a4882612708565b810181811067ffffffffffffffff82111715612a6757612a66612a12565b5b80604052505050565b5f612a79612602565b9050612a858282612a3f565b919050565b5f67ffffffffffffffff821115612aa457612aa3612a12565b5b612aad82612708565b9050602081019050919050565b828183375f83830152505050565b5f612ada612ad584612a8a565b612a70565b905082815260208101848484011115612af657612af5612a0e565b5b612b01848285612aba565b509392505050565b5f82601f830112612b1d57612b1c612a0a565b5b8135612b2d848260208601612ac8565b91505092915050565b5f60208284031215612b4b57612b4a61260b565b5b5f82013567ffffffffffffffff811115612b6857612b6761260f565b5b612b7484828501612b09565b91505092915050565b612b8681612693565b8114612b90575f80fd5b50565b5f81359050612ba181612b7d565b92915050565b5f8060408385031215612bbd57612bbc61260b565b5b5f612bca8582860161283c565b9250506020612bdb85828601612b93565b9150509250929050565b5f67ffffffffffffffff821115612bff57612bfe612a12565b5b612c0882612708565b9050602081019050919050565b5f612c27612c2284612be5565b612a70565b905082815260208101848484011115612c4357612c42612a0e565b5b612c4e848285612aba565b509392505050565b5f82601f830112612c6a57612c69612a0a565b5b8135612c7a848260208601612c15565b91505092915050565b5f805f8060808587031215612c9b57612c9a61260b565b5b5f612ca88782880161283c565b9450506020612cb98782880161283c565b9350506040612cca8782880161278f565b925050606085013567ffffffffffffffff811115612ceb57612cea61260f565b5b612cf787828801612c56565b91505092959194509250565b5f8060408385031215612d1957612d1861260b565b5b5f612d268582860161283c565b9250506020612d378582860161283c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680612d8557607f821691505b602082108103612d9857612d97612d41565b5b50919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f612dd582612770565b9150612de083612770565b9250828202612dee81612770565b91508282048414831517612e0557612e04612d9e565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f612e4382612770565b9150612e4e83612770565b925082612e5e57612e5d612e0c565b5b828204905092915050565b5f612e7382612770565b9150612e7e83612770565b9250828201905080821115612e9657612e95612d9e565b5b92915050565b7f5465616d20746f6b656e7320616c726561647920636c61696d65642e000000005f82015250565b5f612ed0601c836126d0565b9150612edb82612e9c565b602082019050919050565b5f6020820190508181035f830152612efd81612ec4565b9050919050565b7f526f79616c74792066656520746f6f20686967682e00000000000000000000005f82015250565b5f612f386015836126d0565b9150612f4382612f04565b602082019050919050565b5f6020820190508181035f830152612f6581612f2c565b9050919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302612fc87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82612f8d565b612fd28683612f8d565b95508019841693508086168417925050509392505050565b5f613004612fff612ffa84612770565b612996565b612770565b9050919050565b5f819050919050565b61301d83612fea565b6130316130298261300b565b848454612f99565b825550505050565b5f90565b613045613039565b613050818484613014565b505050565b5b81811015613073576130685f8261303d565b600181019050613056565b5050565b601f8211156130b85761308981612f6c565b61309284612f7e565b810160208510156130a1578190505b6130b56130ad85612f7e565b830182613055565b50505b505050565b5f82821c905092915050565b5f6130d85f19846008026130bd565b1980831691505092915050565b5f6130f083836130c9565b9150826002028217905092915050565b613109826126c6565b67ffffffffffffffff81111561312257613121612a12565b5b61312c8254612d6e565b613137828285613077565b5f60209050601f831160018114613168575f8415613156578287015190505b61316085826130e5565b8655506131c7565b601f19841661317686612f6c565b5f5b8281101561319d57848901518255600182019150602085019450602081019050613178565b868310156131ba57848901516131b6601f8916826130c9565b8355505b6001600288020188555050505b505050505050565b7f496e76616c696420726563656976657220616464726573732e000000000000005f82015250565b5f6132036019836126d0565b915061320e826131cf565b602082019050919050565b5f6020820190508181035f830152613230816131f7565b9050919050565b5f81905092915050565b50565b5f61324f5f83613237565b915061325a82613241565b5f82019050919050565b5f61326e82613244565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f6132ac600f836126d0565b91506132b782613278565b602082019050919050565b5f6020820190508181035f8301526132d9816132a0565b9050919050565b7f5075626c69632073616c65206973206e6f7420796574206c6976652e000000005f82015250565b5f613314601c836126d0565b915061331f826132e0565b602082019050919050565b5f6020820190508181035f83015261334181613308565b9050919050565b7f5478206f726967696e20636865636b206661696c65642e0000000000000000005f82015250565b5f61337c6017836126d0565b915061338782613348565b602082019050919050565b5f6020820190508181035f8301526133a981613370565b9050919050565b7f45786365656473207472616e73616374696f6e206c696d69742e0000000000005f82015250565b5f6133e4601a836126d0565b91506133ef826133b0565b602082019050919050565b5f6020820190508181035f830152613411816133d8565b9050919050565b7f5175616e7469747920657175616c20746f207a65726f2e0000000000000000005f82015250565b5f61344c6017836126d0565b915061345782613418565b602082019050919050565b5f6020820190508181035f83015261347981613440565b9050919050565b7f5472616e73616374696f6e2076616c756520696e76616c69642e0000000000005f82015250565b5f6134b4601a836126d0565b91506134bf82613480565b602082019050919050565b5f6020820190508181035f8301526134e1816134a8565b9050919050565b7f4578636565647320617661696c61626c6520746f74616c20737570706c792e005f82015250565b5f61351c601f836126d0565b9150613527826134e8565b602082019050919050565b5f6020820190508181035f83015261354981613510565b9050919050565b7f4d6178206d696e742065786365656465642e00000000000000000000000000005f82015250565b5f6135846012836126d0565b915061358f82613550565b602082019050919050565b5f6020820190508181035f8301526135b181613578565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f613612602f836126d0565b915061361d826135b8565b604082019050919050565b5f6020820190508181035f83015261363f81613606565b9050919050565b5f81905092915050565b5f61365a826126c6565b6136648185613646565b93506136748185602086016126e0565b80840191505092915050565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000005f82015250565b5f6136b4600583613646565b91506136bf82613680565b600582019050919050565b5f6136d58284613650565b91506136e0826136a8565b915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6137456026836126d0565b9150613750826136eb565b604082019050919050565b5f6020820190508181035f83015261377281613739565b9050919050565b5f60408201905061378c5f8301856127fe565b61379960208301846127fe565b9392505050565b5f815190506137ae81612b7d565b92915050565b5f602082840312156137c9576137c861260b565b5b5f6137d6848285016137a0565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6138136020836126d0565b915061381e826137df565b602082019050919050565b5f6020820190508181035f83015261384081613807565b9050919050565b5f6138528285613650565b915061385e8284613650565b91508190509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f61388e8261386a565b6138988185613874565b93506138a88185602086016126e0565b6138b181612708565b840191505092915050565b5f6080820190506138cf5f8301876127fe565b6138dc60208301866127fe565b6138e9604083018561288e565b81810360608301526138fb8184613884565b905095945050505050565b5f815190506139148161263e565b92915050565b5f6020828403121561392f5761392e61260b565b5b5f61393c84828501613906565b9150509291505056fea26469706673582212207b5f9a8263d8cc1a7f4715eb6d10a748296250cc400ced7c7bfa84a32b10be0f64736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000012c000000000000000000000000000000000000000000000000000000000000012c0000000000000000000000000000000000000000000000000000000000000005
-----Decoded View---------------
Arg [0] : maxSupply_ (uint256): 300
Arg [1] : teamAlloc_ (uint256): 300
Arg [2] : maxMint_ (uint256): 5
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [1] : 000000000000000000000000000000000000000000000000000000000000012c
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Deployed Bytecode Sourcemap
127774:5551:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;133055:267;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;45612:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52103:218;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131526:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;41363:323;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131724:205;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;128153:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132432:213;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;128186:26;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;129871:267;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;132653:181;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;129548:117;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;85476:143;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;131937:213;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130453:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;127927:43;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130553:114;;;;;;;;;;;;;:::i;:::-;;47005:152;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130248:103;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;128036:21;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42547:233;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;126930:103;;;;;;;;;;;;;:::i;:::-;;128085:22;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;126289:87;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;132842:205;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;130359:86;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;45788:104;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;130146:94;;;;;;;;;;;;;:::i;:::-;;130675:206;;;;;;;;;;;;;:::i;:::-;;128114:32;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;129673:190;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131317:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;132158:247;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;131005:304;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;127886:34;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;127845;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;128221:44;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53052:164;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;127188:201;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;133055:267;133174:4;133226:10;133211:25;;:11;:25;;;;:103;;;;133278:36;133302:11;133278:23;:36::i;:::-;133211:103;133191:123;;133055:267;;;:::o;45612:100::-;45666:13;45699:5;45692:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45612:100;:::o;52103:218::-;52179:7;52204:16;52212:7;52204;:16::i;:::-;52199:64;;52229:34;;;;;;;;;;;;;;52199:64;52283:15;:24;52299:7;52283:24;;;;;;;;;;;:30;;;;;;;;;;;;52276:37;;52103:218;;;:::o;131526:190::-;131655:8;87258:30;87279:8;87258:20;:30::i;:::-;131676:32:::1;131690:8;131700:7;131676:13;:32::i;:::-;131526:190:::0;;;:::o;41363:323::-;41424:7;41652:15;:13;:15::i;:::-;41637:12;;41621:13;;:28;:46;41614:53;;41363:323;:::o;131724:205::-;131867:4;86992:10;86984:18;;:4;:18;;;86980:83;;87019:32;87040:10;87019:20;:32::i;:::-;86980:83;131884:37:::1;131903:4;131909:2;131913:7;131884:18;:37::i;:::-;131724:205:::0;;;;:::o;128153:26::-;;;;;;;;;;;;;:::o;132432:213::-;132539:7;132548;132576:15;;;;;;;;;;;128022:5;132607:10;;132594;:23;;;;:::i;:::-;132593:43;;;;:::i;:::-;132568:69;;;;132432:213;;;;;:::o;128186:26::-;;;;:::o;129871:267::-;126175:13;:11;:13::i;:::-;129987:9:::1;129974;129960:11;;:23;;;;:::i;:::-;:36;;129938:114;;;;;;;;;;;;:::i;:::-;;;;;;;;;130078:9;130063:11;;:24;;;;;;;:::i;:::-;;;;;;;;130098:32;130108:10;130120:9;130098;:32::i;:::-;129871:267:::0;:::o;132653:181::-;126175:13;:11;:13::i;:::-;128022:5:::1;132735:11;:30;;132727:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;132815:11;132802:10;:24;;;;132653:181:::0;:::o;129548:117::-;129611:7;129638:9;:19;129648:8;129638:19;;;;;;;;;;;;;;;;129631:26;;129548:117;;;:::o;85476:143::-;77892:42;85476:143;:::o;131937:213::-;132084:4;86992:10;86984:18;;:4;:18;;;86980:83;;87019:32;87040:10;87019:20;:32::i;:::-;86980:83;132101:41:::1;132124:4;132130:2;132134:7;132101:22;:41::i;:::-;131937:213:::0;;;;:::o;130453:92::-;126175:13;:11;:13::i;:::-;130533:4:::1;130523:7;:14;;;;;;:::i;:::-;;130453:92:::0;:::o;127927:43::-;;;:::o;130553:114::-;126175:13;:11;:13::i;:::-;130619:7:::1;:5;:7::i;:::-;130611:25;;:48;130637:21;130611:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;130553:114::o:0;47005:152::-;47077:7;47120:27;47139:7;47120:18;:27::i;:::-;47097:52;;47005:152;;;:::o;130248:103::-;126175:13;:11;:13::i;:::-;130335:8:::1;130325:7;:18;;;;130248:103:::0;:::o;128036:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42547:233::-;42619:7;42660:1;42643:19;;:5;:19;;;42639:60;;42671:28;;;;;;;;;;;;;;42639:60;36706:13;42717:18;:25;42736:5;42717:25;;;;;;;;;;;;;;;;:55;42710:62;;42547:233;;;:::o;126930:103::-;126175:13;:11;:13::i;:::-;126995:30:::1;127022:1;126995:18;:30::i;:::-;126930:103::o:0;128085:22::-;;;;:::o;126289:87::-;126335:7;126362:6;;;;;;;;;;;126355:13;;126289:87;:::o;132842:205::-;126175:13;:11;:13::i;:::-;132962:1:::1;132934:30;;:16;:30;;::::0;132926:68:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;133023:16;133005:15;;:34;;;;;;;;;;;;;;;;;;132842:205:::0;:::o;130359:86::-;126175:13;:11;:13::i;:::-;130431:6:::1;130423:5;:14;;;;130359:86:::0;:::o;45788:104::-;45844:13;45877:7;45870:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45788:104;:::o;130146:94::-;126175:13;:11;:13::i;:::-;130218:14:::1;;;;;;;;;;;130217:15;130200:14;;:32;;;;;;;;;;;;;;;;;;130146:94::o:0;130675:206::-;126175:13;:11;:13::i;:::-;130730:12:::1;130756:7;:5;:7::i;:::-;130748:21;;130777;130748:79;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;130729:98;;;130846:7;130838:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;130718:163;130675:206::o:0;128114:32::-;;;;:::o;129673:190::-;128871:14;;;;;;;;;;;128863:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;129759:8:::1;129015:10;129002:23;;:9;:23;;;128994:59;;;;;;;;;;;;:::i;:::-;;;;;;;;;129084:7;;129072:8;:19;;129064:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;129152:1;129141:8;:12;129133:48;;;;;;;;;;;;:::i;:::-;;;;;;;;;129220:9;129208:8;129200:5;;:16;;;;:::i;:::-;:29;129192:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;129321:18;129309:8;129293:13;:11;:13::i;:::-;:24;;;;:::i;:::-;:46;;129271:127;;;;;;;;;;;;:::i;:::-;;;;;;;;;129467:7;;129455:8;129431:9;:21;129441:10;129431:21;;;;;;;;;;;;;;;;:32;;;;:::i;:::-;:43;;129409:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;129805:8:::2;129780:9;:21;129790:10;129780:21;;;;;;;;;;;;;;;;:33;;;;;;;:::i;:::-;;;;;;;;129824:31;129834:10;129846:8;129824:9;:31::i;:::-;128929:1:::1;129673:190:::0;:::o;131317:201::-;131446:8;87258:30;87279:8;87258:20;:30::i;:::-;131467:43:::1;131491:8;131501;131467:23;:43::i;:::-;131317:201:::0;;;:::o;132158:247::-;132333:4;86992:10;86984:18;;:4;:18;;;86980:83;;87019:32;87040:10;87019:20;:32::i;:::-;86980:83;132350:47:::1;132373:4;132379:2;132383:7;132392:4;132350:22;:47::i;:::-;132158:247:::0;;;;;:::o;131005:304::-;131086:13;131134:16;131142:7;131134;:16::i;:::-;131112:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;131267:23;131282:7;131267:14;:23::i;:::-;131250:50;;;;;;;;:::i;:::-;;;;;;;;;;;;;131236:65;;131005:304;;;:::o;127886:34::-;;;:::o;127845:::-;;;:::o;128221:44::-;;;;;;;;;;;;;;;;;:::o;53052:164::-;53149:4;53173:18;:25;53192:5;53173:25;;;;;;;;;;;;;;;:35;53199:8;53173:35;;;;;;;;;;;;;;;;;;;;;;;;;53166:42;;53052:164;;;;:::o;127188:201::-;126175:13;:11;:13::i;:::-;127297:1:::1;127277:22;;:8;:22;;::::0;127269:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;127353:28;127372:8;127353:18;:28::i;:::-;127188:201:::0;:::o;44710:639::-;44795:4;45134:10;45119:25;;:11;:25;;;;:102;;;;45211:10;45196:25;;:11;:25;;;;45119:102;:179;;;;45288:10;45273:25;;:11;:25;;;;45119:179;45099:199;;44710:639;;;:::o;53474:282::-;53539:4;53595:7;53576:15;:13;:15::i;:::-;:26;;:66;;;;;53629:13;;53619:7;:23;53576:66;:153;;;;;53728:1;37482:8;53680:17;:26;53698:7;53680:26;;;;;;;;;;;;:44;:49;53576:153;53556:173;;53474:282;;;:::o;87401:647::-;87640:1;77892:42;87592:45;;;:49;87588:453;;;77892:42;87891;;;87942:4;87949:8;87891:67;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;87886:144;;88005:8;87986:28;;;;;;;;;;;:::i;:::-;;;;;;;;87886:144;87588:453;87401:647;:::o;51536:408::-;51625:13;51641:16;51649:7;51641;:16::i;:::-;51625:32;;51697:5;51674:28;;:19;:17;:19::i;:::-;:28;;;51670:175;;51722:44;51739:5;51746:19;:17;:19::i;:::-;51722:16;:44::i;:::-;51717:128;;51794:35;;;;;;;;;;;;;;51717:128;51670:175;51890:2;51857:15;:24;51873:7;51857:24;;;;;;;;;;;:30;;;:35;;;;;;;;;;;;;;;;;;51928:7;51924:2;51908:28;;51917:5;51908:28;;;;;;;;;;;;51614:330;51536:408;;:::o;40879:92::-;40935:7;40879:92;:::o;55742:2825::-;55884:27;55914;55933:7;55914:18;:27::i;:::-;55884:57;;55999:4;55958:45;;55974:19;55958:45;;;55954:86;;56012:28;;;;;;;;;;;;;;55954:86;56054:27;56083:23;56110:35;56137:7;56110:26;:35::i;:::-;56053:92;;;;56245:68;56270:15;56287:4;56293:19;:17;:19::i;:::-;56245:24;:68::i;:::-;56240:180;;56333:43;56350:4;56356:19;:17;:19::i;:::-;56333:16;:43::i;:::-;56328:92;;56385:35;;;;;;;;;;;;;;56328:92;56240:180;56451:1;56437:16;;:2;:16;;;56433:52;;56462:23;;;;;;;;;;;;;;56433:52;56498:43;56520:4;56526:2;56530:7;56539:1;56498:21;:43::i;:::-;56634:15;56631:160;;;56774:1;56753:19;56746:30;56631:160;57171:18;:24;57190:4;57171:24;;;;;;;;;;;;;;;;57169:26;;;;;;;;;;;;57240:18;:22;57259:2;57240:22;;;;;;;;;;;;;;;;57238:24;;;;;;;;;;;57562:146;57599:2;57648:45;57663:4;57669:2;57673:19;57648:14;:45::i;:::-;37762:8;57620:73;57562:18;:146::i;:::-;57533:17;:26;57551:7;57533:26;;;;;;;;;;;:175;;;;57879:1;37762:8;57828:19;:47;:52;57824:627;;57901:19;57933:1;57923:7;:11;57901:33;;58090:1;58056:17;:30;58074:11;58056:30;;;;;;;;;;;;:35;58052:384;;58194:13;;58179:11;:28;58175:242;;58374:19;58341:17;:30;58359:11;58341:30;;;;;;;;;;;:52;;;;58175:242;58052:384;57882:569;57824:627;58498:7;58494:2;58479:27;;58488:4;58479:27;;;;;;;;;;;;58517:42;58538:4;58544:2;58548:7;58557:1;58517:20;:42::i;:::-;55873:2694;;;55742:2825;;;:::o;126454:132::-;126529:12;:10;:12::i;:::-;126518:23;;:7;:5;:7::i;:::-;:23;;;126510:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;126454:132::o;69614:112::-;69691:27;69701:2;69705:8;69691:27;;;;;;;;;;;;:9;:27::i;:::-;69614:112;;:::o;58663:193::-;58809:39;58826:4;58832:2;58836:7;58809:39;;;;;;;;;;;;:16;:39::i;:::-;58663:193;;;:::o;48160:1275::-;48227:7;48247:12;48262:7;48247:22;;48330:4;48311:15;:13;:15::i;:::-;:23;48307:1061;;48364:13;;48357:4;:20;48353:1015;;;48402:14;48419:17;:23;48437:4;48419:23;;;;;;;;;;;;48402:40;;48536:1;37482:8;48508:6;:24;:29;48504:845;;49173:113;49190:1;49180:6;:11;49173:113;;49233:17;:25;49251:6;;;;;;;49233:25;;;;;;;;;;;;49224:34;;49173:113;;;49319:6;49312:13;;;;;;48504:845;48379:989;48353:1015;48307:1061;49396:31;;;;;;;;;;;;;;48160:1275;;;;:::o;127549:191::-;127623:16;127642:6;;;;;;;;;;;127623:25;;127668:8;127659:6;;:17;;;;;;;;;;;;;;;;;;127723:8;127692:40;;127713:8;127692:40;;;;;;;;;;;;127612:128;127549:191;:::o;52661:234::-;52808:8;52756:18;:39;52775:19;:17;:19::i;:::-;52756:39;;;;;;;;;;;;;;;:49;52796:8;52756:49;;;;;;;;;;;;;;;;:60;;;;;;;;;;;;;;;;;;52868:8;52832:55;;52847:19;:17;:19::i;:::-;52832:55;;;52878:8;52832:55;;;;;;:::i;:::-;;;;;;;;52661:234;;:::o;59454:407::-;59629:31;59642:4;59648:2;59652:7;59629:12;:31::i;:::-;59693:1;59675:2;:14;;;:19;59671:183;;59714:56;59745:4;59751:2;59755:7;59764:5;59714:30;:56::i;:::-;59709:145;;59798:40;;;;;;;;;;;;;;59709:145;59671:183;59454:407;;;;:::o;45998:318::-;46071:13;46102:16;46110:7;46102;:16::i;:::-;46097:59;;46127:29;;;;;;;;;;;;;;46097:59;46169:21;46193:10;:8;:10::i;:::-;46169:34;;46246:1;46227:7;46221:21;:26;:87;;;;;;;;;;;;;;;;;46274:7;46283:18;46293:7;46283:9;:18::i;:::-;46257:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;46221:87;46214:94;;;45998:318;;;:::o;75782:105::-;75842:7;75869:10;75862:17;;75782:105;:::o;54637:485::-;54739:27;54768:23;54809:38;54850:15;:24;54866:7;54850:24;;;;;;;;;;;54809:65;;55027:18;55004:41;;55084:19;55078:26;55059:45;;54989:126;54637:485;;;:::o;53865:659::-;54014:11;54179:16;54172:5;54168:28;54159:37;;54339:16;54328:9;54324:32;54311:45;;54489:15;54478:9;54475:30;54467:5;54456:9;54453:20;54450:56;54440:66;;53865:659;;;;;:::o;60523:159::-;;;;;:::o;75091:311::-;75226:7;75246:16;37886:3;75272:19;:41;;75246:68;;37886:3;75340:31;75351:4;75357:2;75361:9;75340:10;:31::i;:::-;75332:40;;:62;;75325:69;;;75091:311;;;;;:::o;49983:450::-;50063:14;50231:16;50224:5;50220:28;50211:37;;50408:5;50394:11;50369:23;50365:41;50362:52;50355:5;50352:63;50342:73;;49983:450;;;;:::o;61347:158::-;;;;;:::o;106056:98::-;106109:7;106136:10;106129:17;;106056:98;:::o;68841:689::-;68972:19;68978:2;68982:8;68972:5;:19::i;:::-;69051:1;69033:2;:14;;;:19;69029:483;;69073:11;69087:13;;69073:27;;69119:13;69141:8;69135:3;:14;69119:30;;69168:233;69199:62;69238:1;69242:2;69246:7;;;;;;69255:5;69199:30;:62::i;:::-;69194:167;;69297:40;;;;;;;;;;;;;;69194:167;69396:3;69388:5;:11;69168:233;;69483:3;69466:13;;:20;69462:34;;69488:8;;;69462:34;69054:458;;69029:483;68841:689;;;:::o;61945:716::-;62108:4;62154:2;62129:45;;;62175:19;:17;:19::i;:::-;62196:4;62202:7;62211:5;62129:88;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;62125:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62429:1;62412:6;:13;:18;62408:235;;62458:40;;;;;;;;;;;;;;62408:235;62601:6;62595:13;62586:6;62582:2;62578:15;62571:38;62125:529;62298:54;;;62288:64;;;:6;:64;;;;62281:71;;;61945:716;;;;;;:::o;130889:108::-;130949:13;130982:7;130975:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;130889:108;:::o;75989:1745::-;76054:17;76488:4;76481;76475:11;76471:22;76580:1;76574:4;76567:15;76655:4;76652:1;76648:12;76641:19;;76737:1;76732:3;76725:14;76841:3;77080:5;77062:428;77088:1;77062:428;;;77128:1;77123:3;77119:11;77112:18;;77299:2;77293:4;77289:13;77285:2;77281:22;77276:3;77268:36;77393:2;77387:4;77383:13;77375:21;;77460:4;77062:428;77450:25;77062:428;77066:21;77529:3;77524;77520:13;77644:4;77639:3;77635:14;77628:21;;77709:6;77704:3;77697:19;76093:1634;;;75989:1745;;;:::o;74792:147::-;74929:6;74792:147;;;;;:::o;63123:2966::-;63196:20;63219:13;;63196:36;;63259:1;63247:8;:13;63243:44;;63269:18;;;;;;;;;;;;;;63243:44;63300:61;63330:1;63334:2;63338:12;63352:8;63300:21;:61::i;:::-;63844:1;36844:2;63814:1;:26;;63813:32;63801:8;:45;63775:18;:22;63794:2;63775:22;;;;;;;;;;;;;;;;:71;;;;;;;;;;;64123:139;64160:2;64214:33;64237:1;64241:2;64245:1;64214:14;:33::i;:::-;64181:30;64202:8;64181:20;:30::i;:::-;:66;64123:18;:139::i;:::-;64089:17;:31;64107:12;64089:31;;;;;;;;;;;:173;;;;64279:16;64310:11;64339:8;64324:12;:23;64310:37;;64860:16;64856:2;64852:25;64840:37;;65232:12;65192:8;65151:1;65089:25;65030:1;64969;64942:335;65603:1;65589:12;65585:20;65543:346;65644:3;65635:7;65632:16;65543:346;;65862:7;65852:8;65849:1;65822:25;65819:1;65816;65811:59;65697:1;65688:7;65684:15;65673:26;;65543:346;;;65547:77;65934:1;65922:8;:13;65918:45;;65944:19;;;;;;;;;;;;;;65918:45;65996:3;65980:13;:19;;;;63549:2462;;66021:60;66050:1;66054:2;66058:12;66072:8;66021:20;:60::i;:::-;63185:2904;63123:2966;;:::o;50535:324::-;50605:14;50838:1;50828:8;50825:15;50799:24;50795:46;50785:56;;50535:324;;;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:99::-;1570:6;1604:5;1598:12;1588:22;;1518:99;;;:::o;1623:169::-;1707:11;1741:6;1736:3;1729:19;1781:4;1776:3;1772:14;1757:29;;1623:169;;;;:::o;1798:246::-;1879:1;1889:113;1903:6;1900:1;1897:13;1889:113;;;1988:1;1983:3;1979:11;1973:18;1969:1;1964:3;1960:11;1953:39;1925:2;1922:1;1918:10;1913:15;;1889:113;;;2036:1;2027:6;2022:3;2018:16;2011:27;1860:184;1798:246;;;:::o;2050:102::-;2091:6;2142:2;2138:7;2133:2;2126:5;2122:14;2118:28;2108:38;;2050:102;;;:::o;2158:377::-;2246:3;2274:39;2307:5;2274:39;:::i;:::-;2329:71;2393:6;2388:3;2329:71;:::i;:::-;2322:78;;2409:65;2467:6;2462:3;2455:4;2448:5;2444:16;2409:65;:::i;:::-;2499:29;2521:6;2499:29;:::i;:::-;2494:3;2490:39;2483:46;;2250:285;2158:377;;;;:::o;2541:313::-;2654:4;2692:2;2681:9;2677:18;2669:26;;2741:9;2735:4;2731:20;2727:1;2716:9;2712:17;2705:47;2769:78;2842:4;2833:6;2769:78;:::i;:::-;2761:86;;2541:313;;;;:::o;2860:77::-;2897:7;2926:5;2915:16;;2860:77;;;:::o;2943:122::-;3016:24;3034:5;3016:24;:::i;:::-;3009:5;3006:35;2996:63;;3055:1;3052;3045:12;2996:63;2943:122;:::o;3071:139::-;3117:5;3155:6;3142:20;3133:29;;3171:33;3198:5;3171:33;:::i;:::-;3071:139;;;;:::o;3216:329::-;3275:6;3324:2;3312:9;3303:7;3299:23;3295:32;3292:119;;;3330:79;;:::i;:::-;3292:119;3450:1;3475:53;3520:7;3511:6;3500:9;3496:22;3475:53;:::i;:::-;3465:63;;3421:117;3216:329;;;;:::o;3551:126::-;3588:7;3628:42;3621:5;3617:54;3606:65;;3551:126;;;:::o;3683:96::-;3720:7;3749:24;3767:5;3749:24;:::i;:::-;3738:35;;3683:96;;;:::o;3785:118::-;3872:24;3890:5;3872:24;:::i;:::-;3867:3;3860:37;3785:118;;:::o;3909:222::-;4002:4;4040:2;4029:9;4025:18;4017:26;;4053:71;4121:1;4110:9;4106:17;4097:6;4053:71;:::i;:::-;3909:222;;;;:::o;4137:122::-;4210:24;4228:5;4210:24;:::i;:::-;4203:5;4200:35;4190:63;;4249:1;4246;4239:12;4190:63;4137:122;:::o;4265:139::-;4311:5;4349:6;4336:20;4327:29;;4365:33;4392:5;4365:33;:::i;:::-;4265:139;;;;:::o;4410:474::-;4478:6;4486;4535:2;4523:9;4514:7;4510:23;4506:32;4503:119;;;4541:79;;:::i;:::-;4503:119;4661:1;4686:53;4731:7;4722:6;4711:9;4707:22;4686:53;:::i;:::-;4676:63;;4632:117;4788:2;4814:53;4859:7;4850:6;4839:9;4835:22;4814:53;:::i;:::-;4804:63;;4759:118;4410:474;;;;;:::o;4890:118::-;4977:24;4995:5;4977:24;:::i;:::-;4972:3;4965:37;4890:118;;:::o;5014:222::-;5107:4;5145:2;5134:9;5130:18;5122:26;;5158:71;5226:1;5215:9;5211:17;5202:6;5158:71;:::i;:::-;5014:222;;;;:::o;5242:619::-;5319:6;5327;5335;5384:2;5372:9;5363:7;5359:23;5355:32;5352:119;;;5390:79;;:::i;:::-;5352:119;5510:1;5535:53;5580:7;5571:6;5560:9;5556:22;5535:53;:::i;:::-;5525:63;;5481:117;5637:2;5663:53;5708:7;5699:6;5688:9;5684:22;5663:53;:::i;:::-;5653:63;;5608:118;5765:2;5791:53;5836:7;5827:6;5816:9;5812:22;5791:53;:::i;:::-;5781:63;;5736:118;5242:619;;;;;:::o;5867:474::-;5935:6;5943;5992:2;5980:9;5971:7;5967:23;5963:32;5960:119;;;5998:79;;:::i;:::-;5960:119;6118:1;6143:53;6188:7;6179:6;6168:9;6164:22;6143:53;:::i;:::-;6133:63;;6089:117;6245:2;6271:53;6316:7;6307:6;6296:9;6292:22;6271:53;:::i;:::-;6261:63;;6216:118;5867:474;;;;;:::o;6347:332::-;6468:4;6506:2;6495:9;6491:18;6483:26;;6519:71;6587:1;6576:9;6572:17;6563:6;6519:71;:::i;:::-;6600:72;6668:2;6657:9;6653:18;6644:6;6600:72;:::i;:::-;6347:332;;;;;:::o;6685:329::-;6744:6;6793:2;6781:9;6772:7;6768:23;6764:32;6761:119;;;6799:79;;:::i;:::-;6761:119;6919:1;6944:53;6989:7;6980:6;6969:9;6965:22;6944:53;:::i;:::-;6934:63;;6890:117;6685:329;;;;:::o;7020:60::-;7048:3;7069:5;7062:12;;7020:60;;;:::o;7086:142::-;7136:9;7169:53;7187:34;7196:24;7214:5;7196:24;:::i;:::-;7187:34;:::i;:::-;7169:53;:::i;:::-;7156:66;;7086:142;;;:::o;7234:126::-;7284:9;7317:37;7348:5;7317:37;:::i;:::-;7304:50;;7234:126;;;:::o;7366:158::-;7448:9;7481:37;7512:5;7481:37;:::i;:::-;7468:50;;7366:158;;;:::o;7530:195::-;7649:69;7712:5;7649:69;:::i;:::-;7644:3;7637:82;7530:195;;:::o;7731:286::-;7856:4;7894:2;7883:9;7879:18;7871:26;;7907:103;8007:1;7996:9;7992:17;7983:6;7907:103;:::i;:::-;7731:286;;;;:::o;8023:117::-;8132:1;8129;8122:12;8146:117;8255:1;8252;8245:12;8269:180;8317:77;8314:1;8307:88;8414:4;8411:1;8404:15;8438:4;8435:1;8428:15;8455:281;8538:27;8560:4;8538:27;:::i;:::-;8530:6;8526:40;8668:6;8656:10;8653:22;8632:18;8620:10;8617:34;8614:62;8611:88;;;8679:18;;:::i;:::-;8611:88;8719:10;8715:2;8708:22;8498:238;8455:281;;:::o;8742:129::-;8776:6;8803:20;;:::i;:::-;8793:30;;8832:33;8860:4;8852:6;8832:33;:::i;:::-;8742:129;;;:::o;8877:308::-;8939:4;9029:18;9021:6;9018:30;9015:56;;;9051:18;;:::i;:::-;9015:56;9089:29;9111:6;9089:29;:::i;:::-;9081:37;;9173:4;9167;9163:15;9155:23;;8877:308;;;:::o;9191:146::-;9288:6;9283:3;9278;9265:30;9329:1;9320:6;9315:3;9311:16;9304:27;9191:146;;;:::o;9343:425::-;9421:5;9446:66;9462:49;9504:6;9462:49;:::i;:::-;9446:66;:::i;:::-;9437:75;;9535:6;9528:5;9521:21;9573:4;9566:5;9562:16;9611:3;9602:6;9597:3;9593:16;9590:25;9587:112;;;9618:79;;:::i;:::-;9587:112;9708:54;9755:6;9750:3;9745;9708:54;:::i;:::-;9427:341;9343:425;;;;;:::o;9788:340::-;9844:5;9893:3;9886:4;9878:6;9874:17;9870:27;9860:122;;9901:79;;:::i;:::-;9860:122;10018:6;10005:20;10043:79;10118:3;10110:6;10103:4;10095:6;10091:17;10043:79;:::i;:::-;10034:88;;9850:278;9788:340;;;;:::o;10134:509::-;10203:6;10252:2;10240:9;10231:7;10227:23;10223:32;10220:119;;;10258:79;;:::i;:::-;10220:119;10406:1;10395:9;10391:17;10378:31;10436:18;10428:6;10425:30;10422:117;;;10458:79;;:::i;:::-;10422:117;10563:63;10618:7;10609:6;10598:9;10594:22;10563:63;:::i;:::-;10553:73;;10349:287;10134:509;;;;:::o;10649:116::-;10719:21;10734:5;10719:21;:::i;:::-;10712:5;10709:32;10699:60;;10755:1;10752;10745:12;10699:60;10649:116;:::o;10771:133::-;10814:5;10852:6;10839:20;10830:29;;10868:30;10892:5;10868:30;:::i;:::-;10771:133;;;;:::o;10910:468::-;10975:6;10983;11032:2;11020:9;11011:7;11007:23;11003:32;11000:119;;;11038:79;;:::i;:::-;11000:119;11158:1;11183:53;11228:7;11219:6;11208:9;11204:22;11183:53;:::i;:::-;11173:63;;11129:117;11285:2;11311:50;11353:7;11344:6;11333:9;11329:22;11311:50;:::i;:::-;11301:60;;11256:115;10910:468;;;;;:::o;11384:307::-;11445:4;11535:18;11527:6;11524:30;11521:56;;;11557:18;;:::i;:::-;11521:56;11595:29;11617:6;11595:29;:::i;:::-;11587:37;;11679:4;11673;11669:15;11661:23;;11384:307;;;:::o;11697:423::-;11774:5;11799:65;11815:48;11856:6;11815:48;:::i;:::-;11799:65;:::i;:::-;11790:74;;11887:6;11880:5;11873:21;11925:4;11918:5;11914:16;11963:3;11954:6;11949:3;11945:16;11942:25;11939:112;;;11970:79;;:::i;:::-;11939:112;12060:54;12107:6;12102:3;12097;12060:54;:::i;:::-;11780:340;11697:423;;;;;:::o;12139:338::-;12194:5;12243:3;12236:4;12228:6;12224:17;12220:27;12210:122;;12251:79;;:::i;:::-;12210:122;12368:6;12355:20;12393:78;12467:3;12459:6;12452:4;12444:6;12440:17;12393:78;:::i;:::-;12384:87;;12200:277;12139:338;;;;:::o;12483:943::-;12578:6;12586;12594;12602;12651:3;12639:9;12630:7;12626:23;12622:33;12619:120;;;12658:79;;:::i;:::-;12619:120;12778:1;12803:53;12848:7;12839:6;12828:9;12824:22;12803:53;:::i;:::-;12793:63;;12749:117;12905:2;12931:53;12976:7;12967:6;12956:9;12952:22;12931:53;:::i;:::-;12921:63;;12876:118;13033:2;13059:53;13104:7;13095:6;13084:9;13080:22;13059:53;:::i;:::-;13049:63;;13004:118;13189:2;13178:9;13174:18;13161:32;13220:18;13212:6;13209:30;13206:117;;;13242:79;;:::i;:::-;13206:117;13347:62;13401:7;13392:6;13381:9;13377:22;13347:62;:::i;:::-;13337:72;;13132:287;12483:943;;;;;;;:::o;13432:474::-;13500:6;13508;13557:2;13545:9;13536:7;13532:23;13528:32;13525:119;;;13563:79;;:::i;:::-;13525:119;13683:1;13708:53;13753:7;13744:6;13733:9;13729:22;13708:53;:::i;:::-;13698:63;;13654:117;13810:2;13836:53;13881:7;13872:6;13861:9;13857:22;13836:53;:::i;:::-;13826:63;;13781:118;13432:474;;;;;:::o;13912:180::-;13960:77;13957:1;13950:88;14057:4;14054:1;14047:15;14081:4;14078:1;14071:15;14098:320;14142:6;14179:1;14173:4;14169:12;14159:22;;14226:1;14220:4;14216:12;14247:18;14237:81;;14303:4;14295:6;14291:17;14281:27;;14237:81;14365:2;14357:6;14354:14;14334:18;14331:38;14328:84;;14384:18;;:::i;:::-;14328:84;14149:269;14098:320;;;:::o;14424:180::-;14472:77;14469:1;14462:88;14569:4;14566:1;14559:15;14593:4;14590:1;14583:15;14610:410;14650:7;14673:20;14691:1;14673:20;:::i;:::-;14668:25;;14707:20;14725:1;14707:20;:::i;:::-;14702:25;;14762:1;14759;14755:9;14784:30;14802:11;14784:30;:::i;:::-;14773:41;;14963:1;14954:7;14950:15;14947:1;14944:22;14924:1;14917:9;14897:83;14874:139;;14993:18;;:::i;:::-;14874:139;14658:362;14610:410;;;;:::o;15026:180::-;15074:77;15071:1;15064:88;15171:4;15168:1;15161:15;15195:4;15192:1;15185:15;15212:185;15252:1;15269:20;15287:1;15269:20;:::i;:::-;15264:25;;15303:20;15321:1;15303:20;:::i;:::-;15298:25;;15342:1;15332:35;;15347:18;;:::i;:::-;15332:35;15389:1;15386;15382:9;15377:14;;15212:185;;;;:::o;15403:191::-;15443:3;15462:20;15480:1;15462:20;:::i;:::-;15457:25;;15496:20;15514:1;15496:20;:::i;:::-;15491:25;;15539:1;15536;15532:9;15525:16;;15560:3;15557:1;15554:10;15551:36;;;15567:18;;:::i;:::-;15551:36;15403:191;;;;:::o;15600:178::-;15740:30;15736:1;15728:6;15724:14;15717:54;15600:178;:::o;15784:366::-;15926:3;15947:67;16011:2;16006:3;15947:67;:::i;:::-;15940:74;;16023:93;16112:3;16023:93;:::i;:::-;16141:2;16136:3;16132:12;16125:19;;15784:366;;;:::o;16156:419::-;16322:4;16360:2;16349:9;16345:18;16337:26;;16409:9;16403:4;16399:20;16395:1;16384:9;16380:17;16373:47;16437:131;16563:4;16437:131;:::i;:::-;16429:139;;16156:419;;;:::o;16581:171::-;16721:23;16717:1;16709:6;16705:14;16698:47;16581:171;:::o;16758:366::-;16900:3;16921:67;16985:2;16980:3;16921:67;:::i;:::-;16914:74;;16997:93;17086:3;16997:93;:::i;:::-;17115:2;17110:3;17106:12;17099:19;;16758:366;;;:::o;17130:419::-;17296:4;17334:2;17323:9;17319:18;17311:26;;17383:9;17377:4;17373:20;17369:1;17358:9;17354:17;17347:47;17411:131;17537:4;17411:131;:::i;:::-;17403:139;;17130:419;;;:::o;17555:141::-;17604:4;17627:3;17619:11;;17650:3;17647:1;17640:14;17684:4;17681:1;17671:18;17663:26;;17555:141;;;:::o;17702:93::-;17739:6;17786:2;17781;17774:5;17770:14;17766:23;17756:33;;17702:93;;;:::o;17801:107::-;17845:8;17895:5;17889:4;17885:16;17864:37;;17801:107;;;;:::o;17914:393::-;17983:6;18033:1;18021:10;18017:18;18056:97;18086:66;18075:9;18056:97;:::i;:::-;18174:39;18204:8;18193:9;18174:39;:::i;:::-;18162:51;;18246:4;18242:9;18235:5;18231:21;18222:30;;18295:4;18285:8;18281:19;18274:5;18271:30;18261:40;;17990:317;;17914:393;;;;;:::o;18313:142::-;18363:9;18396:53;18414:34;18423:24;18441:5;18423:24;:::i;:::-;18414:34;:::i;:::-;18396:53;:::i;:::-;18383:66;;18313:142;;;:::o;18461:75::-;18504:3;18525:5;18518:12;;18461:75;;;:::o;18542:269::-;18652:39;18683:7;18652:39;:::i;:::-;18713:91;18762:41;18786:16;18762:41;:::i;:::-;18754:6;18747:4;18741:11;18713:91;:::i;:::-;18707:4;18700:105;18618:193;18542:269;;;:::o;18817:73::-;18862:3;18817:73;:::o;18896:189::-;18973:32;;:::i;:::-;19014:65;19072:6;19064;19058:4;19014:65;:::i;:::-;18949:136;18896:189;;:::o;19091:186::-;19151:120;19168:3;19161:5;19158:14;19151:120;;;19222:39;19259:1;19252:5;19222:39;:::i;:::-;19195:1;19188:5;19184:13;19175:22;;19151:120;;;19091:186;;:::o;19283:543::-;19384:2;19379:3;19376:11;19373:446;;;19418:38;19450:5;19418:38;:::i;:::-;19502:29;19520:10;19502:29;:::i;:::-;19492:8;19488:44;19685:2;19673:10;19670:18;19667:49;;;19706:8;19691:23;;19667:49;19729:80;19785:22;19803:3;19785:22;:::i;:::-;19775:8;19771:37;19758:11;19729:80;:::i;:::-;19388:431;;19373:446;19283:543;;;:::o;19832:117::-;19886:8;19936:5;19930:4;19926:16;19905:37;;19832:117;;;;:::o;19955:169::-;19999:6;20032:51;20080:1;20076:6;20068:5;20065:1;20061:13;20032:51;:::i;:::-;20028:56;20113:4;20107;20103:15;20093:25;;20006:118;19955:169;;;;:::o;20129:295::-;20205:4;20351:29;20376:3;20370:4;20351:29;:::i;:::-;20343:37;;20413:3;20410:1;20406:11;20400:4;20397:21;20389:29;;20129:295;;;;:::o;20429:1395::-;20546:37;20579:3;20546:37;:::i;:::-;20648:18;20640:6;20637:30;20634:56;;;20670:18;;:::i;:::-;20634:56;20714:38;20746:4;20740:11;20714:38;:::i;:::-;20799:67;20859:6;20851;20845:4;20799:67;:::i;:::-;20893:1;20917:4;20904:17;;20949:2;20941:6;20938:14;20966:1;20961:618;;;;21623:1;21640:6;21637:77;;;21689:9;21684:3;21680:19;21674:26;21665:35;;21637:77;21740:67;21800:6;21793:5;21740:67;:::i;:::-;21734:4;21727:81;21596:222;20931:887;;20961:618;21013:4;21009:9;21001:6;20997:22;21047:37;21079:4;21047:37;:::i;:::-;21106:1;21120:208;21134:7;21131:1;21128:14;21120:208;;;21213:9;21208:3;21204:19;21198:26;21190:6;21183:42;21264:1;21256:6;21252:14;21242:24;;21311:2;21300:9;21296:18;21283:31;;21157:4;21154:1;21150:12;21145:17;;21120:208;;;21356:6;21347:7;21344:19;21341:179;;;21414:9;21409:3;21405:19;21399:26;21457:48;21499:4;21491:6;21487:17;21476:9;21457:48;:::i;:::-;21449:6;21442:64;21364:156;21341:179;21566:1;21562;21554:6;21550:14;21546:22;21540:4;21533:36;20968:611;;;20931:887;;20521:1303;;;20429:1395;;:::o;21830:175::-;21970:27;21966:1;21958:6;21954:14;21947:51;21830:175;:::o;22011:366::-;22153:3;22174:67;22238:2;22233:3;22174:67;:::i;:::-;22167:74;;22250:93;22339:3;22250:93;:::i;:::-;22368:2;22363:3;22359:12;22352:19;;22011:366;;;:::o;22383:419::-;22549:4;22587:2;22576:9;22572:18;22564:26;;22636:9;22630:4;22626:20;22622:1;22611:9;22607:17;22600:47;22664:131;22790:4;22664:131;:::i;:::-;22656:139;;22383:419;;;:::o;22808:147::-;22909:11;22946:3;22931:18;;22808:147;;;;:::o;22961:114::-;;:::o;23081:398::-;23240:3;23261:83;23342:1;23337:3;23261:83;:::i;:::-;23254:90;;23353:93;23442:3;23353:93;:::i;:::-;23471:1;23466:3;23462:11;23455:18;;23081:398;;;:::o;23485:379::-;23669:3;23691:147;23834:3;23691:147;:::i;:::-;23684:154;;23855:3;23848:10;;23485:379;;;:::o;23870:165::-;24010:17;24006:1;23998:6;23994:14;23987:41;23870:165;:::o;24041:366::-;24183:3;24204:67;24268:2;24263:3;24204:67;:::i;:::-;24197:74;;24280:93;24369:3;24280:93;:::i;:::-;24398:2;24393:3;24389:12;24382:19;;24041:366;;;:::o;24413:419::-;24579:4;24617:2;24606:9;24602:18;24594:26;;24666:9;24660:4;24656:20;24652:1;24641:9;24637:17;24630:47;24694:131;24820:4;24694:131;:::i;:::-;24686:139;;24413:419;;;:::o;24838:178::-;24978:30;24974:1;24966:6;24962:14;24955:54;24838:178;:::o;25022:366::-;25164:3;25185:67;25249:2;25244:3;25185:67;:::i;:::-;25178:74;;25261:93;25350:3;25261:93;:::i;:::-;25379:2;25374:3;25370:12;25363:19;;25022:366;;;:::o;25394:419::-;25560:4;25598:2;25587:9;25583:18;25575:26;;25647:9;25641:4;25637:20;25633:1;25622:9;25618:17;25611:47;25675:131;25801:4;25675:131;:::i;:::-;25667:139;;25394:419;;;:::o;25819:173::-;25959:25;25955:1;25947:6;25943:14;25936:49;25819:173;:::o;25998:366::-;26140:3;26161:67;26225:2;26220:3;26161:67;:::i;:::-;26154:74;;26237:93;26326:3;26237:93;:::i;:::-;26355:2;26350:3;26346:12;26339:19;;25998:366;;;:::o;26370:419::-;26536:4;26574:2;26563:9;26559:18;26551:26;;26623:9;26617:4;26613:20;26609:1;26598:9;26594:17;26587:47;26651:131;26777:4;26651:131;:::i;:::-;26643:139;;26370:419;;;:::o;26795:176::-;26935:28;26931:1;26923:6;26919:14;26912:52;26795:176;:::o;26977:366::-;27119:3;27140:67;27204:2;27199:3;27140:67;:::i;:::-;27133:74;;27216:93;27305:3;27216:93;:::i;:::-;27334:2;27329:3;27325:12;27318:19;;26977:366;;;:::o;27349:419::-;27515:4;27553:2;27542:9;27538:18;27530:26;;27602:9;27596:4;27592:20;27588:1;27577:9;27573:17;27566:47;27630:131;27756:4;27630:131;:::i;:::-;27622:139;;27349:419;;;:::o;27774:173::-;27914:25;27910:1;27902:6;27898:14;27891:49;27774:173;:::o;27953:366::-;28095:3;28116:67;28180:2;28175:3;28116:67;:::i;:::-;28109:74;;28192:93;28281:3;28192:93;:::i;:::-;28310:2;28305:3;28301:12;28294:19;;27953:366;;;:::o;28325:419::-;28491:4;28529:2;28518:9;28514:18;28506:26;;28578:9;28572:4;28568:20;28564:1;28553:9;28549:17;28542:47;28606:131;28732:4;28606:131;:::i;:::-;28598:139;;28325:419;;;:::o;28750:176::-;28890:28;28886:1;28878:6;28874:14;28867:52;28750:176;:::o;28932:366::-;29074:3;29095:67;29159:2;29154:3;29095:67;:::i;:::-;29088:74;;29171:93;29260:3;29171:93;:::i;:::-;29289:2;29284:3;29280:12;29273:19;;28932:366;;;:::o;29304:419::-;29470:4;29508:2;29497:9;29493:18;29485:26;;29557:9;29551:4;29547:20;29543:1;29532:9;29528:17;29521:47;29585:131;29711:4;29585:131;:::i;:::-;29577:139;;29304:419;;;:::o;29729:181::-;29869:33;29865:1;29857:6;29853:14;29846:57;29729:181;:::o;29916:366::-;30058:3;30079:67;30143:2;30138:3;30079:67;:::i;:::-;30072:74;;30155:93;30244:3;30155:93;:::i;:::-;30273:2;30268:3;30264:12;30257:19;;29916:366;;;:::o;30288:419::-;30454:4;30492:2;30481:9;30477:18;30469:26;;30541:9;30535:4;30531:20;30527:1;30516:9;30512:17;30505:47;30569:131;30695:4;30569:131;:::i;:::-;30561:139;;30288:419;;;:::o;30713:168::-;30853:20;30849:1;30841:6;30837:14;30830:44;30713:168;:::o;30887:366::-;31029:3;31050:67;31114:2;31109:3;31050:67;:::i;:::-;31043:74;;31126:93;31215:3;31126:93;:::i;:::-;31244:2;31239:3;31235:12;31228:19;;30887:366;;;:::o;31259:419::-;31425:4;31463:2;31452:9;31448:18;31440:26;;31512:9;31506:4;31502:20;31498:1;31487:9;31483:17;31476:47;31540:131;31666:4;31540:131;:::i;:::-;31532:139;;31259:419;;;:::o;31684:234::-;31824:34;31820:1;31812:6;31808:14;31801:58;31893:17;31888:2;31880:6;31876:15;31869:42;31684:234;:::o;31924:366::-;32066:3;32087:67;32151:2;32146:3;32087:67;:::i;:::-;32080:74;;32163:93;32252:3;32163:93;:::i;:::-;32281:2;32276:3;32272:12;32265:19;;31924:366;;;:::o;32296:419::-;32462:4;32500:2;32489:9;32485:18;32477:26;;32549:9;32543:4;32539:20;32535:1;32524:9;32520:17;32513:47;32577:131;32703:4;32577:131;:::i;:::-;32569:139;;32296:419;;;:::o;32721:148::-;32823:11;32860:3;32845:18;;32721:148;;;;:::o;32875:390::-;32981:3;33009:39;33042:5;33009:39;:::i;:::-;33064:89;33146:6;33141:3;33064:89;:::i;:::-;33057:96;;33162:65;33220:6;33215:3;33208:4;33201:5;33197:16;33162:65;:::i;:::-;33252:6;33247:3;33243:16;33236:23;;32985:280;32875:390;;;;:::o;33271:155::-;33411:7;33407:1;33399:6;33395:14;33388:31;33271:155;:::o;33432:400::-;33592:3;33613:84;33695:1;33690:3;33613:84;:::i;:::-;33606:91;;33706:93;33795:3;33706:93;:::i;:::-;33824:1;33819:3;33815:11;33808:18;;33432:400;;;:::o;33838:541::-;34071:3;34093:95;34184:3;34175:6;34093:95;:::i;:::-;34086:102;;34205:148;34349:3;34205:148;:::i;:::-;34198:155;;34370:3;34363:10;;33838:541;;;;:::o;34385:225::-;34525:34;34521:1;34513:6;34509:14;34502:58;34594:8;34589:2;34581:6;34577:15;34570:33;34385:225;:::o;34616:366::-;34758:3;34779:67;34843:2;34838:3;34779:67;:::i;:::-;34772:74;;34855:93;34944:3;34855:93;:::i;:::-;34973:2;34968:3;34964:12;34957:19;;34616:366;;;:::o;34988:419::-;35154:4;35192:2;35181:9;35177:18;35169:26;;35241:9;35235:4;35231:20;35227:1;35216:9;35212:17;35205:47;35269:131;35395:4;35269:131;:::i;:::-;35261:139;;34988:419;;;:::o;35413:332::-;35534:4;35572:2;35561:9;35557:18;35549:26;;35585:71;35653:1;35642:9;35638:17;35629:6;35585:71;:::i;:::-;35666:72;35734:2;35723:9;35719:18;35710:6;35666:72;:::i;:::-;35413:332;;;;;:::o;35751:137::-;35805:5;35836:6;35830:13;35821:22;;35852:30;35876:5;35852:30;:::i;:::-;35751:137;;;;:::o;35894:345::-;35961:6;36010:2;35998:9;35989:7;35985:23;35981:32;35978:119;;;36016:79;;:::i;:::-;35978:119;36136:1;36161:61;36214:7;36205:6;36194:9;36190:22;36161:61;:::i;:::-;36151:71;;36107:125;35894:345;;;;:::o;36245:182::-;36385:34;36381:1;36373:6;36369:14;36362:58;36245:182;:::o;36433:366::-;36575:3;36596:67;36660:2;36655:3;36596:67;:::i;:::-;36589:74;;36672:93;36761:3;36672:93;:::i;:::-;36790:2;36785:3;36781:12;36774:19;;36433:366;;;:::o;36805:419::-;36971:4;37009:2;36998:9;36994:18;36986:26;;37058:9;37052:4;37048:20;37044:1;37033:9;37029:17;37022:47;37086:131;37212:4;37086:131;:::i;:::-;37078:139;;36805:419;;;:::o;37230:435::-;37410:3;37432:95;37523:3;37514:6;37432:95;:::i;:::-;37425:102;;37544:95;37635:3;37626:6;37544:95;:::i;:::-;37537:102;;37656:3;37649:10;;37230:435;;;;;:::o;37671:98::-;37722:6;37756:5;37750:12;37740:22;;37671:98;;;:::o;37775:168::-;37858:11;37892:6;37887:3;37880:19;37932:4;37927:3;37923:14;37908:29;;37775:168;;;;:::o;37949:373::-;38035:3;38063:38;38095:5;38063:38;:::i;:::-;38117:70;38180:6;38175:3;38117:70;:::i;:::-;38110:77;;38196:65;38254:6;38249:3;38242:4;38235:5;38231:16;38196:65;:::i;:::-;38286:29;38308:6;38286:29;:::i;:::-;38281:3;38277:39;38270:46;;38039:283;37949:373;;;;:::o;38328:640::-;38523:4;38561:3;38550:9;38546:19;38538:27;;38575:71;38643:1;38632:9;38628:17;38619:6;38575:71;:::i;:::-;38656:72;38724:2;38713:9;38709:18;38700:6;38656:72;:::i;:::-;38738;38806:2;38795:9;38791:18;38782:6;38738:72;:::i;:::-;38857:9;38851:4;38847:20;38842:2;38831:9;38827:18;38820:48;38885:76;38956:4;38947:6;38885:76;:::i;:::-;38877:84;;38328:640;;;;;;;:::o;38974:141::-;39030:5;39061:6;39055:13;39046:22;;39077:32;39103:5;39077:32;:::i;:::-;38974:141;;;;:::o;39121:349::-;39190:6;39239:2;39227:9;39218:7;39214:23;39210:32;39207:119;;;39245:79;;:::i;:::-;39207:119;39365:1;39390:63;39445:7;39436:6;39425:9;39421:22;39390:63;:::i;:::-;39380:73;;39336:127;39121:349;;;;:::o
Swarm Source
ipfs://7b5f9a8263d8cc1a7f4715eb6d10a748296250cc400ced7c7bfa84a32b10be0f
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.