Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
649 10E
Holders
410
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 10ELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
TenEthProgrammed
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-10 */ // SPDX-License-Identifier: MIT /** * 10E Actually Programmed How? When the price is dropping in a 10 minute interval - royalties are set to 69% - all new listed nfts (floor) are burned in intervals (Average sales in the 10 minute period < Average sales in the 10 previous minute period) When the price is increasing in a 10 minute interval - royalties set back to 9% - listed nfts will not be burned and sales can be sold like normal - profits will be reinvested back into the burning Details: Supply: 888 Price: All Free 1 per person */ pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens 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 tokens. * * 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` tokens from `from` to `to` 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 from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens 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); } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) 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); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev 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 { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens 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 `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.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 token, 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' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.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 token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, 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(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) // OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; /** * @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 { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. 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] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // 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 tryRecover(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 tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @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. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} 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.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // 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 (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): 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. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @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) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @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 Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev 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); } // ERC721A Contracts v4.0.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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` 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 virtual view 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 auxillary 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 auxillary 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 { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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; } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { 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, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Casts the address to uint256 without masking. */ function _addressToUint256(address value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev Casts the boolean to uint256 without branching. */ function _boolToUint256(bool value) private pure returns (uint256 result) { assembly { result := value } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = address(uint160(_packedOwnershipOf(tokenId))); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.code.length != 0) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @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. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the balance and number minted. _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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(to) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_NEXT_INITIALIZED; // 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 `_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)); if (approvalCheck) { bool isApprovedOrOwner = (_msgSenderERC721A() == from || isApprovedForAll(from, _msgSenderERC721A()) || getApproved(tokenId) == _msgSenderERC721A()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. delete _tokenApprovals[tokenId]; // 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] = _addressToUint256(from) | (block.timestamp << BITPOS_START_TIMESTAMP) | BITMASK_BURNED | BITMASK_NEXT_INITIALIZED; // 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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _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)) } } } } /** * @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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } pragma solidity ^0.8.0; /** string public baseURI = "ipfs://QmPfGGHecn7qNeEFyGfYHGjEb8WXbHJaUKcdDqtmesoB1D/"; string public baseExtension = ".json"; constructor() ERC721A("10E floor ACTUALLY programmed", "10EFLOOR"){ } */ pragma solidity ^0.8.0; contract TenEthProgrammed is ERC721A, Ownable, ReentrancyGuard{ using ECDSA for bytes32; address signer; uint256 public totalClaimed; mapping(address => bool) public claimed; uint256 public constant MAX_SUPPLY = 999; uint public constant freeSupply = 900; string public baseExtension = ".json"; string public baseUrl = "ipfs://QmcXhstKY6G644KQt16FobWK8JAbxTVyZC1h5xTQhyzEt6/"; address public signer_ = 0xc75B6727CAF1847D5293Bf09508eb7D8c2889bE0; error HadClaimed(); error OutofMaxSupply(); error InvalidSignarure(); constructor( ) ERC721A("10E Programmed", "10E") { _safeMint(msg.sender, 1); totalClaimed++; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI,Strings.toString(_tokenId) , baseExtension)) : ""; } function totalSupply() public view override returns (uint256) { unchecked { return super.totalSupply() - balanceOf(address(0xdead)); } } function freeMint() external { if (claimed[msg.sender]) revert HadClaimed(); if (!(totalClaimed < freeSupply)) revert HadClaimed(); _safeMint(msg.sender, 1); claimed[msg.sender] = true; totalClaimed++; } function ownerBatchMint(uint256 amount) external onlyOwner { //Profits go to burning more require(totalSupply() + amount <= MAX_SUPPLY ,"too many!"); _safeMint(msg.sender, amount); } function burn( uint256 tokenId, uint8 v, bytes32 r, bytes32 s ) external { if (keccak256(abi.encodePacked(msg.sender, tokenId)).toEthSignedMessageHash().recover(v, r, s) != signer) { revert InvalidSignarure(); } _burn(tokenId); } function _baseURI() internal view virtual override returns (string memory) { return baseUrl; } function batchBurn(uint256[] memory tokenids) external onlyOwner { uint256 len = tokenids.length; for (uint256 i; i < len; i++) { uint256 tokenid = tokenids[i]; _burn(tokenid); } } function setBaseURI(string memory url) external onlyOwner { baseUrl = url; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"HadClaimed","type":"error"},{"inputs":[],"name":"InvalidSignarure","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OutofMaxSupply","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUrl","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenids","type":"uint256[]"}],"name":"batchBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ownerBatchMint","outputs":[],"stateMutability":"nonpayable","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"url","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer_","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600d91906200041b565b50604051806060016040528060368152602001620023bd6036913980516200005991600e916020909101906200041b565b50600f80546001600160a01b03191673c75b6727caf1847d5293bf09508eb7d8c2889be01790553480156200008d57600080fd5b50604080518082018252600e81526d0c4c1148141c9bd9dc985b5b595960921b60208083019182528351808501909452600384526231304560e81b908401528151919291620000df916002916200041b565b508051620000f59060039060208401906200041b565b50506000805550620001073362000138565b600160098190556200011b9033906200018a565b600b80549060006200012d83620005ac565b9190505550620005d6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001ac828260405180602001604052806000815250620001b060201b60201c565b5050565b6000546001600160a01b038416620001da57604051622e076360e81b815260040160405180910390fd5b82620001f95760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b15620002c5575b60405182906001600160a01b03881690600090600080516020620023f3833981519152908290a460018201916200028a906000908890876200031a565b620002a8576040516368d2bf6b60e11b815260040160405180910390fd5b8082106200024d578260005414620002bf57600080fd5b620002fa565b5b6040516001830192906001600160a01b03881690600090600080516020620023f3833981519152908290a4808210620002c6575b50600090815562000314908583866001600160e01b038516565b50505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029062000351903390899088908890600401620004f4565b602060405180830381600087803b1580156200036c57600080fd5b505af19250505080156200039f575060408051601f3d908101601f191682019092526200039c91810190620004c1565b60015b620003fe573d808015620003d0576040519150601f19603f3d011682016040523d82523d6000602084013e620003d5565b606091505b508051620003f6576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b82805462000429906200056f565b90600052602060002090601f0160209004810192826200044d576000855562000498565b82601f106200046857805160ff191683800117855562000498565b8280016001018555821562000498579182015b82811115620004985782518255916020019190600101906200047b565b50620004a6929150620004aa565b5090565b5b80821115620004a65760008155600101620004ab565b600060208284031215620004d457600080fd5b81516001600160e01b031981168114620004ed57600080fd5b9392505050565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620005435785810182015185820160a00152810162000525565b828111156200055657600060a084870101525b5050601f01601f19169190910160a00195945050505050565b600181811c908216806200058457607f821691505b60208210811415620005a657634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415620005cf57634e487b7160e01b600052601160045260246000fd5b5060010190565b611dd780620005e66000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063c6682862116100a2578063dc8e92ea11610071578063dc8e92ea1461039c578063e985e9c5146103af578063f2fde38b146103eb578063fcc82dc2146103fe57600080fd5b8063c668286214610355578063c87b56dd1461035d578063c884ef8314610370578063d54ad2a11461039357600080fd5b80638db89f07116100de5780638db89f071461031457806395d89b4114610327578063a22cb4651461032f578063b88d4fde1461034257600080fd5b806370a08231146102e8578063715018a6146102fb5780638da5cb5b1461030357600080fd5b806332cb6b0c1161017157806355f804b31161014b57806355f804b3146102b25780635b70ea9f146102c55780635bcabf04146102cd5780636352211e146102d557600080fd5b806332cb6b0c1461028357806342842e0e1461028c5780634e1f65b41461029f57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd1461026757806324a6ab0c1461027a57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e236600461199f565b610411565b60405190151581526020015b60405180910390f35b610204610463565b6040516101f39190611bab565b61022461021f366004611a22565b6104f5565b6040516001600160a01b0390911681526020016101f3565b61024f61024a3660046118c8565b610539565b005b61025961060c565b6040519081526020016101f3565b61024f6102753660046117d4565b610626565b61025961038481565b6102596103e781565b61024f61029a3660046117d4565b610636565b600f54610224906001600160a01b031681565b61024f6102c03660046119d9565b610651565b61024f61069b565b61020461072a565b6102246102e3366004611a22565b6107b8565b6102596102f6366004611786565b6107c3565b61024f610812565b6008546001600160a01b0316610224565b61024f610322366004611a22565b610848565b6102046108cf565b61024f61033d36600461188c565b6108de565b61024f610350366004611810565b610974565b6102046109be565b61020461036b366004611a22565b6109cb565b6101e761037e366004611786565b600c6020526000908152604090205460ff1681565b610259600b5481565b61024f6103aa3660046118f2565b610a99565b6101e76103bd3660046117a1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61024f6103f9366004611786565b610b0a565b61024f61040c366004611a3b565b610ba2565b60006301ffc9a760e01b6001600160e01b03198316148061044257506380ac58cd60e01b6001600160e01b03198316145b8061045d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461047290611c93565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90611c93565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b600061050082610c85565b61051d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061054482610cac565b9050806001600160a01b0316836001600160a01b031614156105795760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105b05761059381336103bd565b6105b0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061061961dead6107c3565b6001546000540303905090565b610631838383610d0d565b505050565b61063183838360405180602001604052806000815250610974565b6008546001600160a01b031633146106845760405162461bcd60e51b815260040161067b90611bbe565b60405180910390fd5b805161069790600e906020840190611679565b5050565b336000908152600c602052604090205460ff16156106cc5760405163231f8adb60e01b815260040160405180910390fd5b610384600b54106106f05760405163231f8adb60e01b815260040160405180910390fd5b6106fb336001610e9e565b336000908152600c60205260408120805460ff19166001179055600b80549161072383611cce565b9190505550565b600e805461073790611c93565b80601f016020809104026020016040519081016040528092919081815260200182805461076390611c93565b80156107b05780601f10610785576101008083540402835291602001916107b0565b820191906000526020600020905b81548152906001019060200180831161079357829003601f168201915b505050505081565b600061045d82610cac565b60006001600160a01b0382166107ec576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461083c5760405162461bcd60e51b815260040161067b90611bbe565b6108466000610eb8565b565b6008546001600160a01b031633146108725760405162461bcd60e51b815260040161067b90611bbe565b6103e78161087e61060c565b6108889190611c24565b11156108c25760405162461bcd60e51b8152602060048201526009602482015268746f6f206d616e792160b81b604482015260640161067b565b6108cc3382610e9e565b50565b60606003805461047290611c93565b6001600160a01b0382163314156109085760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61097f848484610d0d565b6001600160a01b0383163b156109b85761099b84848484610f0a565b6109b8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600d805461073790611c93565b60606109d682610c85565b610a3a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161067b565b6000610a44611002565b90506000815111610a645760405180602001604052806000815250610a92565b80610a6e84611011565b600d604051602001610a8293929190611aaa565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610ac35760405162461bcd60e51b815260040161067b90611bbe565b805160005b81811015610631576000838281518110610ae457610ae4611d3f565b60200260200101519050610af78161110f565b5080610b0281611cce565b915050610ac8565b6008546001600160a01b03163314610b345760405162461bcd60e51b815260040161067b90611bbe565b6001600160a01b038116610b995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161067b565b6108cc81610eb8565b600a546040516bffffffffffffffffffffffff193360601b166020820152603481018690526001600160a01b0390911690610c5590859085908590610c4d90605401604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b92919061111a565b6001600160a01b031614610c7c576040516322aa726b60e21b815260040160405180910390fd5b6109b88461110f565b600080548210801561045d575050600090815260046020526040902054600160e01b161590565b600081600054811015610cf457600081815260046020526040902054600160e01b8116610cf2575b80610a92575060001901600081815260046020526040902054610cd4565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610d1882610cac565b9050836001600160a01b0316816001600160a01b031614610d4b5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610d695750610d6985336103bd565b80610d84575033610d79846104f5565b6001600160a01b0316145b905080610da457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610dcb57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610e685760018301600081815260046020526040902054610e66576000548114610e665760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b0316600080516020611d8283398151915260405160405180910390a45050505050565b610697828260405180602001604052806000815250611142565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f3f903390899088908890600401611b6e565b602060405180830381600087803b158015610f5957600080fd5b505af1925050508015610f89575060408051601f3d908101601f19168201909252610f86918101906119bc565b60015b610fe4573d808015610fb7576040519150601f19603f3d011682016040523d82523d6000602084013e610fbc565b606091505b508051610fdc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e805461047290611c93565b6060816110355750506040805180820190915260018152600360fc1b602082015290565b8160005b811561105f578061104981611cce565b91506110589050600a83611c3c565b9150611039565b60008167ffffffffffffffff81111561107a5761107a611d55565b6040519080825280601f01601f1916602001820160405280156110a4576020820181803683370190505b5090505b8415610ffa576110b9600183611c50565b91506110c6600a86611ce9565b6110d1906030611c24565b60f81b8183815181106110e6576110e6611d3f565b60200101906001600160f81b031916908160001a905350611108600a86611c3c565b94506110a8565b6108cc81600061128f565b600080600061112b878787876113d1565b91509150611138816114be565b5095945050505050565b6000546001600160a01b03841661116b57604051622e076360e81b815260040160405180910390fd5b826111895760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561124c575b60405182906001600160a01b03881690600090600080516020611d82833981519152908290a46112156000878480600101955087610f0a565b611232576040516368d2bf6b60e11b815260040160405180910390fd5b8082106111dc57826000541461124757600080fd5b61127f565b5b6040516001830192906001600160a01b03881690600090600080516020611d82833981519152908290a480821061124d575b5060009081556109b89085838684565b600061129a83610cac565b90508082156112fe576000336001600160a01b03831614806112c157506112c182336103bd565b806112dc5750336112d1866104f5565b6001600160a01b0316145b9050806112fc57604051632ce44b5f60e11b815260040160405180910390fd5b505b600084815260066020908152604080832080546001600160a01b03191690556001600160a01b03841683526005825280832080546fffffffffffffffffffffffffffffffff01905586835260049091529020600360e01b4260a01b8317179055600160e11b821661139d576001840160008181526004602052604090205461139b57600054811461139b5760008181526004602052604090208390555b505b60405184906000906001600160a01b03841690600080516020611d82833981519152908390a4505060018054810190555050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561140857506000905060036114b5565b8460ff16601b1415801561142057508460ff16601c14155b1561143157506000905060046114b5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611485573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166114ae576000600192509250506114b5565b9150600090505b94509492505050565b60008160048111156114d2576114d2611d29565b14156114db5750565b60018160048111156114ef576114ef611d29565b141561153d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161067b565b600281600481111561155157611551611d29565b141561159f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161067b565b60038160048111156115b3576115b3611d29565b141561160c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161067b565b600481600481111561162057611620611d29565b14156108cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161067b565b82805461168590611c93565b90600052602060002090601f0160209004810192826116a757600085556116ed565b82601f106116c057805160ff19168380011785556116ed565b828001600101855582156116ed579182015b828111156116ed5782518255916020019190600101906116d2565b506116f99291506116fd565b5090565b5b808211156116f957600081556001016116fe565b600067ffffffffffffffff83111561172c5761172c611d55565b61173f601f8401601f1916602001611bf3565b905082815283838301111561175357600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461178157600080fd5b919050565b60006020828403121561179857600080fd5b610a928261176a565b600080604083850312156117b457600080fd5b6117bd8361176a565b91506117cb6020840161176a565b90509250929050565b6000806000606084860312156117e957600080fd5b6117f28461176a565b92506118006020850161176a565b9150604084013590509250925092565b6000806000806080858703121561182657600080fd5b61182f8561176a565b935061183d6020860161176a565b925060408501359150606085013567ffffffffffffffff81111561186057600080fd5b8501601f8101871361187157600080fd5b61188087823560208401611712565b91505092959194509250565b6000806040838503121561189f57600080fd5b6118a88361176a565b9150602083013580151581146118bd57600080fd5b809150509250929050565b600080604083850312156118db57600080fd5b6118e48361176a565b946020939093013593505050565b6000602080838503121561190557600080fd5b823567ffffffffffffffff8082111561191d57600080fd5b818501915085601f83011261193157600080fd5b81358181111561194357611943611d55565b8060051b9150611954848301611bf3565b8181528481019084860184860187018a101561196f57600080fd5b600095505b83861015611992578035835260019590950194918601918601611974565b5098975050505050505050565b6000602082840312156119b157600080fd5b8135610a9281611d6b565b6000602082840312156119ce57600080fd5b8151610a9281611d6b565b6000602082840312156119eb57600080fd5b813567ffffffffffffffff811115611a0257600080fd5b8201601f81018413611a1357600080fd5b610ffa84823560208401611712565b600060208284031215611a3457600080fd5b5035919050565b60008060008060808587031215611a5157600080fd5b84359350602085013560ff81168114611a6957600080fd5b93969395505050506040820135916060013590565b60008151808452611a96816020860160208601611c67565b601f01601f19169290920160200192915050565b600084516020611abd8285838a01611c67565b855191840191611ad08184848a01611c67565b8554920191600090600181811c9080831680611aed57607f831692505b858310811415611b0b57634e487b7160e01b85526022600452602485fd5b808015611b1f5760018114611b3057611b5d565b60ff19851688528388019550611b5d565b60008b81526020902060005b85811015611b555781548a820152908401908801611b3c565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ba190830184611a7e565b9695505050505050565b602081526000610a926020830184611a7e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611c1c57611c1c611d55565b604052919050565b60008219821115611c3757611c37611cfd565b500190565b600082611c4b57611c4b611d13565b500490565b600082821015611c6257611c62611cfd565b500390565b60005b83811015611c82578181015183820152602001611c6a565b838111156109b85750506000910152565b600181811c90821680611ca757607f821691505b60208210811415611cc857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ce257611ce2611cfd565b5060010190565b600082611cf857611cf8611d13565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108cc57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212202422f7debaafe5cad3cb949676e8a8210cef62833315dd4c1a083c236a62661d64736f6c63430008070033697066733a2f2f516d63586873744b5936473634344b51743136466f62574b384a4162785456795a4331683578545168797a4574362fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806370a0823111610104578063c6682862116100a2578063dc8e92ea11610071578063dc8e92ea1461039c578063e985e9c5146103af578063f2fde38b146103eb578063fcc82dc2146103fe57600080fd5b8063c668286214610355578063c87b56dd1461035d578063c884ef8314610370578063d54ad2a11461039357600080fd5b80638db89f07116100de5780638db89f071461031457806395d89b4114610327578063a22cb4651461032f578063b88d4fde1461034257600080fd5b806370a08231146102e8578063715018a6146102fb5780638da5cb5b1461030357600080fd5b806332cb6b0c1161017157806355f804b31161014b57806355f804b3146102b25780635b70ea9f146102c55780635bcabf04146102cd5780636352211e146102d557600080fd5b806332cb6b0c1461028357806342842e0e1461028c5780634e1f65b41461029f57600080fd5b8063095ea7b3116101ad578063095ea7b31461023c57806318160ddd1461025157806323b872dd1461026757806324a6ab0c1461027a57600080fd5b806301ffc9a7146101d457806306fdde03146101fc578063081812fc14610211575b600080fd5b6101e76101e236600461199f565b610411565b60405190151581526020015b60405180910390f35b610204610463565b6040516101f39190611bab565b61022461021f366004611a22565b6104f5565b6040516001600160a01b0390911681526020016101f3565b61024f61024a3660046118c8565b610539565b005b61025961060c565b6040519081526020016101f3565b61024f6102753660046117d4565b610626565b61025961038481565b6102596103e781565b61024f61029a3660046117d4565b610636565b600f54610224906001600160a01b031681565b61024f6102c03660046119d9565b610651565b61024f61069b565b61020461072a565b6102246102e3366004611a22565b6107b8565b6102596102f6366004611786565b6107c3565b61024f610812565b6008546001600160a01b0316610224565b61024f610322366004611a22565b610848565b6102046108cf565b61024f61033d36600461188c565b6108de565b61024f610350366004611810565b610974565b6102046109be565b61020461036b366004611a22565b6109cb565b6101e761037e366004611786565b600c6020526000908152604090205460ff1681565b610259600b5481565b61024f6103aa3660046118f2565b610a99565b6101e76103bd3660046117a1565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61024f6103f9366004611786565b610b0a565b61024f61040c366004611a3b565b610ba2565b60006301ffc9a760e01b6001600160e01b03198316148061044257506380ac58cd60e01b6001600160e01b03198316145b8061045d5750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606002805461047290611c93565b80601f016020809104026020016040519081016040528092919081815260200182805461049e90611c93565b80156104eb5780601f106104c0576101008083540402835291602001916104eb565b820191906000526020600020905b8154815290600101906020018083116104ce57829003601f168201915b5050505050905090565b600061050082610c85565b61051d576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061054482610cac565b9050806001600160a01b0316836001600160a01b031614156105795760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146105b05761059381336103bd565b6105b0576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061061961dead6107c3565b6001546000540303905090565b610631838383610d0d565b505050565b61063183838360405180602001604052806000815250610974565b6008546001600160a01b031633146106845760405162461bcd60e51b815260040161067b90611bbe565b60405180910390fd5b805161069790600e906020840190611679565b5050565b336000908152600c602052604090205460ff16156106cc5760405163231f8adb60e01b815260040160405180910390fd5b610384600b54106106f05760405163231f8adb60e01b815260040160405180910390fd5b6106fb336001610e9e565b336000908152600c60205260408120805460ff19166001179055600b80549161072383611cce565b9190505550565b600e805461073790611c93565b80601f016020809104026020016040519081016040528092919081815260200182805461076390611c93565b80156107b05780601f10610785576101008083540402835291602001916107b0565b820191906000526020600020905b81548152906001019060200180831161079357829003601f168201915b505050505081565b600061045d82610cac565b60006001600160a01b0382166107ec576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b0316331461083c5760405162461bcd60e51b815260040161067b90611bbe565b6108466000610eb8565b565b6008546001600160a01b031633146108725760405162461bcd60e51b815260040161067b90611bbe565b6103e78161087e61060c565b6108889190611c24565b11156108c25760405162461bcd60e51b8152602060048201526009602482015268746f6f206d616e792160b81b604482015260640161067b565b6108cc3382610e9e565b50565b60606003805461047290611c93565b6001600160a01b0382163314156109085760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61097f848484610d0d565b6001600160a01b0383163b156109b85761099b84848484610f0a565b6109b8576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b600d805461073790611c93565b60606109d682610c85565b610a3a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161067b565b6000610a44611002565b90506000815111610a645760405180602001604052806000815250610a92565b80610a6e84611011565b600d604051602001610a8293929190611aaa565b6040516020818303038152906040525b9392505050565b6008546001600160a01b03163314610ac35760405162461bcd60e51b815260040161067b90611bbe565b805160005b81811015610631576000838281518110610ae457610ae4611d3f565b60200260200101519050610af78161110f565b5080610b0281611cce565b915050610ac8565b6008546001600160a01b03163314610b345760405162461bcd60e51b815260040161067b90611bbe565b6001600160a01b038116610b995760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161067b565b6108cc81610eb8565b600a546040516bffffffffffffffffffffffff193360601b166020820152603481018690526001600160a01b0390911690610c5590859085908590610c4d90605401604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b92919061111a565b6001600160a01b031614610c7c576040516322aa726b60e21b815260040160405180910390fd5b6109b88461110f565b600080548210801561045d575050600090815260046020526040902054600160e01b161590565b600081600054811015610cf457600081815260046020526040902054600160e01b8116610cf2575b80610a92575060001901600081815260046020526040902054610cd4565b505b604051636f96cda160e11b815260040160405180910390fd5b6000610d1882610cac565b9050836001600160a01b0316816001600160a01b031614610d4b5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480610d695750610d6985336103bd565b80610d84575033610d79846104f5565b6001600160a01b0316145b905080610da457604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610dcb57604051633a954ecd60e21b815260040160405180910390fd5b600083815260066020908152604080832080546001600160a01b03191690556001600160a01b038881168452600583528184208054600019019055871683528083208054600101905585835260049091529020600160e11b4260a01b861781179091558216610e685760018301600081815260046020526040902054610e66576000548114610e665760008181526004602052604090208390555b505b82846001600160a01b0316866001600160a01b0316600080516020611d8283398151915260405160405180910390a45050505050565b610697828260405180602001604052806000815250611142565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f3f903390899088908890600401611b6e565b602060405180830381600087803b158015610f5957600080fd5b505af1925050508015610f89575060408051601f3d908101601f19168201909252610f86918101906119bc565b60015b610fe4573d808015610fb7576040519150601f19603f3d011682016040523d82523d6000602084013e610fbc565b606091505b508051610fdc576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e805461047290611c93565b6060816110355750506040805180820190915260018152600360fc1b602082015290565b8160005b811561105f578061104981611cce565b91506110589050600a83611c3c565b9150611039565b60008167ffffffffffffffff81111561107a5761107a611d55565b6040519080825280601f01601f1916602001820160405280156110a4576020820181803683370190505b5090505b8415610ffa576110b9600183611c50565b91506110c6600a86611ce9565b6110d1906030611c24565b60f81b8183815181106110e6576110e6611d3f565b60200101906001600160f81b031916908160001a905350611108600a86611c3c565b94506110a8565b6108cc81600061128f565b600080600061112b878787876113d1565b91509150611138816114be565b5095945050505050565b6000546001600160a01b03841661116b57604051622e076360e81b815260040160405180910390fd5b826111895760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03841660008181526005602090815260408083208054680100000000000000018902019055848352600490915290204260a01b86176001861460e11b1790558190818501903b1561124c575b60405182906001600160a01b03881690600090600080516020611d82833981519152908290a46112156000878480600101955087610f0a565b611232576040516368d2bf6b60e11b815260040160405180910390fd5b8082106111dc57826000541461124757600080fd5b61127f565b5b6040516001830192906001600160a01b03881690600090600080516020611d82833981519152908290a480821061124d575b5060009081556109b89085838684565b600061129a83610cac565b90508082156112fe576000336001600160a01b03831614806112c157506112c182336103bd565b806112dc5750336112d1866104f5565b6001600160a01b0316145b9050806112fc57604051632ce44b5f60e11b815260040160405180910390fd5b505b600084815260066020908152604080832080546001600160a01b03191690556001600160a01b03841683526005825280832080546fffffffffffffffffffffffffffffffff01905586835260049091529020600360e01b4260a01b8317179055600160e11b821661139d576001840160008181526004602052604090205461139b57600054811461139b5760008181526004602052604090208390555b505b60405184906000906001600160a01b03841690600080516020611d82833981519152908390a4505060018054810190555050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561140857506000905060036114b5565b8460ff16601b1415801561142057508460ff16601c14155b1561143157506000905060046114b5565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611485573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166114ae576000600192509250506114b5565b9150600090505b94509492505050565b60008160048111156114d2576114d2611d29565b14156114db5750565b60018160048111156114ef576114ef611d29565b141561153d5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161067b565b600281600481111561155157611551611d29565b141561159f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161067b565b60038160048111156115b3576115b3611d29565b141561160c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161067b565b600481600481111561162057611620611d29565b14156108cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161067b565b82805461168590611c93565b90600052602060002090601f0160209004810192826116a757600085556116ed565b82601f106116c057805160ff19168380011785556116ed565b828001600101855582156116ed579182015b828111156116ed5782518255916020019190600101906116d2565b506116f99291506116fd565b5090565b5b808211156116f957600081556001016116fe565b600067ffffffffffffffff83111561172c5761172c611d55565b61173f601f8401601f1916602001611bf3565b905082815283838301111561175357600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461178157600080fd5b919050565b60006020828403121561179857600080fd5b610a928261176a565b600080604083850312156117b457600080fd5b6117bd8361176a565b91506117cb6020840161176a565b90509250929050565b6000806000606084860312156117e957600080fd5b6117f28461176a565b92506118006020850161176a565b9150604084013590509250925092565b6000806000806080858703121561182657600080fd5b61182f8561176a565b935061183d6020860161176a565b925060408501359150606085013567ffffffffffffffff81111561186057600080fd5b8501601f8101871361187157600080fd5b61188087823560208401611712565b91505092959194509250565b6000806040838503121561189f57600080fd5b6118a88361176a565b9150602083013580151581146118bd57600080fd5b809150509250929050565b600080604083850312156118db57600080fd5b6118e48361176a565b946020939093013593505050565b6000602080838503121561190557600080fd5b823567ffffffffffffffff8082111561191d57600080fd5b818501915085601f83011261193157600080fd5b81358181111561194357611943611d55565b8060051b9150611954848301611bf3565b8181528481019084860184860187018a101561196f57600080fd5b600095505b83861015611992578035835260019590950194918601918601611974565b5098975050505050505050565b6000602082840312156119b157600080fd5b8135610a9281611d6b565b6000602082840312156119ce57600080fd5b8151610a9281611d6b565b6000602082840312156119eb57600080fd5b813567ffffffffffffffff811115611a0257600080fd5b8201601f81018413611a1357600080fd5b610ffa84823560208401611712565b600060208284031215611a3457600080fd5b5035919050565b60008060008060808587031215611a5157600080fd5b84359350602085013560ff81168114611a6957600080fd5b93969395505050506040820135916060013590565b60008151808452611a96816020860160208601611c67565b601f01601f19169290920160200192915050565b600084516020611abd8285838a01611c67565b855191840191611ad08184848a01611c67565b8554920191600090600181811c9080831680611aed57607f831692505b858310811415611b0b57634e487b7160e01b85526022600452602485fd5b808015611b1f5760018114611b3057611b5d565b60ff19851688528388019550611b5d565b60008b81526020902060005b85811015611b555781548a820152908401908801611b3c565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ba190830184611a7e565b9695505050505050565b602081526000610a926020830184611a7e565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611c1c57611c1c611d55565b604052919050565b60008219821115611c3757611c37611cfd565b500190565b600082611c4b57611c4b611d13565b500490565b600082821015611c6257611c62611cfd565b500390565b60005b83811015611c82578181015183820152602001611c6a565b838111156109b85750506000910152565b600181811c90821680611ca757607f821691505b60208210811415611cc857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611ce257611ce2611cfd565b5060010190565b600082611cf857611cf8611d13565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146108cc57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212202422f7debaafe5cad3cb949676e8a8210cef62833315dd4c1a083c236a62661d64736f6c63430008070033
Deployed Bytecode Sourcemap
80012:2596:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54455:615;;;;;;:::i;:::-;;:::i;:::-;;;8603:14:1;;8596:22;8578:41;;8566:2;8551:18;54455:615:0;;;;;;;;59468:100;;;:::i;:::-;;;;;;;:::i;61536:204::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7901:32:1;;;7883:51;;7871:2;7856:18;61536:204:0;7737:203:1;60996:474:0;;;;;;:::i;:::-;;:::i;:::-;;81173:172;;;:::i;:::-;;;12443:25:1;;;12431:2;12416:18;81173:172:0;12297:177:1;62422:170:0;;;;;;:::i;:::-;;:::i;80261:37::-;;80295:3;80261:37;;80214:40;;80251:3;80214:40;;62663:185;;;;;;:::i;:::-;;:::i;80436:67::-;;;;;-1:-1:-1;;;;;80436:67:0;;;82515:90;;;;;;:::i;:::-;;:::i;81353:253::-;;;:::i;80349:80::-;;;:::i;59257:144::-;;;;;;:::i;:::-;;:::i;55134:224::-;;;;;;:::i;:::-;;:::i;10814:103::-;;;:::i;10163:87::-;10236:6;;-1:-1:-1;;;;;10236:6:0;10163:87;;81612:208;;;;;;:::i;:::-;;:::i;59637:104::-;;;:::i;61812:308::-;;;;;;:::i;:::-;;:::i;62919:396::-;;;;;;:::i;:::-;;:::i;80305:37::-;;;:::i;80730:435::-;;;;;;:::i;:::-;;:::i;80168:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;80134:27;;;;;;82269:238;;;;;;:::i;:::-;;:::i;62191:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;62312:25:0;;;62288:4;62312:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;62191:164;11072:201;;;;;;:::i;:::-;;:::i;81830:315::-;;;;;;:::i;:::-;;:::i;54455:615::-;54540:4;-1:-1:-1;;;;;;;;;54840:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;54917:25:0;;;54840:102;:179;;;-1:-1:-1;;;;;;;;;;54994:25:0;;;54840:179;54820:199;54455:615;-1:-1:-1;;54455:615:0:o;59468:100::-;59522:13;59555:5;59548:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59468:100;:::o;61536:204::-;61604:7;61629:16;61637:7;61629;:16::i;:::-;61624:64;;61654:34;;-1:-1:-1;;;61654:34:0;;;;;;;;;;;61624:64;-1:-1:-1;61708:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;61708:24:0;;61536:204::o;60996:474::-;61069:13;61101:27;61120:7;61101:18;:27::i;:::-;61069:61;;61151:5;-1:-1:-1;;;;;61145:11:0;:2;-1:-1:-1;;;;;61145:11:0;;61141:48;;;61165:24;;-1:-1:-1;;;61165:24:0;;;;;;;;;;;61141:48;77644:10;-1:-1:-1;;;;;61206:28:0;;;61202:175;;61254:44;61271:5;77644:10;62191:164;:::i;61254:44::-;61249:128;;61326:35;;-1:-1:-1;;;61326:35:0;;;;;;;;;;;61249:128;61389:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;61389:29:0;-1:-1:-1;;;;;61389:29:0;;;;;;;;;61434:28;;61389:24;;61434:28;;;;;;;61058:412;60996:474;;:::o;81173:172::-;81226:7;81300:26;81318:6;81300:9;:26::i;:::-;53775:12;;53562:7;53759:13;:28;81278:48;81271:55;;81173:172;:::o;62422:170::-;62556:28;62566:4;62572:2;62576:7;62556:9;:28::i;:::-;62422:170;;;:::o;62663:185::-;62801:39;62818:4;62824:2;62828:7;62801:39;;;;;;;;;;;;:16;:39::i;82515:90::-;10236:6;;-1:-1:-1;;;;;10236:6:0;77644:10;10383:23;10375:68;;;;-1:-1:-1;;;10375:68:0;;;;;;;:::i;:::-;;;;;;;;;82584:13;;::::1;::::0;:7:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;;82515:90:::0;:::o;81353:253::-;81405:10;81397:19;;;;:7;:19;;;;;;;;81393:44;;;81425:12;;-1:-1:-1;;;81425:12:0;;;;;;;;;;;81393:44;80295:3;81454:12;;:25;81448:53;;81489:12;;-1:-1:-1;;;81489:12:0;;;;;;;;;;;81448:53;81512:24;81522:10;81534:1;81512:9;:24::i;:::-;81555:10;81547:19;;;;:7;:19;;;;;:26;;-1:-1:-1;;81547:26:0;81569:4;81547:26;;;81584:12;:14;;;;;;:::i;:::-;;;;;;81353:253::o;80349:80::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;59257:144::-;59321:7;59364:27;59383:7;59364:18;:27::i;55134:224::-;55198:7;-1:-1:-1;;;;;55222:19:0;;55218:60;;55250:28;;-1:-1:-1;;;55250:28:0;;;;;;;;;;;55218:60;-1:-1:-1;;;;;;55296:25:0;;;;;:18;:25;;;;;;50465:13;55296:54;;55134:224::o;10814:103::-;10236:6;;-1:-1:-1;;;;;10236:6:0;77644:10;10383:23;10375:68;;;;-1:-1:-1;;;10375:68:0;;;;;;;:::i;:::-;10879:30:::1;10906:1;10879:18;:30::i;:::-;10814:103::o:0;81612:208::-;10236:6;;-1:-1:-1;;;;;10236:6:0;77644:10;10383:23;10375:68;;;;-1:-1:-1;;;10375:68:0;;;;;;;:::i;:::-;80251:3:::1;81742:6;81726:13;:11;:13::i;:::-;:22;;;;:::i;:::-;:36;;81718:58;;;::::0;-1:-1:-1;;;81718:58:0;;10982:2:1;81718:58:0::1;::::0;::::1;10964:21:1::0;11021:1;11001:18;;;10994:29;-1:-1:-1;;;11039:18:1;;;11032:39;11088:18;;81718:58:0::1;10780:332:1::0;81718:58:0::1;81785:29;81795:10;81807:6;81785:9;:29::i;:::-;81612:208:::0;:::o;59637:104::-;59693:13;59726:7;59719:14;;;;;:::i;61812:308::-;-1:-1:-1;;;;;61911:31:0;;77644:10;61911:31;61907:61;;;61951:17;;-1:-1:-1;;;61951:17:0;;;;;;;;;;;61907:61;77644:10;61981:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;61981:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;61981:60:0;;;;;;;;;;62057:55;;8578:41:1;;;61981:49:0;;77644:10;62057:55;;8551:18:1;62057:55:0;;;;;;;61812:308;;:::o;62919:396::-;63086:28;63096:4;63102:2;63106:7;63086:9;:28::i;:::-;-1:-1:-1;;;;;63129:14:0;;;:19;63125:183;;63168:56;63199:4;63205:2;63209:7;63218:5;63168:30;:56::i;:::-;63163:145;;63252:40;;-1:-1:-1;;;63252:40:0;;;;;;;;;;;63163:145;62919:396;;;;:::o;80305:37::-;;;;;;;:::i;80730:435::-;80829:13;80872:17;80880:8;80872:7;:17::i;:::-;80856:98;;;;-1:-1:-1;;;80856:98:0;;12083:2:1;80856:98:0;;;12065:21:1;12122:2;12102:18;;;12095:30;12161:34;12141:18;;;12134:62;-1:-1:-1;;;12212:18:1;;;12205:45;12267:19;;80856:98:0;11881:411:1;80856:98:0;80963:28;80994:10;:8;:10::i;:::-;80963:41;;81049:1;81024:14;81018:28;:32;:141;;;;;;;;;;;;;;;;;81086:14;81101:26;81118:8;81101:16;:26::i;:::-;81130:13;81069:75;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;81018:141;81011:148;80730:435;-1:-1:-1;;;80730:435:0:o;82269:238::-;10236:6;;-1:-1:-1;;;;;10236:6:0;77644:10;10383:23;10375:68;;;;-1:-1:-1;;;10375:68:0;;;;;;;:::i;:::-;82359:15;;82345:11:::1;82385:115;82405:3;82401:1;:7;82385:115;;;82430:15;82448:8;82457:1;82448:11;;;;;;;;:::i;:::-;;;;;;;82430:29;;82474:14;82480:7;82474:5;:14::i;:::-;-1:-1:-1::0;82410:3:0;::::1;::::0;::::1;:::i;:::-;;;;82385:115;;11072:201:::0;10236:6;;-1:-1:-1;;;;;10236:6:0;77644:10;10383:23;10375:68;;;;-1:-1:-1;;;10375:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;11161:22:0;::::1;11153:73;;;::::0;-1:-1:-1;;;11153:73:0;;10172:2:1;11153:73:0::1;::::0;::::1;10154:21:1::0;10211:2;10191:18;;;10184:30;10250:34;10230:18;;;10223:62;-1:-1:-1;;;10301:18:1;;;10294:36;10347:19;;11153:73:0::1;9970:402:1::0;11153:73:0::1;11237:28;11256:8;11237:18;:28::i;81830:315::-:0;82053:6;;81969:37;;-1:-1:-1;;81986:10:0;5698:2:1;5694:15;5690:53;81969:37:0;;;5678:66:1;5760:12;;;5753:28;;;-1:-1:-1;;;;;82053:6:0;;;;81959:90;;82041:1;;82044;;82047;;81959:73;;5797:12:1;;81969:37:0;;;;;;;;;;;;81959:48;;;;;;35616:58;;7594:66:1;35616:58:0;;;7582:79:1;7677:12;;;7670:28;;;35483:7:0;;7714:12:1;;35616:58:0;;;;;;;;;;;;35606:69;;;;;;35599:76;;35414:269;;;;81959:73;:81;:90;;:81;:90::i;:::-;-1:-1:-1;;;;;81959:100:0;;81955:158;;82083:18;;-1:-1:-1;;;82083:18:0;;;;;;;;;;;81955:158;82123:14;82129:7;82123:5;:14::i;63570:273::-;63627:4;63717:13;;63707:7;:23;63664:152;;;;-1:-1:-1;;63768:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;63768:43:0;:48;;63570:273::o;56772:1129::-;56839:7;56874;56976:13;;56969:4;:20;56965:869;;;57014:14;57031:23;;;:17;:23;;;;;;-1:-1:-1;;;57120:23:0;;57116:699;;57639:113;57646:11;57639:113;;-1:-1:-1;;;57717:6:0;57699:25;;;;:17;:25;;;;;;57639:113;;57116:699;56991:843;56965:869;57862:31;;-1:-1:-1;;;57862:31:0;;;;;;;;;;;68809:2520;68929:27;68959;68978:7;68959:18;:27::i;:::-;68929:57;;69044:4;-1:-1:-1;;;;;69003:45:0;69019:19;-1:-1:-1;;;;;69003:45:0;;68999:86;;69057:28;;-1:-1:-1;;;69057:28:0;;;;;;;;;;;68999:86;69098:22;77644:10;-1:-1:-1;;;;;69124:27:0;;;;:87;;-1:-1:-1;69168:43:0;69185:4;77644:10;62191:164;:::i;69168:43::-;69124:147;;;-1:-1:-1;77644:10:0;69228:20;69240:7;69228:11;:20::i;:::-;-1:-1:-1;;;;;69228:43:0;;69124:147;69098:174;;69290:17;69285:66;;69316:35;;-1:-1:-1;;;69316:35:0;;;;;;;;;;;69285:66;-1:-1:-1;;;;;69366:16:0;;69362:52;;69391:23;;-1:-1:-1;;;69391:23:0;;;;;;;;;;;69362:52;69543:24;;;;:15;:24;;;;;;;;69536:31;;-1:-1:-1;;;;;;69536:31:0;;;-1:-1:-1;;;;;69935:24:0;;;;;:18;:24;;;;;69933:26;;-1:-1:-1;;69933:26:0;;;70004:22;;;;;;;70002:24;;-1:-1:-1;70002:24:0;;;70297:26;;;:17;:26;;;;;-1:-1:-1;;;70385:15:0;51119:3;70385:41;70343:84;;:128;;70297:174;;;70591:46;;70587:626;;70695:1;70685:11;;70663:19;70818:30;;;:17;:30;;;;;;70814:384;;70956:13;;70941:11;:28;70937:242;;71103:30;;;;:17;:30;;;;;:52;;;70937:242;70644:569;70587:626;71260:7;71256:2;-1:-1:-1;;;;;71241:27:0;71250:4;-1:-1:-1;;;;;71241:27:0;-1:-1:-1;;;;;;;;;;;71241:27:0;;;;;;;;;68918:2411;;68809:2520;;;:::o;63927:104::-;63996:27;64006:2;64010:8;63996:27;;;;;;;;;;;;:9;:27::i;11433:191::-;11526:6;;;-1:-1:-1;;;;;11543:17:0;;;-1:-1:-1;;;;;;11543:17:0;;;;;;;11576:40;;11526:6;;;11543:17;11526:6;;11576:40;;11507:16;;11576:40;11496:128;11433:191;:::o;75026:716::-;75210:88;;-1:-1:-1;;;75210:88:0;;75189:4;;-1:-1:-1;;;;;75210:45:0;;;;;:88;;77644:10;;75277:4;;75283:7;;75292:5;;75210:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75210:88:0;;;;;;;;-1:-1:-1;;75210:88:0;;;;;;;;;;;;:::i;:::-;;;75206:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;75493:13:0;;75489:235;;75539:40;;-1:-1:-1;;;75539:40:0;;;;;;;;;;;75489:235;75682:6;75676:13;75667:6;75663:2;75659:15;75652:38;75206:529;-1:-1:-1;;;;;;75369:64:0;-1:-1:-1;;;75369:64:0;;-1:-1:-1;75206:529:0;75026:716;;;;;;:::o;82153:108::-;82213:13;82246:7;82239:14;;;;;:::i;6449:723::-;6505:13;6726:10;6722:53;;-1:-1:-1;;6753:10:0;;;;;;;;;;;;-1:-1:-1;;;6753:10:0;;;;;6449:723::o;6722:53::-;6800:5;6785:12;6841:78;6848:9;;6841:78;;6874:8;;;;:::i;:::-;;-1:-1:-1;6897:10:0;;-1:-1:-1;6905:2:0;6897:10;;:::i;:::-;;;6841:78;;;6929:19;6961:6;6951:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6951:17:0;;6929:39;;6979:154;6986:10;;6979:154;;7013:11;7023:1;7013:11;;:::i;:::-;;-1:-1:-1;7082:10:0;7090:2;7082:5;:10;:::i;:::-;7069:24;;:2;:24;:::i;:::-;7056:39;;7039:6;7046;7039:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;7039:56:0;;;;;;;;-1:-1:-1;7110:11:0;7119:2;7110:11;;:::i;:::-;;;6979:154;;71407:89;71467:21;71473:7;71482:5;71467;:21::i;34835:279::-;34963:7;34984:17;35003:18;35025:25;35036:4;35042:1;35045;35048;35025:10;:25::i;:::-;34983:67;;;;35061:18;35073:5;35061:11;:18::i;:::-;-1:-1:-1;35097:9:0;34835:279;-1:-1:-1;;;;;34835:279:0:o;64404:2236::-;64527:20;64550:13;-1:-1:-1;;;;;64578:16:0;;64574:48;;64603:19;;-1:-1:-1;;;64603:19:0;;;;;;;;;;;64574:48;64637:13;64633:44;;64659:18;;-1:-1:-1;;;64659:18:0;;;;;;;;;;;64633:44;-1:-1:-1;;;;;65226:22:0;;;;;;:18;:22;;;;50602:2;65226:22;;;:70;;65264:31;65252:44;;65226:70;;;65539:31;;;:17;:31;;;;;65632:15;51119:3;65632:41;65590:84;;-1:-1:-1;65710:13:0;;51382:3;65695:56;65590:162;65539:213;;:31;;65833:23;;;;65877:14;:19;65873:635;;65917:313;65948:38;;65973:12;;-1:-1:-1;;;;;65948:38:0;;;65965:1;;-1:-1:-1;;;;;;;;;;;65948:38:0;65965:1;;65948:38;66014:69;66053:1;66057:2;66061:14;;;;;;66077:5;66014:30;:69::i;:::-;66009:174;;66119:40;;-1:-1:-1;;;66119:40:0;;;;;;;;;;;66009:174;66225:3;66210:12;:18;65917:313;;66311:12;66294:13;;:29;66290:43;;66325:8;;;66290:43;65873:635;;;66374:119;66405:40;;66430:14;;;;;-1:-1:-1;;;;;66405:40:0;;;66422:1;;-1:-1:-1;;;;;;;;;;;66405:40:0;66422:1;;66405:40;66488:3;66473:12;:18;66374:119;;65873:635;-1:-1:-1;66522:13:0;:28;;;66572:60;;66605:2;66609:12;66623:8;66572:60;:::i;71725:2809::-;71805:27;71835;71854:7;71835:18;:27::i;:::-;71805:57;-1:-1:-1;71805:57:0;71940:311;;;;71974:22;77644:10;-1:-1:-1;;;;;72000:27:0;;;;:91;;-1:-1:-1;72048:43:0;72065:4;77644:10;62191:164;:::i;72048:43::-;72000:155;;;-1:-1:-1;77644:10:0;72112:20;72124:7;72112:11;:20::i;:::-;-1:-1:-1;;;;;72112:43:0;;72000:155;71974:182;;72178:17;72173:66;;72204:35;;-1:-1:-1;;;72204:35:0;;;;;;;;;;;72173:66;71959:292;71940:311;72387:24;;;;:15;:24;;;;;;;;72380:31;;-1:-1:-1;;;;;;72380:31:0;;;-1:-1:-1;;;;;73000:24:0;;;;:18;:24;;;;;:59;;73028:31;73000:59;;;73297:26;;;:17;:26;;;;;-1:-1:-1;;;73387:15:0;51119:3;73387:41;73343:86;;:165;73297:211;;-1:-1:-1;;;73628:46:0;;73624:626;;73732:1;73722:11;;73700:19;73855:30;;;:17;:30;;;;;;73851:384;;73993:13;;73978:11;:28;73974:242;;74140:30;;;;:17;:30;;;;;:52;;;73974:242;73681:569;73624:626;74278:35;;74305:7;;74301:1;;-1:-1:-1;;;;;74278:35:0;;;-1:-1:-1;;;;;;;;;;;74278:35:0;74301:1;;74278:35;-1:-1:-1;;74501:12:0;:14;;;;;;-1:-1:-1;;71725:2809:0:o;33064:1632::-;33195:7;;34129:66;34116:79;;34112:163;;;-1:-1:-1;34228:1:0;;-1:-1:-1;34232:30:0;34212:51;;34112:163;34289:1;:7;;34294:2;34289:7;;:18;;;;;34300:1;:7;;34305:2;34300:7;;34289:18;34285:102;;;-1:-1:-1;34340:1:0;;-1:-1:-1;34344:30:0;34324:51;;34285:102;34501:24;;;34484:14;34501:24;;;;;;;;;8857:25:1;;;8930:4;8918:17;;8898:18;;;8891:45;;;;8952:18;;;8945:34;;;8995:18;;;8988:34;;;34501:24:0;;8829:19:1;;34501:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;34501:24:0;;-1:-1:-1;;34501:24:0;;;-1:-1:-1;;;;;;;34540:20:0;;34536:103;;34593:1;34597:29;34577:50;;;;;;;34536:103;34659:6;-1:-1:-1;34667:20:0;;-1:-1:-1;33064:1632:0;;;;;;;;:::o;27726:643::-;27804:20;27795:5;:29;;;;;;;;:::i;:::-;;27791:571;;;27726:643;:::o;27791:571::-;27902:29;27893:5;:38;;;;;;;;:::i;:::-;;27889:473;;;27948:34;;-1:-1:-1;;;27948:34:0;;9459:2:1;27948:34:0;;;9441:21:1;9498:2;9478:18;;;9471:30;9537:26;9517:18;;;9510:54;9581:18;;27948:34:0;9257:348:1;27889:473:0;28013:35;28004:5;:44;;;;;;;;:::i;:::-;;28000:362;;;28065:41;;-1:-1:-1;;;28065:41:0;;9812:2:1;28065:41:0;;;9794:21:1;9851:2;9831:18;;;9824:30;9890:33;9870:18;;;9863:61;9941:18;;28065:41:0;9610:355:1;28000:362:0;28137:30;28128:5;:39;;;;;;;;:::i;:::-;;28124:238;;;28184:44;;-1:-1:-1;;;28184:44:0;;10579:2:1;28184:44:0;;;10561:21:1;10618:2;10598:18;;;10591:30;10657:34;10637:18;;;10630:62;-1:-1:-1;;;10708:18:1;;;10701:32;10750:19;;28184:44:0;10377:398:1;28124:238:0;28259:30;28250:5;:39;;;;;;;;:::i;:::-;;28246:116;;;28306:44;;-1:-1:-1;;;28306:44:0;;11319:2:1;28306:44:0;;;11301:21:1;11358:2;11338:18;;;11331:30;11397:34;11377:18;;;11370:62;-1:-1:-1;;;11448:18:1;;;11441:32;11490:19;;28306:44:0;11117:398:1;-1:-1:-1;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:186::-;662:6;715:2;703:9;694:7;690:23;686:32;683:52;;;731:1;728;721:12;683:52;754:29;773:9;754:29;:::i;794:260::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;;1010:38;1044:2;1033:9;1029:18;1010:38;:::i;:::-;1000:48;;794:260;;;;;:::o;1059:328::-;1136:6;1144;1152;1205:2;1193:9;1184:7;1180:23;1176:32;1173:52;;;1221:1;1218;1211:12;1173:52;1244:29;1263:9;1244:29;:::i;:::-;1234:39;;1292:38;1326:2;1315:9;1311:18;1292:38;:::i;:::-;1282:48;;1377:2;1366:9;1362:18;1349:32;1339:42;;1059:328;;;;;:::o;1392:666::-;1487:6;1495;1503;1511;1564:3;1552:9;1543:7;1539:23;1535:33;1532:53;;;1581:1;1578;1571:12;1532:53;1604:29;1623:9;1604:29;:::i;:::-;1594:39;;1652:38;1686:2;1675:9;1671:18;1652:38;:::i;:::-;1642:48;;1737:2;1726:9;1722:18;1709:32;1699:42;;1792:2;1781:9;1777:18;1764:32;1819:18;1811:6;1808:30;1805:50;;;1851:1;1848;1841:12;1805:50;1874:22;;1927:4;1919:13;;1915:27;-1:-1:-1;1905:55:1;;1956:1;1953;1946:12;1905:55;1979:73;2044:7;2039:2;2026:16;2021:2;2017;2013:11;1979:73;:::i;:::-;1969:83;;;1392:666;;;;;;;:::o;2063:347::-;2128:6;2136;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2228:29;2247:9;2228:29;:::i;:::-;2218:39;;2307:2;2296:9;2292:18;2279:32;2354:5;2347:13;2340:21;2333:5;2330:32;2320:60;;2376:1;2373;2366:12;2320:60;2399:5;2389:15;;;2063:347;;;;;:::o;2415:254::-;2483:6;2491;2544:2;2532:9;2523:7;2519:23;2515:32;2512:52;;;2560:1;2557;2550:12;2512:52;2583:29;2602:9;2583:29;:::i;:::-;2573:39;2659:2;2644:18;;;;2631:32;;-1:-1:-1;;;2415:254:1:o;2674:957::-;2758:6;2789:2;2832;2820:9;2811:7;2807:23;2803:32;2800:52;;;2848:1;2845;2838:12;2800:52;2888:9;2875:23;2917:18;2958:2;2950:6;2947:14;2944:34;;;2974:1;2971;2964:12;2944:34;3012:6;3001:9;2997:22;2987:32;;3057:7;3050:4;3046:2;3042:13;3038:27;3028:55;;3079:1;3076;3069:12;3028:55;3115:2;3102:16;3137:2;3133;3130:10;3127:36;;;3143:18;;:::i;:::-;3189:2;3186:1;3182:10;3172:20;;3212:28;3236:2;3232;3228:11;3212:28;:::i;:::-;3274:15;;;3305:12;;;;3337:11;;;3367;;;3363:20;;3360:33;-1:-1:-1;3357:53:1;;;3406:1;3403;3396:12;3357:53;3428:1;3419:10;;3438:163;3452:2;3449:1;3446:9;3438:163;;;3509:17;;3497:30;;3470:1;3463:9;;;;;3547:12;;;;3579;;3438:163;;;-1:-1:-1;3620:5:1;2674:957;-1:-1:-1;;;;;;;;2674:957:1:o;3636:245::-;3694:6;3747:2;3735:9;3726:7;3722:23;3718:32;3715:52;;;3763:1;3760;3753:12;3715:52;3802:9;3789:23;3821:30;3845:5;3821:30;:::i;3886:249::-;3955:6;4008:2;3996:9;3987:7;3983:23;3979:32;3976:52;;;4024:1;4021;4014:12;3976:52;4056:9;4050:16;4075:30;4099:5;4075:30;:::i;4140:450::-;4209:6;4262:2;4250:9;4241:7;4237:23;4233:32;4230:52;;;4278:1;4275;4268:12;4230:52;4318:9;4305:23;4351:18;4343:6;4340:30;4337:50;;;4383:1;4380;4373:12;4337:50;4406:22;;4459:4;4451:13;;4447:27;-1:-1:-1;4437:55:1;;4488:1;4485;4478:12;4437:55;4511:73;4576:7;4571:2;4558:16;4553:2;4549;4545:11;4511:73;:::i;4595:180::-;4654:6;4707:2;4695:9;4686:7;4682:23;4678:32;4675:52;;;4723:1;4720;4713:12;4675:52;-1:-1:-1;4746:23:1;;4595:180;-1:-1:-1;4595:180:1:o;4780:474::-;4864:6;4872;4880;4888;4941:3;4929:9;4920:7;4916:23;4912:33;4909:53;;;4958:1;4955;4948:12;4909:53;4994:9;4981:23;4971:33;;5054:2;5043:9;5039:18;5026:32;5098:4;5091:5;5087:16;5080:5;5077:27;5067:55;;5118:1;5115;5108:12;5067:55;4780:474;;5141:5;;-1:-1:-1;;;;5193:2:1;5178:18;;5165:32;;5244:2;5229:18;5216:32;;4780:474::o;5259:257::-;5300:3;5338:5;5332:12;5365:6;5360:3;5353:19;5381:63;5437:6;5430:4;5425:3;5421:14;5414:4;5407:5;5403:16;5381:63;:::i;:::-;5498:2;5477:15;-1:-1:-1;;5473:29:1;5464:39;;;;5505:4;5460:50;;5259:257;-1:-1:-1;;5259:257:1:o;5820:1527::-;6044:3;6082:6;6076:13;6108:4;6121:51;6165:6;6160:3;6155:2;6147:6;6143:15;6121:51;:::i;:::-;6235:13;;6194:16;;;;6257:55;6235:13;6194:16;6279:15;;;6257:55;:::i;:::-;6401:13;;6334:20;;;6374:1;;6461;6483:18;;;;6536;;;;6563:93;;6641:4;6631:8;6627:19;6615:31;;6563:93;6704:2;6694:8;6691:16;6671:18;6668:40;6665:167;;;-1:-1:-1;;;6731:33:1;;6787:4;6784:1;6777:15;6817:4;6738:3;6805:17;6665:167;6848:18;6875:110;;;;6999:1;6994:328;;;;6841:481;;6875:110;-1:-1:-1;;6910:24:1;;6896:39;;6955:20;;;;-1:-1:-1;6875:110:1;;6994:328;12832:1;12825:14;;;12869:4;12856:18;;7089:1;7103:169;7117:8;7114:1;7111:15;7103:169;;;7199:14;;7184:13;;;7177:37;7242:16;;;;7134:10;;7103:169;;;7107:3;;7303:8;7296:5;7292:20;7285:27;;6841:481;-1:-1:-1;7338:3:1;;5820:1527;-1:-1:-1;;;;;;;;;;;5820:1527:1:o;7945:488::-;-1:-1:-1;;;;;8214:15:1;;;8196:34;;8266:15;;8261:2;8246:18;;8239:43;8313:2;8298:18;;8291:34;;;8361:3;8356:2;8341:18;;8334:31;;;8139:4;;8382:45;;8407:19;;8399:6;8382:45;:::i;:::-;8374:53;7945:488;-1:-1:-1;;;;;;7945:488:1:o;9033:219::-;9182:2;9171:9;9164:21;9145:4;9202:44;9242:2;9231:9;9227:18;9219:6;9202:44;:::i;11520:356::-;11722:2;11704:21;;;11741:18;;;11734:30;11800:34;11795:2;11780:18;;11773:62;11867:2;11852:18;;11520:356::o;12479:275::-;12550:2;12544:9;12615:2;12596:13;;-1:-1:-1;;12592:27:1;12580:40;;12650:18;12635:34;;12671:22;;;12632:62;12629:88;;;12697:18;;:::i;:::-;12733:2;12726:22;12479:275;;-1:-1:-1;12479:275:1:o;12885:128::-;12925:3;12956:1;12952:6;12949:1;12946:13;12943:39;;;12962:18;;:::i;:::-;-1:-1:-1;12998:9:1;;12885:128::o;13018:120::-;13058:1;13084;13074:35;;13089:18;;:::i;:::-;-1:-1:-1;13123:9:1;;13018:120::o;13143:125::-;13183:4;13211:1;13208;13205:8;13202:34;;;13216:18;;:::i;:::-;-1:-1:-1;13253:9:1;;13143:125::o;13273:258::-;13345:1;13355:113;13369:6;13366:1;13363:13;13355:113;;;13445:11;;;13439:18;13426:11;;;13419:39;13391:2;13384:10;13355:113;;;13486:6;13483:1;13480:13;13477:48;;;-1:-1:-1;;13521:1:1;13503:16;;13496:27;13273:258::o;13536:380::-;13615:1;13611:12;;;;13658;;;13679:61;;13733:4;13725:6;13721:17;13711:27;;13679:61;13786:2;13778:6;13775:14;13755:18;13752:38;13749:161;;;13832:10;13827:3;13823:20;13820:1;13813:31;13867:4;13864:1;13857:15;13895:4;13892:1;13885:15;13749:161;;13536:380;;;:::o;13921:135::-;13960:3;-1:-1:-1;;13981:17:1;;13978:43;;;14001:18;;:::i;:::-;-1:-1:-1;14048:1:1;14037:13;;13921:135::o;14061:112::-;14093:1;14119;14109:35;;14124:18;;:::i;:::-;-1:-1:-1;14158:9:1;;14061:112::o;14178:127::-;14239:10;14234:3;14230:20;14227:1;14220:31;14270:4;14267:1;14260:15;14294:4;14291:1;14284:15;14310:127;14371:10;14366:3;14362:20;14359:1;14352:31;14402:4;14399:1;14392:15;14426:4;14423:1;14416:15;14442:127;14503:10;14498:3;14494:20;14491:1;14484:31;14534:4;14531:1;14524:15;14558:4;14555:1;14548:15;14574:127;14635:10;14630:3;14626:20;14623:1;14616:31;14666:4;14663:1;14656:15;14690:4;14687:1;14680:15;14706:127;14767:10;14762:3;14758:20;14755:1;14748:31;14798:4;14795:1;14788:15;14822:4;14819:1;14812:15;14838:131;-1:-1:-1;;;;;;14912:32:1;;14902:43;;14892:71;;14959:1;14956;14949:12
Swarm Source
ipfs://2422f7debaafe5cad3cb949676e8a8210cef62833315dd4c1a083c236a62661d
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.