Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
8,887 Whiko
Holders
971
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
0 WhikoLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WhikoNFT_ERC721A
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-10-30 */ pragma solidity ^0.8.4; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return recover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return recover(hash, r, vs); } else { revert("ECDSA: invalid signature length"); } } /** * @dev Overload of {ECDSA-recover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return recover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. require( uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value" ); require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value"); // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); require(signer != address(0), "ECDSA: invalid signature"); return signer; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } } pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success,) = recipient.call{value : amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value : value}(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) private pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // ERC721A Contracts v4.2.3 // Creator: Chiru Labs /** * @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); } // ERC721A Contracts v4.2.3 // Creator: Chiru Labs /** * @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) } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the tBscen * contract returns false). TBscens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `tBscen.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 tBscen, address to, uint256 value) internal { _callOptionalReturn(tBscen, abi.encodeWithSelector(tBscen.transfer.selector, to, value)); } function safeTransferFrom(IERC20 tBscen, address from, address to, uint256 value) internal { _callOptionalReturn(tBscen, abi.encodeWithSelector(tBscen.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 tBscen, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (tBscen.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(tBscen, abi.encodeWithSelector(tBscen.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 tBscen, address spender, uint256 value) internal { uint256 newAllowance = tBscen.allowance(address(this), spender).add(value); _callOptionalReturn(tBscen, abi.encodeWithSelector(tBscen.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 tBscen, address spender, uint256 value) internal { uint256 newAllowance = tBscen.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(tBscen, abi.encodeWithSelector(tBscen.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param tBscen The tBscen targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 tBscen, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(tBscen).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) {// Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tBscens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tBscens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tBscens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tBscens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tBscens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tBscens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tBscens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } contract WhikoNFT_ERC721A is ERC721A, Ownable { using SafeMath for uint256; using Address for address; address private executorAddress; address private whitelistAddress; bool private PAUSE = false; string public baseTokenURI; mapping(uint256 => string) private _tokenURI; mapping(uint => mapping(address => bool)) public mintedNum; mapping(address => bool) private _blackMarketplaces; Stage[] private stageList; /* max mint nft quantity */ uint256 public maxQuantity = 1; /* all mint total quantity */ uint256 public maxTotalSupply = 0; /* open box time */ uint256 public openBoxTime; string public openBoxBeforeTokenURI; struct Stage { /* The Stage start time */ uint256 startTime; /* The Stage end time */ uint256 endTime; /* The Stage max mint nft quantity */ uint maxQuantity; /* The Stage remain mint nft quantity */ uint mintedNum; /* The Stage nft sale price */ uint256 price; } event PauseEvent(bool pause); /** * typ mint type 0 whitelist 1 normal * to to address * quantity current mint quantity * price purchase price */ event NFTMintEvent(uint typ, uint256 token, address to, uint256 quantity, uint256 price); event StageEvent(uint typ, uint256 startTime, uint256 endTime, uint _maxQuantity, uint mintedNum, uint256 price); event UpdateStageEvent(uint typ, address to, uint mintedNum); event TokenURIEvent(uint256 token, string tokenURI); event ExecutorAddressEvent(address executorAddress); event WhitelistAddressEvent(address _whitelistAddress); event OpenBoxTimeEvent(uint256 openBoxTime); event WhiteListEvent(uint stage, address whiteListAddress, uint256 quantity); event WhiteListBatchEvent(uint stage, address[] whiteListAddress); event RemoveWhiteListEvent(uint stage, address whiteListAddress); event MaxQuantityEvent(uint256 _maxQuantity); event MaxTotalSupplyEvent(uint256 _maxTotalSupply); constructor( address _executorAddress, address _whitelistAddress, string memory _baseTokenURI, string memory _openBoxBeforeTokenURI, uint256 _maxTotalSupply, uint256 _openBoxTime ) ERC721A("Whiko NFT", "Whiko"){ executorAddress = _executorAddress; whitelistAddress = _whitelistAddress; baseTokenURI = _baseTokenURI; openBoxBeforeTokenURI = _openBoxBeforeTokenURI; maxTotalSupply = _maxTotalSupply; openBoxTime = _openBoxTime; } modifier nftIsOpen { require(!PAUSE, "Sales has not open"); _; } modifier stageOpen { require(stageList.length > 0, "Not stage set"); _; } modifier onlyExecutor { require(executorAddress == _msgSender(), "caller is not the executor or ower"); _; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } /** * @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(); if (bytes(baseURI).length == 0) { return ''; } if (openBoxTime == 0 || openBoxTime > block.timestamp) { if (bytes(openBoxBeforeTokenURI).length == 0) { return ''; } return string(abi.encodePacked(baseURI, openBoxBeforeTokenURI)); } else { string memory token_uri = _tokenURI[tokenId]; return string(abi.encodePacked(baseURI, token_uri)); } } function setStage(uint stageType, uint256 startTime, uint256 endTime, uint _maxQuantity, uint256 price) public onlyExecutor { require(stageType > 0 && stageType < 5, "invalid type"); require(startTime < endTime, "The Stage Start Time And Sale Time Must Be Less End Time"); require(endTime > block.timestamp, "The Stage End Time Must Be More Current Time"); require(_maxQuantity != 0, "The Stage quantity has not zero"); uint stageNum = stageList.length; if (stageType >= stageNum) { for (uint i; i < stageType.sub(stageNum); i++) { stageList.push(Stage(0, 0, 0, 0, 0)); } } uint index = stageType.sub(1); Stage storage stage = stageList[index]; stage.startTime = startTime; stage.endTime = endTime; stage.maxQuantity = _maxQuantity; stage.price = price; stageList[index] = stage; emit StageEvent(stageType, startTime, endTime, _maxQuantity, stage.mintedNum, price); } function getStage(uint stageType) public view onlyExecutor returns (uint _stageType, uint256 startTime, uint256 endTime, uint _maxQuantity, uint mintNum, uint256 price){ require(stageType > 0, "invalid type"); uint stageNum = stageList.length; if (stageType > stageNum) { return (0, 0, 0, 0, 0, 0); } Stage memory stage = stageList[stageType.sub(1)]; return (stageType, stage.startTime, stage.endTime, stage.maxQuantity, stage.mintedNum, stage.price); } function getTokenURI(uint256 tokenId) public view onlyExecutor returns (string memory){ if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); return _tokenURI[tokenId]; } function getExecutorAddress() public view returns (address _executorAddress){ if (owner() != _msgSender()) { return address(0); } return executorAddress; } function getWhitelistAddress() public view returns (address _whitelistAddress){ if (owner() != _msgSender()) { return address(0); } return whitelistAddress; } function setTokenURI(uint256 tokenId, string memory uri) public onlyExecutor { _tokenURI[tokenId] = uri; emit TokenURIEvent(tokenId, uri); } function setTokenURIBatch(uint256[] memory tokenIdList, string[] memory uriList) public onlyExecutor { require(tokenIdList.length != 0, "must not equal zero"); require(tokenIdList.length == uriList.length, "invalid data length"); require(tokenIdList.length <= 15, "data to large"); for (uint i; i < tokenIdList.length; i++) { uint256 tokenId = tokenIdList[i]; string memory uri = uriList[i]; _tokenURI[tokenId] = uri; } } function setOpenBoxTime(uint256 _openBoxTime) public onlyExecutor { require(_openBoxTime > block.timestamp, "Open Box Time Must Be More Current Time"); openBoxTime = _openBoxTime; emit OpenBoxTimeEvent(_openBoxTime); } function setMaxQuantity(uint256 _maxQuantity) public onlyExecutor { maxQuantity = _maxQuantity; emit MaxQuantityEvent(_maxQuantity); } function setExecutorAddress(address _executorAddress) public onlyOwner { executorAddress = _executorAddress; emit ExecutorAddressEvent(_executorAddress); } function setWhitelistAddress(address _whitelistAddress) public onlyOwner { whitelistAddress = _whitelistAddress; emit WhitelistAddressEvent(_whitelistAddress); } function executorMint(address to, uint256 quantity) public onlyExecutor nftIsOpen { require(msg.sender == tx.origin, "only origin"); require(to == msg.sender, "The address of to cannot be the address of the caller"); require(executorAddress == msg.sender, "The address of to cannot be the address of the executor"); require(maxTotalSupply == 0 || totalSupply().add(quantity) < maxTotalSupply, "The total supply more than max"); _mint(to, quantity); emit NFTMintEvent(0, _nextTokenId() - 1, to, quantity, 0); } function currentStage(address to) public view returns (uint _stage, bool _mint, uint256 _price){ uint stageNum = stageList.length; uint256 currentTime = block.timestamp; for (uint i; i < stageNum; i++) { Stage memory stage = stageList[i]; uint stageType = i.add(1); uint256 price = stage.price; // in stage range time if (currentTime >= stage.startTime && currentTime <= stage.endTime) { if (to == address(0)) { // has not login return (stageType, false, price); } uint256 stageMintedNum = stage.mintedNum; uint256 stageMaxQuantity = stage.maxQuantity; if (stageMintedNum >= stageMaxQuantity) { return (stageType, false, price); } return (stageType, !mintedNum[stageType][to], price); } } // The Stage has not exist return (0, false, 0); } function updateStage(uint stageType, address to, uint256 quantity, uint256 price) internal { require(stageType > 0 && stageType <= stageList.length, "The stage has not open"); uint index = stageType.sub(1); Stage memory stage = stageList[index]; uint256 startTime = stage.startTime; uint256 endTime = stage.endTime; require(startTime < block.timestamp && block.timestamp < endTime, "Don't this stage"); uint256 stagePrice = stage.price; require(price != 0 && price >= stagePrice, "The price error"); uint256 stageMintedNum = stage.mintedNum; uint256 stageMaxQuantity = stage.maxQuantity; require(stageMintedNum.add(quantity) <= stageMaxQuantity, "Minted more than max quantity in stage"); require(quantity.mul(price) <= msg.value, "value error"); Stage storage _stage = stageList[index]; _stage.mintedNum = stageMintedNum.add(quantity); stageList[index] = _stage; emit UpdateStageEvent(stageType, to, _stage.mintedNum); } function mint(uint stageType, address to, uint256 quantity, uint256 price, uint256 _timestamp, bytes memory _signature) public payable nftIsOpen stageOpen { require(msg.sender == tx.origin, "only origin"); require(to == msg.sender, "The address of to cannot be the address of the caller"); address signerOwner = signatureMint(stageType, to, quantity, price, _timestamp, _signature); require(signerOwner == whitelistAddress, "signer is not the executor"); require(_timestamp > block.timestamp, "The sign be overdue"); require(maxQuantity == 0 || maxQuantity >= quantity, "This max quantity less current request quantity"); require(maxTotalSupply == 0 || totalSupply().add(quantity) < maxTotalSupply, "The total supply more than max"); require(!mintedNum[stageType][to], "The address has minted in stage"); updateStage(stageType, to, quantity, price); mintedNum[stageType][to] = true; _mint(to, quantity); emit NFTMintEvent(stageType, _nextTokenId() - 1, to, quantity, price); } function signatureMint(uint stageType, address to, uint256 quantity, uint256 price, uint256 _timestamp, bytes memory _signature) public pure returns (address){ return ECDSA.recover(keccak256(abi.encode(stageType, to, quantity, price, _timestamp)), _signature); } /** * @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 { require(_blackMarketplaces[to] == false, "Invalid Marketplace"); super.approve(to, tokenId); } /** * @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 { require(_blackMarketplaces[operator] == false, "Invalid Marketplace"); super.setApprovalForAll(operator, approved); } function setBlackMarketplaces(address operator, bool approved) public onlyExecutor { _blackMarketplaces[operator] = approved; } function isBlackMarketplaces(address operator) public view onlyExecutor returns (bool){ return _blackMarketplaces[operator]; } function setPause(bool _pause) public onlyOwner { PAUSE = _pause; emit PauseEvent(PAUSE); } function withDrawAll(address payable to) public onlyOwner { (bool success,) = to.call{gas : 21000, value : address(this).balance}(""); require(success, "Transfer failed."); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_executorAddress","type":"address"},{"internalType":"address","name":"_whitelistAddress","type":"address"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"string","name":"_openBoxBeforeTokenURI","type":"string"},{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"},{"internalType":"uint256","name":"_openBoxTime","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":[],"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":false,"internalType":"address","name":"executorAddress","type":"address"}],"name":"ExecutorAddressEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxQuantity","type":"uint256"}],"name":"MaxQuantityEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"}],"name":"MaxTotalSupplyEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"typ","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"token","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"NFTMintEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"openBoxTime","type":"uint256"}],"name":"OpenBoxTimeEvent","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":false,"internalType":"bool","name":"pause","type":"bool"}],"name":"PauseEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"stage","type":"uint256"},{"indexed":false,"internalType":"address","name":"whiteListAddress","type":"address"}],"name":"RemoveWhiteListEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"typ","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_maxQuantity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintedNum","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"StageEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"token","type":"uint256"},{"indexed":false,"internalType":"string","name":"tokenURI","type":"string"}],"name":"TokenURIEvent","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"typ","type":"uint256"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"mintedNum","type":"uint256"}],"name":"UpdateStageEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"stage","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"whiteListAddress","type":"address[]"}],"name":"WhiteListBatchEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"stage","type":"uint256"},{"indexed":false,"internalType":"address","name":"whiteListAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"WhiteListEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_whitelistAddress","type":"address"}],"name":"WhitelistAddressEvent","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"currentStage","outputs":[{"internalType":"uint256","name":"_stage","type":"uint256"},{"internalType":"bool","name":"_mint","type":"bool"},{"internalType":"uint256","name":"_price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"executorMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getExecutorAddress","outputs":[{"internalType":"address","name":"_executorAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageType","type":"uint256"}],"name":"getStage","outputs":[{"internalType":"uint256","name":"_stageType","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"_maxQuantity","type":"uint256"},{"internalType":"uint256","name":"mintNum","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistAddress","outputs":[{"internalType":"address","name":"_whitelistAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"isBlackMarketplaces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageType","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"mintedNum","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openBoxBeforeTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openBoxTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setBlackMarketplaces","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_executorAddress","type":"address"}],"name":"setExecutorAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxQuantity","type":"uint256"}],"name":"setMaxQuantity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_openBoxTime","type":"uint256"}],"name":"setOpenBoxTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_pause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageType","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"endTime","type":"uint256"},{"internalType":"uint256","name":"_maxQuantity","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setStage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIdList","type":"uint256[]"},{"internalType":"string[]","name":"uriList","type":"string[]"}],"name":"setTokenURIBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_whitelistAddress","type":"address"}],"name":"setWhitelistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stageType","type":"uint256"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"_timestamp","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"signatureMint","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withDrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff60a01b19169055600160105560006011553480156200002857600080fd5b5060405162003a3538038062003a358339810160408190526200004b91620002f9565b604080518082018252600981526815da1a5adbc813919560ba1b6020808301918252835180850190945260058452645768696b6f60d81b908401528151919291620000999160029162000183565b508051620000af90600390602084019062000183565b50506000805550620000c13362000131565b600980546001600160a01b038089166001600160a01b031992831617909255600a80549288169290911691909117905583516200010690600b90602087019062000183565b5082516200011c90601390602086019062000183565b5060119190915560125550620003eb92505050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001919062000398565b90600052602060002090601f016020900481019282620001b5576000855562000200565b82601f10620001d057805160ff191683800117855562000200565b8280016001018555821562000200579182015b8281111562000200578251825591602001919060010190620001e3565b506200020e92915062000212565b5090565b5b808211156200020e576000815560010162000213565b80516001600160a01b03811681146200024157600080fd5b919050565b600082601f83011262000257578081fd5b81516001600160401b0380821115620002745762000274620003d5565b604051601f8301601f19908116603f011681019082821181831017156200029f576200029f620003d5565b81604052838152602092508683858801011115620002bb578485fd5b8491505b83821015620002de5785820183015181830184015290820190620002bf565b83821115620002ef57848385830101525b9695505050505050565b60008060008060008060c0878903121562000312578182fd5b6200031d8762000229565b95506200032d6020880162000229565b60408801519095506001600160401b03808211156200034a578384fd5b620003588a838b0162000246565b955060608901519150808211156200036e578384fd5b506200037d89828a0162000246565b9350506080870151915060a087015190509295509295509295565b600181811c90821680620003ad57607f821691505b60208210811415620003cf57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61363a80620003fb6000396000f3fe6080604052600436106102515760003560e01c8063715018a611610139578063b88d4fde116100b6578063d547cfb71161007a578063d547cfb7146106c4578063e2d5e667146106d9578063e640cf7d146106f9578063e985e9c51461070f578063ee7e6f591461072f578063f2fde38b1461076a57600080fd5b8063b88d4fde1461063e578063bedb86fb14610651578063c2513f1114610671578063c87b56dd14610691578063c9580bca146106b157600080fd5b806395d89b41116100fd57806395d89b411461058e578063a224c745146105a3578063a22cb465146105c3578063abe118ad146105e3578063b0335ffc1461061e57600080fd5b8063715018a6146105065780637a24f53b1461051b57806389b517f91461053b5780638da5cb5b1461055b578063915eb9731461057957600080fd5b80632ab4d052116101d2578063486eb38911610196578063486eb389146104505780634a65a575146104665780634bb9935114610486578063543788a1146104a65780636352211e146104c657806370a08231146104e657600080fd5b80632ab4d052146103a55780632e325020146103bb578063350157a8146104085780633bb3a24d1461041d57806342842e0e1461043d57600080fd5b80631001638911610219578063100163891461031a5780631483be901461032f578063162094c41461034f57806318160ddd1461036f57806323b872dd1461039257600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e557806309f21f6a146102fa575b600080fd5b34801561026257600080fd5b506102766102713660046130fd565b61078a565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107dc565b6040516102829190613396565b3480156102b957600080fd5b506102cd6102c8366004613135565b61086e565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004612ffe565b6108b2565b005b34801561030657600080fd5b506102f8610315366004612ecc565b610924565b34801561032657600080fd5b506102a06109e8565b34801561033b57600080fd5b506102f861034a366004612ffe565b610a76565b34801561035b57600080fd5b506102f861036a3660046131e4565b610cc3565b34801561037b57600080fd5b50600154600054035b604051908152602001610282565b6102f86103a0366004612f20565b610d3e565b3480156103b157600080fd5b5061038460115481565b3480156103c757600080fd5b506103db6103d6366004613135565b610ecf565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610282565b34801561041457600080fd5b506102cd611003565b34801561042957600080fd5b506102a0610438366004613135565b61102e565b6102f861044b366004612f20565b611120565b34801561045c57600080fd5b5061038460125481565b34801561047257600080fd5b506102f8610481366004613135565b611140565b34801561049257600080fd5b506102f86104a1366004613029565b6111a6565b3480156104b257600080fd5b506102766104c1366004612ecc565b61133e565b3480156104d257600080fd5b506102cd6104e1366004613135565b61138a565b3480156104f257600080fd5b50610384610501366004612ecc565b611395565b34801561051257600080fd5b506102f86113e4565b34801561052757600080fd5b506102f8610536366004612fca565b61141a565b34801561054757600080fd5b506102cd610556366004613171565b61146f565b34801561056757600080fd5b506008546001600160a01b03166102cd565b34801561058557600080fd5b506102cd6114d1565b34801561059a57600080fd5b506102a06114fc565b3480156105af57600080fd5b506102f86105be366004612ecc565b61150b565b3480156105cf57600080fd5b506102f86105de366004612fca565b611583565b3480156105ef57600080fd5b506102766105fe36600461314d565b600d60209081526000928352604080842090915290825290205460ff1681565b34801561062a57600080fd5b506102f861063936600461321f565b6115ec565b6102f861064c366004612f60565b6119d5565b34801561065d57600080fd5b506102f861066c3660046130e3565b611a1f565b34801561067d57600080fd5b506102f861068c366004612ecc565b611a9e565b34801561069d57600080fd5b506102a06106ac366004613135565b611b16565b6102f86106bf366004613171565b611c9f565b3480156106d057600080fd5b506102a0612054565b3480156106e557600080fd5b506102f86106f4366004613135565b612061565b34801561070557600080fd5b5061038460105481565b34801561071b57600080fd5b5061027661072a366004612ee8565b61211f565b34801561073b57600080fd5b5061074f61074a366004612ecc565b61214d565b60408051938452911515602084015290820152606001610282565b34801561077657600080fd5b506102f8610785366004612ecc565b6122ba565b60006301ffc9a760e01b6001600160e01b0319831614806107bb57506380ac58cd60e01b6001600160e01b03198316145b806107d65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107eb9061355d565b80601f01602080910402602001604051908101604052809291908181526020018280546108179061355d565b80156108645780601f1061083957610100808354040283529160200191610864565b820191906000526020600020905b81548152906001019060200180831161084757829003601f168201915b5050505050905090565b600061087982612355565b610896576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6001600160a01b0382166000908152600e602052604090205460ff16156109165760405162461bcd60e51b8152602060048201526013602482015272496e76616c6964204d61726b6574706c61636560681b60448201526064015b60405180910390fd5b610920828261237c565b5050565b6008546001600160a01b0316331461094e5760405162461bcd60e51b815260040161090d90613440565b6000816001600160a01b031661520847604051600060405180830381858888f193505050503d806000811461099f576040519150601f19603f3d011682016040523d82523d6000602084013e6109a4565b606091505b50509050806109205760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161090d565b601380546109f59061355d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a219061355d565b8015610a6e5780601f10610a4357610100808354040283529160200191610a6e565b820191906000526020600020905b815481529060010190602001808311610a5157829003601f168201915b505050505081565b6009546001600160a01b03163314610aa05760405162461bcd60e51b815260040161090d906133a9565b600a54600160a01b900460ff1615610aef5760405162461bcd60e51b815260206004820152601260248201527129b0b632b9903430b9903737ba1037b832b760711b604482015260640161090d565b333214610b2c5760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9037b934b3b4b760a91b604482015260640161090d565b6001600160a01b0382163314610b545760405162461bcd60e51b815260040161090d906133eb565b6009546001600160a01b03163314610bd45760405162461bcd60e51b815260206004820152603760248201527f5468652061646472657373206f6620746f2063616e6e6f74206265207468652060448201527f61646472657373206f6620746865206578656375746f72000000000000000000606482015260840161090d565b6011541580610bfa5750601154610bf882610bf26001546000540390565b9061241c565b105b610c465760405162461bcd60e51b815260206004820152601e60248201527f54686520746f74616c20737570706c79206d6f7265207468616e206d61780000604482015260640161090d565b610c50828261242f565b7fa1c15b9e97d64c99730110cf482817fd5389e27024e1055c46c7043a6a34431960006001610c7e60005490565b610c88919061351a565b6040805192835260208301919091526001600160a01b03851690820152606081018390526000608082015260a0015b60405180910390a15050565b6009546001600160a01b03163314610ced5760405162461bcd60e51b815260040161090d906133a9565b6000828152600c602090815260409091208251610d0c92840190612d26565b507f46d8448744d5437620a2269b16ee3c2a7c456939212e0ebff458b1692982a6238282604051610cb7929190613475565b6000610d4982612526565b9050836001600160a01b0316816001600160a01b031614610d7c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dc957610dac863361211f565b610dc957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610df057604051633a954ecd60e21b815260040160405180910390fd5b8015610dfb57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610e865760018401600081815260046020526040902054610e84576000548114610e845760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008080808080336009546001600160a01b03908116911614610f045760405162461bcd60e51b815260040161090d906133a9565b60008711610f435760405162461bcd60e51b815260206004820152600c60248201526b696e76616c6964207479706560a01b604482015260640161090d565b600f5480881115610f695760008060008060008096509650965096509650965050610ffa565b6000600f610f788a6001612587565b81548110610f9657634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805160a081018252600590930290910180548084526001820154948401859052600282015492840183905260038201546060850181905260049092015460809094018490528d9c509a509298509650909450925050505b91939550919395565b6008546000906001600160a01b0316331461101e5750600090565b506009546001600160a01b031690565b6009546060906001600160a01b0316331461105b5760405162461bcd60e51b815260040161090d906133a9565b61106482612355565b61108157604051630a14c4b560e41b815260040160405180910390fd5b6000828152600c60205260409020805461109a9061355d565b80601f01602080910402602001604051908101604052809291908181526020018280546110c69061355d565b80156111135780601f106110e857610100808354040283529160200191611113565b820191906000526020600020905b8154815290600101906020018083116110f657829003601f168201915b505050505090505b919050565b61113b838383604051806020016040528060008152506119d5565b505050565b6009546001600160a01b0316331461116a5760405162461bcd60e51b815260040161090d906133a9565b60108190556040518181527f6880838ffed25cf6f5f0ea10b8f9707280ebc40048006f6fd92d47ccd1f0921a906020015b60405180910390a150565b6009546001600160a01b031633146111d05760405162461bcd60e51b815260040161090d906133a9565b81516112145760405162461bcd60e51b81526020600482015260136024820152726d757374206e6f7420657175616c207a65726f60681b604482015260640161090d565b805182511461125b5760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840c8c2e8c240d8cadccee8d606b1b604482015260640161090d565b600f8251111561129d5760405162461bcd60e51b815260206004820152600d60248201526c6461746120746f206c6172676560981b604482015260640161090d565b60005b825181101561113b5760008382815181106112cb57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008383815181106112f757634e487b7160e01b600052603260045260246000fd5b6020026020010151905080600c60008481526020019081526020016000209080519060200190611328929190612d26565b505050808061133690613592565b9150506112a0565b6009546000906001600160a01b0316331461136b5760405162461bcd60e51b815260040161090d906133a9565b506001600160a01b03166000908152600e602052604090205460ff1690565b60006107d682612526565b60006001600160a01b0382166113be576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461140e5760405162461bcd60e51b815260040161090d90613440565b6114186000612593565b565b6009546001600160a01b031633146114445760405162461bcd60e51b815260040161090d906133a9565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60408051602081018890526001600160a01b03871691810191909152606081018590526080810184905260a081018390526000906114c69060c00160405160208183030381529060405280519060200120836125e5565b979650505050505050565b6008546000906001600160a01b031633146114ec5750600090565b50600a546001600160a01b031690565b6060600380546107eb9061355d565b6008546001600160a01b031633146115355760405162461bcd60e51b815260040161090d90613440565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2d558708ad26a7190ef189b56de3b6475922614697edab94915d487807484e1d9060200161119b565b6001600160a01b0382166000908152600e602052604090205460ff16156115e25760405162461bcd60e51b8152602060048201526013602482015272496e76616c6964204d61726b6574706c61636560681b604482015260640161090d565b6109208282612689565b6009546001600160a01b031633146116165760405162461bcd60e51b815260040161090d906133a9565b6000851180156116265750600585105b6116615760405162461bcd60e51b815260206004820152600c60248201526b696e76616c6964207479706560a01b604482015260640161090d565b8284106116d65760405162461bcd60e51b815260206004820152603860248201527f5468652053746167652053746172742054696d6520416e642053616c6520546960448201527f6d65204d757374204265204c65737320456e642054696d650000000000000000606482015260840161090d565b42831161173a5760405162461bcd60e51b815260206004820152602c60248201527f54686520537461676520456e642054696d65204d757374204265204d6f72652060448201526b43757272656e742054696d6560a01b606482015260840161090d565b816117875760405162461bcd60e51b815260206004820152601f60248201527f546865205374616765207175616e7469747920686173206e6f74207a65726f00604482015260640161090d565b600f548086106118b25760005b61179e8783612587565b8110156118b0576040805160a0810182526000808252602082018181529282018181526060830182815260808401838152600f8054600181018255945293517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80260059094029384015593517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803830155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80482015591517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac805830155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80690910155806118a881613592565b915050611794565b505b60006118bf876001612587565b90506000600f82815481106118e457634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201878155600181018790556002810186905560048101859055600f805491925082918490811061193357634e487b7160e01b600052603260045260246000fd5b60009182526020918290208354600590920201908155600180840154908201556002808401549082015560038084015481830155600493840154939091019290925590820154604080518b81529283018a9052820188905260608201879052608082015260a081018590527f44d79a2925dcdd5ba479db1f7bccb3a416cb5a263a7e01fcaa480bf6428c92eb9060c00160405180910390a15050505050505050565b6119e0848484610d3e565b6001600160a01b0383163b15611a19576119fc848484846126f5565b611a19576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314611a495760405162461bcd60e51b815260040161090d90613440565b600a805460ff60a01b1916600160a01b8315158102919091179182905560405160ff9190920416151581527f10e1c3fcaff06b68391033547e8f9bb8067d7c4a2e32659b0629153814d242d39060200161119b565b6008546001600160a01b03163314611ac85760405162461bcd60e51b815260040161090d90613440565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f5d4c9f48878376ec8ef863eaacc51a56e08beecfd8056447bd9c181544546f759060200161119b565b6060611b2182612355565b611b3e57604051630a14c4b560e41b815260040160405180910390fd5b6000611b486127ed565b9050805160001415611b6a575050604080516020810190915260008152919050565b6012541580611b7a575042601254115b15611bd55760138054611b8c9061355d565b15159050611baa575050604080516020810190915260008152919050565b806013604051602001611bbe9291906132b4565b604051602081830303815290604052915050919050565b6000838152600c602052604081208054611bee9061355d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1a9061355d565b8015611c675780601f10611c3c57610100808354040283529160200191611c67565b820191906000526020600020905b815481529060010190602001808311611c4a57829003601f168201915b505050505090508181604051602001611c81929190613285565b60405160208183030381529060405292505050919050565b50919050565b600a54600160a01b900460ff1615611cee5760405162461bcd60e51b815260206004820152601260248201527129b0b632b9903430b9903737ba1037b832b760711b604482015260640161090d565b600f54611d2d5760405162461bcd60e51b815260206004820152600d60248201526c139bdd081cdd1859d9481cd95d609a1b604482015260640161090d565b333214611d6a5760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9037b934b3b4b760a91b604482015260640161090d565b6001600160a01b0385163314611d925760405162461bcd60e51b815260040161090d906133eb565b6000611da287878787878761146f565b600a549091506001600160a01b03808316911614611e025760405162461bcd60e51b815260206004820152601a60248201527f7369676e6572206973206e6f7420746865206578656375746f72000000000000604482015260640161090d565b428311611e475760405162461bcd60e51b8152602060048201526013602482015272546865207369676e206265206f76657264756560681b604482015260640161090d565b6010541580611e5857508460105410155b611ebc5760405162461bcd60e51b815260206004820152602f60248201527f54686973206d6178207175616e74697479206c6573732063757272656e74207260448201526e657175657374207175616e7469747960881b606482015260840161090d565b6011541580611edc5750601154611eda86610bf26001546000540390565b105b611f285760405162461bcd60e51b815260206004820152601e60248201527f54686520746f74616c20737570706c79206d6f7265207468616e206d61780000604482015260640161090d565b6000878152600d602090815260408083206001600160a01b038a16845290915290205460ff1615611f9b5760405162461bcd60e51b815260206004820152601f60248201527f546865206164647265737320686173206d696e74656420696e20737461676500604482015260640161090d565b611fa7878787876127fc565b6000878152600d602090815260408083206001600160a01b038a1684529091529020805460ff19166001179055611fde868661242f565b7fa1c15b9e97d64c99730110cf482817fd5389e27024e1055c46c7043a6a34431987600161200b60005490565b612015919061351a565b6040805192835260208301919091526001600160a01b03891690820152606081018790526080810186905260a00160405180910390a150505050505050565b600b80546109f59061355d565b6009546001600160a01b0316331461208b5760405162461bcd60e51b815260040161090d906133a9565b4281116120ea5760405162461bcd60e51b815260206004820152602760248201527f4f70656e20426f782054696d65204d757374204265204d6f72652043757272656044820152666e742054696d6560c81b606482015260840161090d565b60128190556040518181527f881ff1b2d7a9aa7e513cd342b56e6759d40971878909e87b72b26fe7eac098e69060200161119b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600f546000908190819042825b828110156122a4576000600f828154811061218557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060006121e860018461241c90919063ffffffff16565b60808301518351919250908510801590612206575082602001518511155b1561228e576001600160a01b038a1661222c579097506000965094506122b39350505050565b6060830151604084015180821061225257509198506000975095506122b3945050505050565b50506000828152600d602090815260408083206001600160a01b038e16845290915290205491985060ff90911615965094506122b39350505050565b505050808061229c90613592565b91505061215a565b50600080600094509450945050505b9193909250565b6008546001600160a01b031633146122e45760405162461bcd60e51b815260040161090d90613440565b6001600160a01b0381166123495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090d565b61235281612593565b50565b60008054821080156107d6575050600090815260046020526040902054600160e01b161590565b60006123878261138a565b9050336001600160a01b038216146123c0576123a3813361211f565b6123c0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061242882846134e3565b9392505050565b600054816124505760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146124ff57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016124c7565b508161251d57604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008160005481101561256e57600081815260046020526040902054600160e01b811661256c575b8061242857506000190160008181526004602052604090205461254e565b505b604051636f96cda160e11b815260040160405180910390fd5b6000612428828461351a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008151604114156126195760208201516040830151606084015160001a61260f86828585612b47565b93505050506107d6565b8151604014156126415760208201516040830151612638858383612cf0565b925050506107d6565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161090d565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061272a903390899088908890600401613363565b602060405180830381600087803b15801561274457600080fd5b505af1925050508015612774575060408051601f3d908101601f1916820190925261277191810190613119565b60015b6127cf573d8080156127a2576040519150601f19603f3d011682016040523d82523d6000602084013e6127a7565b606091505b5080516127c7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546107eb9061355d565b60008411801561280e5750600f548411155b6128535760405162461bcd60e51b81526020600482015260166024820152752a34329039ba30b3b2903430b9903737ba1037b832b760511b604482015260640161090d565b6000612860856001612587565b90506000600f828154811061288557634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805160a081018252600590930290910180548084526001820154948401859052600282015492840192909252600381015460608401526004015460808301529092509042821080156128e357508042105b6129225760405162461bcd60e51b815260206004820152601060248201526f446f6e2774207468697320737461676560801b604482015260640161090d565b608083015185158015906129365750808610155b6129745760405162461bcd60e51b815260206004820152600f60248201526e2a343290383934b1b29032b93937b960891b604482015260640161090d565b6060840151604085015180612989838b61241c565b11156129e65760405162461bcd60e51b815260206004820152602660248201527f4d696e746564206d6f7265207468616e206d6178207175616e7469747920696e60448201526520737461676560d01b606482015260840161090d565b346129f18a8a612d1a565b1115612a2d5760405162461bcd60e51b815260206004820152600b60248201526a3b30b63ab29032b93937b960a91b604482015260640161090d565b6000600f8881548110612a5057634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502019050612a738a8461241c90919063ffffffff16565b816003018190555080600f8981548110612a9d57634e487b7160e01b600052603260045260246000fd5b906000526020600020906005020160008201548160000155600182015481600101556002820154816002015560038201548160030155600482015481600401559050507fbfe8b98a8d8c321d085650e5d4e6581c1e479396f06b4a8825cc5680904a80688c8c8360030154604051612b31939291909283526001600160a01b03919091166020830152604082015260600190565b60405180910390a1505050505050505050505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612bc45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161090d565b8360ff16601b1480612bd957508360ff16601c145b612c305760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161090d565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612c84573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ce75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161090d565b95945050505050565b60006001600160ff1b03821660ff83901c601b01612d1086828785612b47565b9695505050505050565b600061242882846134fb565b828054612d329061355d565b90600052602060002090601f016020900481019282612d545760008555612d9a565b82601f10612d6d57805160ff1916838001178555612d9a565b82800160010185558215612d9a579182015b82811115612d9a578251825591602001919060010190612d7f565b50612da6929150612daa565b5090565b5b80821115612da65760008155600101612dab565b600082601f830112612dcf578081fd5b81356020612de4612ddf836134bf565b61348e565b80838252828201915082860187848660051b8901011115612e03578586fd5b855b85811015612e4457813567ffffffffffffffff811115612e23578788fd5b612e318a87838c0101612e61565b8552509284019290840190600101612e05565b5090979650505050505050565b8035801515811461111b57600080fd5b600082601f830112612e71578081fd5b813567ffffffffffffffff811115612e8b57612e8b6135c3565b612e9e601f8201601f191660200161348e565b818152846020838601011115612eb2578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612edd578081fd5b8135612428816135d9565b60008060408385031215612efa578081fd5b8235612f05816135d9565b91506020830135612f15816135d9565b809150509250929050565b600080600060608486031215612f34578081fd5b8335612f3f816135d9565b92506020840135612f4f816135d9565b929592945050506040919091013590565b60008060008060808587031215612f75578081fd5b8435612f80816135d9565b93506020850135612f90816135d9565b925060408501359150606085013567ffffffffffffffff811115612fb2578182fd5b612fbe87828801612e61565b91505092959194509250565b60008060408385031215612fdc578182fd5b8235612fe7816135d9565b9150612ff560208401612e51565b90509250929050565b60008060408385031215613010578182fd5b823561301b816135d9565b946020939093013593505050565b6000806040838503121561303b578182fd5b823567ffffffffffffffff80821115613052578384fd5b818501915085601f830112613065578384fd5b81356020613075612ddf836134bf565b8083825282820191508286018a848660051b8901011115613094578889fd5b8896505b848710156130b6578035835260019690960195918301918301613098565b50965050860135925050808211156130cc578283fd5b506130d985828601612dbf565b9150509250929050565b6000602082840312156130f4578081fd5b61242882612e51565b60006020828403121561310e578081fd5b8135612428816135ee565b60006020828403121561312a578081fd5b8151612428816135ee565b600060208284031215613146578081fd5b5035919050565b6000806040838503121561315f578182fd5b823591506020830135612f15816135d9565b60008060008060008060c08789031215613189578384fd5b86359550602087013561319b816135d9565b945060408701359350606087013592506080870135915060a087013567ffffffffffffffff8111156131cb578182fd5b6131d789828a01612e61565b9150509295509295509295565b600080604083850312156131f6578182fd5b82359150602083013567ffffffffffffffff811115613213578182fd5b6130d985828601612e61565b600080600080600060a08688031215613236578283fd5b505083359560208501359550604085013594606081013594506080013592509050565b60008151808452613271816020860160208601613531565b601f01601f19169290920160200192915050565b60008351613297818460208801613531565b8351908301906132ab818360208801613531565b01949350505050565b6000835160206132c78285838901613531565b8454918401918390600181811c90808316806132e457607f831692505b85831081141561330257634e487b7160e01b88526022600452602488fd5b808015613316576001811461332757613353565b60ff19851688528388019550613353565b60008b815260209020895b8581101561334b5781548a820152908401908801613332565b505083880195505b50939a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d1090830184613259565b6020815260006124286020830184613259565b60208082526022908201527f63616c6c6572206973206e6f7420746865206578656375746f72206f72206f7760408201526132b960f11b606082015260800190565b60208082526035908201527f5468652061646472657373206f6620746f2063616e6e6f74206265207468652060408201527430b2323932b9b99037b3103a34329031b0b63632b960591b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006127e56040830184613259565b604051601f8201601f1916810167ffffffffffffffff811182821017156134b7576134b76135c3565b604052919050565b600067ffffffffffffffff8211156134d9576134d96135c3565b5060051b60200190565b600082198211156134f6576134f66135ad565b500190565b6000816000190483118215151615613515576135156135ad565b500290565b60008282101561352c5761352c6135ad565b500390565b60005b8381101561354c578181015183820152602001613534565b83811115611a195750506000910152565b600181811c9082168061357157607f821691505b60208210811415611c9957634e487b7160e01b600052602260045260246000fd5b60006000198214156135a6576135a66135ad565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461235257600080fd5b6001600160e01b03198116811461235257600080fdfea2646970667358221220368044ef01cdb65c1d7d67fcf73bc877bb39c23b6ea9cc7dd13301c0d205553d64736f6c63430008040033000000000000000000000000f89a87b98be5edb88e9a662d8689db6865743605000000000000000000000000a4beafd706ed033076bc2a8c719042da0347849f00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000022b80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f0000000000000000000000000000000000000000000000000000000000000000000000000000000000003b6261666b72656966696d7732376b686c3765623735653768773665667a336569327a6562727a7762716f793266723736696b77756375326a3334790000000000
Deployed Bytecode
0x6080604052600436106102515760003560e01c8063715018a611610139578063b88d4fde116100b6578063d547cfb71161007a578063d547cfb7146106c4578063e2d5e667146106d9578063e640cf7d146106f9578063e985e9c51461070f578063ee7e6f591461072f578063f2fde38b1461076a57600080fd5b8063b88d4fde1461063e578063bedb86fb14610651578063c2513f1114610671578063c87b56dd14610691578063c9580bca146106b157600080fd5b806395d89b41116100fd57806395d89b411461058e578063a224c745146105a3578063a22cb465146105c3578063abe118ad146105e3578063b0335ffc1461061e57600080fd5b8063715018a6146105065780637a24f53b1461051b57806389b517f91461053b5780638da5cb5b1461055b578063915eb9731461057957600080fd5b80632ab4d052116101d2578063486eb38911610196578063486eb389146104505780634a65a575146104665780634bb9935114610486578063543788a1146104a65780636352211e146104c657806370a08231146104e657600080fd5b80632ab4d052146103a55780632e325020146103bb578063350157a8146104085780633bb3a24d1461041d57806342842e0e1461043d57600080fd5b80631001638911610219578063100163891461031a5780631483be901461032f578063162094c41461034f57806318160ddd1461036f57806323b872dd1461039257600080fd5b806301ffc9a71461025657806306fdde031461028b578063081812fc146102ad578063095ea7b3146102e557806309f21f6a146102fa575b600080fd5b34801561026257600080fd5b506102766102713660046130fd565b61078a565b60405190151581526020015b60405180910390f35b34801561029757600080fd5b506102a06107dc565b6040516102829190613396565b3480156102b957600080fd5b506102cd6102c8366004613135565b61086e565b6040516001600160a01b039091168152602001610282565b6102f86102f3366004612ffe565b6108b2565b005b34801561030657600080fd5b506102f8610315366004612ecc565b610924565b34801561032657600080fd5b506102a06109e8565b34801561033b57600080fd5b506102f861034a366004612ffe565b610a76565b34801561035b57600080fd5b506102f861036a3660046131e4565b610cc3565b34801561037b57600080fd5b50600154600054035b604051908152602001610282565b6102f86103a0366004612f20565b610d3e565b3480156103b157600080fd5b5061038460115481565b3480156103c757600080fd5b506103db6103d6366004613135565b610ecf565b604080519687526020870195909552938501929092526060840152608083015260a082015260c001610282565b34801561041457600080fd5b506102cd611003565b34801561042957600080fd5b506102a0610438366004613135565b61102e565b6102f861044b366004612f20565b611120565b34801561045c57600080fd5b5061038460125481565b34801561047257600080fd5b506102f8610481366004613135565b611140565b34801561049257600080fd5b506102f86104a1366004613029565b6111a6565b3480156104b257600080fd5b506102766104c1366004612ecc565b61133e565b3480156104d257600080fd5b506102cd6104e1366004613135565b61138a565b3480156104f257600080fd5b50610384610501366004612ecc565b611395565b34801561051257600080fd5b506102f86113e4565b34801561052757600080fd5b506102f8610536366004612fca565b61141a565b34801561054757600080fd5b506102cd610556366004613171565b61146f565b34801561056757600080fd5b506008546001600160a01b03166102cd565b34801561058557600080fd5b506102cd6114d1565b34801561059a57600080fd5b506102a06114fc565b3480156105af57600080fd5b506102f86105be366004612ecc565b61150b565b3480156105cf57600080fd5b506102f86105de366004612fca565b611583565b3480156105ef57600080fd5b506102766105fe36600461314d565b600d60209081526000928352604080842090915290825290205460ff1681565b34801561062a57600080fd5b506102f861063936600461321f565b6115ec565b6102f861064c366004612f60565b6119d5565b34801561065d57600080fd5b506102f861066c3660046130e3565b611a1f565b34801561067d57600080fd5b506102f861068c366004612ecc565b611a9e565b34801561069d57600080fd5b506102a06106ac366004613135565b611b16565b6102f86106bf366004613171565b611c9f565b3480156106d057600080fd5b506102a0612054565b3480156106e557600080fd5b506102f86106f4366004613135565b612061565b34801561070557600080fd5b5061038460105481565b34801561071b57600080fd5b5061027661072a366004612ee8565b61211f565b34801561073b57600080fd5b5061074f61074a366004612ecc565b61214d565b60408051938452911515602084015290820152606001610282565b34801561077657600080fd5b506102f8610785366004612ecc565b6122ba565b60006301ffc9a760e01b6001600160e01b0319831614806107bb57506380ac58cd60e01b6001600160e01b03198316145b806107d65750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107eb9061355d565b80601f01602080910402602001604051908101604052809291908181526020018280546108179061355d565b80156108645780601f1061083957610100808354040283529160200191610864565b820191906000526020600020905b81548152906001019060200180831161084757829003601f168201915b5050505050905090565b600061087982612355565b610896576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6001600160a01b0382166000908152600e602052604090205460ff16156109165760405162461bcd60e51b8152602060048201526013602482015272496e76616c6964204d61726b6574706c61636560681b60448201526064015b60405180910390fd5b610920828261237c565b5050565b6008546001600160a01b0316331461094e5760405162461bcd60e51b815260040161090d90613440565b6000816001600160a01b031661520847604051600060405180830381858888f193505050503d806000811461099f576040519150601f19603f3d011682016040523d82523d6000602084013e6109a4565b606091505b50509050806109205760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b604482015260640161090d565b601380546109f59061355d565b80601f0160208091040260200160405190810160405280929190818152602001828054610a219061355d565b8015610a6e5780601f10610a4357610100808354040283529160200191610a6e565b820191906000526020600020905b815481529060010190602001808311610a5157829003601f168201915b505050505081565b6009546001600160a01b03163314610aa05760405162461bcd60e51b815260040161090d906133a9565b600a54600160a01b900460ff1615610aef5760405162461bcd60e51b815260206004820152601260248201527129b0b632b9903430b9903737ba1037b832b760711b604482015260640161090d565b333214610b2c5760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9037b934b3b4b760a91b604482015260640161090d565b6001600160a01b0382163314610b545760405162461bcd60e51b815260040161090d906133eb565b6009546001600160a01b03163314610bd45760405162461bcd60e51b815260206004820152603760248201527f5468652061646472657373206f6620746f2063616e6e6f74206265207468652060448201527f61646472657373206f6620746865206578656375746f72000000000000000000606482015260840161090d565b6011541580610bfa5750601154610bf882610bf26001546000540390565b9061241c565b105b610c465760405162461bcd60e51b815260206004820152601e60248201527f54686520746f74616c20737570706c79206d6f7265207468616e206d61780000604482015260640161090d565b610c50828261242f565b7fa1c15b9e97d64c99730110cf482817fd5389e27024e1055c46c7043a6a34431960006001610c7e60005490565b610c88919061351a565b6040805192835260208301919091526001600160a01b03851690820152606081018390526000608082015260a0015b60405180910390a15050565b6009546001600160a01b03163314610ced5760405162461bcd60e51b815260040161090d906133a9565b6000828152600c602090815260409091208251610d0c92840190612d26565b507f46d8448744d5437620a2269b16ee3c2a7c456939212e0ebff458b1692982a6238282604051610cb7929190613475565b6000610d4982612526565b9050836001600160a01b0316816001600160a01b031614610d7c5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610dc957610dac863361211f565b610dc957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610df057604051633a954ecd60e21b815260040160405180910390fd5b8015610dfb57600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040902055600160e11b8316610e865760018401600081815260046020526040902054610e84576000548114610e845760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b60008080808080336009546001600160a01b03908116911614610f045760405162461bcd60e51b815260040161090d906133a9565b60008711610f435760405162461bcd60e51b815260206004820152600c60248201526b696e76616c6964207479706560a01b604482015260640161090d565b600f5480881115610f695760008060008060008096509650965096509650965050610ffa565b6000600f610f788a6001612587565b81548110610f9657634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805160a081018252600590930290910180548084526001820154948401859052600282015492840183905260038201546060850181905260049092015460809094018490528d9c509a509298509650909450925050505b91939550919395565b6008546000906001600160a01b0316331461101e5750600090565b506009546001600160a01b031690565b6009546060906001600160a01b0316331461105b5760405162461bcd60e51b815260040161090d906133a9565b61106482612355565b61108157604051630a14c4b560e41b815260040160405180910390fd5b6000828152600c60205260409020805461109a9061355d565b80601f01602080910402602001604051908101604052809291908181526020018280546110c69061355d565b80156111135780601f106110e857610100808354040283529160200191611113565b820191906000526020600020905b8154815290600101906020018083116110f657829003601f168201915b505050505090505b919050565b61113b838383604051806020016040528060008152506119d5565b505050565b6009546001600160a01b0316331461116a5760405162461bcd60e51b815260040161090d906133a9565b60108190556040518181527f6880838ffed25cf6f5f0ea10b8f9707280ebc40048006f6fd92d47ccd1f0921a906020015b60405180910390a150565b6009546001600160a01b031633146111d05760405162461bcd60e51b815260040161090d906133a9565b81516112145760405162461bcd60e51b81526020600482015260136024820152726d757374206e6f7420657175616c207a65726f60681b604482015260640161090d565b805182511461125b5760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840c8c2e8c240d8cadccee8d606b1b604482015260640161090d565b600f8251111561129d5760405162461bcd60e51b815260206004820152600d60248201526c6461746120746f206c6172676560981b604482015260640161090d565b60005b825181101561113b5760008382815181106112cb57634e487b7160e01b600052603260045260246000fd5b6020026020010151905060008383815181106112f757634e487b7160e01b600052603260045260246000fd5b6020026020010151905080600c60008481526020019081526020016000209080519060200190611328929190612d26565b505050808061133690613592565b9150506112a0565b6009546000906001600160a01b0316331461136b5760405162461bcd60e51b815260040161090d906133a9565b506001600160a01b03166000908152600e602052604090205460ff1690565b60006107d682612526565b60006001600160a01b0382166113be576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461140e5760405162461bcd60e51b815260040161090d90613440565b6114186000612593565b565b6009546001600160a01b031633146114445760405162461bcd60e51b815260040161090d906133a9565b6001600160a01b03919091166000908152600e60205260409020805460ff1916911515919091179055565b60408051602081018890526001600160a01b03871691810191909152606081018590526080810184905260a081018390526000906114c69060c00160405160208183030381529060405280519060200120836125e5565b979650505050505050565b6008546000906001600160a01b031633146114ec5750600090565b50600a546001600160a01b031690565b6060600380546107eb9061355d565b6008546001600160a01b031633146115355760405162461bcd60e51b815260040161090d90613440565b600a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f2d558708ad26a7190ef189b56de3b6475922614697edab94915d487807484e1d9060200161119b565b6001600160a01b0382166000908152600e602052604090205460ff16156115e25760405162461bcd60e51b8152602060048201526013602482015272496e76616c6964204d61726b6574706c61636560681b604482015260640161090d565b6109208282612689565b6009546001600160a01b031633146116165760405162461bcd60e51b815260040161090d906133a9565b6000851180156116265750600585105b6116615760405162461bcd60e51b815260206004820152600c60248201526b696e76616c6964207479706560a01b604482015260640161090d565b8284106116d65760405162461bcd60e51b815260206004820152603860248201527f5468652053746167652053746172742054696d6520416e642053616c6520546960448201527f6d65204d757374204265204c65737320456e642054696d650000000000000000606482015260840161090d565b42831161173a5760405162461bcd60e51b815260206004820152602c60248201527f54686520537461676520456e642054696d65204d757374204265204d6f72652060448201526b43757272656e742054696d6560a01b606482015260840161090d565b816117875760405162461bcd60e51b815260206004820152601f60248201527f546865205374616765207175616e7469747920686173206e6f74207a65726f00604482015260640161090d565b600f548086106118b25760005b61179e8783612587565b8110156118b0576040805160a0810182526000808252602082018181529282018181526060830182815260808401838152600f8054600181018255945293517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80260059094029384015593517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac803830155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80482015591517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac805830155517f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac80690910155806118a881613592565b915050611794565b505b60006118bf876001612587565b90506000600f82815481106118e457634e487b7160e01b600052603260045260246000fd5b60009182526020909120600590910201878155600181018790556002810186905560048101859055600f805491925082918490811061193357634e487b7160e01b600052603260045260246000fd5b60009182526020918290208354600590920201908155600180840154908201556002808401549082015560038084015481830155600493840154939091019290925590820154604080518b81529283018a9052820188905260608201879052608082015260a081018590527f44d79a2925dcdd5ba479db1f7bccb3a416cb5a263a7e01fcaa480bf6428c92eb9060c00160405180910390a15050505050505050565b6119e0848484610d3e565b6001600160a01b0383163b15611a19576119fc848484846126f5565b611a19576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6008546001600160a01b03163314611a495760405162461bcd60e51b815260040161090d90613440565b600a805460ff60a01b1916600160a01b8315158102919091179182905560405160ff9190920416151581527f10e1c3fcaff06b68391033547e8f9bb8067d7c4a2e32659b0629153814d242d39060200161119b565b6008546001600160a01b03163314611ac85760405162461bcd60e51b815260040161090d90613440565b600980546001600160a01b0319166001600160a01b0383169081179091556040519081527f5d4c9f48878376ec8ef863eaacc51a56e08beecfd8056447bd9c181544546f759060200161119b565b6060611b2182612355565b611b3e57604051630a14c4b560e41b815260040160405180910390fd5b6000611b486127ed565b9050805160001415611b6a575050604080516020810190915260008152919050565b6012541580611b7a575042601254115b15611bd55760138054611b8c9061355d565b15159050611baa575050604080516020810190915260008152919050565b806013604051602001611bbe9291906132b4565b604051602081830303815290604052915050919050565b6000838152600c602052604081208054611bee9061355d565b80601f0160208091040260200160405190810160405280929190818152602001828054611c1a9061355d565b8015611c675780601f10611c3c57610100808354040283529160200191611c67565b820191906000526020600020905b815481529060010190602001808311611c4a57829003601f168201915b505050505090508181604051602001611c81929190613285565b60405160208183030381529060405292505050919050565b50919050565b600a54600160a01b900460ff1615611cee5760405162461bcd60e51b815260206004820152601260248201527129b0b632b9903430b9903737ba1037b832b760711b604482015260640161090d565b600f54611d2d5760405162461bcd60e51b815260206004820152600d60248201526c139bdd081cdd1859d9481cd95d609a1b604482015260640161090d565b333214611d6a5760405162461bcd60e51b815260206004820152600b60248201526a37b7363c9037b934b3b4b760a91b604482015260640161090d565b6001600160a01b0385163314611d925760405162461bcd60e51b815260040161090d906133eb565b6000611da287878787878761146f565b600a549091506001600160a01b03808316911614611e025760405162461bcd60e51b815260206004820152601a60248201527f7369676e6572206973206e6f7420746865206578656375746f72000000000000604482015260640161090d565b428311611e475760405162461bcd60e51b8152602060048201526013602482015272546865207369676e206265206f76657264756560681b604482015260640161090d565b6010541580611e5857508460105410155b611ebc5760405162461bcd60e51b815260206004820152602f60248201527f54686973206d6178207175616e74697479206c6573732063757272656e74207260448201526e657175657374207175616e7469747960881b606482015260840161090d565b6011541580611edc5750601154611eda86610bf26001546000540390565b105b611f285760405162461bcd60e51b815260206004820152601e60248201527f54686520746f74616c20737570706c79206d6f7265207468616e206d61780000604482015260640161090d565b6000878152600d602090815260408083206001600160a01b038a16845290915290205460ff1615611f9b5760405162461bcd60e51b815260206004820152601f60248201527f546865206164647265737320686173206d696e74656420696e20737461676500604482015260640161090d565b611fa7878787876127fc565b6000878152600d602090815260408083206001600160a01b038a1684529091529020805460ff19166001179055611fde868661242f565b7fa1c15b9e97d64c99730110cf482817fd5389e27024e1055c46c7043a6a34431987600161200b60005490565b612015919061351a565b6040805192835260208301919091526001600160a01b03891690820152606081018790526080810186905260a00160405180910390a150505050505050565b600b80546109f59061355d565b6009546001600160a01b0316331461208b5760405162461bcd60e51b815260040161090d906133a9565b4281116120ea5760405162461bcd60e51b815260206004820152602760248201527f4f70656e20426f782054696d65204d757374204265204d6f72652043757272656044820152666e742054696d6560c81b606482015260840161090d565b60128190556040518181527f881ff1b2d7a9aa7e513cd342b56e6759d40971878909e87b72b26fe7eac098e69060200161119b565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600f546000908190819042825b828110156122a4576000600f828154811061218557634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502016040518060a001604052908160008201548152602001600182015481526020016002820154815260200160038201548152602001600482015481525050905060006121e860018461241c90919063ffffffff16565b60808301518351919250908510801590612206575082602001518511155b1561228e576001600160a01b038a1661222c579097506000965094506122b39350505050565b6060830151604084015180821061225257509198506000975095506122b3945050505050565b50506000828152600d602090815260408083206001600160a01b038e16845290915290205491985060ff90911615965094506122b39350505050565b505050808061229c90613592565b91505061215a565b50600080600094509450945050505b9193909250565b6008546001600160a01b031633146122e45760405162461bcd60e51b815260040161090d90613440565b6001600160a01b0381166123495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161090d565b61235281612593565b50565b60008054821080156107d6575050600090815260046020526040902054600160e01b161590565b60006123878261138a565b9050336001600160a01b038216146123c0576123a3813361211f565b6123c0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061242882846134e3565b9392505050565b600054816124505760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b8181146124ff57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a46001016124c7565b508161251d57604051622e076360e81b815260040160405180910390fd5b60005550505050565b60008160005481101561256e57600081815260046020526040902054600160e01b811661256c575b8061242857506000190160008181526004602052604090205461254e565b505b604051636f96cda160e11b815260040160405180910390fd5b6000612428828461351a565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008151604114156126195760208201516040830151606084015160001a61260f86828585612b47565b93505050506107d6565b8151604014156126415760208201516040830151612638858383612cf0565b925050506107d6565b60405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161090d565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061272a903390899088908890600401613363565b602060405180830381600087803b15801561274457600080fd5b505af1925050508015612774575060408051601f3d908101601f1916820190925261277191810190613119565b60015b6127cf573d8080156127a2576040519150601f19603f3d011682016040523d82523d6000602084013e6127a7565b606091505b5080516127c7576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b80546107eb9061355d565b60008411801561280e5750600f548411155b6128535760405162461bcd60e51b81526020600482015260166024820152752a34329039ba30b3b2903430b9903737ba1037b832b760511b604482015260640161090d565b6000612860856001612587565b90506000600f828154811061288557634e487b7160e01b600052603260045260246000fd5b60009182526020918290206040805160a081018252600590930290910180548084526001820154948401859052600282015492840192909252600381015460608401526004015460808301529092509042821080156128e357508042105b6129225760405162461bcd60e51b815260206004820152601060248201526f446f6e2774207468697320737461676560801b604482015260640161090d565b608083015185158015906129365750808610155b6129745760405162461bcd60e51b815260206004820152600f60248201526e2a343290383934b1b29032b93937b960891b604482015260640161090d565b6060840151604085015180612989838b61241c565b11156129e65760405162461bcd60e51b815260206004820152602660248201527f4d696e746564206d6f7265207468616e206d6178207175616e7469747920696e60448201526520737461676560d01b606482015260840161090d565b346129f18a8a612d1a565b1115612a2d5760405162461bcd60e51b815260206004820152600b60248201526a3b30b63ab29032b93937b960a91b604482015260640161090d565b6000600f8881548110612a5057634e487b7160e01b600052603260045260246000fd5b90600052602060002090600502019050612a738a8461241c90919063ffffffff16565b816003018190555080600f8981548110612a9d57634e487b7160e01b600052603260045260246000fd5b906000526020600020906005020160008201548160000155600182015481600101556002820154816002015560038201548160030155600482015481600401559050507fbfe8b98a8d8c321d085650e5d4e6581c1e479396f06b4a8825cc5680904a80688c8c8360030154604051612b31939291909283526001600160a01b03919091166020830152604082015260600190565b60405180910390a1505050505050505050505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0821115612bc45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161090d565b8360ff16601b1480612bd957508360ff16601c145b612c305760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161090d565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa158015612c84573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612ce75760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161090d565b95945050505050565b60006001600160ff1b03821660ff83901c601b01612d1086828785612b47565b9695505050505050565b600061242882846134fb565b828054612d329061355d565b90600052602060002090601f016020900481019282612d545760008555612d9a565b82601f10612d6d57805160ff1916838001178555612d9a565b82800160010185558215612d9a579182015b82811115612d9a578251825591602001919060010190612d7f565b50612da6929150612daa565b5090565b5b80821115612da65760008155600101612dab565b600082601f830112612dcf578081fd5b81356020612de4612ddf836134bf565b61348e565b80838252828201915082860187848660051b8901011115612e03578586fd5b855b85811015612e4457813567ffffffffffffffff811115612e23578788fd5b612e318a87838c0101612e61565b8552509284019290840190600101612e05565b5090979650505050505050565b8035801515811461111b57600080fd5b600082601f830112612e71578081fd5b813567ffffffffffffffff811115612e8b57612e8b6135c3565b612e9e601f8201601f191660200161348e565b818152846020838601011115612eb2578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215612edd578081fd5b8135612428816135d9565b60008060408385031215612efa578081fd5b8235612f05816135d9565b91506020830135612f15816135d9565b809150509250929050565b600080600060608486031215612f34578081fd5b8335612f3f816135d9565b92506020840135612f4f816135d9565b929592945050506040919091013590565b60008060008060808587031215612f75578081fd5b8435612f80816135d9565b93506020850135612f90816135d9565b925060408501359150606085013567ffffffffffffffff811115612fb2578182fd5b612fbe87828801612e61565b91505092959194509250565b60008060408385031215612fdc578182fd5b8235612fe7816135d9565b9150612ff560208401612e51565b90509250929050565b60008060408385031215613010578182fd5b823561301b816135d9565b946020939093013593505050565b6000806040838503121561303b578182fd5b823567ffffffffffffffff80821115613052578384fd5b818501915085601f830112613065578384fd5b81356020613075612ddf836134bf565b8083825282820191508286018a848660051b8901011115613094578889fd5b8896505b848710156130b6578035835260019690960195918301918301613098565b50965050860135925050808211156130cc578283fd5b506130d985828601612dbf565b9150509250929050565b6000602082840312156130f4578081fd5b61242882612e51565b60006020828403121561310e578081fd5b8135612428816135ee565b60006020828403121561312a578081fd5b8151612428816135ee565b600060208284031215613146578081fd5b5035919050565b6000806040838503121561315f578182fd5b823591506020830135612f15816135d9565b60008060008060008060c08789031215613189578384fd5b86359550602087013561319b816135d9565b945060408701359350606087013592506080870135915060a087013567ffffffffffffffff8111156131cb578182fd5b6131d789828a01612e61565b9150509295509295509295565b600080604083850312156131f6578182fd5b82359150602083013567ffffffffffffffff811115613213578182fd5b6130d985828601612e61565b600080600080600060a08688031215613236578283fd5b505083359560208501359550604085013594606081013594506080013592509050565b60008151808452613271816020860160208601613531565b601f01601f19169290920160200192915050565b60008351613297818460208801613531565b8351908301906132ab818360208801613531565b01949350505050565b6000835160206132c78285838901613531565b8454918401918390600181811c90808316806132e457607f831692505b85831081141561330257634e487b7160e01b88526022600452602488fd5b808015613316576001811461332757613353565b60ff19851688528388019550613353565b60008b815260209020895b8581101561334b5781548a820152908401908801613332565b505083880195505b50939a9950505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612d1090830184613259565b6020815260006124286020830184613259565b60208082526022908201527f63616c6c6572206973206e6f7420746865206578656375746f72206f72206f7760408201526132b960f11b606082015260800190565b60208082526035908201527f5468652061646472657373206f6620746f2063616e6e6f74206265207468652060408201527430b2323932b9b99037b3103a34329031b0b63632b960591b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006127e56040830184613259565b604051601f8201601f1916810167ffffffffffffffff811182821017156134b7576134b76135c3565b604052919050565b600067ffffffffffffffff8211156134d9576134d96135c3565b5060051b60200190565b600082198211156134f6576134f66135ad565b500190565b6000816000190483118215151615613515576135156135ad565b500290565b60008282101561352c5761352c6135ad565b500390565b60005b8381101561354c578181015183820152602001613534565b83811115611a195750506000910152565b600181811c9082168061357157607f821691505b60208210811415611c9957634e487b7160e01b600052602260045260246000fd5b60006000198214156135a6576135a66135ad565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461235257600080fd5b6001600160e01b03198116811461235257600080fdfea2646970667358221220368044ef01cdb65c1d7d67fcf73bc877bb39c23b6ea9cc7dd13301c0d205553d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f89a87b98be5edb88e9a662d8689db6865743605000000000000000000000000a4beafd706ed033076bc2a8c719042da0347849f00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000022b80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001568747470733a2f2f697066732e696f2f697066732f0000000000000000000000000000000000000000000000000000000000000000000000000000000000003b6261666b72656966696d7732376b686c3765623735653768773665667a336569327a6562727a7762716f793266723736696b77756375326a3334790000000000
-----Decoded View---------------
Arg [0] : _executorAddress (address): 0xF89A87B98Be5EDB88E9A662D8689db6865743605
Arg [1] : _whitelistAddress (address): 0xa4BeaFd706eD033076BC2a8c719042DA0347849F
Arg [2] : _baseTokenURI (string): https://ipfs.io/ipfs/
Arg [3] : _openBoxBeforeTokenURI (string): bafkreifimw27khl7eb75e7hw6efz3ei2zebrzwbqoy2fr76ikwucu2j34y
Arg [4] : _maxTotalSupply (uint256): 8888
Arg [5] : _openBoxTime (uint256): 0
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 000000000000000000000000f89a87b98be5edb88e9a662d8689db6865743605
Arg [1] : 000000000000000000000000a4beafd706ed033076bc2a8c719042da0347849f
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 00000000000000000000000000000000000000000000000000000000000022b8
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000015
Arg [7] : 68747470733a2f2f697066732e696f2f697066732f0000000000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000003b
Arg [9] : 6261666b72656966696d7732376b686c3765623735653768773665667a336569
Arg [10] : 327a6562727a7762716f793266723736696b77756375326a3334790000000000
Deployed Bytecode Sourcemap
82258:13644:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43636:636;;;;;;;;;;-1:-1:-1;43636:636:0;;;;;:::i;:::-;;:::i;:::-;;;11608:14:1;;11601:22;11583:41;;11571:2;11556:18;43636:636:0;;;;;;;;44535:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;50926:218::-;;;;;;;;;;-1:-1:-1;50926:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;10906:32:1;;;10888:51;;10876:2;10861:18;50926:218:0;10843:102:1;94510:197:0;;;;;;:::i;:::-;;:::i;:::-;;95700;;;;;;;;;;-1:-1:-1;95700:197:0;;;;;:::i;:::-;;:::i;82932:35::-;;;;;;;;;;;;;:::i;89909:572::-;;;;;;;;;;-1:-1:-1;89909:572:0;;;;;:::i;:::-;;:::i;88419:163::-;;;;;;;;;;-1:-1:-1;88419:163:0;;;;;:::i;:::-;;:::i;40313:311::-;;;;;;;;;;-1:-1:-1;40579:12:0;;40374:7;40563:13;:28;40313:311;;;24786:25:1;;;24774:2;24759:18;40313:311:0;24741:76:1;54538:2735:0;;;;;;:::i;:::-;;:::i;82832:33::-;;;;;;;;;;;;;;;;87259:525;;;;;;;;;;-1:-1:-1;87259:525:0;;;;;:::i;:::-;;:::i;:::-;;;;27076:25:1;;;27132:2;27117:18;;27110:34;;;;27160:18;;;27153:34;;;;27218:2;27203:18;;27196:34;27261:3;27246:19;;27239:35;27305:3;27290:19;;27283:35;27063:3;27048:19;87259:525:0;27030:294:1;88000:200:0;;;;;;;;;;;;;:::i;87792:::-;;;;;;;;;;-1:-1:-1;87792:200:0;;;;;:::i;:::-;;:::i;57369:193::-;;;;;;:::i;:::-;;:::i;82899:26::-;;;;;;;;;;;;;;;;89366:157;;;;;;;;;;-1:-1:-1;89366:157:0;;;;;:::i;:::-;;:::i;88590:510::-;;;;;;;;;;-1:-1:-1;88590:510:0;;;;;:::i;:::-;;:::i;95430:140::-;;;;;;;;;;-1:-1:-1;95430:140:0;;;;;:::i;:::-;;:::i;45928:152::-;;;;;;;;;;-1:-1:-1;45928:152:0;;;;;:::i;:::-;;:::i;41473:233::-;;;;;;;;;;-1:-1:-1;41473:233:0;;;;;:::i;:::-;;:::i;24778:94::-;;;;;;;;;;;;;:::i;95281:141::-;;;;;;;;;;-1:-1:-1;95281:141:0;;;;;:::i;:::-;;:::i;93748:276::-;;;;;;;;;;-1:-1:-1;93748:276:0;;;;;:::i;:::-;;:::i;24127:87::-;;;;;;;;;;-1:-1:-1;24200:6:0;;-1:-1:-1;;;;;24200:6:0;24127:87;;88208:203;;;;;;;;;;;;;:::i;44711:104::-;;;;;;;;;;;;;:::i;89717:184::-;;;;;;;;;;-1:-1:-1;89717:184:0;;;;;:::i;:::-;;:::i;95047:226::-;;;;;;;;;;-1:-1:-1;95047:226:0;;;;;:::i;:::-;;:::i;82570:58::-;;;;;;;;;;-1:-1:-1;82570:58:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;86201:1050;;;;;;;;;;-1:-1:-1;86201:1050:0;;;;;:::i;:::-;;:::i;58160:407::-;;;;;;:::i;:::-;;:::i;95578:114::-;;;;;;;;;;-1:-1:-1;95578:114:0;;;;;:::i;:::-;;:::i;89531:178::-;;;;;;;;;;-1:-1:-1;89531:178:0;;;;;:::i;:::-;;:::i;85500:693::-;;;;;;;;;;-1:-1:-1;85500:693:0;;;;;:::i;:::-;;:::i;92645:1095::-;;;;;;:::i;:::-;;:::i;82486:26::-;;;;;;;;;;;;;:::i;89108:250::-;;;;;;;;;;-1:-1:-1;89108:250:0;;;;;:::i;:::-;;:::i;82758:30::-;;;;;;;;;;;;;;;;51875:164;;;;;;;;;;-1:-1:-1;51875:164:0;;;;;:::i;:::-;;:::i;90489:1058::-;;;;;;;;;;-1:-1:-1;90489:1058:0;;;;;:::i;:::-;;:::i;:::-;;;;25862:25:1;;;25930:14;;25923:22;25918:2;25903:18;;25896:50;25962:18;;;25955:34;25850:2;25835:18;90489:1058:0;25817:178:1;25027:192:0;;;;;;;;;;-1:-1:-1;25027:192:0;;;;;:::i;:::-;;:::i;43636:636::-;43721:4;-1:-1:-1;;;;;;;;;44041:25:0;;;;:98;;-1:-1:-1;;;;;;;;;;44114:25:0;;;44041:98;:171;;;-1:-1:-1;;;;;;;;;;44187:25:0;;;44041:171;44025:187;43636:636;-1:-1:-1;;43636:636:0:o;44535:100::-;44589:13;44622:5;44615:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44535:100;:::o;50926:218::-;51002:7;51027:16;51035:7;51027;:16::i;:::-;51022:64;;51052:34;;-1:-1:-1;;;51052:34:0;;;;;;;;;;;51022:64;-1:-1:-1;51106:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;51106:30:0;;50926:218::o;94510:197::-;-1:-1:-1;;;;;94607:22:0;;;;;;:18;:22;;;;;;;;:31;94599:63;;;;-1:-1:-1;;;94599:63:0;;20574:2:1;94599:63:0;;;20556:21:1;20613:2;20593:18;;;20586:30;-1:-1:-1;;;20632:18:1;;;20625:49;20691:18;;94599:63:0;;;;;;;;;94673:26;94687:2;94691:7;94673:13;:26::i;:::-;94510:197;;:::o;95700:::-;24200:6;;-1:-1:-1;;;;;24200:6:0;23085:10;24347:23;24339:68;;;;-1:-1:-1;;;24339:68:0;;;;;;;:::i;:::-;95770:12:::1;95787:2;-1:-1:-1::0;;;;;95787:7:0::1;95801:5;95816:21;95787:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95769:73;;;95861:7;95853:36;;;::::0;-1:-1:-1;;;95853:36:0;;21633:2:1;95853:36:0::1;::::0;::::1;21615:21:1::0;21672:2;21652:18;;;21645:30;-1:-1:-1;;;21691:18:1;;;21684:46;21747:18;;95853:36:0::1;21605:166:1::0;82932:35:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;89909:572::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;84982:5:::1;::::0;-1:-1:-1;;;84982:5:0;::::1;;;84981:6;84973:37;;;::::0;-1:-1:-1;;;84973:37:0;;21978:2:1;84973:37:0::1;::::0;::::1;21960:21:1::0;22017:2;21997:18;;;21990:30;-1:-1:-1;;;22036:18:1;;;22029:48;22094:18;;84973:37:0::1;21950:168:1::0;84973:37:0::1;90010:10:::2;90024:9;90010:23;90002:47;;;::::0;-1:-1:-1;;;90002:47:0;;16851:2:1;90002:47:0::2;::::0;::::2;16833:21:1::0;16890:2;16870:18;;;16863:30;-1:-1:-1;;;16909:18:1;;;16902:41;16960:18;;90002:47:0::2;16823:161:1::0;90002:47:0::2;-1:-1:-1::0;;;;;90068:16:0;::::2;90074:10;90068:16;90060:82;;;;-1:-1:-1::0;;;90060:82:0::2;;;;;;;:::i;:::-;90161:15;::::0;-1:-1:-1;;;;;90161:15:0::2;90180:10;90161:29;90153:97;;;::::0;-1:-1:-1;;;90153:97:0;;23730:2:1;90153:97:0::2;::::0;::::2;23712:21:1::0;23769:2;23749:18;;;23742:30;23808:34;23788:18;;;23781:62;23879:25;23859:18;;;23852:53;23922:19;;90153:97:0::2;23702:245:1::0;90153:97:0::2;90271:14;::::0;:19;;:67:::2;;;90324:14;;90294:27;90312:8;90294:13;40579:12:::0;;40374:7;40563:13;:28;;40313:311;90294:13:::2;:17:::0;::::2;:27::i;:::-;:44;90271:67;90263:110;;;::::0;-1:-1:-1;;;90263:110:0;;23371:2:1;90263:110:0::2;::::0;::::2;23353:21:1::0;23410:2;23390:18;;;23383:30;23449:32;23429:18;;;23422:60;23499:18;;90263:110:0::2;23343:180:1::0;90263:110:0::2;90386:19;90392:2;90396:8;90386:5;:19::i;:::-;90421:52;90434:1;90454;90437:14;40055:7:::0;40082:13;;40000:103;90437:14:::2;:18;;;;:::i;:::-;90421:52;::::0;;12313:25:1;;;12369:2;12354:18;;12347:34;;;;-1:-1:-1;;;;;12417:32:1;;12397:18;;;12390:60;12481:2;12466:18;;12459:34;;;90471:1:0::2;12524:3:1::0;12509:19;;12502:35;12300:3;12285:19;90421:52:0::2;;;;;;;;89909:572:::0;;:::o;88419:163::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;88507:18:::1;::::0;;;:9:::1;:18;::::0;;;;;;;:24;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;88547:27;88561:7;88570:3;88547:27;;;;;;;:::i;54538:2735::-:0;54680:27;54710;54729:7;54710:18;:27::i;:::-;54680:57;;54795:4;-1:-1:-1;;;;;54754:45:0;54770:19;-1:-1:-1;;;;;54754:45:0;;54750:86;;54808:28;;-1:-1:-1;;;54808:28:0;;;;;;;;;;;54750:86;54850:27;53646:24;;;:15;:24;;;;;53874:26;;23085:10;53283:30;;;-1:-1:-1;;;;;52984:28:0;;53261:20;;;53258:56;55036:180;;55129:43;55146:4;23085:10;51875:164;:::i;55129:43::-;55124:92;;55181:35;;-1:-1:-1;;;55181:35:0;;;;;;;;;;;55124:92;-1:-1:-1;;;;;55233:16:0;;55229:52;;55258:23;;-1:-1:-1;;;55258:23:0;;;;;;;;;;;55229:52;55430:15;55427:2;;;55566:1;55545:19;55538:30;55427:2;-1:-1:-1;;;;;55951:24:0;;;;;;;:18;:24;;;;;;55949:26;;-1:-1:-1;;55949:26:0;;;56025:22;;;;;;;;;56023:24;;-1:-1:-1;56023:24:0;;;49221:11;49196:23;49192:41;49179:63;-1:-1:-1;;;49179:63:0;56303:26;;;;:17;:26;;;;;:163;-1:-1:-1;;;56578:47:0;;56574:587;;56679:1;56669:11;;56647:19;56794:30;;;:17;:30;;;;;;56790:360;;56924:13;;56909:11;:28;56905:230;;57063:30;;;;:17;:30;;;;;:52;;;56905:230;56574:587;;57204:7;57200:2;-1:-1:-1;;;;;57185:27:0;57194:4;-1:-1:-1;;;;;57185:27:0;;;;;;;;;;;54538:2735;;;;;;:::o;87259:525::-;87327:15;;;;;;23085:10;85183:15;;-1:-1:-1;;;;;85183:15:0;;;:31;;;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;87458:1:::1;87446:9;:13;87438:38;;;::::0;-1:-1:-1;;;87438:38:0;;15330:2:1;87438:38:0::1;::::0;::::1;15312:21:1::0;15369:2;15349:18;;;15342:30;-1:-1:-1;;;15388:18:1;;;15381:42;15440:18;;87438:38:0::1;15302:162:1::0;87438:38:0::1;87503:9;:16:::0;87534:20;;::::1;87530:78;;;87579:1;87582::::0;87585::::1;87588::::0;87591::::1;87594::::0;87571:25:::1;;;;;;;;;;;;;;;87530:78;87618:18;87639:9;87649:16;:9:::0;87663:1:::1;87649:13;:16::i;:::-;87639:27;;;;;;-1:-1:-1::0;;;87639:27:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;;87618:48:::1;::::0;;::::1;::::0;::::1;::::0;;87639:27:::1;::::0;;::::1;::::0;;::::1;87618:48:::0;;;;;::::1;::::0;::::1;::::0;;;::::1;::::0;;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;87685:9;;-1:-1:-1;87618:48:0;-1:-1:-1;87618:48:0;;-1:-1:-1;87618:48:0;-1:-1:-1;87618:48:0;;-1:-1:-1;87618:48:0;-1:-1:-1;;;85264:1:0::1;87259:525:::0;;;;;;;:::o;88000:200::-;24200:6;;88051:24;;-1:-1:-1;;;;;24200:6:0;23085:10;88091:23;88087:73;;-1:-1:-1;88146:1:0;;88000:200::o;88087:73::-;-1:-1:-1;88177:15:0;;-1:-1:-1;;;;;88177:15:0;;88000:200::o;87792:::-;85183:15;;87864:13;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;87894:16:::1;87902:7;87894;:16::i;:::-;87889:59;;87919:29;;-1:-1:-1::0;;;87919:29:0::1;;;;;;;;;;;87889:59;87966:18;::::0;;;:9:::1;:18;::::0;;;;87959:25;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;85264:1;87792:200:::0;;;:::o;57369:193::-;57515:39;57532:4;57538:2;57542:7;57515:39;;;;;;;;;;;;:16;:39::i;:::-;57369:193;;;:::o;89366:157::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;89443:11:::1;:26:::0;;;89485:30:::1;::::0;24786:25:1;;;89485:30:0::1;::::0;24774:2:1;24759:18;89485:30:0::1;;;;;;;;89366:157:::0;:::o;88590:510::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;88710:18;;88702:55:::1;;;::::0;-1:-1:-1;;;88702:55:0;;17191:2:1;88702:55:0::1;::::0;::::1;17173:21:1::0;17230:2;17210:18;;;17203:30;-1:-1:-1;;;17249:18:1;;;17242:49;17308:18;;88702:55:0::1;17163:169:1::0;88702:55:0::1;88798:7;:14;88776:11;:18;:36;88768:68;;;::::0;-1:-1:-1;;;88768:68:0;;24154:2:1;88768:68:0::1;::::0;::::1;24136:21:1::0;24193:2;24173:18;;;24166:30;-1:-1:-1;;;24212:18:1;;;24205:49;24271:18;;88768:68:0::1;24126:169:1::0;88768:68:0::1;88877:2;88855:11;:18;:24;;88847:50;;;::::0;-1:-1:-1;;;88847:50:0;;17942:2:1;88847:50:0::1;::::0;::::1;17924:21:1::0;17981:2;17961:18;;;17954:30;-1:-1:-1;;;18000:18:1;;;17993:43;18053:18;;88847:50:0::1;17914:163:1::0;88847:50:0::1;88913:6;88908:185;88925:11;:18;88921:1;:22;88908:185;;;88965:15;88983:11;88995:1;88983:14;;;;;;-1:-1:-1::0;;;88983:14:0::1;;;;;;;;;;;;;;;88965:32;;89012:17;89032:7;89040:1;89032:10;;;;;;-1:-1:-1::0;;;89032:10:0::1;;;;;;;;;;;;;;;89012:30;;89078:3;89057:9;:18;89067:7;89057:18;;;;;;;;;;;:24;;;;;;;;;;;;:::i;:::-;;88908:185;;88945:3;;;;;:::i;:::-;;;;88908:185;;95430:140:::0;85183:15;;95511:4;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;;95534:28:0::1;;::::0;;;:18:::1;:28;::::0;;;;;::::1;;::::0;95430:140::o;45928:152::-;46000:7;46043:27;46062:7;46043:18;:27::i;41473:233::-;41545:7;-1:-1:-1;;;;;41569:19:0;;41565:60;;41597:28;;-1:-1:-1;;;41597:28:0;;;;;;;;;;;41565:60;-1:-1:-1;;;;;;41643:25:0;;;;;:18;:25;;;;;;35660:13;41643:55;;41473:233::o;24778:94::-;24200:6;;-1:-1:-1;;;;;24200:6:0;23085:10;24347:23;24339:68;;;;-1:-1:-1;;;24339:68:0;;;;;;;:::i;:::-;24843:21:::1;24861:1;24843:9;:21::i;:::-;24778:94::o:0;95281:141::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;95375:28:0;;;::::1;;::::0;;;:18:::1;:28;::::0;;;;:39;;-1:-1:-1;;95375:39:0::1;::::0;::::1;;::::0;;;::::1;::::0;;95281:141::o;93748:276::-;93948:54;;;;;;25431:25:1;;;-1:-1:-1;;;;;25492:32:1;;25472:18;;;25465:60;;;;25541:18;;;25534:34;;;25584:18;;;25577:34;;;25627:19;;;25620:35;;;93898:7:0;;93924:92;;25403:19:1;;93948:54:0;;;;;;;;;;;;93938:65;;;;;;94005:10;93924:13;:92::i;:::-;93917:99;93748:276;-1:-1:-1;;;;;;;93748:276:0:o;88208:203::-;24200:6;;88260:25;;-1:-1:-1;;;;;24200:6:0;23085:10;88301:23;88297:73;;-1:-1:-1;88356:1:0;;88208:203::o;88297:73::-;-1:-1:-1;88387:16:0;;-1:-1:-1;;;;;88387:16:0;;88208:203::o;44711:104::-;44767:13;44800:7;44793:14;;;;;:::i;89717:184::-;24200:6;;-1:-1:-1;;;;;24200:6:0;23085:10;24347:23;24339:68;;;;-1:-1:-1;;;24339:68:0;;;;;;;:::i;:::-;89801:16:::1;:36:::0;;-1:-1:-1;;;;;;89801:36:0::1;-1:-1:-1::0;;;;;89801:36:0;::::1;::::0;;::::1;::::0;;;89853:40:::1;::::0;10888:51:1;;;89853:40:0::1;::::0;10876:2:1;10861:18;89853:40:0::1;10843:102:1::0;95047:226:0;-1:-1:-1;;;;;95150:28:0;;;;;;:18;:28;;;;;;;;:37;95142:69;;;;-1:-1:-1;;;95142:69:0;;20574:2:1;95142:69:0;;;20556:21:1;20613:2;20593:18;;;20586:30;-1:-1:-1;;;20632:18:1;;;20625:49;20691:18;;95142:69:0;20546:169:1;95142:69:0;95222:43;95246:8;95256;95222:23;:43::i;86201:1050::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;86356:1:::1;86344:9;:13;:30;;;;;86373:1;86361:9;:13;86344:30;86336:55;;;::::0;-1:-1:-1;;;86336:55:0;;15330:2:1;86336:55:0::1;::::0;::::1;15312:21:1::0;15369:2;15349:18;;;15342:30;-1:-1:-1;;;15388:18:1;;;15381:42;15440:18;;86336:55:0::1;15302:162:1::0;86336:55:0::1;86422:7;86410:9;:19;86402:88;;;::::0;-1:-1:-1;;;86402:88:0;;20149:2:1;86402:88:0::1;::::0;::::1;20131:21:1::0;20188:2;20168:18;;;20161:30;20227:34;20207:18;;;20200:62;20298:26;20278:18;;;20271:54;20342:19;;86402:88:0::1;20121:246:1::0;86402:88:0::1;86519:15;86509:7;:25;86501:82;;;::::0;-1:-1:-1;;;86501:82:0;;14103:2:1;86501:82:0::1;::::0;::::1;14085:21:1::0;14142:2;14122:18;;;14115:30;14181:34;14161:18;;;14154:62;-1:-1:-1;;;14232:18:1;;;14225:42;14284:19;;86501:82:0::1;14075:234:1::0;86501:82:0::1;86602:17:::0;86594:61:::1;;;::::0;-1:-1:-1;;;86594:61:0;;21273:2:1;86594:61:0::1;::::0;::::1;21255:21:1::0;21312:2;21292:18;;;21285:30;21351:33;21331:18;;;21324:61;21402:18;;86594:61:0::1;21245:181:1::0;86594:61:0::1;86682:9;:16:::0;86713:21;;::::1;86709:171;;86756:6;86751:118;86768:23;:9:::0;86782:8;86768:13:::1;:23::i;:::-;86764:1;:27;86751:118;;;86832:20;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;86832:20:0;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;86817:9:::1;:36:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;86793:3;::::1;::::0;::::1;:::i;:::-;;;;86751:118;;;;86709:171;86890:10;86903:16;:9:::0;86917:1:::1;86903:13;:16::i;:::-;86890:29;;86930:19;86952:9;86962:5;86952:16;;;;;;-1:-1:-1::0;;;86952:16:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;86979:27:::0;;;87017:13:::1;::::0;::::1;:23:::0;;;87051:17:::1;::::0;::::1;:32:::0;;;87094:11:::1;::::0;::::1;:19:::0;;;87124:9:::1;:16:::0;;86952;;-1:-1:-1;86952:16:0;;87134:5;;87124:16;::::1;;;-1:-1:-1::0;;;87124:16:0::1;;;;;;;;;;::::0;;;::::1;::::0;;;;:24;;:16:::1;::::0;;::::1;;:24:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;::::1;::::0;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;87220:15;;::::1;::::0;87164:79:::1;::::0;;27076:25:1;;;27117:18;;;27110:34;;;27160:18;;27153:34;;;27218:2;27203:18;;27196:34;;;27261:3;27246:19;;27239:35;27305:3;27290:19;;27283:35;;;87164:79:0::1;::::0;27063:3:1;27048:19;87164:79:0::1;;;;;;;85264:1;;;86201:1050:::0;;;;;:::o;58160:407::-;58335:31;58348:4;58354:2;58358:7;58335:12;:31::i;:::-;-1:-1:-1;;;;;58381:14:0;;;:19;58377:183;;58420:56;58451:4;58457:2;58461:7;58470:5;58420:30;:56::i;:::-;58415:145;;58504:40;;-1:-1:-1;;;58504:40:0;;;;;;;;;;;58415:145;58160:407;;;;:::o;95578:114::-;24200:6;;-1:-1:-1;;;;;24200:6:0;23085:10;24347:23;24339:68;;;;-1:-1:-1;;;24339:68:0;;;;;;;:::i;:::-;95637:5:::1;:14:::0;;-1:-1:-1;;;;95637:14:0::1;-1:-1:-1::0;;;95637:14:0;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;95667:17:::1;::::0;95637:14:::1;95678:5:::0;;;::::1;;11608:14:1::0;11601:22;11583:41;;95667:17:0::1;::::0;11571:2:1;11556:18;95667:17:0::1;11538:92:1::0;89531:178:0;24200:6;;-1:-1:-1;;;;;24200:6:0;23085:10;24347:23;24339:68;;;;-1:-1:-1;;;24339:68:0;;;;;;;:::i;:::-;89613:15:::1;:34:::0;;-1:-1:-1;;;;;;89613:34:0::1;-1:-1:-1::0;;;;;89613:34:0;::::1;::::0;;::::1;::::0;;;89663:38:::1;::::0;10888:51:1;;;89663:38:0::1;::::0;10876:2:1;10861:18;89663:38:0::1;10843:102:1::0;85500:693:0;85573:13;85604:16;85612:7;85604;:16::i;:::-;85599:59;;85629:29;;-1:-1:-1;;;85629:29:0;;;;;;;;;;;85599:59;85669:21;85693:10;:8;:10::i;:::-;85669:34;;85724:7;85718:21;85743:1;85718:26;85714:68;;;-1:-1:-1;;85761:9:0;;;;;;;;;-1:-1:-1;85761:9:0;;;85500:693;-1:-1:-1;85500:693:0:o;85714:68::-;85798:11;;:16;;:49;;;85832:15;85818:11;;:29;85798:49;85794:392;;;85874:21;85868:35;;;;;:::i;:::-;:40;85864:90;;-1:-1:-1;85864:90:0;;-1:-1:-1;;85929:9:0;;;;;;;;;-1:-1:-1;85929:9:0;;;85500:693;-1:-1:-1;85500:693:0:o;85864:90::-;85999:7;86008:21;85982:48;;;;;;;;;:::i;:::-;;;;;;;;;;;;;85968:63;;;85500:693;;;:::o;85794:392::-;86064:23;86090:18;;;:9;:18;;;;;86064:44;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86154:7;86163:9;86137:36;;;;;;;;;:::i;:::-;;;;;;;;;;;;;86123:51;;;;85500:693;;;:::o;85794:392::-;85500:693;;;;:::o;92645:1095::-;84982:5;;-1:-1:-1;;;84982:5:0;;;;84981:6;84973:37;;;;-1:-1:-1;;;84973:37:0;;21978:2:1;84973:37:0;;;21960:21:1;22017:2;21997:18;;;21990:30;-1:-1:-1;;;22036:18:1;;;22029:48;22094:18;;84973:37:0;21950:168:1;84973:37:0;85076:9:::1;:16:::0;85068:46:::1;;;::::0;-1:-1:-1;;;85068:46:0;;22685:2:1;85068:46:0::1;::::0;::::1;22667:21:1::0;22724:2;22704:18;;;22697:30;-1:-1:-1;;;22743:18:1;;;22736:43;22796:18;;85068:46:0::1;22657:163:1::0;85068:46:0::1;92819:10:::2;92833:9;92819:23;92811:47;;;::::0;-1:-1:-1;;;92811:47:0;;16851:2:1;92811:47:0::2;::::0;::::2;16833:21:1::0;16890:2;16870:18;;;16863:30;-1:-1:-1;;;16909:18:1;;;16902:41;16960:18;;92811:47:0::2;16823:161:1::0;92811:47:0::2;-1:-1:-1::0;;;;;92877:16:0;::::2;92883:10;92877:16;92869:82;;;;-1:-1:-1::0;;;92869:82:0::2;;;;;;;:::i;:::-;92964:19;92986:69;93000:9;93011:2;93015:8;93025:5;93032:10;93044;92986:13;:69::i;:::-;93089:16;::::0;92964:91;;-1:-1:-1;;;;;;93074:31:0;;::::2;93089:16:::0;::::2;93074:31;93066:70;;;::::0;-1:-1:-1;;;93066:70:0;;16074:2:1;93066:70:0::2;::::0;::::2;16056:21:1::0;16113:2;16093:18;;;16086:30;16152:28;16132:18;;;16125:56;16198:18;;93066:70:0::2;16046:176:1::0;93066:70:0::2;93170:15;93157:10;:28;93149:60;;;::::0;-1:-1:-1;;;93149:60:0;;18629:2:1;93149:60:0::2;::::0;::::2;18611:21:1::0;18668:2;18648:18;;;18641:30;-1:-1:-1;;;18687:18:1;;;18680:49;18746:18;;93149:60:0::2;18601:169:1::0;93149:60:0::2;93230:11;::::0;:16;;:43:::2;;;93265:8;93250:11;;:23;;93230:43;93222:103;;;::::0;-1:-1:-1;;;93222:103:0;;13327:2:1;93222:103:0::2;::::0;::::2;13309:21:1::0;13366:2;13346:18;;;13339:30;13405:34;13385:18;;;13378:62;-1:-1:-1;;;13456:18:1;;;13449:45;13511:19;;93222:103:0::2;13299:237:1::0;93222:103:0::2;93344:14;::::0;:19;;:67:::2;;;93397:14;;93367:27;93385:8;93367:13;40579:12:::0;;40374:7;40563:13;:28;;40313:311;93367:27:::2;:44;93344:67;93336:110;;;::::0;-1:-1:-1;;;93336:110:0;;23371:2:1;93336:110:0::2;::::0;::::2;23353:21:1::0;23410:2;23390:18;;;23383:30;23449:32;23429:18;;;23422:60;23499:18;;93336:110:0::2;23343:180:1::0;93336:110:0::2;93466:20;::::0;;;:9:::2;:20;::::0;;;;;;;-1:-1:-1;;;;;93466:24:0;::::2;::::0;;;;;;;;::::2;;93465:25;93457:69;;;::::0;-1:-1:-1;;;93457:69:0;;22325:2:1;93457:69:0::2;::::0;::::2;22307:21:1::0;22364:2;22344:18;;;22337:30;22403:33;22383:18;;;22376:61;22454:18;;93457:69:0::2;22297:181:1::0;93457:69:0::2;93537:43;93549:9;93560:2;93564:8;93574:5;93537:11;:43::i;:::-;93591:20;::::0;;;:9:::2;:20;::::0;;;;;;;-1:-1:-1;;;;;93591:24:0;::::2;::::0;;;;;;;:31;;-1:-1:-1;;93591:31:0::2;93618:4;93591:31;::::0;;93633:19:::2;93612:2:::0;93643:8;93633:5:::2;:19::i;:::-;93668:64;93681:9;93709:1;93692:14;40055:7:::0;40082:13;;40000:103;93692:14:::2;:18;;;;:::i;:::-;93668:64;::::0;;12313:25:1;;;12369:2;12354:18;;12347:34;;;;-1:-1:-1;;;;;12417:32:1;;12397:18;;;12390:60;12481:2;12466:18;;12459:34;;;12524:3;12509:19;;12502:35;;;12300:3;12285:19;93668:64:0::2;;;;;;;85125:1;92645:1095:::0;;;;;;:::o;82486:26::-;;;;;;;:::i;89108:250::-;85183:15;;-1:-1:-1;;;;;85183:15:0;23085:10;85183:31;85175:78;;;;-1:-1:-1;;;85175:78:0;;;;;;;:::i;:::-;89208:15:::1;89193:12;:30;89185:82;;;::::0;-1:-1:-1;;;89185:82:0;;18977:2:1;89185:82:0::1;::::0;::::1;18959:21:1::0;19016:2;18996:18;;;18989:30;19055:34;19035:18;;;19028:62;-1:-1:-1;;;19106:18:1;;;19099:37;19153:19;;89185:82:0::1;18949:229:1::0;89185:82:0::1;89278:11;:26:::0;;;89320:30:::1;::::0;24786:25:1;;;89320:30:0::1;::::0;24774:2:1;24759:18;89320:30:0::1;24741:76:1::0;51875:164:0;-1:-1:-1;;;;;51996:25:0;;;51972:4;51996:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;51875:164::o;90489:1058::-;90611:9;:16;90544:11;;;;;;90660:15;90544:11;90686:787;90703:8;90699:1;:12;90686:787;;;90733:18;90754:9;90764:1;90754:12;;;;;;-1:-1:-1;;;90754:12:0;;;;;;;;;;;;;;;;;;;90733:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90781:14;90798:8;90804:1;90798;:5;;:8;;;;:::i;:::-;90837:11;;;;90918:15;;90781:25;;-1:-1:-1;90837:11:0;90903:30;;;;;:62;;;90952:5;:13;;;90937:11;:28;;90903:62;90899:563;;;-1:-1:-1;;;;;90990:16:0;;90986:135;;91077:9;;-1:-1:-1;91088:5:0;;-1:-1:-1;91095:5:0;-1:-1:-1;91069:32:0;;-1:-1:-1;;;;91069:32:0;90986:135;91164:15;;;;91225:17;;;;91265:34;;;91261:115;;-1:-1:-1;91332:9:0;;-1:-1:-1;91343:5:0;;-1:-1:-1;91350:5:0;-1:-1:-1;91324:32:0;;-1:-1:-1;;;;;91324:32:0;91261:115;-1:-1:-1;;91414:20:0;;;;:9;:20;;;;;;;;-1:-1:-1;;;;;91414:24:0;;;;;;;;;;91402:9;;-1:-1:-1;91414:24:0;;;;91413:25;;-1:-1:-1;91440:5:0;-1:-1:-1;91394:52:0;;-1:-1:-1;;;;91394:52:0;90899:563;90686:787;;;90713:3;;;;;:::i;:::-;;;;90686:787;;;;91527:1;91530:5;91537:1;91519:20;;;;;;;;90489:1058;;;;;;:::o;25027:192::-;24200:6;;-1:-1:-1;;;;;24200:6:0;23085:10;24347:23;24339:68;;;;-1:-1:-1;;;24339:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;25116:22:0;::::1;25108:73;;;::::0;-1:-1:-1;;;25108:73:0;;14923:2:1;25108:73:0::1;::::0;::::1;14905:21:1::0;14962:2;14942:18;;;14935:30;15001:34;14981:18;;;14974:62;-1:-1:-1;;;15052:18:1;;;15045:36;15098:19;;25108:73:0::1;14895:228:1::0;25108:73:0::1;25192:19;25202:8;25192:9;:19::i;:::-;25027:192:::0;:::o;52297:279::-;52362:4;52444:13;;52434:7;:23;52395:145;;;;-1:-1:-1;;52491:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;52491:44:0;:49;;52297:279::o;50359:408::-;50448:13;50464:16;50472:7;50464;:16::i;:::-;50448:32;-1:-1:-1;23085:10:0;-1:-1:-1;;;;;50497:28:0;;;50493:175;;50545:44;50562:5;23085:10;51875:164;:::i;50545:44::-;50540:128;;50617:35;;-1:-1:-1;;;50617:35:0;;;;;;;;;;;50540:128;50680:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;50680:35:0;-1:-1:-1;;;;;50680:35:0;;;;;;;;;50731:28;;50680:24;;50731:28;;;;;;;50359:408;;;:::o;2624:98::-;2682:7;2709:5;2713:1;2709;:5;:::i;:::-;2702:12;2624:98;-1:-1:-1;;;2624:98:0:o;61829:2722::-;61902:20;61925:13;61953;61949:44;;61975:18;;-1:-1:-1;;;61975:18:0;;;;;;;;;;;61949:44;-1:-1:-1;;;;;62453:22:0;;;;;;:18;:22;;;;35798:2;62453:22;;;:71;;62491:32;62479:45;;62453:71;;;62743:31;;;:17;:31;;;;;-1:-1:-1;49648:15:0;;49622:24;49618:46;49221:11;49196:23;49192:41;49189:52;49179:63;;62743:161;;62958:23;;;;62743:31;;62453:22;;63655:25;62453:22;;63532:283;64109:1;64095:12;64091:20;64053:314;64146:3;64137:7;64134:16;64053:314;;64344:7;64334:8;64331:1;64304:25;64301:1;64298;64293:59;64195:1;64182:15;64053:314;;;-1:-1:-1;64392:13:0;64388:45;;64414:19;;-1:-1:-1;;;64414:19:0;;;;;;;;;;;64388:45;64446:13;:19;-1:-1:-1;57369:193:0;;;:::o;47083:1187::-;47150:7;47185;47275:13;;47268:4;:20;47264:943;;;47309:14;47326:23;;;:17;:23;;;;;;-1:-1:-1;;;47407:24:0;;47403:789;;48032:105;48039:11;48032:105;;-1:-1:-1;;;48106:6:0;48088:25;;;;:17;:25;;;;;;48032:105;;47403:789;47264:943;;48231:31;;-1:-1:-1;;;48231:31:0;;;;;;;;;;;3005:98;3063:7;3090:5;3094:1;3090;:5;:::i;25227:173::-;25302:6;;;-1:-1:-1;;;;;25319:17:0;;;-1:-1:-1;;;;;;25319:17:0;;;;;;;25352:40;;25302:6;;;25319:17;25302:6;;25352:40;;25283:16;;25352:40;25227:173;;:::o;7994:1270::-;8072:7;8292:9;:16;8312:2;8292:22;8288:969;;;8588:4;8573:20;;8567:27;8638:4;8623:20;;8617:27;8696:4;8681:20;;8675:27;8331:9;8667:36;8739:22;8747:4;8667:36;8567:27;8617;8739:7;:22::i;:::-;8732:29;;;;;;;8288:969;8783:9;:16;8803:2;8783:22;8779:478;;;9058:4;9043:20;;9037:27;9109:4;9094:20;;9088:27;9151:20;9159:4;9037:27;9088;9151:7;:20::i;:::-;9144:27;;;;;;8779:478;9204:41;;-1:-1:-1;;;9204:41:0;;13743:2:1;9204:41:0;;;13725:21:1;13782:2;13762:18;;;13755:30;13821:33;13801:18;;;13794:61;13872:18;;9204:41:0;13715:181:1;51484:234:0;23085:10;51579:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;51579:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;51579:60:0;;;;;;;;;;51655:55;;11583:41:1;;;51579:49:0;;23085:10;51655:55;;11556:18:1;51655:55:0;;;;;;;51484:234;;:::o;60651:716::-;60835:88;;-1:-1:-1;;;60835:88:0;;60814:4;;-1:-1:-1;;;;;60835:45:0;;;;;:88;;23085:10;;60902:4;;60908:7;;60917:5;;60835:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60835:88:0;;;;;;;;-1:-1:-1;;60835:88:0;;;;;;;;;;;;:::i;:::-;;;60831:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;61118:13:0;;61114:235;;61164:40;;-1:-1:-1;;;61164:40:0;;;;;;;;;;;61114:235;61307:6;61301:13;61292:6;61288:2;61284:15;61277:38;60831:529;-1:-1:-1;;;;;;60994:64:0;-1:-1:-1;;;60994:64:0;;-1:-1:-1;60831:529:0;60651:716;;;;;;:::o;85281:113::-;85341:13;85374:12;85367:19;;;;;:::i;91555:1082::-;91677:1;91665:9;:13;:46;;;;-1:-1:-1;91695:9:0;:16;91682:29;;;91665:46;91657:81;;;;-1:-1:-1;;;91657:81:0;;20922:2:1;91657:81:0;;;20904:21:1;20961:2;20941:18;;;20934:30;-1:-1:-1;;;20980:18:1;;;20973:52;21042:18;;91657:81:0;20894:172:1;91657:81:0;91749:10;91762:16;:9;91776:1;91762:13;:16::i;:::-;91749:29;;91789:18;91810:9;91820:5;91810:16;;;;;;-1:-1:-1;;;91810:16:0;;;;;;;;;;;;;;;;;;91789:37;;;;;;;;91810:16;;;;;;;91789:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;91789:37:0;91949:15;91937:27;;:56;;;;;91986:7;91968:15;:25;91937:56;91929:85;;;;-1:-1:-1;;;91929:85:0;;18284:2:1;91929:85:0;;;18266:21:1;18323:2;18303:18;;;18296:30;-1:-1:-1;;;18342:18:1;;;18335:46;18398:18;;91929:85:0;18256:166:1;91929:85:0;92048:11;;;;92078:10;;;;;:33;;;92101:10;92092:5;:19;;92078:33;92070:61;;;;-1:-1:-1;;;92070:61:0;;23027:2:1;92070:61:0;;;23009:21:1;23066:2;23046:18;;;23039:30;-1:-1:-1;;;23085:18:1;;;23078:45;23140:18;;92070:61:0;22999:165:1;92070:61:0;92169:15;;;;92222:17;;;;;92258:28;92169:15;92277:8;92258:18;:28::i;:::-;:48;;92250:99;;;;-1:-1:-1;;;92250:99:0;;14516:2:1;92250:99:0;;;14498:21:1;14555:2;14535:18;;;14528:30;14594:34;14574:18;;;14567:62;-1:-1:-1;;;14645:18:1;;;14638:36;14691:19;;92250:99:0;14488:228:1;92250:99:0;92393:9;92370:19;:8;92383:5;92370:12;:19::i;:::-;:32;;92362:56;;;;-1:-1:-1;;;92362:56:0;;24502:2:1;92362:56:0;;;24484:21:1;24541:2;24521:18;;;24514:30;-1:-1:-1;;;24560:18:1;;;24553:41;24611:18;;92362:56:0;24474:161:1;92362:56:0;92431:20;92454:9;92464:5;92454:16;;;;;;-1:-1:-1;;;92454:16:0;;;;;;;;;;;;;;;;;;;92431:39;;92500:28;92519:8;92500:14;:18;;:28;;;;:::i;:::-;92481:6;:16;;:47;;;;92558:6;92539:9;92549:5;92539:16;;;;;;-1:-1:-1;;;92539:16:0;;;;;;;;;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92580:49;92597:9;92608:2;92612:6;:16;;;92580:49;;;;;;;25024:25:1;;;-1:-1:-1;;;;;25085:32:1;;;;25080:2;25065:18;;25058:60;25149:2;25134:18;;25127:34;25012:2;24997:18;;24979:188;92580:49:0;;;;;;;;91555:1082;;;;;;;;;;;;:::o;10026:1512::-;10154:7;11093:66;11079:80;;;11057:164;;;;-1:-1:-1;;;11057:164:0;;17539:2:1;11057:164:0;;;17521:21:1;17578:2;17558:18;;;17551:30;17617:34;17597:18;;;17590:62;-1:-1:-1;;;17668:18:1;;;17661:32;17710:19;;11057:164:0;17511:224:1;11057:164:0;11240:1;:7;;11245:2;11240:7;:18;;;;11251:1;:7;;11256:2;11251:7;11240:18;11232:65;;;;-1:-1:-1;;;11232:65:0;;19385:2:1;11232:65:0;;;19367:21:1;19424:2;19404:18;;;19397:30;19463:34;19443:18;;;19436:62;-1:-1:-1;;;19514:18:1;;;19507:32;19556:19;;11232:65:0;19357:224:1;11232:65:0;11412:24;;;11395:14;11412:24;;;;;;;;;11862:25:1;;;11935:4;11923:17;;11903:18;;;11896:45;;;;11957:18;;;11950:34;;;12000:18;;;11993:34;;;11412:24:0;;11834:19:1;;11412:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11412:24:0;;-1:-1:-1;;11412:24:0;;;-1:-1:-1;;;;;;;11455:20:0;;11447:57;;;;-1:-1:-1;;;11447:57:0;;12974:2:1;11447:57:0;;;12956:21:1;13013:2;12993:18;;;12986:30;13052:26;13032:18;;;13025:54;13096:18;;11447:57:0;12946:174:1;11447:57:0;11524:6;10026:1512;-1:-1:-1;;;;;10026:1512:0:o;9524:371::-;9635:7;-1:-1:-1;;;;;9722:75:0;;9824:3;9820:12;;;9834:2;9816:21;9865:22;9873:4;9816:21;9882:1;9722:75;9865:7;:22::i;:::-;9858:29;9524:371;-1:-1:-1;;;;;;9524:371:0:o;3362:98::-;3420:7;3447:5;3451:1;3447;:5;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:855:1;67:5;120:3;113:4;105:6;101:17;97:27;87:2;;142:5;135;128:20;87:2;182:6;169:20;208:4;232:59;248:42;287:2;248:42;:::i;:::-;232:59;:::i;:::-;313:3;337:2;332:3;325:15;365:2;360:3;356:12;349:19;;400:2;392:6;388:15;452:3;447:2;441;438:1;434:10;426:6;422:23;418:32;415:41;412:2;;;473:5;466;459:20;412:2;499:5;513:327;527:2;524:1;521:9;513:327;;;604:3;591:17;640:18;627:11;624:35;621:2;;;676:5;669;662:20;621:2;709:56;761:3;756:2;742:11;734:6;730:24;726:33;709:56;:::i;:::-;697:69;;-1:-1:-1;786:12:1;;;;818;;;;545:1;538:9;513:327;;;-1:-1:-1;858:5:1;;77:792;-1:-1:-1;;;;;;;77:792:1:o;874:160::-;939:20;;995:13;;988:21;978:32;;968:2;;1024:1;1021;1014:12;1039:550;1081:5;1134:3;1127:4;1119:6;1115:17;1111:27;1101:2;;1156:5;1149;1142:20;1101:2;1196:6;1183:20;1222:18;1218:2;1215:26;1212:2;;;1244:18;;:::i;:::-;1288:55;1331:2;1312:13;;-1:-1:-1;;1308:27:1;1337:4;1304:38;1288:55;:::i;:::-;1368:2;1359:7;1352:19;1414:3;1407:4;1402:2;1394:6;1390:15;1386:26;1383:35;1380:2;;;1435:5;1428;1421:20;1380:2;1504;1497:4;1489:6;1485:17;1478:4;1469:7;1465:18;1452:55;1527:16;;;1545:4;1523:27;1516:42;;;;1531:7;1091:498;-1:-1:-1;;1091:498:1:o;1594:257::-;1653:6;1706:2;1694:9;1685:7;1681:23;1677:32;1674:2;;;1727:6;1719;1712:22;1674:2;1771:9;1758:23;1790:31;1815:5;1790:31;:::i;2126:398::-;2194:6;2202;2255:2;2243:9;2234:7;2230:23;2226:32;2223:2;;;2276:6;2268;2261:22;2223:2;2320:9;2307:23;2339:31;2364:5;2339:31;:::i;:::-;2389:5;-1:-1:-1;2446:2:1;2431:18;;2418:32;2459:33;2418:32;2459:33;:::i;:::-;2511:7;2501:17;;;2213:311;;;;;:::o;2529:466::-;2606:6;2614;2622;2675:2;2663:9;2654:7;2650:23;2646:32;2643:2;;;2696:6;2688;2681:22;2643:2;2740:9;2727:23;2759:31;2784:5;2759:31;:::i;:::-;2809:5;-1:-1:-1;2866:2:1;2851:18;;2838:32;2879:33;2838:32;2879:33;:::i;:::-;2633:362;;2931:7;;-1:-1:-1;;;2985:2:1;2970:18;;;;2957:32;;2633:362::o;3000:685::-;3095:6;3103;3111;3119;3172:3;3160:9;3151:7;3147:23;3143:33;3140:2;;;3194:6;3186;3179:22;3140:2;3238:9;3225:23;3257:31;3282:5;3257:31;:::i;:::-;3307:5;-1:-1:-1;3364:2:1;3349:18;;3336:32;3377:33;3336:32;3377:33;:::i;:::-;3429:7;-1:-1:-1;3483:2:1;3468:18;;3455:32;;-1:-1:-1;3538:2:1;3523:18;;3510:32;3565:18;3554:30;;3551:2;;;3602:6;3594;3587:22;3551:2;3630:49;3671:7;3662:6;3651:9;3647:22;3630:49;:::i;:::-;3620:59;;;3130:555;;;;;;;:::o;3690:325::-;3755:6;3763;3816:2;3804:9;3795:7;3791:23;3787:32;3784:2;;;3837:6;3829;3822:22;3784:2;3881:9;3868:23;3900:31;3925:5;3900:31;:::i;:::-;3950:5;-1:-1:-1;3974:35:1;4005:2;3990:18;;3974:35;:::i;:::-;3964:45;;3774:241;;;;;:::o;4020:325::-;4088:6;4096;4149:2;4137:9;4128:7;4124:23;4120:32;4117:2;;;4170:6;4162;4155:22;4117:2;4214:9;4201:23;4233:31;4258:5;4233:31;:::i;:::-;4283:5;4335:2;4320:18;;;;4307:32;;-1:-1:-1;;;4107:238:1:o;4350:1214::-;4478:6;4486;4539:2;4527:9;4518:7;4514:23;4510:32;4507:2;;;4560:6;4552;4545:22;4507:2;4605:9;4592:23;4634:18;4675:2;4667:6;4664:14;4661:2;;;4696:6;4688;4681:22;4661:2;4739:6;4728:9;4724:22;4714:32;;4784:7;4777:4;4773:2;4769:13;4765:27;4755:2;;4811:6;4803;4796:22;4755:2;4852;4839:16;4874:4;4898:59;4914:42;4953:2;4914:42;:::i;4898:59::-;4979:3;5003:2;4998:3;4991:15;5031:2;5026:3;5022:12;5015:19;;5062:2;5058;5054:11;5110:7;5105:2;5099;5096:1;5092:10;5088:2;5084:19;5080:28;5077:41;5074:2;;;5136:6;5128;5121:22;5074:2;5163:6;5154:15;;5178:163;5192:2;5189:1;5186:9;5178:163;;;5249:17;;5237:30;;5210:1;5203:9;;;;;5287:12;;;;5319;;5178:163;;;-1:-1:-1;5360:5:1;-1:-1:-1;;5403:18:1;;5390:32;;-1:-1:-1;;5434:16:1;;;5431:2;;;5468:6;5460;5453:22;5431:2;;5496:62;5550:7;5539:8;5528:9;5524:24;5496:62;:::i;:::-;5486:72;;;4497:1067;;;;;:::o;5569:190::-;5625:6;5678:2;5666:9;5657:7;5653:23;5649:32;5646:2;;;5699:6;5691;5684:22;5646:2;5727:26;5743:9;5727:26;:::i;5764:255::-;5822:6;5875:2;5863:9;5854:7;5850:23;5846:32;5843:2;;;5896:6;5888;5881:22;5843:2;5940:9;5927:23;5959:30;5983:5;5959:30;:::i;6024:259::-;6093:6;6146:2;6134:9;6125:7;6121:23;6117:32;6114:2;;;6167:6;6159;6152:22;6114:2;6204:9;6198:16;6223:30;6247:5;6223:30;:::i;6288:190::-;6347:6;6400:2;6388:9;6379:7;6375:23;6371:32;6368:2;;;6421:6;6413;6406:22;6368:2;-1:-1:-1;6449:23:1;;6358:120;-1:-1:-1;6358:120:1:o;6483:325::-;6551:6;6559;6612:2;6600:9;6591:7;6587:23;6583:32;6580:2;;;6633:6;6625;6618:22;6580:2;6674:9;6661:23;6651:33;;6734:2;6723:9;6719:18;6706:32;6747:31;6772:5;6747:31;:::i;6813:750::-;6926:6;6934;6942;6950;6958;6966;7019:3;7007:9;6998:7;6994:23;6990:33;6987:2;;;7041:6;7033;7026:22;6987:2;7082:9;7069:23;7059:33;;7142:2;7131:9;7127:18;7114:32;7155:31;7180:5;7155:31;:::i;:::-;7205:5;-1:-1:-1;7257:2:1;7242:18;;7229:32;;-1:-1:-1;7308:2:1;7293:18;;7280:32;;-1:-1:-1;7359:3:1;7344:19;;7331:33;;-1:-1:-1;7415:3:1;7400:19;;7387:33;7443:18;7432:30;;7429:2;;;7480:6;7472;7465:22;7429:2;7508:49;7549:7;7540:6;7529:9;7525:22;7508:49;:::i;:::-;7498:59;;;6977:586;;;;;;;;:::o;7568:409::-;7646:6;7654;7707:2;7695:9;7686:7;7682:23;7678:32;7675:2;;;7728:6;7720;7713:22;7675:2;7769:9;7756:23;7746:33;;7830:2;7819:9;7815:18;7802:32;7857:18;7849:6;7846:30;7843:2;;;7894:6;7886;7879:22;7843:2;7922:49;7963:7;7954:6;7943:9;7939:22;7922:49;:::i;7982:464::-;8077:6;8085;8093;8101;8109;8162:3;8150:9;8141:7;8137:23;8133:33;8130:2;;;8184:6;8176;8169:22;8130:2;-1:-1:-1;;8212:23:1;;;8282:2;8267:18;;8254:32;;-1:-1:-1;8333:2:1;8318:18;;8305:32;;8384:2;8369:18;;8356:32;;-1:-1:-1;8435:3:1;8420:19;8407:33;;-1:-1:-1;8120:326:1;-1:-1:-1;8120:326:1:o;8451:257::-;8492:3;8530:5;8524:12;8557:6;8552:3;8545:19;8573:63;8629:6;8622:4;8617:3;8613:14;8606:4;8599:5;8595:16;8573:63;:::i;:::-;8690:2;8669:15;-1:-1:-1;;8665:29:1;8656:39;;;;8697:4;8652:50;;8500:208;-1:-1:-1;;8500:208:1:o;8713:470::-;8892:3;8930:6;8924:13;8946:53;8992:6;8987:3;8980:4;8972:6;8968:17;8946:53;:::i;:::-;9062:13;;9021:16;;;;9084:57;9062:13;9021:16;9118:4;9106:17;;9084:57;:::i;:::-;9157:20;;8900:283;-1:-1:-1;;;;8900:283:1:o;9188:1339::-;9364:3;9402:6;9396:13;9428:4;9441:51;9485:6;9480:3;9475:2;9467:6;9463:15;9441:51;:::i;:::-;9579:13;;9514:16;;;;9550:3;;9639:1;9661:18;;;;9714;;;;9741:2;;9819:4;9809:8;9805:19;9793:31;;9741:2;9882;9872:8;9869:16;9849:18;9846:40;9843:2;;;-1:-1:-1;;;9909:33:1;;9965:4;9962:1;9955:15;9995:4;9916:3;9983:17;9843:2;10026:18;10053:110;;;;10177:1;10172:330;;;;10019:483;;10053:110;-1:-1:-1;;10088:24:1;;10074:39;;10133:20;;;;-1:-1:-1;10053:110:1;;10172:330;27843:4;27862:17;;;27912:4;27896:21;;10267:3;10283:169;10297:8;10294:1;10291:15;10283:169;;;10379:14;;10364:13;;;10357:37;10422:16;;;;10314:10;;10283:169;;;10287:3;;10483:8;10476:5;10472:20;10465:27;;10019:483;-1:-1:-1;10518:3:1;;9372:1155;-1:-1:-1;;;;;;;;;;9372:1155:1:o;10950:488::-;-1:-1:-1;;;;;11219:15:1;;;11201:34;;11271:15;;11266:2;11251:18;;11244:43;11318:2;11303:18;;11296:34;;;11366:3;11361:2;11346:18;;11339:31;;;11144:4;;11387:45;;11412:19;;11404:6;11387:45;:::i;12548:219::-;12697:2;12686:9;12679:21;12660:4;12717:44;12757:2;12746:9;12742:18;12734:6;12717:44;:::i;15469:398::-;15671:2;15653:21;;;15710:2;15690:18;;;15683:30;15749:34;15744:2;15729:18;;15722:62;-1:-1:-1;;;15815:2:1;15800:18;;15793:32;15857:3;15842:19;;15643:224::o;16227:417::-;16429:2;16411:21;;;16468:2;16448:18;;;16441:30;16507:34;16502:2;16487:18;;16480:62;-1:-1:-1;;;16573:2:1;16558:18;;16551:51;16634:3;16619:19;;16401:243::o;19586:356::-;19788:2;19770:21;;;19807:18;;;19800:30;19866:34;19861:2;19846:18;;19839:62;19933:2;19918:18;;19760:182::o;26000:290::-;26177:6;26166:9;26159:25;26220:2;26215;26204:9;26200:18;26193:30;26140:4;26240:44;26280:2;26269:9;26265:18;26257:6;26240:44;:::i;27329:275::-;27400:2;27394:9;27465:2;27446:13;;-1:-1:-1;;27442:27:1;27430:40;;27500:18;27485:34;;27521:22;;;27482:62;27479:2;;;27547:18;;:::i;:::-;27583:2;27576:22;27374:230;;-1:-1:-1;27374:230:1:o;27609:182::-;27668:4;27701:18;27693:6;27690:30;27687:2;;;27723:18;;:::i;:::-;-1:-1:-1;27768:1:1;27764:14;27780:4;27760:25;;27677:114::o;27928:128::-;27968:3;27999:1;27995:6;27992:1;27989:13;27986:2;;;28005:18;;:::i;:::-;-1:-1:-1;28041:9:1;;27976:80::o;28061:168::-;28101:7;28167:1;28163;28159:6;28155:14;28152:1;28149:21;28144:1;28137:9;28130:17;28126:45;28123:2;;;28174:18;;:::i;:::-;-1:-1:-1;28214:9:1;;28113:116::o;28234:125::-;28274:4;28302:1;28299;28296:8;28293:2;;;28307:18;;:::i;:::-;-1:-1:-1;28344:9:1;;28283:76::o;28364:258::-;28436:1;28446:113;28460:6;28457:1;28454:13;28446:113;;;28536:11;;;28530:18;28517:11;;;28510:39;28482:2;28475:10;28446:113;;;28577:6;28574:1;28571:13;28568:2;;;-1:-1:-1;;28612:1:1;28594:16;;28587:27;28417:205::o;28627:380::-;28706:1;28702:12;;;;28749;;;28770:2;;28824:4;28816:6;28812:17;28802:27;;28770:2;28877;28869:6;28866:14;28846:18;28843:38;28840:2;;;28923:10;28918:3;28914:20;28911:1;28904:31;28958:4;28955:1;28948:15;28986:4;28983:1;28976:15;29012:135;29051:3;-1:-1:-1;;29072:17:1;;29069:2;;;29092:18;;:::i;:::-;-1:-1:-1;29139:1:1;29128:13;;29059:88::o;29152:127::-;29213:10;29208:3;29204:20;29201:1;29194:31;29244:4;29241:1;29234:15;29268:4;29265:1;29258:15;29284:127;29345:10;29340:3;29336:20;29333:1;29326:31;29376:4;29373:1;29366:15;29400:4;29397:1;29390:15;29416:131;-1:-1:-1;;;;;29491:31:1;;29481:42;;29471:2;;29537:1;29534;29527:12;29552:131;-1:-1:-1;;;;;;29626:32:1;;29616:43;;29606:2;;29673:1;29670;29663:12
Swarm Source
ipfs://368044ef01cdb65c1d7d67fcf73bc877bb39c23b6ea9cc7dd13301c0d205553d
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.