Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,058 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Set Approval For... | 23257232 | 158 days ago | IN | 0 ETH | 0.00000947 | ||||
| Set Approval For... | 21767726 | 367 days ago | IN | 0 ETH | 0.00029584 | ||||
| Set Approval For... | 21588286 | 392 days ago | IN | 0 ETH | 0.00041762 | ||||
| Set Approval For... | 21381712 | 421 days ago | IN | 0 ETH | 0.00122368 | ||||
| Set Approval For... | 20597968 | 530 days ago | IN | 0 ETH | 0.00004456 | ||||
| Set Approval For... | 20220695 | 583 days ago | IN | 0 ETH | 0.00027019 | ||||
| Safe Transfer Fr... | 16625032 | 1087 days ago | IN | 0 ETH | 0.00152918 | ||||
| Safe Transfer Fr... | 16601065 | 1091 days ago | IN | 0 ETH | 0.00139551 | ||||
| Safe Transfer Fr... | 16601062 | 1091 days ago | IN | 0 ETH | 0.00133024 | ||||
| Safe Transfer Fr... | 16601060 | 1091 days ago | IN | 0 ETH | 0.00188062 | ||||
| Safe Transfer Fr... | 16601057 | 1091 days ago | IN | 0 ETH | 0.00206927 | ||||
| Safe Transfer Fr... | 16601054 | 1091 days ago | IN | 0 ETH | 0.0018365 | ||||
| Safe Transfer Fr... | 16601014 | 1091 days ago | IN | 0 ETH | 0.00167885 | ||||
| Safe Transfer Fr... | 16601010 | 1091 days ago | IN | 0 ETH | 0.00190911 | ||||
| Safe Transfer Fr... | 16601007 | 1091 days ago | IN | 0 ETH | 0.00210793 | ||||
| Transfer From | 16321763 | 1130 days ago | IN | 0 ETH | 0.00105141 | ||||
| Transfer From | 16321761 | 1130 days ago | IN | 0 ETH | 0.00144633 | ||||
| Transfer From | 16321759 | 1130 days ago | IN | 0 ETH | 0.00141227 | ||||
| Transfer From | 16321758 | 1130 days ago | IN | 0 ETH | 0.00146896 | ||||
| Transfer From | 16321756 | 1130 days ago | IN | 0 ETH | 0.00182834 | ||||
| Set Uri Prefix | 15925228 | 1185 days ago | IN | 0 ETH | 0.00079358 | ||||
| Set Approval For... | 15883116 | 1191 days ago | IN | 0 ETH | 0.00060046 | ||||
| Set Approval For... | 15798884 | 1203 days ago | IN | 0 ETH | 0.00130398 | ||||
| Set Approval For... | 15797030 | 1203 days ago | IN | 0 ETH | 0.00167493 | ||||
| Set Approval For... | 15784541 | 1205 days ago | IN | 0 ETH | 0.00144118 |
Latest 1 internal transaction
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 15186458 | 1295 days ago | 0.24 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
QTZ
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Unlicensed
// ______
// ___\__ \_ ________ ________ _____ ______
// / / \ / \ / \ / / / /|
// / /\ ||\ \/ /|| |/ / |
// | | | || \ /\____/ ||\____\\ / /
// | | / || \______/\ \ | | \|___|/ / /
// | |/ /| \ | | \ \____|/ / /_/____
// |\ \_ /_|_ \|______| \ \ / /\ |
// | \_____\\______\ \ \___\ /_____/ /_____/|
// | | | | \ | | | |/| | |
// \|_____|_______| \|___| |____| |_____|/
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/interfaces/IERC721.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/utils/Arrays.sol';
pragma solidity >=0.8.9 <0.9.0;
contract QTZ is ERC721A, Ownable, ReentrancyGuard {
using Strings for uint256;
string public uriPrefix = "";
string public uriSuffix = ".json";
string public hiddenMetadataUri = "ipfs://QmVo3L8zKkHLrxjrWuXq2cD1yKxfZZW445uPs8SAyjHaFe/hidden.json";
uint256 public Publicprice = .015 ether;
uint256 public maxSupply = 4444;
uint256 public PublicmaxMintAmountPerTx = 44;
bool public paused = false;
bool public publicSaleON = true;
bool public revealed = false;
constructor(
string memory _uriPrefix
) ERC721A("QTZ", "QTZ") {
setUriPrefix(_uriPrefix);
}
// public mint
function QTZMint(uint256 _mintAmount) public payable{
require(!paused, 'The contract is paused!');
require(publicSaleON, 'Public Sale has not started');
require(_mintAmount > 0 && _mintAmount <= PublicmaxMintAmountPerTx, 'Invalid mint amount!');
require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
require(msg.value >= Publicprice * _mintAmount, 'Insufficient funds!');
_safeMint(_msgSender(), _mintAmount);
}
// Aidrop/ Ownermint
function QTZdrop(uint256 _mintAmount, address _address) public onlyOwner {
require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
_safeMint(_address, _mintAmount);
}
function walletOfOwner(address _owner) public view returns (uint256[] memory) {
uint256 ownerTokenCount = balanceOf(_owner);
uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
uint256 currentTokenId = _startTokenId();
uint256 ownedTokenIndex = 0;
address latestOwnerAddress;
while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
TokenOwnership memory ownership = _ownerships[currentTokenId];
if (!ownership.burned && ownership.addr != address(0)) {
latestOwnerAddress = ownership.addr;
}
if (latestOwnerAddress == _owner) {
ownedTokenIds[ownedTokenIndex] = currentTokenId;
ownedTokenIndex++;
}
currentTokenId++;
}
return ownedTokenIds;
}
function _startTokenId() internal view virtual override returns (uint256) {
return 1;
}
function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');
if (revealed == false) {
return hiddenMetadataUri;
}
string memory currentBaseURI = _baseURI();
return bytes(currentBaseURI).length > 0
? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix))
: '';
}
// PublicSaleON
function setpublicSaleON(bool _state) public onlyOwner {
publicSaleON = _state;
}
//reveal
function setRevealed(bool _state) public onlyOwner {
revealed = _state;
}
// hidden uri
function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
hiddenMetadataUri = _hiddenMetadataUri;
}
// actual uri
function setUriPrefix(string memory _uriPrefix) public onlyOwner {
uriPrefix = _uriPrefix;
}
// uri suffix
function setUriSuffix(string memory _uriSuffix) public onlyOwner {
uriSuffix = _uriSuffix;
}
// pause
function setPaused(bool _state) public onlyOwner {
paused = _state;
}
// supply
function setmaxSupply(uint256 _maxSupply) public onlyOwner {
maxSupply = _maxSupply;
}
// public price
function setPublicPrice(uint256 _PublicPrice) public onlyOwner {
Publicprice = _PublicPrice;
}
// PublicmaxMintAmountPerTx
function setPublicmaxMintAmountPerTx(uint256 _PublicmaxMintAmountPerTx) public onlyOwner {
PublicmaxMintAmountPerTx = _PublicmaxMintAmountPerTx;
}
// withdraw
function withdraw() public onlyOwner nonReentrant {
//owner withdraw
(bool os, ) = payable(owner()).call{value: address(this).balance}('');
require(os);
}
function _baseURI() internal view virtual override returns (string memory) {
return uriPrefix;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol)
pragma solidity ^0.8.0;
import "./math/Math.sol";
/**
* @dev Collection of functions related to array types.
*/
library Arrays {
/**
* @dev Searches a sorted `array` and returns the first index that contains
* a value greater or equal to `element`. If no such index exists (i.e. all
* values in the array are strictly less than `element`), the array length is
* returned. Time complexity O(log n).
*
* `array` is expected to be sorted in ascending order, and to contain no
* repeated elements.
*/
function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
if (array.length == 0) {
return 0;
}
uint256 low = 0;
uint256 high = array.length;
while (low < high) {
uint256 mid = Math.average(low, high);
// Note that mid will always be strictly less than high (i.e. it will be a valid array index)
// because Math.average rounds down (it does integer division with truncation).
if (array[mid] > element) {
high = mid;
} else {
low = mid + 1;
}
}
// At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
if (low > 0 && array[low - 1] == element) {
return low - 1;
} else {
return low;
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)
pragma solidity ^0.8.0;
/**
* @dev Contract module that helps prevent reentrant calls to a function.
*
* Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
* available, which can be applied to functions to make sure there are no nested
* (reentrant) calls to them.
*
* Note that because there is a single `nonReentrant` guard, functions marked as
* `nonReentrant` may not call one another. This can be worked around by making
* those functions `private`, and then adding `external` `nonReentrant` entry
* points to them.
*
* TIP: If you would like to learn more about reentrancy and alternative ways
* to protect against it, check out our blog post
* https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
*/
abstract contract ReentrancyGuard {
// Booleans are more expensive than uint256 or any type that takes up a full
// word because each write operation emits an extra SLOAD to first read the
// slot's contents, replace the bits taken up by the boolean, and then write
// back. This is the compiler's defense against contract upgrades and
// pointer aliasing, and it cannot be disabled.
// The values being non-zero value makes deployment a bit more expensive,
// but in exchange the refund on every call to nonReentrant will be lower in
// amount. Since refunds are capped to a percentage of the total
// transaction's gas, it is best to keep them low in cases like this one, to
// increase the likelihood of the full refund coming into effect.
uint256 private constant _NOT_ENTERED = 1;
uint256 private constant _ENTERED = 2;
uint256 private _status;
constructor() {
_status = _NOT_ENTERED;
}
/**
* @dev Prevents a contract from calling itself, directly or indirectly.
* Calling a `nonReentrant` function from another `nonReentrant`
* function is not supported. It is possible to prevent this from happening
* by making the `nonReentrant` function external, and making it call a
* `private` function that does the actual work.
*/
modifier nonReentrant() {
// On the first call to nonReentrant, _notEntered will be true
require(_status != _ENTERED, "ReentrancyGuard: reentrant call");
// Any calls to nonReentrant after this point will fail
_status = _ENTERED;
_;
// By storing the original value once again, a refund is triggered (see
// https://eips.ethereum.org/EIPS/eip-2200)
_status = _NOT_ENTERED;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)
pragma solidity ^0.8.0;
import "../utils/Context.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
* there is an account (an owner) that can be granted exclusive access to
* specific functions.
*
* By default, the owner account will be the one that deploys the contract. This
* can later be changed with {transferOwnership}.
*
* This module is used through inheritance. It will make available the modifier
* `onlyOwner`, which can be applied to your functions to restrict their use to
* the owner.
*/
abstract contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor() {
_transferOwnership(_msgSender());
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view virtual returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public virtual onlyOwner {
_transferOwnership(address(0));
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public virtual onlyOwner {
require(newOwner != address(0), "Ownable: new owner is the zero address");
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Internal function without access restriction.
*/
function _transferOwnership(address newOwner) internal virtual {
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
}// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol) pragma solidity ^0.8.0; import "../token/ERC721/IERC721.sol";
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';
/**
* @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
* the Metadata extension. Built to optimize for lower gas during batch mints.
*
* Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
*
* Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
*
* Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
*/
contract ERC721A is Context, ERC165, IERC721A {
using Address for address;
using Strings for uint256;
// The tokenId of the next token to be minted.
uint256 internal _currentIndex;
// The number of tokens burned.
uint256 internal _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 _ownershipOf implementation for details.
mapping(uint256 => TokenOwnership) internal _ownerships;
// Mapping owner address to address data
mapping(address => AddressData) private _addressData;
// Mapping from token ID to approved address
mapping(uint256 => address) private _tokenApprovals;
// Mapping from owner to operator approvals
mapping(address => mapping(address => bool)) private _operatorApprovals;
constructor(string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
_currentIndex = _startTokenId();
}
/**
* To change the starting tokenId, please override this function.
*/
function _startTokenId() internal view virtual returns (uint256) {
return 0;
}
/**
* @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
*/
function totalSupply() public view override returns (uint256) {
// Counter underflow is impossible as _burnCounter cannot be incremented
// more than _currentIndex - _startTokenId() times
unchecked {
return _currentIndex - _burnCounter - _startTokenId();
}
}
/**
* Returns the total amount of tokens minted in the contract.
*/
function _totalMinted() internal view returns (uint256) {
// Counter underflow is impossible as _currentIndex does not decrement,
// and it is initialized to _startTokenId()
unchecked {
return _currentIndex - _startTokenId();
}
}
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
return
interfaceId == type(IERC721).interfaceId ||
interfaceId == type(IERC721Metadata).interfaceId ||
super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721-balanceOf}.
*/
function balanceOf(address owner) public view override returns (uint256) {
if (owner == address(0)) revert BalanceQueryForZeroAddress();
return uint256(_addressData[owner].balance);
}
/**
* Returns the number of tokens minted by `owner`.
*/
function _numberMinted(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberMinted);
}
/**
* Returns the number of tokens burned by or on behalf of `owner`.
*/
function _numberBurned(address owner) internal view returns (uint256) {
return uint256(_addressData[owner].numberBurned);
}
/**
* Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
*/
function _getAux(address owner) internal view returns (uint64) {
return _addressData[owner].aux;
}
/**
* Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
* If there are multiple variables, please pack them into a uint64.
*/
function _setAux(address owner, uint64 aux) internal {
_addressData[owner].aux = aux;
}
/**
* Gas spent here starts off proportional to the maximum mint batch size.
* It gradually moves to O(1) as tokens get transferred around in the collection over time.
*/
function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
uint256 curr = tokenId;
unchecked {
if (_startTokenId() <= curr) if (curr < _currentIndex) {
TokenOwnership memory ownership = _ownerships[curr];
if (!ownership.burned) {
if (ownership.addr != address(0)) {
return ownership;
}
// Invariant:
// There will always be an ownership that has an address and is not burned
// before an ownership that does not have an address and is not burned.
// Hence, curr will not underflow.
while (true) {
curr--;
ownership = _ownerships[curr];
if (ownership.addr != address(0)) {
return ownership;
}
}
}
}
}
revert OwnerQueryForNonexistentToken();
}
/**
* @dev See {IERC721-ownerOf}.
*/
function ownerOf(uint256 tokenId) public view override returns (address) {
return _ownershipOf(tokenId).addr;
}
/**
* @dev See {IERC721Metadata-name}.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev See {IERC721Metadata-symbol}.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev See {IERC721Metadata-tokenURI}.
*/
function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
if (!_exists(tokenId)) revert URIQueryForNonexistentToken();
string memory baseURI = _baseURI();
return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : '';
}
/**
* @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
* token will be the concatenation of the `baseURI` and the `tokenId`. Empty
* by default, can be overriden in child contracts.
*/
function _baseURI() internal view virtual returns (string memory) {
return '';
}
/**
* @dev See {IERC721-approve}.
*/
function approve(address to, uint256 tokenId) public override {
address owner = ERC721A.ownerOf(tokenId);
if (to == owner) revert ApprovalToCurrentOwner();
if (_msgSender() != owner) if(!isApprovedForAll(owner, _msgSender())) {
revert ApprovalCallerNotOwnerNorApproved();
}
_approve(to, tokenId, owner);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view override returns (address) {
if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();
return _tokenApprovals[tokenId];
}
/**
* @dev See {IERC721-setApprovalForAll}.
*/
function setApprovalForAll(address operator, bool approved) public virtual override {
if (operator == _msgSender()) revert ApproveToCaller();
_operatorApprovals[_msgSender()][operator] = approved;
emit ApprovalForAll(_msgSender(), operator, approved);
}
/**
* @dev See {IERC721-isApprovedForAll}.
*/
function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
return _operatorApprovals[owner][operator];
}
/**
* @dev See {IERC721-transferFrom}.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
_transfer(from, to, tokenId);
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) public virtual override {
safeTransferFrom(from, to, tokenId, '');
}
/**
* @dev See {IERC721-safeTransferFrom}.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes memory _data
) public virtual override {
_transfer(from, to, tokenId);
if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
}
/**
* @dev Returns whether `tokenId` exists.
*
* Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
*
* Tokens start existing when they are minted (`_mint`),
*/
function _exists(uint256 tokenId) internal view returns (bool) {
return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned;
}
/**
* @dev Equivalent to `_safeMint(to, quantity, '')`.
*/
function _safeMint(address to, uint256 quantity) internal {
_safeMint(to, quantity, '');
}
/**
* @dev Safely mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - If `to` refers to a smart contract, it must implement
* {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _safeMint(
address to,
uint256 quantity,
bytes memory _data
) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
if (to.isContract()) {
do {
emit Transfer(address(0), to, updatedIndex);
if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
revert TransferToNonERC721ReceiverImplementer();
}
} while (updatedIndex < end);
// Reentrancy protection
if (_currentIndex != startTokenId) revert();
} else {
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
}
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Mints `quantity` tokens and transfers them to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `quantity` must be greater than 0.
*
* Emits a {Transfer} event.
*/
function _mint(address to, uint256 quantity) internal {
uint256 startTokenId = _currentIndex;
if (to == address(0)) revert MintToZeroAddress();
if (quantity == 0) revert MintZeroQuantity();
_beforeTokenTransfers(address(0), to, startTokenId, quantity);
// Overflows are incredibly unrealistic.
// balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
// updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
unchecked {
_addressData[to].balance += uint64(quantity);
_addressData[to].numberMinted += uint64(quantity);
_ownerships[startTokenId].addr = to;
_ownerships[startTokenId].startTimestamp = uint64(block.timestamp);
uint256 updatedIndex = startTokenId;
uint256 end = updatedIndex + quantity;
do {
emit Transfer(address(0), to, updatedIndex++);
} while (updatedIndex < end);
_currentIndex = updatedIndex;
}
_afterTokenTransfers(address(0), to, startTokenId, quantity);
}
/**
* @dev Transfers `tokenId` from `from` to `to`.
*
* Requirements:
*
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
*
* Emits a {Transfer} event.
*/
function _transfer(
address from,
address to,
uint256 tokenId
) private {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
if (to == address(0)) revert TransferToZeroAddress();
_beforeTokenTransfers(from, to, tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// 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 {
_addressData[from].balance -= 1;
_addressData[to].balance += 1;
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = to;
currSlot.startTimestamp = uint64(block.timestamp);
// If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, to, tokenId);
_afterTokenTransfers(from, to, tokenId, 1);
}
/**
* @dev Equivalent to `_burn(tokenId, false)`.
*/
function _burn(uint256 tokenId) internal virtual {
_burn(tokenId, false);
}
/**
* @dev Destroys `tokenId`.
* The approval is cleared when the token is burned.
*
* Requirements:
*
* - `tokenId` must exist.
*
* Emits a {Transfer} event.
*/
function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
TokenOwnership memory prevOwnership = _ownershipOf(tokenId);
address from = prevOwnership.addr;
if (approvalCheck) {
bool isApprovedOrOwner = (_msgSender() == from ||
isApprovedForAll(from, _msgSender()) ||
getApproved(tokenId) == _msgSender());
if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
}
_beforeTokenTransfers(from, address(0), tokenId, 1);
// Clear approvals from the previous owner
_approve(address(0), tokenId, from);
// 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 {
AddressData storage addressData = _addressData[from];
addressData.balance -= 1;
addressData.numberBurned += 1;
// Keep track of who burned the token, and the timestamp of burning.
TokenOwnership storage currSlot = _ownerships[tokenId];
currSlot.addr = from;
currSlot.startTimestamp = uint64(block.timestamp);
currSlot.burned = true;
// If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
// Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
uint256 nextTokenId = tokenId + 1;
TokenOwnership storage nextSlot = _ownerships[nextTokenId];
if (nextSlot.addr == address(0)) {
// This will suffice for checking _exists(nextTokenId),
// as a burned slot cannot contain the zero address.
if (nextTokenId != _currentIndex) {
nextSlot.addr = from;
nextSlot.startTimestamp = prevOwnership.startTimestamp;
}
}
}
emit Transfer(from, address(0), tokenId);
_afterTokenTransfers(from, address(0), tokenId, 1);
// Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
unchecked {
_burnCounter++;
}
}
/**
* @dev Approve `to` to operate on `tokenId`
*
* Emits a {Approval} event.
*/
function _approve(
address to,
uint256 tokenId,
address owner
) private {
_tokenApprovals[tokenId] = to;
emit Approval(owner, to, tokenId);
}
/**
* @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
*
* @param from address representing the previous owner of the given token ID
* @param to target address that will receive the tokens
* @param tokenId uint256 ID of the token to be transferred
* @param _data bytes optional data to send along with the call
* @return bool whether the call correctly returned the expected magic value
*/
function _checkContractOnERC721Received(
address from,
address to,
uint256 tokenId,
bytes memory _data
) private returns (bool) {
try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
return retval == IERC721Receiver(to).onERC721Received.selector;
} catch (bytes memory reason) {
if (reason.length == 0) {
revert TransferToNonERC721ReceiverImplementer();
} else {
assembly {
revert(add(32, reason), mload(reason))
}
}
}
}
/**
* @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
* And also called before burning one token.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, `tokenId` will be burned by `from`.
* - `from` and `to` are never both zero.
*/
function _beforeTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
/**
* @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
* minting.
* And also called after one token has been burned.
*
* startTokenId - the first token id to be transferred
* quantity - the amount to be transferred
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
* transferred to `to`.
* - When `from` is zero, `tokenId` has been minted for `to`.
* - When `to` is zero, `tokenId` has been burned by `from`.
* - `from` and `to` are never both zero.
*/
function _afterTokenTransfers(
address from,
address to,
uint256 startTokenId,
uint256 quantity
) internal virtual {}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)
pragma solidity ^0.8.0;
import "./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);
* }
* ```
*
* Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
*/
abstract contract ERC165 is IERC165 {
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
return interfaceId == type(IERC165).interfaceId;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
/**
* @dev Converts a `uint256` to its ASCII `string` decimal representation.
*/
function toString(uint256 value) internal pure returns (string memory) {
// Inspired by OraclizeAPI's implementation - MIT licence
// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol
if (value == 0) {
return "0";
}
uint256 temp = value;
uint256 digits;
while (temp != 0) {
digits++;
temp /= 10;
}
bytes memory buffer = new bytes(digits);
while (value != 0) {
digits -= 1;
buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
value /= 10;
}
return string(buffer);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
*/
function toHexString(uint256 value) internal pure returns (string memory) {
if (value == 0) {
return "0x00";
}
uint256 temp = value;
uint256 length = 0;
while (temp != 0) {
length++;
temp >>= 8;
}
return toHexString(value, length);
}
/**
* @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
*/
function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
bytes memory buffer = new bytes(2 * length + 2);
buffer[0] = "0";
buffer[1] = "x";
for (uint256 i = 2 * length + 1; i > 1; --i) {
buffer[i] = _HEX_SYMBOLS[value & 0xf];
value >>= 4;
}
require(value == 0, "Strings: hex length insufficient");
return string(buffer);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)
pragma solidity ^0.8.0;
/**
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
return msg.data;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)
pragma solidity ^0.8.1;
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*
* [IMPORTANT]
* ====
* You shouldn't rely on `isContract` to protect against flash loan attacks!
*
* Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
* constructor.
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies on extcodesize/address.code.length, which returns 0
// for contracts in construction, since the code is only stored at the end
// of the constructor execution.
return account.code.length > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
(bool success, ) = recipient.call{value: amount}("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain `call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
return functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value
) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(
address target,
bytes memory data,
uint256 value,
string memory errorMessage
) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
require(isContract(target), "Address: call to non-contract");
(bool success, bytes memory returndata) = target.call{value: value}(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
return functionStaticCall(target, data, "Address: low-level static call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a static call.
*
* _Available since v3.3._
*/
function functionStaticCall(
address target,
bytes memory data,
string memory errorMessage
) internal view returns (bytes memory) {
require(isContract(target), "Address: static call to non-contract");
(bool success, bytes memory returndata) = target.staticcall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
return functionDelegateCall(target, data, "Address: low-level delegate call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
* but performing a delegate call.
*
* _Available since v3.4._
*/
function functionDelegateCall(
address target,
bytes memory data,
string memory errorMessage
) internal returns (bytes memory) {
require(isContract(target), "Address: delegate call to non-contract");
(bool success, bytes memory returndata) = target.delegatecall(data);
return verifyCallResult(success, returndata, errorMessage);
}
/**
* @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
* revert reason using the provided one.
*
* _Available since v4.3._
*/
function verifyCallResult(
bool success,
bytes memory returndata,
string memory errorMessage
) internal pure returns (bytes memory) {
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)
pragma solidity ^0.8.0;
/**
* @title ERC721 token receiver interface
* @dev Interface for any contract that wants to support safeTransfers
* from ERC721 asset contracts.
*/
interface IERC721Receiver {
/**
* @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
* by `operator` from `from`, this function is called.
*
* It must return its Solidity selector to confirm the token transfer.
* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
*
* The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
*/
function onERC721Received(
address operator,
address from,
uint256 tokenId,
bytes calldata data
) external returns (bytes4);
}// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs
pragma solidity ^0.8.4;
import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';
/**
* @dev Interface of an ERC721A compliant contract.
*/
interface IERC721A is IERC721, IERC721Metadata {
/**
* The caller must own the token or be an approved operator.
*/
error ApprovalCallerNotOwnerNorApproved();
/**
* The token does not exist.
*/
error ApprovalQueryForNonexistentToken();
/**
* The caller cannot approve to their own address.
*/
error ApproveToCaller();
/**
* The caller cannot approve to the current owner.
*/
error ApprovalToCurrentOwner();
/**
* Cannot query the balance for the zero address.
*/
error BalanceQueryForZeroAddress();
/**
* Cannot mint to the zero address.
*/
error MintToZeroAddress();
/**
* The quantity of tokens minted must be more than zero.
*/
error MintZeroQuantity();
/**
* The token does not exist.
*/
error OwnerQueryForNonexistentToken();
/**
* The caller must own the token or be an approved operator.
*/
error TransferCallerNotOwnerNorApproved();
/**
* The token must be owned by `from`.
*/
error TransferFromIncorrectOwner();
/**
* Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
*/
error TransferToNonERC721ReceiverImplementer();
/**
* Cannot transfer to the zero address.
*/
error TransferToZeroAddress();
/**
* The token does not exist.
*/
error URIQueryForNonexistentToken();
// Compiler will pack this into a single 256bit word.
struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
}
// Compiler will pack this into a single 256bit word.
struct AddressData {
// Realistically, 2**64-1 is more than enough.
uint64 balance;
// Keeps track of mint count with minimal overhead for tokenomics.
uint64 numberMinted;
// Keeps track of burn count with minimal overhead for tokenomics.
uint64 numberBurned;
// For miscellaneous variable(s) pertaining to the address
// (e.g. number of whitelist mint slots used).
// If there are multiple variables, please pack them into a uint64.
uint64 aux;
}
/**
* @dev Returns the total amount of tokens stored by the contract.
*
* Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
*/
function totalSupply() external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol)
pragma solidity ^0.8.0;
/**
* @dev Standard math utilities missing in the Solidity language.
*/
library Math {
/**
* @dev Returns the largest of two numbers.
*/
function max(uint256 a, uint256 b) internal pure returns (uint256) {
return a >= b ? a : b;
}
/**
* @dev Returns the smallest of two numbers.
*/
function min(uint256 a, uint256 b) internal pure returns (uint256) {
return a < b ? a : b;
}
/**
* @dev Returns the average of two numbers. The result is rounded towards
* zero.
*/
function average(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b) / 2 can overflow.
return (a & b) + (a ^ b) / 2;
}
/**
* @dev Returns the ceiling of the division of two numbers.
*
* This differs from standard division with `/` in that it rounds up instead
* of rounding down.
*/
function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
// (a + b - 1) / b can overflow on addition, so we distribute.
return a / b + (a % b == 0 ? 0 : 1);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)
pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
/**
* @dev Required interface of an ERC721 compliant contract.
*/
interface IERC721 is IERC165 {
/**
* @dev Emitted when `tokenId` token is transferred from `from` to `to`.
*/
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
*/
event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);
/**
* @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
*/
event ApprovalForAll(address indexed owner, address indexed operator, bool approved);
/**
* @dev Returns the number of tokens in ``owner``'s account.
*/
function balanceOf(address owner) external view returns (uint256 balance);
/**
* @dev Returns the owner of the `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function ownerOf(uint256 tokenId) external view returns (address owner);
/**
* @dev Safely transfers `tokenId` token from `from` to `to`.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId,
bytes calldata data
) external;
/**
* @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
* are aware of the ERC721 protocol to prevent tokens from being forever locked.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must exist and be owned by `from`.
* - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
* - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
*
* Emits a {Transfer} event.
*/
function safeTransferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Transfers `tokenId` token from `from` to `to`.
*
* WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
*
* Requirements:
*
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
* - `tokenId` token must be owned by `from`.
* - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
*
* Emits a {Transfer} event.
*/
function transferFrom(
address from,
address to,
uint256 tokenId
) external;
/**
* @dev Gives permission to `to` to transfer `tokenId` token to another account.
* The approval is cleared when the token is transferred.
*
* Only a single account can be approved at a time, so approving the zero address clears previous approvals.
*
* Requirements:
*
* - The caller must own the token or be an approved operator.
* - `tokenId` must exist.
*
* Emits an {Approval} event.
*/
function approve(address to, uint256 tokenId) external;
/**
* @dev Approve or remove `operator` as an operator for the caller.
* Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
*
* Requirements:
*
* - The `operator` cannot be the caller.
*
* Emits an {ApprovalForAll} event.
*/
function setApprovalForAll(address operator, bool _approved) external;
/**
* @dev Returns the account approved for `tokenId` token.
*
* Requirements:
*
* - `tokenId` must exist.
*/
function getApproved(uint256 tokenId) external view returns (address operator);
/**
* @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
*
* See {setApprovalForAll}
*/
function isApprovedForAll(address owner, address operator) external view returns (bool);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional metadata extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Metadata is IERC721 {
/**
* @dev Returns the token collection name.
*/
function name() external view returns (string memory);
/**
* @dev Returns the token collection symbol.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
*/
function tokenURI(uint256 tokenId) external view returns (string memory);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC165 standard, as defined in the
* https://eips.ethereum.org/EIPS/eip-165[EIP].
*
* Implementers can declare support of contract interfaces, which can then be
* queried by others ({ERC165Checker}).
*
* For an implementation, see {ERC165}.
*/
interface IERC165 {
/**
* @dev Returns true if this contract implements the interface defined by
* `interfaceId`. See the corresponding
* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
* to learn more about how these ids are created.
*
* This function call must use less than 30 000 gas.
*/
function supportsInterface(bytes4 interfaceId) external view returns (bool);
}{
"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
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PublicmaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Publicprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"QTZMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"QTZdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxSupply","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicmaxMintAmountPerTx","type":"uint256"}],"name":"setPublicmaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setpublicSaleON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
608060405260405180602001604052806000815250600a908162000024919062000638565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90816200006b919062000638565b5060405180608001604052806041815260200162004df260419139600c908162000096919062000638565b5066354a6ba7a18000600d5561115c600e55602c600f556000601060006101000a81548160ff0219169083151502179055506001601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff0219169083151502179055503480156200010b57600080fd5b5060405162004e3338038062004e3383398181016040528101906200013191906200088d565b6040518060400160405280600381526020017f51545a00000000000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f51545a00000000000000000000000000000000000000000000000000000000008152508160029081620001ae919062000638565b508060039081620001c0919062000638565b50620001d16200021960201b60201c565b6000819055505050620001f9620001ed6200022260201b60201c565b6200022a60201b60201c565b60016009819055506200021281620002f060201b60201c565b5062000961565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003006200022260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003266200039460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200037f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000376906200093f565b60405180910390fd5b80600a908162000390919062000638565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044057607f821691505b602082108103620004565762000455620003f8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004c07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000481565b620004cc868362000481565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000519620005136200050d84620004e4565b620004ee565b620004e4565b9050919050565b6000819050919050565b6200053583620004f8565b6200054d620005448262000520565b8484546200048e565b825550505050565b600090565b6200056462000555565b620005718184846200052a565b505050565b5b8181101562000599576200058d6000826200055a565b60018101905062000577565b5050565b601f821115620005e857620005b2816200045c565b620005bd8462000471565b81016020851015620005cd578190505b620005e5620005dc8562000471565b83018262000576565b50505b505050565b600082821c905092915050565b60006200060d60001984600802620005ed565b1980831691505092915050565b6000620006288383620005fa565b9150826002028217905092915050565b6200064382620003be565b67ffffffffffffffff8111156200065f576200065e620003c9565b5b6200066b825462000427565b620006788282856200059d565b600060209050601f831160018114620006b057600084156200069b578287015190505b620006a785826200061a565b86555062000717565b601f198416620006c0866200045c565b60005b82811015620006ea57848901518255600182019150602085019450602081019050620006c3565b868310156200070a578489015162000706601f891682620005fa565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b62000759826200073d565b810181811067ffffffffffffffff821117156200077b576200077a620003c9565b5b80604052505050565b6000620007906200071f565b90506200079e82826200074e565b919050565b600067ffffffffffffffff821115620007c157620007c0620003c9565b5b620007cc826200073d565b9050602081019050919050565b60005b83811015620007f9578082015181840152602081019050620007dc565b8381111562000809576000848401525b50505050565b6000620008266200082084620007a3565b62000784565b90508281526020810184848401111562000845576200084462000738565b5b62000852848285620007d9565b509392505050565b600082601f83011262000872576200087162000733565b5b8151620008848482602086016200080f565b91505092915050565b600060208284031215620008a657620008a562000729565b5b600082015167ffffffffffffffff811115620008c757620008c66200072e565b5b620008d5848285016200085a565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000927602083620008de565b91506200093482620008ef565b602082019050919050565b600060208201905081810360008301526200095a8162000918565b9050919050565b61448180620009716000396000f3fe6080604052600436106102305760003560e01c806362b99ad41161012e578063a45ba8e7116100ab578063d5abeb011161006f578063d5abeb0114610804578063e0a808531461082f578063e985e9c514610858578063ead8e51414610895578063f2fde38b146108c057610230565b8063a45ba8e71461071f578063b88d4fde1461074a578063c627525514610773578063c87b56dd1461079c578063cdafdad9146107d957610230565b80637ec4a659116100f25780637ec4a6591461064e5780638da5cb5b1461067757806395d89b41146106a25780639ae48856146106cd578063a22cb465146106f657610230565b806362b99ad4146105765780636352211e146105a1578063636d1eb6146105de57806370a08231146105fa578063715018a61461063757610230565b8063241f914c116101bc578063438b630011610180578063438b63001461048f5780634fdd43cb146104cc57806351830227146104f55780635503a0e8146105205780635c975abb1461054b57610230565b8063241f914c146103d25780633ccfd60b146103fb5780633dd79ce2146104125780633fa3a2fa1461043d57806342842e0e1461046657610230565b806316ba10e01161020357806316ba10e01461030357806316c38b3c1461032c57806318160ddd14610355578063228025e81461038057806323b872dd146103a957610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613193565b6108e9565b60405161026991906131db565b60405180910390f35b34801561027e57600080fd5b506102876109cb565b604051610294919061328f565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906132e7565b610a5d565b6040516102d19190613355565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc919061339c565b610ad9565b005b34801561030f57600080fd5b5061032a60048036038101906103259190613511565b610bdd565b005b34801561033857600080fd5b50610353600480360381019061034e9190613586565b610c6c565b005b34801561036157600080fd5b5061036a610d05565b60405161037791906135c2565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a291906132e7565b610d1c565b005b3480156103b557600080fd5b506103d060048036038101906103cb91906135dd565b610da2565b005b3480156103de57600080fd5b506103f960048036038101906103f49190613586565b610db2565b005b34801561040757600080fd5b50610410610e4b565b005b34801561041e57600080fd5b50610427610f9c565b60405161043491906131db565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190613630565b610faf565b005b34801561047257600080fd5b5061048d600480360381019061048891906135dd565b611090565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613670565b6110b0565b6040516104c3919061375b565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190613511565b6112ca565b005b34801561050157600080fd5b5061050a611359565b60405161051791906131db565b60405180910390f35b34801561052c57600080fd5b5061053561136c565b604051610542919061328f565b60405180910390f35b34801561055757600080fd5b506105606113fa565b60405161056d91906131db565b60405180910390f35b34801561058257600080fd5b5061058b61140d565b604051610598919061328f565b60405180910390f35b3480156105ad57600080fd5b506105c860048036038101906105c391906132e7565b61149b565b6040516105d59190613355565b60405180910390f35b6105f860048036038101906105f391906132e7565b6114b1565b005b34801561060657600080fd5b50610621600480360381019061061c9190613670565b61165c565b60405161062e91906135c2565b60405180910390f35b34801561064357600080fd5b5061064c61172b565b005b34801561065a57600080fd5b5061067560048036038101906106709190613511565b6117b3565b005b34801561068357600080fd5b5061068c611842565b6040516106999190613355565b60405180910390f35b3480156106ae57600080fd5b506106b761186c565b6040516106c4919061328f565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef91906132e7565b6118fe565b005b34801561070257600080fd5b5061071d6004803603810190610718919061377d565b611984565b005b34801561072b57600080fd5b50610734611afb565b604051610741919061328f565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c919061385e565b611b89565b005b34801561077f57600080fd5b5061079a600480360381019061079591906132e7565b611c01565b005b3480156107a857600080fd5b506107c360048036038101906107be91906132e7565b611c87565b6040516107d0919061328f565b60405180910390f35b3480156107e557600080fd5b506107ee611ddf565b6040516107fb91906135c2565b60405180910390f35b34801561081057600080fd5b50610819611de5565b60405161082691906135c2565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613586565b611deb565b005b34801561086457600080fd5b5061087f600480360381019061087a91906138e1565b611e84565b60405161088c91906131db565b60405180910390f35b3480156108a157600080fd5b506108aa611f18565b6040516108b791906135c2565b60405180910390f35b3480156108cc57600080fd5b506108e760048036038101906108e29190613670565b611f1e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109c457506109c382612015565b5b9050919050565b6060600280546109da90613950565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0690613950565b8015610a535780601f10610a2857610100808354040283529160200191610a53565b820191906000526020600020905b815481529060010190602001808311610a3657829003601f168201915b5050505050905090565b6000610a688261207f565b610a9e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae48261149b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6a6120cd565b73ffffffffffffffffffffffffffffffffffffffff1614610bcd57610b9681610b916120cd565b611e84565b610bcc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610bd88383836120d5565b505050565b610be56120cd565b73ffffffffffffffffffffffffffffffffffffffff16610c03611842565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906139cd565b60405180910390fd5b80600b9081610c689190613b99565b5050565b610c746120cd565b73ffffffffffffffffffffffffffffffffffffffff16610c92611842565b73ffffffffffffffffffffffffffffffffffffffff1614610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf906139cd565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000610d0f612187565b6001546000540303905090565b610d246120cd565b73ffffffffffffffffffffffffffffffffffffffff16610d42611842565b73ffffffffffffffffffffffffffffffffffffffff1614610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f906139cd565b60405180910390fd5b80600e8190555050565b610dad838383612190565b505050565b610dba6120cd565b73ffffffffffffffffffffffffffffffffffffffff16610dd8611842565b73ffffffffffffffffffffffffffffffffffffffff1614610e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e25906139cd565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b610e536120cd565b73ffffffffffffffffffffffffffffffffffffffff16610e71611842565b73ffffffffffffffffffffffffffffffffffffffff1614610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe906139cd565b60405180910390fd5b600260095403610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0390613cb7565b60405180910390fd5b60026009819055506000610f1e611842565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f4190613d08565b60006040518083038185875af1925050503d8060008114610f7e576040519150601f19603f3d011682016040523d82523d6000602084013e610f83565b606091505b5050905080610f9157600080fd5b506001600981905550565b601060019054906101000a900460ff1681565b610fb76120cd565b73ffffffffffffffffffffffffffffffffffffffff16610fd5611842565b73ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906139cd565b60405180910390fd5b600e5482611037610d05565b6110419190613d4c565b1115611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990613dee565b60405180910390fd5b61108c8183612644565b5050565b6110ab83838360405180602001604052806000815250611b89565b505050565b606060006110bd8361165c565b905060008167ffffffffffffffff8111156110db576110da6133e6565b5b6040519080825280602002602001820160405280156111095781602001602082028036833780820191505090505b5090506000611116612187565b90506000805b848210801561112d5750600e548311155b156112bd576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115801561123a5750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b1561124757806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112a9578385848151811061128e5761128d613e0e565b5b60200260200101818152505082806112a590613e3d565b9350505b83806112b490613e3d565b9450505061111c565b8395505050505050919050565b6112d26120cd565b73ffffffffffffffffffffffffffffffffffffffff166112f0611842565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d906139cd565b60405180910390fd5b80600c90816113559190613b99565b5050565b601060029054906101000a900460ff1681565b600b805461137990613950565b80601f01602080910402602001604051908101604052809291908181526020018280546113a590613950565b80156113f25780601f106113c7576101008083540402835291602001916113f2565b820191906000526020600020905b8154815290600101906020018083116113d557829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b600a805461141a90613950565b80601f016020809104026020016040519081016040528092919081815260200182805461144690613950565b80156114935780601f1061146857610100808354040283529160200191611493565b820191906000526020600020905b81548152906001019060200180831161147657829003601f168201915b505050505081565b60006114a682612662565b600001519050919050565b601060009054906101000a900460ff1615611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890613ed1565b60405180910390fd5b601060019054906101000a900460ff16611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613f3d565b60405180910390fd5b6000811180156115625750600f548111155b6115a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159890613fa9565b60405180910390fd5b600e54816115ad610d05565b6115b79190613d4c565b11156115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90613dee565b60405180910390fd5b80600d546116069190613fc9565b341015611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f9061406f565b60405180910390fd5b6116596116536120cd565b82612644565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117336120cd565b73ffffffffffffffffffffffffffffffffffffffff16611751611842565b73ffffffffffffffffffffffffffffffffffffffff16146117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e906139cd565b60405180910390fd5b6117b160006128ed565b565b6117bb6120cd565b73ffffffffffffffffffffffffffffffffffffffff166117d9611842565b73ffffffffffffffffffffffffffffffffffffffff161461182f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611826906139cd565b60405180910390fd5b80600a908161183e9190613b99565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461187b90613950565b80601f01602080910402602001604051908101604052809291908181526020018280546118a790613950565b80156118f45780601f106118c9576101008083540402835291602001916118f4565b820191906000526020600020905b8154815290600101906020018083116118d757829003601f168201915b5050505050905090565b6119066120cd565b73ffffffffffffffffffffffffffffffffffffffff16611924611842565b73ffffffffffffffffffffffffffffffffffffffff161461197a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611971906139cd565b60405180910390fd5b80600f8190555050565b61198c6120cd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119f0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119fd6120cd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aaa6120cd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aef91906131db565b60405180910390a35050565b600c8054611b0890613950565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3490613950565b8015611b815780601f10611b5657610100808354040283529160200191611b81565b820191906000526020600020905b815481529060010190602001808311611b6457829003601f168201915b505050505081565b611b94848484612190565b611bb38373ffffffffffffffffffffffffffffffffffffffff166129b3565b15611bfb57611bc4848484846129d6565b611bfa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611c096120cd565b73ffffffffffffffffffffffffffffffffffffffff16611c27611842565b73ffffffffffffffffffffffffffffffffffffffff1614611c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c74906139cd565b60405180910390fd5b80600d8190555050565b6060611c928261207f565b611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc890614101565b60405180910390fd5b60001515601060029054906101000a900460ff16151503611d7e57600c8054611cf990613950565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2590613950565b8015611d725780601f10611d4757610100808354040283529160200191611d72565b820191906000526020600020905b815481529060010190602001808311611d5557829003601f168201915b50505050509050611dda565b6000611d88612b26565b90506000815111611da85760405180602001604052806000815250611dd6565b80611db284612bb8565b600b604051602001611dc6939291906141e0565b6040516020818303038152906040525b9150505b919050565b600f5481565b600e5481565b611df36120cd565b73ffffffffffffffffffffffffffffffffffffffff16611e11611842565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e906139cd565b60405180910390fd5b80601060026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b611f266120cd565b73ffffffffffffffffffffffffffffffffffffffff16611f44611842565b73ffffffffffffffffffffffffffffffffffffffff1614611f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f91906139cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614283565b60405180910390fd5b612012816128ed565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161208a612187565b11158015612099575060005482105b80156120c6575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061219b82612662565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612206576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122276120cd565b73ffffffffffffffffffffffffffffffffffffffff1614806122565750612255856122506120cd565b611e84565b5b8061229b57506122646120cd565b73ffffffffffffffffffffffffffffffffffffffff1661228384610a5d565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122d4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361233a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123478585856001612d18565b612353600084876120d5565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125d25760005482146125d157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461263d8585856001612d1e565b5050505050565b61265e828260405180602001604052806000815250612d24565b5050565b61266a6130e4565b600082905080612678612187565b116128b6576000548110156128b5576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128b357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127975780925050506128e8565b5b6001156128b257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128ad5780925050506128e8565b612798565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129fc6120cd565b8786866040518563ffffffff1660e01b8152600401612a1e94939291906142f8565b6020604051808303816000875af1925050508015612a5a57506040513d601f19601f82011682018060405250810190612a579190614359565b60015b612ad3573d8060008114612a8a576040519150601f19603f3d011682016040523d82523d6000602084013e612a8f565b606091505b506000815103612acb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612b3590613950565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6190613950565b8015612bae5780601f10612b8357610100808354040283529160200191612bae565b820191906000526020600020905b815481529060010190602001808311612b9157829003601f168201915b5050505050905090565b606060008203612bff576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d13565b600082905060005b60008214612c31578080612c1a90613e3d565b915050600a82612c2a91906143b5565b9150612c07565b60008167ffffffffffffffff811115612c4d57612c4c6133e6565b5b6040519080825280601f01601f191660200182016040528015612c7f5781602001600182028036833780820191505090505b5090505b60008514612d0c57600182612c9891906143e6565b9150600a85612ca7919061441a565b6030612cb39190613d4c565b60f81b818381518110612cc957612cc8613e0e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d0591906143b5565b9450612c83565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d90576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612dca576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612dd76000858386612d18565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612f988673ffffffffffffffffffffffffffffffffffffffff166129b3565b1561305d575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461300d60008784806001019550876129d6565b613043576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612f9e57826000541461305857600080fd5b6130c8565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061305e575b8160008190555050506130de6000858386612d1e565b50505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131708161313b565b811461317b57600080fd5b50565b60008135905061318d81613167565b92915050565b6000602082840312156131a9576131a8613131565b5b60006131b78482850161317e565b91505092915050565b60008115159050919050565b6131d5816131c0565b82525050565b60006020820190506131f060008301846131cc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613230578082015181840152602081019050613215565b8381111561323f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613261826131f6565b61326b8185613201565b935061327b818560208601613212565b61328481613245565b840191505092915050565b600060208201905081810360008301526132a98184613256565b905092915050565b6000819050919050565b6132c4816132b1565b81146132cf57600080fd5b50565b6000813590506132e1816132bb565b92915050565b6000602082840312156132fd576132fc613131565b5b600061330b848285016132d2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061333f82613314565b9050919050565b61334f81613334565b82525050565b600060208201905061336a6000830184613346565b92915050565b61337981613334565b811461338457600080fd5b50565b60008135905061339681613370565b92915050565b600080604083850312156133b3576133b2613131565b5b60006133c185828601613387565b92505060206133d2858286016132d2565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61341e82613245565b810181811067ffffffffffffffff8211171561343d5761343c6133e6565b5b80604052505050565b6000613450613127565b905061345c8282613415565b919050565b600067ffffffffffffffff82111561347c5761347b6133e6565b5b61348582613245565b9050602081019050919050565b82818337600083830152505050565b60006134b46134af84613461565b613446565b9050828152602081018484840111156134d0576134cf6133e1565b5b6134db848285613492565b509392505050565b600082601f8301126134f8576134f76133dc565b5b81356135088482602086016134a1565b91505092915050565b60006020828403121561352757613526613131565b5b600082013567ffffffffffffffff81111561354557613544613136565b5b613551848285016134e3565b91505092915050565b613563816131c0565b811461356e57600080fd5b50565b6000813590506135808161355a565b92915050565b60006020828403121561359c5761359b613131565b5b60006135aa84828501613571565b91505092915050565b6135bc816132b1565b82525050565b60006020820190506135d760008301846135b3565b92915050565b6000806000606084860312156135f6576135f5613131565b5b600061360486828701613387565b935050602061361586828701613387565b9250506040613626868287016132d2565b9150509250925092565b6000806040838503121561364757613646613131565b5b6000613655858286016132d2565b925050602061366685828601613387565b9150509250929050565b60006020828403121561368657613685613131565b5b600061369484828501613387565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6136d2816132b1565b82525050565b60006136e483836136c9565b60208301905092915050565b6000602082019050919050565b60006137088261369d565b61371281856136a8565b935061371d836136b9565b8060005b8381101561374e57815161373588826136d8565b9750613740836136f0565b925050600181019050613721565b5085935050505092915050565b6000602082019050818103600083015261377581846136fd565b905092915050565b6000806040838503121561379457613793613131565b5b60006137a285828601613387565b92505060206137b385828601613571565b9150509250929050565b600067ffffffffffffffff8211156137d8576137d76133e6565b5b6137e182613245565b9050602081019050919050565b60006138016137fc846137bd565b613446565b90508281526020810184848401111561381d5761381c6133e1565b5b613828848285613492565b509392505050565b600082601f830112613845576138446133dc565b5b81356138558482602086016137ee565b91505092915050565b6000806000806080858703121561387857613877613131565b5b600061388687828801613387565b945050602061389787828801613387565b93505060406138a8878288016132d2565b925050606085013567ffffffffffffffff8111156138c9576138c8613136565b5b6138d587828801613830565b91505092959194509250565b600080604083850312156138f8576138f7613131565b5b600061390685828601613387565b925050602061391785828601613387565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061396857607f821691505b60208210810361397b5761397a613921565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139b7602083613201565b91506139c282613981565b602082019050919050565b600060208201905081810360008301526139e6816139aa565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613a4f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613a12565b613a598683613a12565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613a96613a91613a8c846132b1565b613a71565b6132b1565b9050919050565b6000819050919050565b613ab083613a7b565b613ac4613abc82613a9d565b848454613a1f565b825550505050565b600090565b613ad9613acc565b613ae4818484613aa7565b505050565b5b81811015613b0857613afd600082613ad1565b600181019050613aea565b5050565b601f821115613b4d57613b1e816139ed565b613b2784613a02565b81016020851015613b36578190505b613b4a613b4285613a02565b830182613ae9565b50505b505050565b600082821c905092915050565b6000613b7060001984600802613b52565b1980831691505092915050565b6000613b898383613b5f565b9150826002028217905092915050565b613ba2826131f6565b67ffffffffffffffff811115613bbb57613bba6133e6565b5b613bc58254613950565b613bd0828285613b0c565b600060209050601f831160018114613c035760008415613bf1578287015190505b613bfb8582613b7d565b865550613c63565b601f198416613c11866139ed565b60005b82811015613c3957848901518255600182019150602085019450602081019050613c14565b86831015613c565784890151613c52601f891682613b5f565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613ca1601f83613201565b9150613cac82613c6b565b602082019050919050565b60006020820190508181036000830152613cd081613c94565b9050919050565b600081905092915050565b50565b6000613cf2600083613cd7565b9150613cfd82613ce2565b600082019050919050565b6000613d1382613ce5565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d57826132b1565b9150613d62836132b1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d9757613d96613d1d565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613dd8601483613201565b9150613de382613da2565b602082019050919050565b60006020820190508181036000830152613e0781613dcb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613e48826132b1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e7a57613e79613d1d565b5b600182019050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613ebb601783613201565b9150613ec682613e85565b602082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b7f5075626c69632053616c6520686173206e6f7420737461727465640000000000600082015250565b6000613f27601b83613201565b9150613f3282613ef1565b602082019050919050565b60006020820190508181036000830152613f5681613f1a565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613f93601483613201565b9150613f9e82613f5d565b602082019050919050565b60006020820190508181036000830152613fc281613f86565b9050919050565b6000613fd4826132b1565b9150613fdf836132b1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561401857614017613d1d565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614059601383613201565b915061406482614023565b602082019050919050565b600060208201905081810360008301526140888161404c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006140eb602f83613201565b91506140f68261408f565b604082019050919050565b6000602082019050818103600083015261411a816140de565b9050919050565b600081905092915050565b6000614137826131f6565b6141418185614121565b9350614151818560208601613212565b80840191505092915050565b6000815461416a81613950565b6141748186614121565b9450600182166000811461418f57600181146141a4576141d7565b60ff19831686528115158202860193506141d7565b6141ad856139ed565b60005b838110156141cf578154818901526001820191506020810190506141b0565b838801955050505b50505092915050565b60006141ec828661412c565b91506141f8828561412c565b9150614204828461415d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061426d602683613201565b915061427882614211565b604082019050919050565b6000602082019050818103600083015261429c81614260565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142ca826142a3565b6142d481856142ae565b93506142e4818560208601613212565b6142ed81613245565b840191505092915050565b600060808201905061430d6000830187613346565b61431a6020830186613346565b61432760408301856135b3565b818103606083015261433981846142bf565b905095945050505050565b60008151905061435381613167565b92915050565b60006020828403121561436f5761436e613131565b5b600061437d84828501614344565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143c0826132b1565b91506143cb836132b1565b9250826143db576143da614386565b5b828204905092915050565b60006143f1826132b1565b91506143fc836132b1565b92508282101561440f5761440e613d1d565b5b828203905092915050565b6000614425826132b1565b9150614430836132b1565b9250826144405761443f614386565b5b82820690509291505056fea2646970667358221220660a44f94c97c42035ac64ad4692b07ddaf800efb4e00d1f066ba563ea923e9d64736f6c634300080f0033697066733a2f2f516d566f334c387a4b6b484c72786a725775587132634431794b78665a5a57343435755073385341796a486146652f68696464656e2e6a736f6e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a636f6d696e67736f6f6e00000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c806362b99ad41161012e578063a45ba8e7116100ab578063d5abeb011161006f578063d5abeb0114610804578063e0a808531461082f578063e985e9c514610858578063ead8e51414610895578063f2fde38b146108c057610230565b8063a45ba8e71461071f578063b88d4fde1461074a578063c627525514610773578063c87b56dd1461079c578063cdafdad9146107d957610230565b80637ec4a659116100f25780637ec4a6591461064e5780638da5cb5b1461067757806395d89b41146106a25780639ae48856146106cd578063a22cb465146106f657610230565b806362b99ad4146105765780636352211e146105a1578063636d1eb6146105de57806370a08231146105fa578063715018a61461063757610230565b8063241f914c116101bc578063438b630011610180578063438b63001461048f5780634fdd43cb146104cc57806351830227146104f55780635503a0e8146105205780635c975abb1461054b57610230565b8063241f914c146103d25780633ccfd60b146103fb5780633dd79ce2146104125780633fa3a2fa1461043d57806342842e0e1461046657610230565b806316ba10e01161020357806316ba10e01461030357806316c38b3c1461032c57806318160ddd14610355578063228025e81461038057806323b872dd146103a957610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613193565b6108e9565b60405161026991906131db565b60405180910390f35b34801561027e57600080fd5b506102876109cb565b604051610294919061328f565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906132e7565b610a5d565b6040516102d19190613355565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc919061339c565b610ad9565b005b34801561030f57600080fd5b5061032a60048036038101906103259190613511565b610bdd565b005b34801561033857600080fd5b50610353600480360381019061034e9190613586565b610c6c565b005b34801561036157600080fd5b5061036a610d05565b60405161037791906135c2565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a291906132e7565b610d1c565b005b3480156103b557600080fd5b506103d060048036038101906103cb91906135dd565b610da2565b005b3480156103de57600080fd5b506103f960048036038101906103f49190613586565b610db2565b005b34801561040757600080fd5b50610410610e4b565b005b34801561041e57600080fd5b50610427610f9c565b60405161043491906131db565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190613630565b610faf565b005b34801561047257600080fd5b5061048d600480360381019061048891906135dd565b611090565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613670565b6110b0565b6040516104c3919061375b565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee9190613511565b6112ca565b005b34801561050157600080fd5b5061050a611359565b60405161051791906131db565b60405180910390f35b34801561052c57600080fd5b5061053561136c565b604051610542919061328f565b60405180910390f35b34801561055757600080fd5b506105606113fa565b60405161056d91906131db565b60405180910390f35b34801561058257600080fd5b5061058b61140d565b604051610598919061328f565b60405180910390f35b3480156105ad57600080fd5b506105c860048036038101906105c391906132e7565b61149b565b6040516105d59190613355565b60405180910390f35b6105f860048036038101906105f391906132e7565b6114b1565b005b34801561060657600080fd5b50610621600480360381019061061c9190613670565b61165c565b60405161062e91906135c2565b60405180910390f35b34801561064357600080fd5b5061064c61172b565b005b34801561065a57600080fd5b5061067560048036038101906106709190613511565b6117b3565b005b34801561068357600080fd5b5061068c611842565b6040516106999190613355565b60405180910390f35b3480156106ae57600080fd5b506106b761186c565b6040516106c4919061328f565b60405180910390f35b3480156106d957600080fd5b506106f460048036038101906106ef91906132e7565b6118fe565b005b34801561070257600080fd5b5061071d6004803603810190610718919061377d565b611984565b005b34801561072b57600080fd5b50610734611afb565b604051610741919061328f565b60405180910390f35b34801561075657600080fd5b50610771600480360381019061076c919061385e565b611b89565b005b34801561077f57600080fd5b5061079a600480360381019061079591906132e7565b611c01565b005b3480156107a857600080fd5b506107c360048036038101906107be91906132e7565b611c87565b6040516107d0919061328f565b60405180910390f35b3480156107e557600080fd5b506107ee611ddf565b6040516107fb91906135c2565b60405180910390f35b34801561081057600080fd5b50610819611de5565b60405161082691906135c2565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613586565b611deb565b005b34801561086457600080fd5b5061087f600480360381019061087a91906138e1565b611e84565b60405161088c91906131db565b60405180910390f35b3480156108a157600080fd5b506108aa611f18565b6040516108b791906135c2565b60405180910390f35b3480156108cc57600080fd5b506108e760048036038101906108e29190613670565b611f1e565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109c457506109c382612015565b5b9050919050565b6060600280546109da90613950565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0690613950565b8015610a535780601f10610a2857610100808354040283529160200191610a53565b820191906000526020600020905b815481529060010190602001808311610a3657829003601f168201915b5050505050905090565b6000610a688261207f565b610a9e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae48261149b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6a6120cd565b73ffffffffffffffffffffffffffffffffffffffff1614610bcd57610b9681610b916120cd565b611e84565b610bcc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610bd88383836120d5565b505050565b610be56120cd565b73ffffffffffffffffffffffffffffffffffffffff16610c03611842565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c50906139cd565b60405180910390fd5b80600b9081610c689190613b99565b5050565b610c746120cd565b73ffffffffffffffffffffffffffffffffffffffff16610c92611842565b73ffffffffffffffffffffffffffffffffffffffff1614610ce8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cdf906139cd565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000610d0f612187565b6001546000540303905090565b610d246120cd565b73ffffffffffffffffffffffffffffffffffffffff16610d42611842565b73ffffffffffffffffffffffffffffffffffffffff1614610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f906139cd565b60405180910390fd5b80600e8190555050565b610dad838383612190565b505050565b610dba6120cd565b73ffffffffffffffffffffffffffffffffffffffff16610dd8611842565b73ffffffffffffffffffffffffffffffffffffffff1614610e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e25906139cd565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b610e536120cd565b73ffffffffffffffffffffffffffffffffffffffff16610e71611842565b73ffffffffffffffffffffffffffffffffffffffff1614610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe906139cd565b60405180910390fd5b600260095403610f0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0390613cb7565b60405180910390fd5b60026009819055506000610f1e611842565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f4190613d08565b60006040518083038185875af1925050503d8060008114610f7e576040519150601f19603f3d011682016040523d82523d6000602084013e610f83565b606091505b5050905080610f9157600080fd5b506001600981905550565b601060019054906101000a900460ff1681565b610fb76120cd565b73ffffffffffffffffffffffffffffffffffffffff16610fd5611842565b73ffffffffffffffffffffffffffffffffffffffff161461102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906139cd565b60405180910390fd5b600e5482611037610d05565b6110419190613d4c565b1115611082576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107990613dee565b60405180910390fd5b61108c8183612644565b5050565b6110ab83838360405180602001604052806000815250611b89565b505050565b606060006110bd8361165c565b905060008167ffffffffffffffff8111156110db576110da6133e6565b5b6040519080825280602002602001820160405280156111095781602001602082028036833780820191505090505b5090506000611116612187565b90506000805b848210801561112d5750600e548311155b156112bd576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015115801561123a5750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b1561124757806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036112a9578385848151811061128e5761128d613e0e565b5b60200260200101818152505082806112a590613e3d565b9350505b83806112b490613e3d565b9450505061111c565b8395505050505050919050565b6112d26120cd565b73ffffffffffffffffffffffffffffffffffffffff166112f0611842565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d906139cd565b60405180910390fd5b80600c90816113559190613b99565b5050565b601060029054906101000a900460ff1681565b600b805461137990613950565b80601f01602080910402602001604051908101604052809291908181526020018280546113a590613950565b80156113f25780601f106113c7576101008083540402835291602001916113f2565b820191906000526020600020905b8154815290600101906020018083116113d557829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b600a805461141a90613950565b80601f016020809104026020016040519081016040528092919081815260200182805461144690613950565b80156114935780601f1061146857610100808354040283529160200191611493565b820191906000526020600020905b81548152906001019060200180831161147657829003601f168201915b505050505081565b60006114a682612662565b600001519050919050565b601060009054906101000a900460ff1615611501576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114f890613ed1565b60405180910390fd5b601060019054906101000a900460ff16611550576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154790613f3d565b60405180910390fd5b6000811180156115625750600f548111155b6115a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159890613fa9565b60405180910390fd5b600e54816115ad610d05565b6115b79190613d4c565b11156115f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ef90613dee565b60405180910390fd5b80600d546116069190613fc9565b341015611648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163f9061406f565b60405180910390fd5b6116596116536120cd565b82612644565b50565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116c3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6117336120cd565b73ffffffffffffffffffffffffffffffffffffffff16611751611842565b73ffffffffffffffffffffffffffffffffffffffff16146117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179e906139cd565b60405180910390fd5b6117b160006128ed565b565b6117bb6120cd565b73ffffffffffffffffffffffffffffffffffffffff166117d9611842565b73ffffffffffffffffffffffffffffffffffffffff161461182f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611826906139cd565b60405180910390fd5b80600a908161183e9190613b99565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461187b90613950565b80601f01602080910402602001604051908101604052809291908181526020018280546118a790613950565b80156118f45780601f106118c9576101008083540402835291602001916118f4565b820191906000526020600020905b8154815290600101906020018083116118d757829003601f168201915b5050505050905090565b6119066120cd565b73ffffffffffffffffffffffffffffffffffffffff16611924611842565b73ffffffffffffffffffffffffffffffffffffffff161461197a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611971906139cd565b60405180910390fd5b80600f8190555050565b61198c6120cd565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119f0576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119fd6120cd565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aaa6120cd565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aef91906131db565b60405180910390a35050565b600c8054611b0890613950565b80601f0160208091040260200160405190810160405280929190818152602001828054611b3490613950565b8015611b815780601f10611b5657610100808354040283529160200191611b81565b820191906000526020600020905b815481529060010190602001808311611b6457829003601f168201915b505050505081565b611b94848484612190565b611bb38373ffffffffffffffffffffffffffffffffffffffff166129b3565b15611bfb57611bc4848484846129d6565b611bfa576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611c096120cd565b73ffffffffffffffffffffffffffffffffffffffff16611c27611842565b73ffffffffffffffffffffffffffffffffffffffff1614611c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c74906139cd565b60405180910390fd5b80600d8190555050565b6060611c928261207f565b611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc890614101565b60405180910390fd5b60001515601060029054906101000a900460ff16151503611d7e57600c8054611cf990613950565b80601f0160208091040260200160405190810160405280929190818152602001828054611d2590613950565b8015611d725780601f10611d4757610100808354040283529160200191611d72565b820191906000526020600020905b815481529060010190602001808311611d5557829003601f168201915b50505050509050611dda565b6000611d88612b26565b90506000815111611da85760405180602001604052806000815250611dd6565b80611db284612bb8565b600b604051602001611dc6939291906141e0565b6040516020818303038152906040525b9150505b919050565b600f5481565b600e5481565b611df36120cd565b73ffffffffffffffffffffffffffffffffffffffff16611e11611842565b73ffffffffffffffffffffffffffffffffffffffff1614611e67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5e906139cd565b60405180910390fd5b80601060026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b611f266120cd565b73ffffffffffffffffffffffffffffffffffffffff16611f44611842565b73ffffffffffffffffffffffffffffffffffffffff1614611f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f91906139cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200090614283565b60405180910390fd5b612012816128ed565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161208a612187565b11158015612099575060005482105b80156120c6575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b600061219b82612662565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612206576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166122276120cd565b73ffffffffffffffffffffffffffffffffffffffff1614806122565750612255856122506120cd565b611e84565b5b8061229b57506122646120cd565b73ffffffffffffffffffffffffffffffffffffffff1661228384610a5d565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122d4576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361233a576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6123478585856001612d18565b612353600084876120d5565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125d25760005482146125d157878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461263d8585856001612d1e565b5050505050565b61265e828260405180602001604052806000815250612d24565b5050565b61266a6130e4565b600082905080612678612187565b116128b6576000548110156128b5576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128b357600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127975780925050506128e8565b5b6001156128b257818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128ad5780925050506128e8565b612798565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129fc6120cd565b8786866040518563ffffffff1660e01b8152600401612a1e94939291906142f8565b6020604051808303816000875af1925050508015612a5a57506040513d601f19601f82011682018060405250810190612a579190614359565b60015b612ad3573d8060008114612a8a576040519150601f19603f3d011682016040523d82523d6000602084013e612a8f565b606091505b506000815103612acb576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612b3590613950565b80601f0160208091040260200160405190810160405280929190818152602001828054612b6190613950565b8015612bae5780601f10612b8357610100808354040283529160200191612bae565b820191906000526020600020905b815481529060010190602001808311612b9157829003601f168201915b5050505050905090565b606060008203612bff576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d13565b600082905060005b60008214612c31578080612c1a90613e3d565b915050600a82612c2a91906143b5565b9150612c07565b60008167ffffffffffffffff811115612c4d57612c4c6133e6565b5b6040519080825280601f01601f191660200182016040528015612c7f5781602001600182028036833780820191505090505b5090505b60008514612d0c57600182612c9891906143e6565b9150600a85612ca7919061441a565b6030612cb39190613d4c565b60f81b818381518110612cc957612cc8613e0e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d0591906143b5565b9450612c83565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612d90576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612dca576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612dd76000858386612d18565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612f988673ffffffffffffffffffffffffffffffffffffffff166129b3565b1561305d575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461300d60008784806001019550876129d6565b613043576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612f9e57826000541461305857600080fd5b6130c8565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821061305e575b8160008190555050506130de6000858386612d1e565b50505050565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6131708161313b565b811461317b57600080fd5b50565b60008135905061318d81613167565b92915050565b6000602082840312156131a9576131a8613131565b5b60006131b78482850161317e565b91505092915050565b60008115159050919050565b6131d5816131c0565b82525050565b60006020820190506131f060008301846131cc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613230578082015181840152602081019050613215565b8381111561323f576000848401525b50505050565b6000601f19601f8301169050919050565b6000613261826131f6565b61326b8185613201565b935061327b818560208601613212565b61328481613245565b840191505092915050565b600060208201905081810360008301526132a98184613256565b905092915050565b6000819050919050565b6132c4816132b1565b81146132cf57600080fd5b50565b6000813590506132e1816132bb565b92915050565b6000602082840312156132fd576132fc613131565b5b600061330b848285016132d2565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061333f82613314565b9050919050565b61334f81613334565b82525050565b600060208201905061336a6000830184613346565b92915050565b61337981613334565b811461338457600080fd5b50565b60008135905061339681613370565b92915050565b600080604083850312156133b3576133b2613131565b5b60006133c185828601613387565b92505060206133d2858286016132d2565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61341e82613245565b810181811067ffffffffffffffff8211171561343d5761343c6133e6565b5b80604052505050565b6000613450613127565b905061345c8282613415565b919050565b600067ffffffffffffffff82111561347c5761347b6133e6565b5b61348582613245565b9050602081019050919050565b82818337600083830152505050565b60006134b46134af84613461565b613446565b9050828152602081018484840111156134d0576134cf6133e1565b5b6134db848285613492565b509392505050565b600082601f8301126134f8576134f76133dc565b5b81356135088482602086016134a1565b91505092915050565b60006020828403121561352757613526613131565b5b600082013567ffffffffffffffff81111561354557613544613136565b5b613551848285016134e3565b91505092915050565b613563816131c0565b811461356e57600080fd5b50565b6000813590506135808161355a565b92915050565b60006020828403121561359c5761359b613131565b5b60006135aa84828501613571565b91505092915050565b6135bc816132b1565b82525050565b60006020820190506135d760008301846135b3565b92915050565b6000806000606084860312156135f6576135f5613131565b5b600061360486828701613387565b935050602061361586828701613387565b9250506040613626868287016132d2565b9150509250925092565b6000806040838503121561364757613646613131565b5b6000613655858286016132d2565b925050602061366685828601613387565b9150509250929050565b60006020828403121561368657613685613131565b5b600061369484828501613387565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6136d2816132b1565b82525050565b60006136e483836136c9565b60208301905092915050565b6000602082019050919050565b60006137088261369d565b61371281856136a8565b935061371d836136b9565b8060005b8381101561374e57815161373588826136d8565b9750613740836136f0565b925050600181019050613721565b5085935050505092915050565b6000602082019050818103600083015261377581846136fd565b905092915050565b6000806040838503121561379457613793613131565b5b60006137a285828601613387565b92505060206137b385828601613571565b9150509250929050565b600067ffffffffffffffff8211156137d8576137d76133e6565b5b6137e182613245565b9050602081019050919050565b60006138016137fc846137bd565b613446565b90508281526020810184848401111561381d5761381c6133e1565b5b613828848285613492565b509392505050565b600082601f830112613845576138446133dc565b5b81356138558482602086016137ee565b91505092915050565b6000806000806080858703121561387857613877613131565b5b600061388687828801613387565b945050602061389787828801613387565b93505060406138a8878288016132d2565b925050606085013567ffffffffffffffff8111156138c9576138c8613136565b5b6138d587828801613830565b91505092959194509250565b600080604083850312156138f8576138f7613131565b5b600061390685828601613387565b925050602061391785828601613387565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061396857607f821691505b60208210810361397b5761397a613921565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006139b7602083613201565b91506139c282613981565b602082019050919050565b600060208201905081810360008301526139e6816139aa565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302613a4f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613a12565b613a598683613a12565b95508019841693508086168417925050509392505050565b6000819050919050565b6000613a96613a91613a8c846132b1565b613a71565b6132b1565b9050919050565b6000819050919050565b613ab083613a7b565b613ac4613abc82613a9d565b848454613a1f565b825550505050565b600090565b613ad9613acc565b613ae4818484613aa7565b505050565b5b81811015613b0857613afd600082613ad1565b600181019050613aea565b5050565b601f821115613b4d57613b1e816139ed565b613b2784613a02565b81016020851015613b36578190505b613b4a613b4285613a02565b830182613ae9565b50505b505050565b600082821c905092915050565b6000613b7060001984600802613b52565b1980831691505092915050565b6000613b898383613b5f565b9150826002028217905092915050565b613ba2826131f6565b67ffffffffffffffff811115613bbb57613bba6133e6565b5b613bc58254613950565b613bd0828285613b0c565b600060209050601f831160018114613c035760008415613bf1578287015190505b613bfb8582613b7d565b865550613c63565b601f198416613c11866139ed565b60005b82811015613c3957848901518255600182019150602085019450602081019050613c14565b86831015613c565784890151613c52601f891682613b5f565b8355505b6001600288020188555050505b505050505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613ca1601f83613201565b9150613cac82613c6b565b602082019050919050565b60006020820190508181036000830152613cd081613c94565b9050919050565b600081905092915050565b50565b6000613cf2600083613cd7565b9150613cfd82613ce2565b600082019050919050565b6000613d1382613ce5565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d57826132b1565b9150613d62836132b1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d9757613d96613d1d565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613dd8601483613201565b9150613de382613da2565b602082019050919050565b60006020820190508181036000830152613e0781613dcb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613e48826132b1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613e7a57613e79613d1d565b5b600182019050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613ebb601783613201565b9150613ec682613e85565b602082019050919050565b60006020820190508181036000830152613eea81613eae565b9050919050565b7f5075626c69632053616c6520686173206e6f7420737461727465640000000000600082015250565b6000613f27601b83613201565b9150613f3282613ef1565b602082019050919050565b60006020820190508181036000830152613f5681613f1a565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613f93601483613201565b9150613f9e82613f5d565b602082019050919050565b60006020820190508181036000830152613fc281613f86565b9050919050565b6000613fd4826132b1565b9150613fdf836132b1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561401857614017613d1d565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000614059601383613201565b915061406482614023565b602082019050919050565b600060208201905081810360008301526140888161404c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b60006140eb602f83613201565b91506140f68261408f565b604082019050919050565b6000602082019050818103600083015261411a816140de565b9050919050565b600081905092915050565b6000614137826131f6565b6141418185614121565b9350614151818560208601613212565b80840191505092915050565b6000815461416a81613950565b6141748186614121565b9450600182166000811461418f57600181146141a4576141d7565b60ff19831686528115158202860193506141d7565b6141ad856139ed565b60005b838110156141cf578154818901526001820191506020810190506141b0565b838801955050505b50505092915050565b60006141ec828661412c565b91506141f8828561412c565b9150614204828461415d565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061426d602683613201565b915061427882614211565b604082019050919050565b6000602082019050818103600083015261429c81614260565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142ca826142a3565b6142d481856142ae565b93506142e4818560208601613212565b6142ed81613245565b840191505092915050565b600060808201905061430d6000830187613346565b61431a6020830186613346565b61432760408301856135b3565b818103606083015261433981846142bf565b905095945050505050565b60008151905061435381613167565b92915050565b60006020828403121561436f5761436e613131565b5b600061437d84828501614344565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006143c0826132b1565b91506143cb836132b1565b9250826143db576143da614386565b5b828204905092915050565b60006143f1826132b1565b91506143fc836132b1565b92508282101561440f5761440e613d1d565b5b828203905092915050565b6000614425826132b1565b9150614430836132b1565b9250826144405761443f614386565b5b82820690509291505056fea2646970667358221220660a44f94c97c42035ac64ad4692b07ddaf800efb4e00d1f066ba563ea923e9d64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a636f6d696e67736f6f6e00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _uriPrefix (string): comingsoon
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [2] : 636f6d696e67736f6f6e00000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
OVERVIEW
Welcome to QTZ! 4,444 very multi-dimensional, fashion-addicted QTZ just straight chilling on the blockchain. All QTZ have got it going on, but some have got it going on more than others.Net Worth in USD
$0.00
Net Worth in ETH
0
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.