ERC-721
Overview
Max Total Supply
53 BB3
Holders
25
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BB3Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
BadBoysWeb3
Compiler Version
v0.8.23+commit.f704f362
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//βββββββ ββββββ βββββββ βββββββ βββββββ βββ βββββββββββ βββββββ ββββββββ βββ ββββββββββββββββββ βββββββ //ββββββββββββββββββββββββ βββββββββββββββββββββ ββββββββββββ βββββββββββββββββ βββ βββββββββββββββββββββββββββ //βββββββββββββββββββ βββ βββββββββββ βββ βββββββ ββββββββ βββ βββββββββ βββ ββ βββββββββ ββββββββ βββββββ //βββββββββββββββββββ βββ βββββββββββ βββ βββββ ββββββββ βββ βββββββββ ββββββββββββββββ ββββββββ βββββββ //βββββββββββ βββββββββββ βββββββββββββββββ βββ ββββββββ ββββββββββββ ββββββββββββββββββββββββββββββββββ //βββββββ βββ ββββββββββ βββββββ βββββββ βββ ββββββββ βββββββ βββ ββββββββ βββββββββββββββ βββββββ // GAWDDESS WAS HERE // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.20; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/access/AccessControl.sol"; contract BadBoysWeb3 is ERC721A, ERC2981, Ownable, ReentrancyGuard, AccessControl { uint256 public constant TOTAL_POSSIBLE = 1440; uint256 public mintPrice = 0.055 ether; bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE"); string private URI; string private preRevealURI; string private baseExt; bool public revealed = false; bool public publicMintOpen = false; address public teamWallet; constructor() ERC721A("Bad Boys of Web3", "BB3") { _setDefaultRoyalty(owner(), 500); _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); } function setTeamWallet(address _teamWallet) external onlyOwner { require(_teamWallet != address(0), "Invalid address"); teamWallet = _teamWallet; } function withdrawETH() external onlyOwner { require(teamWallet != address(0), "Team wallet not set"); (bool sent, ) = payable(teamWallet).call{value: address(this).balance}(""); require(sent, "Failed to send Ether"); } function publicMint(uint amount, address recipient) external payable nonReentrant onlyRole(MINTER_ROLE) { require(publicMintOpen && recipient != address(0), "Minting not allowed or invalid address"); require(msg.value >= mintPrice * amount, "Insufficient ETH for minting"); require(totalSupply() + amount <= TOTAL_POSSIBLE, "SOLD OUT"); _mint(recipient, amount); } function setMintPrice(uint256 newPrice) external onlyOwner { mintPrice = newPrice; } function setURI(string calldata newURI) external onlyOwner { URI = newURI; } function setPreRevealURI(string calldata _preRevealURI) external onlyOwner { preRevealURI = _preRevealURI; } function toggleReveal() external onlyOwner { revealed = true; } function togglePublic() external onlyOwner { publicMintOpen = !publicMintOpen; } function setURIExtension(string calldata newBaseExt) external onlyOwner { baseExt = newBaseExt; } function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); if (revealed) { return string(abi.encodePacked(URI, _toString(tokenId), baseExt)); } else { return preRevealURI; } } function setRoyaltyInfo(address recipient, uint96 feeBasisPoints) external onlyOwner { _setDefaultRoyalty(recipient, feeBasisPoints); } function airdrop(uint amount, address recipient) external { require(owner() == _msgSender() || hasRole(MINTER_ROLE, _msgSender()), "Caller is not the owner or Crossmint"); require(totalSupply() + amount <= TOTAL_POSSIBLE, "Exceeds max supply"); _mint(recipient, amount); } function grantMinterRole(address account) public onlyOwner { grantRole(MINTER_ROLE, account); } function revokeMinterRole(address account) public onlyOwner { revokeRole(MINTER_ROLE, account); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981, AccessControl) returns (bool) { return interfaceId == 0x80ac58cd || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol) pragma solidity ^0.8.20; import {IAccessControl} from "./IAccessControl.sol"; import {Context} from "../utils/Context.sol"; import {ERC165} from "../utils/introspection/ERC165.sol"; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ```solidity * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ```solidity * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules} * to enforce additional security measures for this role. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address account => bool) hasRole; bytes32 adminRole; } mapping(bytes32 role => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with an {AccessControlUnauthorizedAccount} error including the required role. */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual returns (bool) { return _roles[role].hasRole[account]; } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()` * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier. */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account` * is missing `role`. */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert AccessControlUnauthorizedAccount(account, role); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleGranted} event. */ function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. * * May emit a {RoleRevoked} event. */ function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. * * May emit a {RoleRevoked} event. */ function renounceRole(bytes32 role, address callerConfirmation) public virtual { if (callerConfirmation != _msgSender()) { revert AccessControlBadConfirmation(); } _revokeRole(role, callerConfirmation); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted. * * Internal function without access restriction. * * May emit a {RoleGranted} event. */ function _grantRole(bytes32 role, address account) internal virtual returns (bool) { if (!hasRole(role, account)) { _roles[role].hasRole[account] = true; emit RoleGranted(role, account, _msgSender()); return true; } else { return false; } } /** * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked. * * Internal function without access restriction. * * May emit a {RoleRevoked} event. */ function _revokeRole(bytes32 role, address account) internal virtual returns (bool) { if (hasRole(role, account)) { _roles[role].hasRole[account] = false; emit RoleRevoked(role, account, _msgSender()); return true; } else { return false; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (token/common/ERC2981.sol) pragma solidity ^0.8.20; import {IERC2981} from "../../interfaces/IERC2981.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator); /** * @dev The default royalty receiver is invalid. */ error ERC2981InvalidDefaultRoyaltyReceiver(address receiver); /** * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator); /** * @dev The royalty receiver for `tokenId` is invalid. */ error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidDefaultRoyaltyReceiver(address(0)); } _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0)); } _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.15; import "@openzeppelin/contracts/utils/Context.sol"; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() { _transferOwnership(address(0xa92838ed7C8e6A6CEe783f8583Ae4A7F0352cE3d)); } modifier onlyOwner() { _checkOwner(); _; } function owner() public view virtual returns (address) { return _owner; } function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } function renounceOwnership() external virtual onlyOwner { _transferOwnership(address(0)); } function transferOwnership(address newOwner) external virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./IERC165.sol"; /** * @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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.20; import {IERC165} from "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol) pragma solidity ^0.8.20; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev The `account` is missing a role. */ error AccessControlUnauthorizedAccount(address account, bytes32 neededRole); /** * @dev The caller of a function is not the expected one. * * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}. */ error AccessControlBadConfirmation(); /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `callerConfirmation`. */ function renounceRole(bytes32 role, address callerConfirmation) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_POSSIBLE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"grantMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"revokeMinterRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_preRevealURI","type":"string"}],"name":"setPreRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamWallet","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newURI","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseExt","type":"string"}],"name":"setURIExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266c3663566a58000600d555f60115f6101000a81548160ff0219169083151502179055505f601160016101000a81548160ff0219169083151502179055503480156200004e575f80fd5b506040518060400160405280601081526020017f42616420426f7973206f662057656233000000000000000000000000000000008152506040518060400160405280600381526020017f42423300000000000000000000000000000000000000000000000000000000008152508160029081620000cc919062000800565b508060039081620000de919062000800565b50620000ef6200019460201b60201c565b5f8190555050506200011b73a92838ed7c8e6a6cee783f8583ae4a7f0352ce3d6200019860201b60201c565b6001600b8190555062000146620001376200025b60201b60201c565b6101f46200028360201b60201c565b6200015a5f801b336200042c60201b60201c565b506200018d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200042c60201b60201c565b50620009cd565b5f90565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b5f620002946200052860201b60201c565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115620002fc5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401620002f392919062000944565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036200036f575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401620003669190620009b2565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f6200043f83836200053160201b60201c565b6200051e576001600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550620004ba6200059560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a46001905062000522565b5f90505b92915050565b5f612710905090565b5f600c5f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b5f33905090565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200061857607f821691505b6020821081036200062e576200062d620005d3565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620006927fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000655565b6200069e868362000655565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f620006e8620006e2620006dc84620006b6565b620006bf565b620006b6565b9050919050565b5f819050919050565b6200070383620006c8565b6200071b6200071282620006ef565b84845462000661565b825550505050565b5f90565b6200073162000723565b6200073e818484620006f8565b505050565b5b818110156200076557620007595f8262000727565b60018101905062000744565b5050565b601f821115620007b4576200077e8162000634565b620007898462000646565b8101602085101562000799578190505b620007b1620007a88562000646565b83018262000743565b50505b505050565b5f82821c905092915050565b5f620007d65f1984600802620007b9565b1980831691505092915050565b5f620007f08383620007c5565b9150826002028217905092915050565b6200080b826200059c565b67ffffffffffffffff811115620008275762000826620005a6565b5b62000833825462000600565b6200084082828562000769565b5f60209050601f83116001811462000876575f841562000861578287015190505b6200086d8582620007e3565b865550620008dc565b601f198416620008868662000634565b5f5b82811015620008af5784890151825560018201915060208501945060208101905062000888565b86831015620008cf5784890151620008cb601f891682620007c5565b8355505b6001600288020188555050505b505050505050565b5f6bffffffffffffffffffffffff82169050919050565b5f6200091b620009156200090f84620008e4565b620006bf565b620006b6565b9050919050565b6200092d81620008fb565b82525050565b6200093e81620006b6565b82525050565b5f604082019050620009595f83018562000922565b62000968602083018462000933565b9392505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200099a826200096f565b9050919050565b620009ac816200098e565b82525050565b5f602082019050620009c75f830184620009a1565b92915050565b613e2580620009db5f395ff3fe60806040526004361061025b575f3560e01c80636817c76c11610143578063b88d4fde116100b5578063d539139311610079578063d53913931461086a578063d547741f14610894578063e086e5ec146108bc578063e985e9c5146108d2578063f2fde38b1461090e578063f4a0a528146109365761025b565b8063b88d4fde14610796578063bc63f02e146107b2578063bcc9ca5b146107da578063c87b56dd14610804578063d298b8a5146108405761025b565b8063907097511161010757806390709751146106a057806391d14854146106c857806395d89b4114610704578063981d87711461072e578063a217fddf14610744578063a22cb4651461076e5761025b565b80636817c76c146105d257806369e2f0fb146105fc57806370a0823114610624578063715018a6146106605780638da5cb5b146106765761025b565b80632a55205a116101dc57806341a38e7f116101a057806341a38e7f146104f457806342842e0e14610510578063518302271461052c57806359927044146105565780635b8ad429146105805780636352211e146105965761025b565b80632a55205a146104175780632a85db55146104545780632f2ff15d1461047c57806336568abe146104a45780633dd1eb61146104cc5761025b565b8063095ea7b311610223578063095ea7b3146103515780631525ff7d1461036d57806318160ddd1461039557806323b872dd146103bf578063248a9ca3146103db5761025b565b806301ffc9a71461025f57806302fa7c471461029b57806302fe5305146102c357806306fdde03146102eb578063081812fc14610315575b5f80fd5b34801561026a575f80fd5b5061028560048036038101906102809190612a7b565b61095e565b6040516102929190612ac0565b60405180910390f35b3480156102a6575f80fd5b506102c160048036038101906102bc9190612b74565b61099f565b005b3480156102ce575f80fd5b506102e960048036038101906102e49190612c13565b6109b5565b005b3480156102f6575f80fd5b506102ff6109d3565b60405161030c9190612ce8565b60405180910390f35b348015610320575f80fd5b5061033b60048036038101906103369190612d3b565b610a63565b6040516103489190612d75565b60405180910390f35b61036b60048036038101906103669190612d8e565b610add565b005b348015610378575f80fd5b50610393600480360381019061038e9190612dcc565b610c1c565b005b3480156103a0575f80fd5b506103a9610cd6565b6040516103b69190612e06565b60405180910390f35b6103d960048036038101906103d49190612e1f565b610ceb565b005b3480156103e6575f80fd5b5061040160048036038101906103fc9190612ea2565b610ff9565b60405161040e9190612edc565b60405180910390f35b348015610422575f80fd5b5061043d60048036038101906104389190612ef5565b611016565b60405161044b929190612f33565b60405180910390f35b34801561045f575f80fd5b5061047a60048036038101906104759190612c13565b6111f2565b005b348015610487575f80fd5b506104a2600480360381019061049d9190612f5a565b611210565b005b3480156104af575f80fd5b506104ca60048036038101906104c59190612f5a565b611232565b005b3480156104d7575f80fd5b506104f260048036038101906104ed9190612dcc565b6112ad565b005b61050e60048036038101906105099190612f98565b6112e2565b005b61052a60048036038101906105259190612e1f565b611459565b005b348015610537575f80fd5b50610540611478565b60405161054d9190612ac0565b60405180910390f35b348015610561575f80fd5b5061056a61148a565b6040516105779190612d75565b60405180910390f35b34801561058b575f80fd5b506105946114b0565b005b3480156105a1575f80fd5b506105bc60048036038101906105b79190612d3b565b6114d4565b6040516105c99190612d75565b60405180910390f35b3480156105dd575f80fd5b506105e66114e5565b6040516105f39190612e06565b60405180910390f35b348015610607575f80fd5b50610622600480360381019061061d9190612dcc565b6114eb565b005b34801561062f575f80fd5b5061064a60048036038101906106459190612dcc565b611520565b6040516106579190612e06565b60405180910390f35b34801561066b575f80fd5b506106746115d5565b005b348015610681575f80fd5b5061068a6115e8565b6040516106979190612d75565b60405180910390f35b3480156106ab575f80fd5b506106c660048036038101906106c19190612c13565b611610565b005b3480156106d3575f80fd5b506106ee60048036038101906106e99190612f5a565b61162e565b6040516106fb9190612ac0565b60405180910390f35b34801561070f575f80fd5b50610718611692565b6040516107259190612ce8565b60405180910390f35b348015610739575f80fd5b50610742611722565b005b34801561074f575f80fd5b50610758611756565b6040516107659190612edc565b60405180910390f35b348015610779575f80fd5b50610794600480360381019061078f9190613000565b61175c565b005b6107b060048036038101906107ab9190613166565b611862565b005b3480156107bd575f80fd5b506107d860048036038101906107d39190612f98565b6118d4565b005b3480156107e5575f80fd5b506107ee6119ed565b6040516107fb9190612ac0565b60405180910390f35b34801561080f575f80fd5b5061082a60048036038101906108259190612d3b565b611a00565b6040516108379190612ce8565b60405180910390f35b34801561084b575f80fd5b50610854611b24565b6040516108619190612e06565b60405180910390f35b348015610875575f80fd5b5061087e611b2a565b60405161088b9190612edc565b60405180910390f35b34801561089f575f80fd5b506108ba60048036038101906108b59190612f5a565b611b4e565b005b3480156108c7575f80fd5b506108d0611b70565b005b3480156108dd575f80fd5b506108f860048036038101906108f391906131e6565b611cd5565b6040516109059190612ac0565b60405180910390f35b348015610919575f80fd5b50610934600480360381019061092f9190612dcc565b611d63565b005b348015610941575f80fd5b5061095c60048036038101906109579190612d3b565b611de5565b005b5f6380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610998575061099782611df7565b5b9050919050565b6109a7611e70565b6109b18282611eee565b5050565b6109bd611e70565b8181600e91826109ce929190613428565b505050565b6060600280546109e29061325b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0e9061325b565b8015610a595780601f10610a3057610100808354040283529160200191610a59565b820191905f5260205f20905b815481529060010190602001808311610a3c57829003601f168201915b5050505050905090565b5f610a6d82612089565b610aa3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610ae7826114d4565b90508073ffffffffffffffffffffffffffffffffffffffff16610b086120e3565b73ffffffffffffffffffffffffffffffffffffffff1614610b6b57610b3481610b2f6120e3565b611cd5565b610b6a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c24611e70565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c899061353f565b60405180910390fd5b80601160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f610cdf6120ea565b6001545f540303905090565b5f610cf5826120ee565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610d67846121b1565b91509150610d7d8187610d786120e3565b6121d4565b610dc957610d9286610d8d6120e3565b611cd5565b610dc8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e2e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e3b8686866001612217565b8015610e45575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610f0d85610ee988888761221d565b7c020000000000000000000000000000000000000000000000000000000017612244565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610f89575f6001850190505f60045f8381526020019081526020015f205403610f87575f548114610f86578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ff1868686600161226e565b505050505050565b5f600c5f8381526020019081526020015f20600101549050919050565b5f805f60095f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff160361119f5760086040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f6111a8612274565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111d4919061358a565b6111de91906135f8565b9050815f0151819350935050509250929050565b6111fa611e70565b8181600f918261120b929190613428565b505050565b61121982610ff9565b6112228161227d565b61122c8383612291565b50505050565b61123a61237b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461129e576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112a88282612382565b505050565b6112b5611e70565b6112df7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611210565b50565b6112ea61246c565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66113148161227d565b601160019054906101000a900460ff16801561135c57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b61139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290613698565b60405180910390fd5b82600d546113a9919061358a565b3410156113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290613700565b60405180910390fd5b6105a0836113f7610cd6565b611401919061371e565b1115611442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114399061379b565b60405180910390fd5b61144c82846124bb565b50611455612664565b5050565b61147383838360405180602001604052805f815250611862565b505050565b60115f9054906101000a900460ff1681565b601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114b8611e70565b600160115f6101000a81548160ff021916908315150217905550565b5f6114de826120ee565b9050919050565b600d5481565b6114f3611e70565b61151d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611b4e565b50565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611586576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b6115dd611e70565b6115e65f61266e565b565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611618611e70565b818160109182611629929190613428565b505050565b5f600c5f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6060600380546116a19061325b565b80601f01602080910402602001604051908101604052809291908181526020018280546116cd9061325b565b80156117185780601f106116ef57610100808354040283529160200191611718565b820191905f5260205f20905b8154815290600101906020018083116116fb57829003601f168201915b5050505050905090565b61172a611e70565b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b5f801b81565b8060075f6117686120e3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118116120e3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118569190612ac0565b60405180910390a35050565b61186d848484610ceb565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146118ce5761189784848484612731565b6118cd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6118dc61237b565b73ffffffffffffffffffffffffffffffffffffffff166118fa6115e8565b73ffffffffffffffffffffffffffffffffffffffff16148061194957506119487f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661194361237b565b61162e565b5b611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197f90613829565b60405180910390fd5b6105a082611994610cd6565b61199e919061371e565b11156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690613891565b60405180910390fd5b6119e981836124bb565b5050565b601160019054906101000a900460ff1681565b6060611a0b82612089565b611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a419061391f565b60405180910390fd5b60115f9054906101000a900460ff1615611a9357600e611a698361287c565b6010604051602001611a7d939291906139f7565b6040516020818303038152906040529050611b1f565b600f8054611aa09061325b565b80601f0160208091040260200160405190810160405280929190818152602001828054611acc9061325b565b8015611b175780601f10611aee57610100808354040283529160200191611b17565b820191905f5260205f20905b815481529060010190602001808311611afa57829003601f168201915b505050505090505b919050565b6105a081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611b5782610ff9565b611b608161227d565b611b6a8383612382565b50505050565b611b78611e70565b5f73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff90613a71565b60405180910390fd5b5f601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611c4f90613abc565b5f6040518083038185875af1925050503d805f8114611c89576040519150601f19603f3d011682016040523d82523d5f602084013e611c8e565b606091505b5050905080611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc990613b1a565b60405180910390fd5b50565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611d6b611e70565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090613ba8565b60405180910390fd5b611de28161266e565b50565b611ded611e70565b80600d8190555050565b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e695750611e68826128cb565b5b9050919050565b611e7861237b565b73ffffffffffffffffffffffffffffffffffffffff16611e966115e8565b73ffffffffffffffffffffffffffffffffffffffff1614611eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee390613c10565b60405180910390fd5b565b5f611ef7612274565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611f5c5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401611f53929190613c5e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fcc575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401611fc39190612d75565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f816120936120ea565b111580156120a157505f5482105b80156120dc57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f90565b5f80829050806120fc6120ea565b1161217a575f54811015612179575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603612177575b5f810361216d5760045f836001900393508381526020019081526020015f20549050612146565b80925050506121ac565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612233868684612944565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b61228e8161228961237b565b61294c565b50565b5f61229c838361162e565b612371576001600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061230e61237b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050612375565b5f90505b92915050565b5f33905090565b5f61238d838361162e565b15612462575f600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506123ff61237b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050612466565b5f90505b92915050565b6002600b54036124b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a890613ccf565b60405180910390fd5b6002600b81905550565b5f805490505f82036124f9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125055f848385612217565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612577836125685f865f61221d565b6125718561299d565b17612244565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146126115780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506125d8565b505f820361264b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f81905550505061265f5f84838561226e565b505050565b6001600b81905550565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127566120e3565b8786866040518563ffffffff1660e01b81526004016127789493929190613d3f565b6020604051808303815f875af19250505080156127b357506040513d601f19601f820116820180604052508101906127b09190613d9d565b60015b612829573d805f81146127e1576040519150601f19603f3d011682016040523d82523d5f602084013e6127e6565b606091505b505f815103612821576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b6001156128b657600184039350600a81066030018453600a8104905080612894575b50828103602084039350808452505050919050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061293d575061293c826129ac565b5b9050919050565b5f9392505050565b612956828261162e565b6129995780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401612990929190613dc8565b60405180910390fd5b5050565b5f6001821460e11b9050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a5a81612a26565b8114612a64575f80fd5b50565b5f81359050612a7581612a51565b92915050565b5f60208284031215612a9057612a8f612a1e565b5b5f612a9d84828501612a67565b91505092915050565b5f8115159050919050565b612aba81612aa6565b82525050565b5f602082019050612ad35f830184612ab1565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612b0282612ad9565b9050919050565b612b1281612af8565b8114612b1c575f80fd5b50565b5f81359050612b2d81612b09565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612b5381612b33565b8114612b5d575f80fd5b50565b5f81359050612b6e81612b4a565b92915050565b5f8060408385031215612b8a57612b89612a1e565b5b5f612b9785828601612b1f565b9250506020612ba885828601612b60565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112612bd357612bd2612bb2565b5b8235905067ffffffffffffffff811115612bf057612bef612bb6565b5b602083019150836001820283011115612c0c57612c0b612bba565b5b9250929050565b5f8060208385031215612c2957612c28612a1e565b5b5f83013567ffffffffffffffff811115612c4657612c45612a22565b5b612c5285828601612bbe565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612c95578082015181840152602081019050612c7a565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612cba82612c5e565b612cc48185612c68565b9350612cd4818560208601612c78565b612cdd81612ca0565b840191505092915050565b5f6020820190508181035f830152612d008184612cb0565b905092915050565b5f819050919050565b612d1a81612d08565b8114612d24575f80fd5b50565b5f81359050612d3581612d11565b92915050565b5f60208284031215612d5057612d4f612a1e565b5b5f612d5d84828501612d27565b91505092915050565b612d6f81612af8565b82525050565b5f602082019050612d885f830184612d66565b92915050565b5f8060408385031215612da457612da3612a1e565b5b5f612db185828601612b1f565b9250506020612dc285828601612d27565b9150509250929050565b5f60208284031215612de157612de0612a1e565b5b5f612dee84828501612b1f565b91505092915050565b612e0081612d08565b82525050565b5f602082019050612e195f830184612df7565b92915050565b5f805f60608486031215612e3657612e35612a1e565b5b5f612e4386828701612b1f565b9350506020612e5486828701612b1f565b9250506040612e6586828701612d27565b9150509250925092565b5f819050919050565b612e8181612e6f565b8114612e8b575f80fd5b50565b5f81359050612e9c81612e78565b92915050565b5f60208284031215612eb757612eb6612a1e565b5b5f612ec484828501612e8e565b91505092915050565b612ed681612e6f565b82525050565b5f602082019050612eef5f830184612ecd565b92915050565b5f8060408385031215612f0b57612f0a612a1e565b5b5f612f1885828601612d27565b9250506020612f2985828601612d27565b9150509250929050565b5f604082019050612f465f830185612d66565b612f536020830184612df7565b9392505050565b5f8060408385031215612f7057612f6f612a1e565b5b5f612f7d85828601612e8e565b9250506020612f8e85828601612b1f565b9150509250929050565b5f8060408385031215612fae57612fad612a1e565b5b5f612fbb85828601612d27565b9250506020612fcc85828601612b1f565b9150509250929050565b612fdf81612aa6565b8114612fe9575f80fd5b50565b5f81359050612ffa81612fd6565b92915050565b5f806040838503121561301657613015612a1e565b5b5f61302385828601612b1f565b925050602061303485828601612fec565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61307882612ca0565b810181811067ffffffffffffffff8211171561309757613096613042565b5b80604052505050565b5f6130a9612a15565b90506130b5828261306f565b919050565b5f67ffffffffffffffff8211156130d4576130d3613042565b5b6130dd82612ca0565b9050602081019050919050565b828183375f83830152505050565b5f61310a613105846130ba565b6130a0565b9050828152602081018484840111156131265761312561303e565b5b6131318482856130ea565b509392505050565b5f82601f83011261314d5761314c612bb2565b5b813561315d8482602086016130f8565b91505092915050565b5f805f806080858703121561317e5761317d612a1e565b5b5f61318b87828801612b1f565b945050602061319c87828801612b1f565b93505060406131ad87828801612d27565b925050606085013567ffffffffffffffff8111156131ce576131cd612a22565b5b6131da87828801613139565b91505092959194509250565b5f80604083850312156131fc576131fb612a1e565b5b5f61320985828601612b1f565b925050602061321a85828601612b1f565b9150509250929050565b5f82905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061327257607f821691505b6020821081036132855761328461322e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026132e77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826132ac565b6132f186836132ac565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61332c61332761332284612d08565b613309565b612d08565b9050919050565b5f819050919050565b61334583613312565b61335961335182613333565b8484546132b8565b825550505050565b5f90565b61336d613361565b61337881848461333c565b505050565b5b8181101561339b576133905f82613365565b60018101905061337e565b5050565b601f8211156133e0576133b18161328b565b6133ba8461329d565b810160208510156133c9578190505b6133dd6133d58561329d565b83018261337d565b50505b505050565b5f82821c905092915050565b5f6134005f19846008026133e5565b1980831691505092915050565b5f61341883836133f1565b9150826002028217905092915050565b6134328383613224565b67ffffffffffffffff81111561344b5761344a613042565b5b613455825461325b565b61346082828561339f565b5f601f83116001811461348d575f841561347b578287013590505b613485858261340d565b8655506134ec565b601f19841661349b8661328b565b5f5b828110156134c25784890135825560018201915060208501945060208101905061349d565b868310156134df57848901356134db601f8916826133f1565b8355505b6001600288020188555050505b50505050505050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f613529600f83612c68565b9150613534826134f5565b602082019050919050565b5f6020820190508181035f8301526135568161351d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61359482612d08565b915061359f83612d08565b92508282026135ad81612d08565b915082820484148315176135c4576135c361355d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61360282612d08565b915061360d83612d08565b92508261361d5761361c6135cb565b5b828204905092915050565b7f4d696e74696e67206e6f7420616c6c6f776564206f7220696e76616c696420615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613682602683612c68565b915061368d82613628565b604082019050919050565b5f6020820190508181035f8301526136af81613676565b9050919050565b7f496e73756666696369656e742045544820666f72206d696e74696e67000000005f82015250565b5f6136ea601c83612c68565b91506136f5826136b6565b602082019050919050565b5f6020820190508181035f830152613717816136de565b9050919050565b5f61372882612d08565b915061373383612d08565b925082820190508082111561374b5761374a61355d565b5b92915050565b7f534f4c44204f55540000000000000000000000000000000000000000000000005f82015250565b5f613785600883612c68565b915061379082613751565b602082019050919050565b5f6020820190508181035f8301526137b281613779565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f722043726f73735f8201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b5f613813602483612c68565b915061381e826137b9565b604082019050919050565b5f6020820190508181035f83015261384081613807565b9050919050565b7f45786365656473206d617820737570706c7900000000000000000000000000005f82015250565b5f61387b601283612c68565b915061388682613847565b602082019050919050565b5f6020820190508181035f8301526138a88161386f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f613909602f83612c68565b9150613914826138af565b604082019050919050565b5f6020820190508181035f830152613936816138fd565b9050919050565b5f81905092915050565b5f81546139538161325b565b61395d818661393d565b9450600182165f8114613977576001811461398c576139be565b60ff19831686528115158202860193506139be565b6139958561328b565b5f5b838110156139b657815481890152600182019150602081019050613997565b838801955050505b50505092915050565b5f6139d182612c5e565b6139db818561393d565b93506139eb818560208601612c78565b80840191505092915050565b5f613a028286613947565b9150613a0e82856139c7565b9150613a1a8284613947565b9150819050949350505050565b7f5465616d2077616c6c6574206e6f7420736574000000000000000000000000005f82015250565b5f613a5b601383612c68565b9150613a6682613a27565b602082019050919050565b5f6020820190508181035f830152613a8881613a4f565b9050919050565b5f81905092915050565b50565b5f613aa75f83613a8f565b9150613ab282613a99565b5f82019050919050565b5f613ac682613a9c565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f613b04601483612c68565b9150613b0f82613ad0565b602082019050919050565b5f6020820190508181035f830152613b3181613af8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613b92602683612c68565b9150613b9d82613b38565b604082019050919050565b5f6020820190508181035f830152613bbf81613b86565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613bfa602083612c68565b9150613c0582613bc6565b602082019050919050565b5f6020820190508181035f830152613c2781613bee565b9050919050565b5f613c48613c43613c3e84612b33565b613309565b612d08565b9050919050565b613c5881613c2e565b82525050565b5f604082019050613c715f830185613c4f565b613c7e6020830184612df7565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613cb9601f83612c68565b9150613cc482613c85565b602082019050919050565b5f6020820190508181035f830152613ce681613cad565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613d1182613ced565b613d1b8185613cf7565b9350613d2b818560208601612c78565b613d3481612ca0565b840191505092915050565b5f608082019050613d525f830187612d66565b613d5f6020830186612d66565b613d6c6040830185612df7565b8181036060830152613d7e8184613d07565b905095945050505050565b5f81519050613d9781612a51565b92915050565b5f60208284031215613db257613db1612a1e565b5b5f613dbf84828501613d89565b91505092915050565b5f604082019050613ddb5f830185612d66565b613de86020830184612ecd565b939250505056fea26469706673582212201de6b002bbf55f0e7ebfccb5f6c9c058a2ba47b95dab08ef9237abb6f3bf0df664736f6c63430008170033
Deployed Bytecode
0x60806040526004361061025b575f3560e01c80636817c76c11610143578063b88d4fde116100b5578063d539139311610079578063d53913931461086a578063d547741f14610894578063e086e5ec146108bc578063e985e9c5146108d2578063f2fde38b1461090e578063f4a0a528146109365761025b565b8063b88d4fde14610796578063bc63f02e146107b2578063bcc9ca5b146107da578063c87b56dd14610804578063d298b8a5146108405761025b565b8063907097511161010757806390709751146106a057806391d14854146106c857806395d89b4114610704578063981d87711461072e578063a217fddf14610744578063a22cb4651461076e5761025b565b80636817c76c146105d257806369e2f0fb146105fc57806370a0823114610624578063715018a6146106605780638da5cb5b146106765761025b565b80632a55205a116101dc57806341a38e7f116101a057806341a38e7f146104f457806342842e0e14610510578063518302271461052c57806359927044146105565780635b8ad429146105805780636352211e146105965761025b565b80632a55205a146104175780632a85db55146104545780632f2ff15d1461047c57806336568abe146104a45780633dd1eb61146104cc5761025b565b8063095ea7b311610223578063095ea7b3146103515780631525ff7d1461036d57806318160ddd1461039557806323b872dd146103bf578063248a9ca3146103db5761025b565b806301ffc9a71461025f57806302fa7c471461029b57806302fe5305146102c357806306fdde03146102eb578063081812fc14610315575b5f80fd5b34801561026a575f80fd5b5061028560048036038101906102809190612a7b565b61095e565b6040516102929190612ac0565b60405180910390f35b3480156102a6575f80fd5b506102c160048036038101906102bc9190612b74565b61099f565b005b3480156102ce575f80fd5b506102e960048036038101906102e49190612c13565b6109b5565b005b3480156102f6575f80fd5b506102ff6109d3565b60405161030c9190612ce8565b60405180910390f35b348015610320575f80fd5b5061033b60048036038101906103369190612d3b565b610a63565b6040516103489190612d75565b60405180910390f35b61036b60048036038101906103669190612d8e565b610add565b005b348015610378575f80fd5b50610393600480360381019061038e9190612dcc565b610c1c565b005b3480156103a0575f80fd5b506103a9610cd6565b6040516103b69190612e06565b60405180910390f35b6103d960048036038101906103d49190612e1f565b610ceb565b005b3480156103e6575f80fd5b5061040160048036038101906103fc9190612ea2565b610ff9565b60405161040e9190612edc565b60405180910390f35b348015610422575f80fd5b5061043d60048036038101906104389190612ef5565b611016565b60405161044b929190612f33565b60405180910390f35b34801561045f575f80fd5b5061047a60048036038101906104759190612c13565b6111f2565b005b348015610487575f80fd5b506104a2600480360381019061049d9190612f5a565b611210565b005b3480156104af575f80fd5b506104ca60048036038101906104c59190612f5a565b611232565b005b3480156104d7575f80fd5b506104f260048036038101906104ed9190612dcc565b6112ad565b005b61050e60048036038101906105099190612f98565b6112e2565b005b61052a60048036038101906105259190612e1f565b611459565b005b348015610537575f80fd5b50610540611478565b60405161054d9190612ac0565b60405180910390f35b348015610561575f80fd5b5061056a61148a565b6040516105779190612d75565b60405180910390f35b34801561058b575f80fd5b506105946114b0565b005b3480156105a1575f80fd5b506105bc60048036038101906105b79190612d3b565b6114d4565b6040516105c99190612d75565b60405180910390f35b3480156105dd575f80fd5b506105e66114e5565b6040516105f39190612e06565b60405180910390f35b348015610607575f80fd5b50610622600480360381019061061d9190612dcc565b6114eb565b005b34801561062f575f80fd5b5061064a60048036038101906106459190612dcc565b611520565b6040516106579190612e06565b60405180910390f35b34801561066b575f80fd5b506106746115d5565b005b348015610681575f80fd5b5061068a6115e8565b6040516106979190612d75565b60405180910390f35b3480156106ab575f80fd5b506106c660048036038101906106c19190612c13565b611610565b005b3480156106d3575f80fd5b506106ee60048036038101906106e99190612f5a565b61162e565b6040516106fb9190612ac0565b60405180910390f35b34801561070f575f80fd5b50610718611692565b6040516107259190612ce8565b60405180910390f35b348015610739575f80fd5b50610742611722565b005b34801561074f575f80fd5b50610758611756565b6040516107659190612edc565b60405180910390f35b348015610779575f80fd5b50610794600480360381019061078f9190613000565b61175c565b005b6107b060048036038101906107ab9190613166565b611862565b005b3480156107bd575f80fd5b506107d860048036038101906107d39190612f98565b6118d4565b005b3480156107e5575f80fd5b506107ee6119ed565b6040516107fb9190612ac0565b60405180910390f35b34801561080f575f80fd5b5061082a60048036038101906108259190612d3b565b611a00565b6040516108379190612ce8565b60405180910390f35b34801561084b575f80fd5b50610854611b24565b6040516108619190612e06565b60405180910390f35b348015610875575f80fd5b5061087e611b2a565b60405161088b9190612edc565b60405180910390f35b34801561089f575f80fd5b506108ba60048036038101906108b59190612f5a565b611b4e565b005b3480156108c7575f80fd5b506108d0611b70565b005b3480156108dd575f80fd5b506108f860048036038101906108f391906131e6565b611cd5565b6040516109059190612ac0565b60405180910390f35b348015610919575f80fd5b50610934600480360381019061092f9190612dcc565b611d63565b005b348015610941575f80fd5b5061095c60048036038101906109579190612d3b565b611de5565b005b5f6380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610998575061099782611df7565b5b9050919050565b6109a7611e70565b6109b18282611eee565b5050565b6109bd611e70565b8181600e91826109ce929190613428565b505050565b6060600280546109e29061325b565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0e9061325b565b8015610a595780601f10610a3057610100808354040283529160200191610a59565b820191905f5260205f20905b815481529060010190602001808311610a3c57829003601f168201915b5050505050905090565b5f610a6d82612089565b610aa3576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60065f8381526020019081526020015f205f015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b5f610ae7826114d4565b90508073ffffffffffffffffffffffffffffffffffffffff16610b086120e3565b73ffffffffffffffffffffffffffffffffffffffff1614610b6b57610b3481610b2f6120e3565b611cd5565b610b6a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b8260065f8481526020019081526020015f205f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610c24611e70565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c899061353f565b60405180910390fd5b80601160026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b5f610cdf6120ea565b6001545f540303905090565b5f610cf5826120ee565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d5c576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80610d67846121b1565b91509150610d7d8187610d786120e3565b6121d4565b610dc957610d9286610d8d6120e3565b611cd5565b610dc8576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5f73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603610e2e576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610e3b8686866001612217565b8015610e45575f82555b60055f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8154600190039190508190555060055f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f815460010191905081905550610f0d85610ee988888761221d565b7c020000000000000000000000000000000000000000000000000000000017612244565b60045f8681526020019081526020015f20819055505f7c0200000000000000000000000000000000000000000000000000000000841603610f89575f6001850190505f60045f8381526020019081526020015f205403610f87575f548114610f86578360045f8381526020019081526020015f20819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610ff1868686600161226e565b505050505050565b5f600c5f8381526020019081526020015f20600101549050919050565b5f805f60095f8681526020019081526020015f206040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505f73ffffffffffffffffffffffffffffffffffffffff16815f015173ffffffffffffffffffffffffffffffffffffffff160361119f5760086040518060400160405290815f82015f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020015f820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b5f6111a8612274565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866111d4919061358a565b6111de91906135f8565b9050815f0151819350935050509250929050565b6111fa611e70565b8181600f918261120b929190613428565b505050565b61121982610ff9565b6112228161227d565b61122c8383612291565b50505050565b61123a61237b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461129e576040517f6697b23200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112a88282612382565b505050565b6112b5611e70565b6112df7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611210565b50565b6112ea61246c565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66113148161227d565b601160019054906101000a900460ff16801561135c57505f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b61139b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139290613698565b60405180910390fd5b82600d546113a9919061358a565b3410156113eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e290613700565b60405180910390fd5b6105a0836113f7610cd6565b611401919061371e565b1115611442576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114399061379b565b60405180910390fd5b61144c82846124bb565b50611455612664565b5050565b61147383838360405180602001604052805f815250611862565b505050565b60115f9054906101000a900460ff1681565b601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6114b8611e70565b600160115f6101000a81548160ff021916908315150217905550565b5f6114de826120ee565b9050919050565b600d5481565b6114f3611e70565b61151d7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a682611b4e565b50565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611586576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff60055f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054169050919050565b6115dd611e70565b6115e65f61266e565b565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611618611e70565b818160109182611629929190613428565b505050565b5f600c5f8481526020019081526020015f205f015f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b6060600380546116a19061325b565b80601f01602080910402602001604051908101604052809291908181526020018280546116cd9061325b565b80156117185780601f106116ef57610100808354040283529160200191611718565b820191905f5260205f20905b8154815290600101906020018083116116fb57829003601f168201915b5050505050905090565b61172a611e70565b601160019054906101000a900460ff1615601160016101000a81548160ff021916908315150217905550565b5f801b81565b8060075f6117686120e3565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118116120e3565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516118569190612ac0565b60405180910390a35050565b61186d848484610ceb565b5f8373ffffffffffffffffffffffffffffffffffffffff163b146118ce5761189784848484612731565b6118cd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6118dc61237b565b73ffffffffffffffffffffffffffffffffffffffff166118fa6115e8565b73ffffffffffffffffffffffffffffffffffffffff16148061194957506119487f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661194361237b565b61162e565b5b611988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197f90613829565b60405180910390fd5b6105a082611994610cd6565b61199e919061371e565b11156119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690613891565b60405180910390fd5b6119e981836124bb565b5050565b601160019054906101000a900460ff1681565b6060611a0b82612089565b611a4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a419061391f565b60405180910390fd5b60115f9054906101000a900460ff1615611a9357600e611a698361287c565b6010604051602001611a7d939291906139f7565b6040516020818303038152906040529050611b1f565b600f8054611aa09061325b565b80601f0160208091040260200160405190810160405280929190818152602001828054611acc9061325b565b8015611b175780601f10611aee57610100808354040283529160200191611b17565b820191905f5260205f20905b815481529060010190602001808311611afa57829003601f168201915b505050505090505b919050565b6105a081565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611b5782610ff9565b611b608161227d565b611b6a8383612382565b50505050565b611b78611e70565b5f73ffffffffffffffffffffffffffffffffffffffff16601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff90613a71565b60405180910390fd5b5f601160029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611c4f90613abc565b5f6040518083038185875af1925050503d805f8114611c89576040519150601f19603f3d011682016040523d82523d5f602084013e611c8e565b606091505b5050905080611cd2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc990613b1a565b60405180910390fd5b50565b5f60075f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b611d6b611e70565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090613ba8565b60405180910390fd5b611de28161266e565b50565b611ded611e70565b80600d8190555050565b5f7f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611e695750611e68826128cb565b5b9050919050565b611e7861237b565b73ffffffffffffffffffffffffffffffffffffffff16611e966115e8565b73ffffffffffffffffffffffffffffffffffffffff1614611eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee390613c10565b60405180910390fd5b565b5f611ef7612274565b6bffffffffffffffffffffffff16905080826bffffffffffffffffffffffff161115611f5c5781816040517f6f483d09000000000000000000000000000000000000000000000000000000008152600401611f53929190613c5e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fcc575f6040517fb6d9900a000000000000000000000000000000000000000000000000000000008152600401611fc39190612d75565b60405180910390fd5b60405180604001604052808473ffffffffffffffffffffffffffffffffffffffff168152602001836bffffffffffffffffffffffff1681525060085f820151815f015f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151815f0160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff160217905550905050505050565b5f816120936120ea565b111580156120a157505f5482105b80156120dc57505f7c010000000000000000000000000000000000000000000000000000000060045f8581526020019081526020015f205416145b9050919050565b5f33905090565b5f90565b5f80829050806120fc6120ea565b1161217a575f54811015612179575f60045f8381526020019081526020015f205490505f7c0100000000000000000000000000000000000000000000000000000000821603612177575b5f810361216d5760045f836001900393508381526020019081526020015f20549050612146565b80925050506121ac565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b5f805f60065f8581526020019081526020015f2090508092508254915050915091565b5f73ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b5f8060e883901c905060e8612233868684612944565b62ffffff16901b9150509392505050565b5f73ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b5f612710905090565b61228e8161228961237b565b61294c565b50565b5f61229c838361162e565b612371576001600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff02191690831515021790555061230e61237b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a460019050612375565b5f90505b92915050565b5f33905090565b5f61238d838361162e565b15612462575f600c5f8581526020019081526020015f205f015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506123ff61237b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16847ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a460019050612466565b5f90505b92915050565b6002600b54036124b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a890613ccf565b60405180910390fd5b6002600b81905550565b5f805490505f82036124f9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125055f848385612217565b600160406001901b17820260055f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550612577836125685f865f61221d565b6125718561299d565b17612244565b60045f8381526020019081526020015f20819055505f80838301905073ffffffffffffffffffffffffffffffffffffffff8516915082825f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4600183015b8181146126115780835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a46001810190506125d8565b505f820361264b576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805f81905550505061265f5f84838561226e565b505050565b6001600b81905550565b5f600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f8373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127566120e3565b8786866040518563ffffffff1660e01b81526004016127789493929190613d3f565b6020604051808303815f875af19250505080156127b357506040513d601f19601f820116820180604052508101906127b09190613d9d565b60015b612829573d805f81146127e1576040519150601f19603f3d011682016040523d82523d5f602084013e6127e6565b606091505b505f815103612821576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060a060405101806040526020810391505f825281835b6001156128b657600184039350600a81066030018453600a8104905080612894575b50828103602084039350808452505050919050565b5f7f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061293d575061293c826129ac565b5b9050919050565b5f9392505050565b612956828261162e565b6129995780826040517fe2517d3f000000000000000000000000000000000000000000000000000000008152600401612990929190613dc8565b60405180910390fd5b5050565b5f6001821460e11b9050919050565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a5a81612a26565b8114612a64575f80fd5b50565b5f81359050612a7581612a51565b92915050565b5f60208284031215612a9057612a8f612a1e565b5b5f612a9d84828501612a67565b91505092915050565b5f8115159050919050565b612aba81612aa6565b82525050565b5f602082019050612ad35f830184612ab1565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f612b0282612ad9565b9050919050565b612b1281612af8565b8114612b1c575f80fd5b50565b5f81359050612b2d81612b09565b92915050565b5f6bffffffffffffffffffffffff82169050919050565b612b5381612b33565b8114612b5d575f80fd5b50565b5f81359050612b6e81612b4a565b92915050565b5f8060408385031215612b8a57612b89612a1e565b5b5f612b9785828601612b1f565b9250506020612ba885828601612b60565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112612bd357612bd2612bb2565b5b8235905067ffffffffffffffff811115612bf057612bef612bb6565b5b602083019150836001820283011115612c0c57612c0b612bba565b5b9250929050565b5f8060208385031215612c2957612c28612a1e565b5b5f83013567ffffffffffffffff811115612c4657612c45612a22565b5b612c5285828601612bbe565b92509250509250929050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015612c95578082015181840152602081019050612c7a565b5f8484015250505050565b5f601f19601f8301169050919050565b5f612cba82612c5e565b612cc48185612c68565b9350612cd4818560208601612c78565b612cdd81612ca0565b840191505092915050565b5f6020820190508181035f830152612d008184612cb0565b905092915050565b5f819050919050565b612d1a81612d08565b8114612d24575f80fd5b50565b5f81359050612d3581612d11565b92915050565b5f60208284031215612d5057612d4f612a1e565b5b5f612d5d84828501612d27565b91505092915050565b612d6f81612af8565b82525050565b5f602082019050612d885f830184612d66565b92915050565b5f8060408385031215612da457612da3612a1e565b5b5f612db185828601612b1f565b9250506020612dc285828601612d27565b9150509250929050565b5f60208284031215612de157612de0612a1e565b5b5f612dee84828501612b1f565b91505092915050565b612e0081612d08565b82525050565b5f602082019050612e195f830184612df7565b92915050565b5f805f60608486031215612e3657612e35612a1e565b5b5f612e4386828701612b1f565b9350506020612e5486828701612b1f565b9250506040612e6586828701612d27565b9150509250925092565b5f819050919050565b612e8181612e6f565b8114612e8b575f80fd5b50565b5f81359050612e9c81612e78565b92915050565b5f60208284031215612eb757612eb6612a1e565b5b5f612ec484828501612e8e565b91505092915050565b612ed681612e6f565b82525050565b5f602082019050612eef5f830184612ecd565b92915050565b5f8060408385031215612f0b57612f0a612a1e565b5b5f612f1885828601612d27565b9250506020612f2985828601612d27565b9150509250929050565b5f604082019050612f465f830185612d66565b612f536020830184612df7565b9392505050565b5f8060408385031215612f7057612f6f612a1e565b5b5f612f7d85828601612e8e565b9250506020612f8e85828601612b1f565b9150509250929050565b5f8060408385031215612fae57612fad612a1e565b5b5f612fbb85828601612d27565b9250506020612fcc85828601612b1f565b9150509250929050565b612fdf81612aa6565b8114612fe9575f80fd5b50565b5f81359050612ffa81612fd6565b92915050565b5f806040838503121561301657613015612a1e565b5b5f61302385828601612b1f565b925050602061303485828601612fec565b9150509250929050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61307882612ca0565b810181811067ffffffffffffffff8211171561309757613096613042565b5b80604052505050565b5f6130a9612a15565b90506130b5828261306f565b919050565b5f67ffffffffffffffff8211156130d4576130d3613042565b5b6130dd82612ca0565b9050602081019050919050565b828183375f83830152505050565b5f61310a613105846130ba565b6130a0565b9050828152602081018484840111156131265761312561303e565b5b6131318482856130ea565b509392505050565b5f82601f83011261314d5761314c612bb2565b5b813561315d8482602086016130f8565b91505092915050565b5f805f806080858703121561317e5761317d612a1e565b5b5f61318b87828801612b1f565b945050602061319c87828801612b1f565b93505060406131ad87828801612d27565b925050606085013567ffffffffffffffff8111156131ce576131cd612a22565b5b6131da87828801613139565b91505092959194509250565b5f80604083850312156131fc576131fb612a1e565b5b5f61320985828601612b1f565b925050602061321a85828601612b1f565b9150509250929050565b5f82905092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061327257607f821691505b6020821081036132855761328461322e565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026132e77fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826132ac565b6132f186836132ac565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61332c61332761332284612d08565b613309565b612d08565b9050919050565b5f819050919050565b61334583613312565b61335961335182613333565b8484546132b8565b825550505050565b5f90565b61336d613361565b61337881848461333c565b505050565b5b8181101561339b576133905f82613365565b60018101905061337e565b5050565b601f8211156133e0576133b18161328b565b6133ba8461329d565b810160208510156133c9578190505b6133dd6133d58561329d565b83018261337d565b50505b505050565b5f82821c905092915050565b5f6134005f19846008026133e5565b1980831691505092915050565b5f61341883836133f1565b9150826002028217905092915050565b6134328383613224565b67ffffffffffffffff81111561344b5761344a613042565b5b613455825461325b565b61346082828561339f565b5f601f83116001811461348d575f841561347b578287013590505b613485858261340d565b8655506134ec565b601f19841661349b8661328b565b5f5b828110156134c25784890135825560018201915060208501945060208101905061349d565b868310156134df57848901356134db601f8916826133f1565b8355505b6001600288020188555050505b50505050505050565b7f496e76616c6964206164647265737300000000000000000000000000000000005f82015250565b5f613529600f83612c68565b9150613534826134f5565b602082019050919050565b5f6020820190508181035f8301526135568161351d565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61359482612d08565b915061359f83612d08565b92508282026135ad81612d08565b915082820484148315176135c4576135c361355d565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f61360282612d08565b915061360d83612d08565b92508261361d5761361c6135cb565b5b828204905092915050565b7f4d696e74696e67206e6f7420616c6c6f776564206f7220696e76616c696420615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613682602683612c68565b915061368d82613628565b604082019050919050565b5f6020820190508181035f8301526136af81613676565b9050919050565b7f496e73756666696369656e742045544820666f72206d696e74696e67000000005f82015250565b5f6136ea601c83612c68565b91506136f5826136b6565b602082019050919050565b5f6020820190508181035f830152613717816136de565b9050919050565b5f61372882612d08565b915061373383612d08565b925082820190508082111561374b5761374a61355d565b5b92915050565b7f534f4c44204f55540000000000000000000000000000000000000000000000005f82015250565b5f613785600883612c68565b915061379082613751565b602082019050919050565b5f6020820190508181035f8301526137b281613779565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572206f722043726f73735f8201527f6d696e7400000000000000000000000000000000000000000000000000000000602082015250565b5f613813602483612c68565b915061381e826137b9565b604082019050919050565b5f6020820190508181035f83015261384081613807565b9050919050565b7f45786365656473206d617820737570706c7900000000000000000000000000005f82015250565b5f61387b601283612c68565b915061388682613847565b602082019050919050565b5f6020820190508181035f8301526138a88161386f565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f5f8201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b5f613909602f83612c68565b9150613914826138af565b604082019050919050565b5f6020820190508181035f830152613936816138fd565b9050919050565b5f81905092915050565b5f81546139538161325b565b61395d818661393d565b9450600182165f8114613977576001811461398c576139be565b60ff19831686528115158202860193506139be565b6139958561328b565b5f5b838110156139b657815481890152600182019150602081019050613997565b838801955050505b50505092915050565b5f6139d182612c5e565b6139db818561393d565b93506139eb818560208601612c78565b80840191505092915050565b5f613a028286613947565b9150613a0e82856139c7565b9150613a1a8284613947565b9150819050949350505050565b7f5465616d2077616c6c6574206e6f7420736574000000000000000000000000005f82015250565b5f613a5b601383612c68565b9150613a6682613a27565b602082019050919050565b5f6020820190508181035f830152613a8881613a4f565b9050919050565b5f81905092915050565b50565b5f613aa75f83613a8f565b9150613ab282613a99565b5f82019050919050565b5f613ac682613a9c565b9150819050919050565b7f4661696c656420746f2073656e642045746865720000000000000000000000005f82015250565b5f613b04601483612c68565b9150613b0f82613ad0565b602082019050919050565b5f6020820190508181035f830152613b3181613af8565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f613b92602683612c68565b9150613b9d82613b38565b604082019050919050565b5f6020820190508181035f830152613bbf81613b86565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f613bfa602083612c68565b9150613c0582613bc6565b602082019050919050565b5f6020820190508181035f830152613c2781613bee565b9050919050565b5f613c48613c43613c3e84612b33565b613309565b612d08565b9050919050565b613c5881613c2e565b82525050565b5f604082019050613c715f830185613c4f565b613c7e6020830184612df7565b9392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c005f82015250565b5f613cb9601f83612c68565b9150613cc482613c85565b602082019050919050565b5f6020820190508181035f830152613ce681613cad565b9050919050565b5f81519050919050565b5f82825260208201905092915050565b5f613d1182613ced565b613d1b8185613cf7565b9350613d2b818560208601612c78565b613d3481612ca0565b840191505092915050565b5f608082019050613d525f830187612d66565b613d5f6020830186612d66565b613d6c6040830185612df7565b8181036060830152613d7e8184613d07565b905095945050505050565b5f81519050613d9781612a51565b92915050565b5f60208284031215613db257613db1612a1e565b5b5f613dbf84828501613d89565b91505092915050565b5f604082019050613ddb5f830185612d66565b613de86020830184612ecd565b939250505056fea26469706673582212201de6b002bbf55f0e7ebfccb5f6c9c058a2ba47b95dab08ef9237abb6f3bf0df664736f6c63430008170033
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.