Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
320 BadTattoos
Holders
195
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BadTattoosLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BadTattoos
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; // ____ _ ____ _____ _ _____ _____ ___ ___ ____ // | __ ) / \ | _ \ |_ _|/ \|_ _|_ _/ _ \ / _ \/ ___| // | _ \ / _ \ | | | | | | / _ \ | | | || | | | | | \___ \ // | |_) / ___ \| |_| | | |/ ___ \| | | || |_| | |_| |___) | // |____/_/ \_\____/ |_/_/ \_\_| |_| \___/ \___/|____/ contract BadTattoos is ERC721Enumerable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint256 public maxSupply = 6000; mapping(address => bool) presales; mapping(uint => bool) public tokensExist; uint public price = 0.06 ether; uint public presalePrice = 0.04 ether; uint public quantity = 10; string public baseTokenURI; bool private _paused = false; bool private _isPresale = true; bool private _hasTeamReserved = false; constructor(string memory baseURI) ERC721("Bad Tattoos", "BadTattoos") { setBaseURI(baseURI); _tokenIds.increment(); } function mint(uint _quantity) public payable { uint totalMinted = _tokenIds.current(); uint256 mintLimit = maxSupply + 1; require(!_paused, "Sale paused"); require(totalMinted + _quantity <= mintLimit, "Not enough remaining!"); require(_quantity <= quantity, "Invalid quantity"); if (_isPresale) { require(verifyUser(msg.sender), "You are not on the presale"); require( msg.value == presalePrice * _quantity, "Insufficient funds to redeem" ); } else { require( msg.value == price * _quantity, "Insufficient funds to redeem" ); } for (uint i = 0; i < _quantity; i++) { uint id = _mintNFT(); tokensExist[id] = true; } } function _mintNFT() private returns (uint id) { uint newTokenID = _tokenIds.current(); _safeMint(msg.sender, newTokenID); id = newTokenID; _tokenIds.increment(); return id; } function addUsers(address[] memory _addresses) public onlyOwner { for (uint i = 0; i < _addresses.length; i++) { presales[_addresses[i]] = true; } } function verifyUser(address _address) public view returns (bool) { bool userIsPresale = presales[_address]; return userIsPresale; } function hasToken() private view returns (uint balance) { balance = balanceOf(msg.sender); } function getTokens() public view returns (uint[] memory) { uint balance = hasToken(); uint[] memory tokens = new uint[](balance); for (uint i = 0; i < balance; i++) { tokens[i] = tokenOfOwnerByIndex(msg.sender, i); } return tokens; } function withdraw() public onlyOwner { payable(owner()).transfer(address(this).balance); } function withdrawAmount(uint amount) public onlyOwner { require(amount < address(this).balance, "Balance too low for amount"); payable(owner()).transfer(amount); } function reserveNFTs() public onlyOwner { require(!_hasTeamReserved, "Team already reserved"); for (uint i = 0; i < 15; i++) { _mintNFT(); } _hasTeamReserved = true; } function getPresaleState() public view returns (bool isPresale) { isPresale = _isPresale; return isPresale; } function getPausedState() public view returns (bool isPaused) { isPaused = _paused; return isPaused; } function pauseSale() public onlyOwner { _paused = true; } function unpauseSale() public onlyOwner { _paused = false; } function preSaleStart() public onlyOwner { _isPresale = true; } function preSaleStop() public onlyOwner { _isPresale = false; } function getPrice(uint _quantity) public view returns (uint totalPrice) { if (_isPresale) { totalPrice = presalePrice * _quantity; } else { totalPrice = price * _quantity; } return totalPrice; } function setPrice(uint _price) public onlyOwner { price = _price; } function getMaxSupply() public view returns (uint256 _maxSupply) { _maxSupply = maxSupply; return _maxSupply; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// 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 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); 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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * 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, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// 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 (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 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 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/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/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" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addUsers","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":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxSupply","outputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPausedState","outputs":[{"internalType":"bool","name":"isPaused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPresaleState","outputs":[{"internalType":"bool","name":"isPresale","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"getPrice","outputs":[{"internalType":"uint256","name":"totalPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokens","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preSaleStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preSaleStop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveNFTs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensExist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"unpauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"verifyUser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawAmount","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052611770600c5566d529ae9e860000600f55668e1bc9bf040000601055600a6011556000601360006101000a81548160ff0219169083151502179055506001601360016101000a81548160ff0219169083151502179055506000601360026101000a81548160ff0219169083151502179055503480156200008357600080fd5b5060405162005425380380620054258339818101604052810190620000a9919062000473565b6040518060400160405280600b81526020017f42616420546174746f6f730000000000000000000000000000000000000000008152506040518060400160405280600a81526020017f426164546174746f6f730000000000000000000000000000000000000000000081525081600090805190602001906200012d92919062000351565b5080600190805190602001906200014692919062000351565b505050620001696200015d6200019860201b60201c565b620001a060201b60201c565b6200017a816200026660201b60201c565b62000191600b6200031160201b620020971760201c565b50620006ab565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002766200019860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200029c6200032760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ec90620004df565b60405180910390fd5b80601290805190602001906200030d92919062000351565b5050565b6001816000016000828254019250508190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200035f90620005a7565b90600052602060002090601f016020900481019282620003835760008555620003cf565b82601f106200039e57805160ff1916838001178555620003cf565b82800160010185558215620003cf579182015b82811115620003ce578251825591602001919060010190620003b1565b5b509050620003de9190620003e2565b5090565b5b80821115620003fd576000816000905550600101620003e3565b5090565b60006200041862000412846200052a565b62000501565b9050828152602081018484840111156200043157600080fd5b6200043e84828562000571565b509392505050565b600082601f8301126200045857600080fd5b81516200046a84826020860162000401565b91505092915050565b6000602082840312156200048657600080fd5b600082015167ffffffffffffffff811115620004a157600080fd5b620004af8482850162000446565b91505092915050565b6000620004c760208362000560565b9150620004d48262000682565b602082019050919050565b60006020820190508181036000830152620004fa81620004b8565b9050919050565b60006200050d62000520565b90506200051b8282620005dd565b919050565b6000604051905090565b600067ffffffffffffffff82111562000548576200054762000642565b5b620005538262000671565b9050602081019050919050565b600082825260208201905092915050565b60005b838110156200059157808201518184015260208101905062000574565b83811115620005a1576000848401525b50505050565b60006002820490506001821680620005c057607f821691505b60208210811415620005d757620005d662000613565b5b50919050565b620005e88262000671565b810181811067ffffffffffffffff821117156200060a576200060962000642565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614d6a80620006bb6000396000f3fe60806040526004361061025b5760003560e01c80636f8b44b011610144578063aa6ca808116100b6578063d5abeb011161007a578063d5abeb011461088c578063e0cd6a39146108b7578063e7572230146108f4578063e985e9c514610931578063ef305cec1461096e578063f2fde38b146109855761025b565b8063aa6ca808146107b9578063b88d4fde146107e4578063bb33d7291461080d578063c87b56dd14610824578063d547cfb7146108615761025b565b80638da5cb5b116101085780638da5cb5b146106ca57806391b7f5ed146106f557806395d89b411461071e578063a035b1fe14610749578063a0712d6814610774578063a22cb465146107905761025b565b80636f8b44b0146105f9578063700c94741461062257806370a082311461064b578063715018a61461068857806383b215361461069f5761025b565b80631c0de051116101dd5780634c0f38c2116101a15780634c0f38c2146104d75780634d813120146105025780634f6ccce71461053f57806355367ba91461057c57806355f804b3146105935780636352211e146105bc5761025b565b80631c0de0511461040657806323b872dd146104315780632f745c591461045a5780633ccfd60b1461049757806342842e0e146104ae5761025b565b8063095ea7b311610224578063095ea7b3146103595780630d5624b314610382578063144100c71461039957806317fc45e2146103b057806318160ddd146103db5761025b565b80620e7fa81461026057806301ffc9a71461028b5780630562b9f7146102c857806306fdde03146102f1578063081812fc1461031c575b600080fd5b34801561026c57600080fd5b506102756109ae565b6040516102829190614204565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad919061387e565b6109b4565b6040516102bf9190613ea7565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea9190613911565b610a2e565b005b3480156102fd57600080fd5b50610306610b3d565b6040516103139190613ec2565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613911565b610bcf565b6040516103509190613e1e565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190613801565b610c54565b005b34801561038e57600080fd5b50610397610d6c565b005b3480156103a557600080fd5b506103ae610e05565b005b3480156103bc57600080fd5b506103c5610f17565b6040516103d29190614204565b60405180910390f35b3480156103e757600080fd5b506103f0610f1d565b6040516103fd9190614204565b60405180910390f35b34801561041257600080fd5b5061041b610f2a565b6040516104289190613ea7565b60405180910390f35b34801561043d57600080fd5b50610458600480360381019061045391906136fb565b610f41565b005b34801561046657600080fd5b50610481600480360381019061047c9190613801565b610fa1565b60405161048e9190614204565b60405180910390f35b3480156104a357600080fd5b506104ac611046565b005b3480156104ba57600080fd5b506104d560048036038101906104d091906136fb565b611112565b005b3480156104e357600080fd5b506104ec611132565b6040516104f99190614204565b60405180910390f35b34801561050e57600080fd5b5061052960048036038101906105249190613696565b61113c565b6040516105369190613ea7565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190613911565b611197565b6040516105739190614204565b60405180910390f35b34801561058857600080fd5b5061059161122e565b005b34801561059f57600080fd5b506105ba60048036038101906105b591906138d0565b6112c7565b005b3480156105c857600080fd5b506105e360048036038101906105de9190613911565b61135d565b6040516105f09190613e1e565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b9190613911565b61140f565b005b34801561062e57600080fd5b506106496004803603810190610644919061383d565b611495565b005b34801561065757600080fd5b50610672600480360381019061066d9190613696565b6115cc565b60405161067f9190614204565b60405180910390f35b34801561069457600080fd5b5061069d611684565b005b3480156106ab57600080fd5b506106b461170c565b6040516106c19190613ea7565b60405180910390f35b3480156106d657600080fd5b506106df611723565b6040516106ec9190613e1e565b60405180910390f35b34801561070157600080fd5b5061071c60048036038101906107179190613911565b61174d565b005b34801561072a57600080fd5b506107336117d3565b6040516107409190613ec2565b60405180910390f35b34801561075557600080fd5b5061075e611865565b60405161076b9190614204565b60405180910390f35b61078e60048036038101906107899190613911565b61186b565b005b34801561079c57600080fd5b506107b760048036038101906107b291906137c5565b611acd565b005b3480156107c557600080fd5b506107ce611ae3565b6040516107db9190613e85565b60405180910390f35b3480156107f057600080fd5b5061080b6004803603810190610806919061374a565b611bda565b005b34801561081957600080fd5b50610822611c3c565b005b34801561083057600080fd5b5061084b60048036038101906108469190613911565b611cd5565b6040516108589190613ec2565b60405180910390f35b34801561086d57600080fd5b50610876611d7c565b6040516108839190613ec2565b60405180910390f35b34801561089857600080fd5b506108a1611e0a565b6040516108ae9190614204565b60405180910390f35b3480156108c357600080fd5b506108de60048036038101906108d99190613911565b611e10565b6040516108eb9190613ea7565b60405180910390f35b34801561090057600080fd5b5061091b60048036038101906109169190613911565b611e30565b6040516109289190614204565b60405180910390f35b34801561093d57600080fd5b50610958600480360381019061095391906136bf565b611e72565b6040516109659190613ea7565b60405180910390f35b34801561097a57600080fd5b50610983611f06565b005b34801561099157600080fd5b506109ac60048036038101906109a79190613696565b611f9f565b005b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a275750610a26826120ad565b5b9050919050565b610a3661218f565b73ffffffffffffffffffffffffffffffffffffffff16610a54611723565b73ffffffffffffffffffffffffffffffffffffffff1614610aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa1906140e4565b60405180910390fd5b478110610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390614164565b60405180910390fd5b610af4611723565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b39573d6000803e3d6000fd5b5050565b606060008054610b4c90614519565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7890614519565b8015610bc55780601f10610b9a57610100808354040283529160200191610bc5565b820191906000526020600020905b815481529060010190602001808311610ba857829003601f168201915b5050505050905090565b6000610bda82612197565b610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c10906140c4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5f8261135d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790614124565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cef61218f565b73ffffffffffffffffffffffffffffffffffffffff161480610d1e5750610d1d81610d1861218f565b611e72565b5b610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5490614004565b60405180910390fd5b610d678383612203565b505050565b610d7461218f565b73ffffffffffffffffffffffffffffffffffffffff16610d92611723565b73ffffffffffffffffffffffffffffffffffffffff1614610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf906140e4565b60405180910390fd5b6001601360016101000a81548160ff021916908315150217905550565b610e0d61218f565b73ffffffffffffffffffffffffffffffffffffffff16610e2b611723565b73ffffffffffffffffffffffffffffffffffffffff1614610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e78906140e4565b60405180910390fd5b601360029054906101000a900460ff1615610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec8906141e4565b60405180910390fd5b60005b600f811015610ef957610ee56122bc565b508080610ef19061457c565b915050610ed4565b506001601360026101000a81548160ff021916908315150217905550565b60115481565b6000600880549050905090565b6000601360009054906101000a900460ff16905090565b610f52610f4c61218f565b826122e6565b610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8890614144565b60405180910390fd5b610f9c8383836123c4565b505050565b6000610fac836115cc565b8210610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490613f04565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61104e61218f565b73ffffffffffffffffffffffffffffffffffffffff1661106c611723565b73ffffffffffffffffffffffffffffffffffffffff16146110c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b9906140e4565b60405180910390fd5b6110ca611723565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561110f573d6000803e3d6000fd5b50565b61112d83838360405180602001604052806000815250611bda565b505050565b6000600c54905090565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905080915050919050565b60006111a1610f1d565b82106111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d9906141a4565b60405180910390fd5b6008828154811061121c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61123661218f565b73ffffffffffffffffffffffffffffffffffffffff16611254611723565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a1906140e4565b60405180910390fd5b6001601360006101000a81548160ff021916908315150217905550565b6112cf61218f565b73ffffffffffffffffffffffffffffffffffffffff166112ed611723565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a906140e4565b60405180910390fd5b8060129080519060200190611359929190613424565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fd90614064565b60405180910390fd5b80915050919050565b61141761218f565b73ffffffffffffffffffffffffffffffffffffffff16611435611723565b73ffffffffffffffffffffffffffffffffffffffff161461148b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611482906140e4565b60405180910390fd5b80600c8190555050565b61149d61218f565b73ffffffffffffffffffffffffffffffffffffffff166114bb611723565b73ffffffffffffffffffffffffffffffffffffffff1614611511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611508906140e4565b60405180910390fd5b60005b81518110156115c8576001600d600084848151811061155c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806115c09061457c565b915050611514565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490614044565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61168c61218f565b73ffffffffffffffffffffffffffffffffffffffff166116aa611723565b73ffffffffffffffffffffffffffffffffffffffff1614611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f7906140e4565b60405180910390fd5b61170a600061262b565b565b6000601360019054906101000a900460ff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61175561218f565b73ffffffffffffffffffffffffffffffffffffffff16611773611723565b73ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c0906140e4565b60405180910390fd5b80600f8190555050565b6060600180546117e290614519565b80601f016020809104026020016040519081016040528092919081815260200182805461180e90614519565b801561185b5780601f106118305761010080835404028352916020019161185b565b820191906000526020600020905b81548152906001019060200180831161183e57829003601f168201915b5050505050905090565b600f5481565b6000611877600b6126f1565b905060006001600c5461188a919061434e565b9050601360009054906101000a900460ff16156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390613ee4565b60405180910390fd5b8083836118e9919061434e565b111561192a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192190614184565b60405180910390fd5b60115483111561196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690614024565b60405180910390fd5b601360019054906101000a900460ff1615611a205761198d3361113c565b6119cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c3906141c4565b60405180910390fd5b826010546119da91906143d5565b3414611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1290614084565b60405180910390fd5b611a70565b82600f54611a2e91906143d5565b3414611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6690614084565b60405180910390fd5b5b60005b83811015611ac7576000611a856122bc565b90506001600e600083815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611abf9061457c565b915050611a73565b50505050565b611adf611ad861218f565b83836126ff565b5050565b60606000611aef61286c565b905060008167ffffffffffffffff811115611b33577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611b615781602001602082028036833780820191505090505b50905060005b82811015611bd157611b793382610fa1565b828281518110611bb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611bc99061457c565b915050611b67565b50809250505090565b611beb611be561218f565b836122e6565b611c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2190614144565b60405180910390fd5b611c368484848461287c565b50505050565b611c4461218f565b73ffffffffffffffffffffffffffffffffffffffff16611c62611723565b73ffffffffffffffffffffffffffffffffffffffff1614611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf906140e4565b60405180910390fd5b6000601360006101000a81548160ff021916908315150217905550565b6060611ce082612197565b611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1690614104565b60405180910390fd5b6000611d296128d8565b90506000815111611d495760405180602001604052806000815250611d74565b80611d538461296a565b604051602001611d64929190613dfa565b6040516020818303038152906040525b915050919050565b60128054611d8990614519565b80601f0160208091040260200160405190810160405280929190818152602001828054611db590614519565b8015611e025780601f10611dd757610100808354040283529160200191611e02565b820191906000526020600020905b815481529060010190602001808311611de557829003601f168201915b505050505081565b600c5481565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000601360019054906101000a900460ff1615611e5c5781601054611e5591906143d5565b9050611e6d565b81600f54611e6a91906143d5565b90505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f0e61218f565b73ffffffffffffffffffffffffffffffffffffffff16611f2c611723565b73ffffffffffffffffffffffffffffffffffffffff1614611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f79906140e4565b60405180910390fd5b6000601360016101000a81548160ff021916908315150217905550565b611fa761218f565b73ffffffffffffffffffffffffffffffffffffffff16611fc5611723565b73ffffffffffffffffffffffffffffffffffffffff161461201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906140e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561208b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208290613f44565b60405180910390fd5b6120948161262b565b50565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061217857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612188575061218782612b17565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122768361135d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122c9600b6126f1565b90506122d53382612b81565b8091506122e2600b612097565b5090565b60006122f182612197565b612330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232790613fe4565b60405180910390fd5b600061233b8361135d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123aa57508373ffffffffffffffffffffffffffffffffffffffff1661239284610bcf565b73ffffffffffffffffffffffffffffffffffffffff16145b806123bb57506123ba8185611e72565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123e48261135d565b73ffffffffffffffffffffffffffffffffffffffff161461243a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243190613f64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190613fa4565b60405180910390fd5b6124b5838383612b9f565b6124c0600082612203565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612510919061442f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612567919061434e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612626838383612cb3565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561276e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276590613fc4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161285f9190613ea7565b60405180910390a3505050565b6000612877336115cc565b905090565b6128878484846123c4565b61289384848484612cb8565b6128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c990613f24565b60405180910390fd5b50505050565b6060601280546128e790614519565b80601f016020809104026020016040519081016040528092919081815260200182805461291390614519565b80156129605780601f1061293557610100808354040283529160200191612960565b820191906000526020600020905b81548152906001019060200180831161294357829003601f168201915b5050505050905090565b606060008214156129b2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b12565b600082905060005b600082146129e45780806129cd9061457c565b915050600a826129dd91906143a4565b91506129ba565b60008167ffffffffffffffff811115612a26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a585781602001600182028036833780820191505090505b5090505b60008514612b0b57600182612a71919061442f565b9150600a85612a8091906145c5565b6030612a8c919061434e565b60f81b818381518110612ac8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b0491906143a4565b9450612a5c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b9b828260405180602001604052806000815250612e4f565b5050565b612baa838383612eaa565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bed57612be881612eaf565b612c2c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c2b57612c2a8382612ef8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c6f57612c6a81613065565b612cae565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cad57612cac82826131a8565b5b5b505050565b505050565b6000612cd98473ffffffffffffffffffffffffffffffffffffffff16613227565b15612e42578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d0261218f565b8786866040518563ffffffff1660e01b8152600401612d249493929190613e39565b602060405180830381600087803b158015612d3e57600080fd5b505af1925050508015612d6f57506040513d601f19601f82011682018060405250810190612d6c91906138a7565b60015b612df2573d8060008114612d9f576040519150601f19603f3d011682016040523d82523d6000602084013e612da4565b606091505b50600081511415612dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de190613f24565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e47565b600190505b949350505050565b612e59838361324a565b612e666000848484612cb8565b612ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9c90613f24565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f05846115cc565b612f0f919061442f565b9050600060076000848152602001908152602001600020549050818114612ff4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613079919061442f565b90506000600960008481526020019081526020016000205490506000600883815481106130cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613117577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061318c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006131b3836115cc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b1906140a4565b60405180910390fd5b6132c381612197565b15613303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132fa90613f84565b60405180910390fd5b61330f60008383612b9f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461335f919061434e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461342060008383612cb3565b5050565b82805461343090614519565b90600052602060002090601f0160209004810192826134525760008555613499565b82601f1061346b57805160ff1916838001178555613499565b82800160010185558215613499579182015b8281111561349857825182559160200191906001019061347d565b5b5090506134a691906134aa565b5090565b5b808211156134c35760008160009055506001016134ab565b5090565b60006134da6134d584614244565b61421f565b905080838252602082019050828560208602820111156134f957600080fd5b60005b85811015613529578161350f88826135af565b8452602084019350602083019250506001810190506134fc565b5050509392505050565b600061354661354184614270565b61421f565b90508281526020810184848401111561355e57600080fd5b6135698482856144d7565b509392505050565b600061358461357f846142a1565b61421f565b90508281526020810184848401111561359c57600080fd5b6135a78482856144d7565b509392505050565b6000813590506135be81614cd8565b92915050565b600082601f8301126135d557600080fd5b81356135e58482602086016134c7565b91505092915050565b6000813590506135fd81614cef565b92915050565b60008135905061361281614d06565b92915050565b60008151905061362781614d06565b92915050565b600082601f83011261363e57600080fd5b813561364e848260208601613533565b91505092915050565b600082601f83011261366857600080fd5b8135613678848260208601613571565b91505092915050565b60008135905061369081614d1d565b92915050565b6000602082840312156136a857600080fd5b60006136b6848285016135af565b91505092915050565b600080604083850312156136d257600080fd5b60006136e0858286016135af565b92505060206136f1858286016135af565b9150509250929050565b60008060006060848603121561371057600080fd5b600061371e868287016135af565b935050602061372f868287016135af565b925050604061374086828701613681565b9150509250925092565b6000806000806080858703121561376057600080fd5b600061376e878288016135af565b945050602061377f878288016135af565b935050604061379087828801613681565b925050606085013567ffffffffffffffff8111156137ad57600080fd5b6137b98782880161362d565b91505092959194509250565b600080604083850312156137d857600080fd5b60006137e6858286016135af565b92505060206137f7858286016135ee565b9150509250929050565b6000806040838503121561381457600080fd5b6000613822858286016135af565b925050602061383385828601613681565b9150509250929050565b60006020828403121561384f57600080fd5b600082013567ffffffffffffffff81111561386957600080fd5b613875848285016135c4565b91505092915050565b60006020828403121561389057600080fd5b600061389e84828501613603565b91505092915050565b6000602082840312156138b957600080fd5b60006138c784828501613618565b91505092915050565b6000602082840312156138e257600080fd5b600082013567ffffffffffffffff8111156138fc57600080fd5b61390884828501613657565b91505092915050565b60006020828403121561392357600080fd5b600061393184828501613681565b91505092915050565b60006139468383613ddc565b60208301905092915050565b61395b81614463565b82525050565b600061396c826142e2565b6139768185614310565b9350613981836142d2565b8060005b838110156139b2578151613999888261393a565b97506139a483614303565b925050600181019050613985565b5085935050505092915050565b6139c881614475565b82525050565b60006139d9826142ed565b6139e38185614321565b93506139f38185602086016144e6565b6139fc816146b2565b840191505092915050565b6000613a12826142f8565b613a1c8185614332565b9350613a2c8185602086016144e6565b613a35816146b2565b840191505092915050565b6000613a4b826142f8565b613a558185614343565b9350613a658185602086016144e6565b80840191505092915050565b6000613a7e600b83614332565b9150613a89826146c3565b602082019050919050565b6000613aa1602b83614332565b9150613aac826146ec565b604082019050919050565b6000613ac4603283614332565b9150613acf8261473b565b604082019050919050565b6000613ae7602683614332565b9150613af28261478a565b604082019050919050565b6000613b0a602583614332565b9150613b15826147d9565b604082019050919050565b6000613b2d601c83614332565b9150613b3882614828565b602082019050919050565b6000613b50602483614332565b9150613b5b82614851565b604082019050919050565b6000613b73601983614332565b9150613b7e826148a0565b602082019050919050565b6000613b96602c83614332565b9150613ba1826148c9565b604082019050919050565b6000613bb9603883614332565b9150613bc482614918565b604082019050919050565b6000613bdc601083614332565b9150613be782614967565b602082019050919050565b6000613bff602a83614332565b9150613c0a82614990565b604082019050919050565b6000613c22602983614332565b9150613c2d826149df565b604082019050919050565b6000613c45601c83614332565b9150613c5082614a2e565b602082019050919050565b6000613c68602083614332565b9150613c7382614a57565b602082019050919050565b6000613c8b602c83614332565b9150613c9682614a80565b604082019050919050565b6000613cae602083614332565b9150613cb982614acf565b602082019050919050565b6000613cd1602f83614332565b9150613cdc82614af8565b604082019050919050565b6000613cf4602183614332565b9150613cff82614b47565b604082019050919050565b6000613d17603183614332565b9150613d2282614b96565b604082019050919050565b6000613d3a601a83614332565b9150613d4582614be5565b602082019050919050565b6000613d5d601583614332565b9150613d6882614c0e565b602082019050919050565b6000613d80602c83614332565b9150613d8b82614c37565b604082019050919050565b6000613da3601a83614332565b9150613dae82614c86565b602082019050919050565b6000613dc6601583614332565b9150613dd182614caf565b602082019050919050565b613de5816144cd565b82525050565b613df4816144cd565b82525050565b6000613e068285613a40565b9150613e128284613a40565b91508190509392505050565b6000602082019050613e336000830184613952565b92915050565b6000608082019050613e4e6000830187613952565b613e5b6020830186613952565b613e686040830185613deb565b8181036060830152613e7a81846139ce565b905095945050505050565b60006020820190508181036000830152613e9f8184613961565b905092915050565b6000602082019050613ebc60008301846139bf565b92915050565b60006020820190508181036000830152613edc8184613a07565b905092915050565b60006020820190508181036000830152613efd81613a71565b9050919050565b60006020820190508181036000830152613f1d81613a94565b9050919050565b60006020820190508181036000830152613f3d81613ab7565b9050919050565b60006020820190508181036000830152613f5d81613ada565b9050919050565b60006020820190508181036000830152613f7d81613afd565b9050919050565b60006020820190508181036000830152613f9d81613b20565b9050919050565b60006020820190508181036000830152613fbd81613b43565b9050919050565b60006020820190508181036000830152613fdd81613b66565b9050919050565b60006020820190508181036000830152613ffd81613b89565b9050919050565b6000602082019050818103600083015261401d81613bac565b9050919050565b6000602082019050818103600083015261403d81613bcf565b9050919050565b6000602082019050818103600083015261405d81613bf2565b9050919050565b6000602082019050818103600083015261407d81613c15565b9050919050565b6000602082019050818103600083015261409d81613c38565b9050919050565b600060208201905081810360008301526140bd81613c5b565b9050919050565b600060208201905081810360008301526140dd81613c7e565b9050919050565b600060208201905081810360008301526140fd81613ca1565b9050919050565b6000602082019050818103600083015261411d81613cc4565b9050919050565b6000602082019050818103600083015261413d81613ce7565b9050919050565b6000602082019050818103600083015261415d81613d0a565b9050919050565b6000602082019050818103600083015261417d81613d2d565b9050919050565b6000602082019050818103600083015261419d81613d50565b9050919050565b600060208201905081810360008301526141bd81613d73565b9050919050565b600060208201905081810360008301526141dd81613d96565b9050919050565b600060208201905081810360008301526141fd81613db9565b9050919050565b60006020820190506142196000830184613deb565b92915050565b600061422961423a565b9050614235828261454b565b919050565b6000604051905090565b600067ffffffffffffffff82111561425f5761425e614683565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561428b5761428a614683565b5b614294826146b2565b9050602081019050919050565b600067ffffffffffffffff8211156142bc576142bb614683565b5b6142c5826146b2565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614359826144cd565b9150614364836144cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614399576143986145f6565b5b828201905092915050565b60006143af826144cd565b91506143ba836144cd565b9250826143ca576143c9614625565b5b828204905092915050565b60006143e0826144cd565b91506143eb836144cd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614424576144236145f6565b5b828202905092915050565b600061443a826144cd565b9150614445836144cd565b925082821015614458576144576145f6565b5b828203905092915050565b600061446e826144ad565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145045780820151818401526020810190506144e9565b83811115614513576000848401525b50505050565b6000600282049050600182168061453157607f821691505b6020821081141561454557614544614654565b5b50919050565b614554826146b2565b810181811067ffffffffffffffff8211171561457357614572614683565b5b80604052505050565b6000614587826144cd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145ba576145b96145f6565b5b600182019050919050565b60006145d0826144cd565b91506145db836144cd565b9250826145eb576145ea614625565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e647320746f2072656465656d00000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f42616c616e636520746f6f206c6f7720666f7220616d6f756e74000000000000600082015250565b7f4e6f7420656e6f7567682072656d61696e696e67210000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f74206f6e207468652070726573616c65000000000000600082015250565b7f5465616d20616c72656164792072657365727665640000000000000000000000600082015250565b614ce181614463565b8114614cec57600080fd5b50565b614cf881614475565b8114614d0357600080fd5b50565b614d0f81614481565b8114614d1a57600080fd5b50565b614d26816144cd565b8114614d3157600080fd5b5056fea26469706673582212204be4a6af8cf3a21df0a04d761daf56dc1e1dbc305295aceb6eb12968246bb60464736f6c634300080400330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6170692e626164746174746f6f732e636f2e756b2f6170692f7472616974732f000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025b5760003560e01c80636f8b44b011610144578063aa6ca808116100b6578063d5abeb011161007a578063d5abeb011461088c578063e0cd6a39146108b7578063e7572230146108f4578063e985e9c514610931578063ef305cec1461096e578063f2fde38b146109855761025b565b8063aa6ca808146107b9578063b88d4fde146107e4578063bb33d7291461080d578063c87b56dd14610824578063d547cfb7146108615761025b565b80638da5cb5b116101085780638da5cb5b146106ca57806391b7f5ed146106f557806395d89b411461071e578063a035b1fe14610749578063a0712d6814610774578063a22cb465146107905761025b565b80636f8b44b0146105f9578063700c94741461062257806370a082311461064b578063715018a61461068857806383b215361461069f5761025b565b80631c0de051116101dd5780634c0f38c2116101a15780634c0f38c2146104d75780634d813120146105025780634f6ccce71461053f57806355367ba91461057c57806355f804b3146105935780636352211e146105bc5761025b565b80631c0de0511461040657806323b872dd146104315780632f745c591461045a5780633ccfd60b1461049757806342842e0e146104ae5761025b565b8063095ea7b311610224578063095ea7b3146103595780630d5624b314610382578063144100c71461039957806317fc45e2146103b057806318160ddd146103db5761025b565b80620e7fa81461026057806301ffc9a71461028b5780630562b9f7146102c857806306fdde03146102f1578063081812fc1461031c575b600080fd5b34801561026c57600080fd5b506102756109ae565b6040516102829190614204565b60405180910390f35b34801561029757600080fd5b506102b260048036038101906102ad919061387e565b6109b4565b6040516102bf9190613ea7565b60405180910390f35b3480156102d457600080fd5b506102ef60048036038101906102ea9190613911565b610a2e565b005b3480156102fd57600080fd5b50610306610b3d565b6040516103139190613ec2565b60405180910390f35b34801561032857600080fd5b50610343600480360381019061033e9190613911565b610bcf565b6040516103509190613e1e565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b9190613801565b610c54565b005b34801561038e57600080fd5b50610397610d6c565b005b3480156103a557600080fd5b506103ae610e05565b005b3480156103bc57600080fd5b506103c5610f17565b6040516103d29190614204565b60405180910390f35b3480156103e757600080fd5b506103f0610f1d565b6040516103fd9190614204565b60405180910390f35b34801561041257600080fd5b5061041b610f2a565b6040516104289190613ea7565b60405180910390f35b34801561043d57600080fd5b50610458600480360381019061045391906136fb565b610f41565b005b34801561046657600080fd5b50610481600480360381019061047c9190613801565b610fa1565b60405161048e9190614204565b60405180910390f35b3480156104a357600080fd5b506104ac611046565b005b3480156104ba57600080fd5b506104d560048036038101906104d091906136fb565b611112565b005b3480156104e357600080fd5b506104ec611132565b6040516104f99190614204565b60405180910390f35b34801561050e57600080fd5b5061052960048036038101906105249190613696565b61113c565b6040516105369190613ea7565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190613911565b611197565b6040516105739190614204565b60405180910390f35b34801561058857600080fd5b5061059161122e565b005b34801561059f57600080fd5b506105ba60048036038101906105b591906138d0565b6112c7565b005b3480156105c857600080fd5b506105e360048036038101906105de9190613911565b61135d565b6040516105f09190613e1e565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b9190613911565b61140f565b005b34801561062e57600080fd5b506106496004803603810190610644919061383d565b611495565b005b34801561065757600080fd5b50610672600480360381019061066d9190613696565b6115cc565b60405161067f9190614204565b60405180910390f35b34801561069457600080fd5b5061069d611684565b005b3480156106ab57600080fd5b506106b461170c565b6040516106c19190613ea7565b60405180910390f35b3480156106d657600080fd5b506106df611723565b6040516106ec9190613e1e565b60405180910390f35b34801561070157600080fd5b5061071c60048036038101906107179190613911565b61174d565b005b34801561072a57600080fd5b506107336117d3565b6040516107409190613ec2565b60405180910390f35b34801561075557600080fd5b5061075e611865565b60405161076b9190614204565b60405180910390f35b61078e60048036038101906107899190613911565b61186b565b005b34801561079c57600080fd5b506107b760048036038101906107b291906137c5565b611acd565b005b3480156107c557600080fd5b506107ce611ae3565b6040516107db9190613e85565b60405180910390f35b3480156107f057600080fd5b5061080b6004803603810190610806919061374a565b611bda565b005b34801561081957600080fd5b50610822611c3c565b005b34801561083057600080fd5b5061084b60048036038101906108469190613911565b611cd5565b6040516108589190613ec2565b60405180910390f35b34801561086d57600080fd5b50610876611d7c565b6040516108839190613ec2565b60405180910390f35b34801561089857600080fd5b506108a1611e0a565b6040516108ae9190614204565b60405180910390f35b3480156108c357600080fd5b506108de60048036038101906108d99190613911565b611e10565b6040516108eb9190613ea7565b60405180910390f35b34801561090057600080fd5b5061091b60048036038101906109169190613911565b611e30565b6040516109289190614204565b60405180910390f35b34801561093d57600080fd5b50610958600480360381019061095391906136bf565b611e72565b6040516109659190613ea7565b60405180910390f35b34801561097a57600080fd5b50610983611f06565b005b34801561099157600080fd5b506109ac60048036038101906109a79190613696565b611f9f565b005b60105481565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a275750610a26826120ad565b5b9050919050565b610a3661218f565b73ffffffffffffffffffffffffffffffffffffffff16610a54611723565b73ffffffffffffffffffffffffffffffffffffffff1614610aaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa1906140e4565b60405180910390fd5b478110610aec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ae390614164565b60405180910390fd5b610af4611723565b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610b39573d6000803e3d6000fd5b5050565b606060008054610b4c90614519565b80601f0160208091040260200160405190810160405280929190818152602001828054610b7890614519565b8015610bc55780601f10610b9a57610100808354040283529160200191610bc5565b820191906000526020600020905b815481529060010190602001808311610ba857829003601f168201915b5050505050905090565b6000610bda82612197565b610c19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c10906140c4565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c5f8261135d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc790614124565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cef61218f565b73ffffffffffffffffffffffffffffffffffffffff161480610d1e5750610d1d81610d1861218f565b611e72565b5b610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5490614004565b60405180910390fd5b610d678383612203565b505050565b610d7461218f565b73ffffffffffffffffffffffffffffffffffffffff16610d92611723565b73ffffffffffffffffffffffffffffffffffffffff1614610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf906140e4565b60405180910390fd5b6001601360016101000a81548160ff021916908315150217905550565b610e0d61218f565b73ffffffffffffffffffffffffffffffffffffffff16610e2b611723565b73ffffffffffffffffffffffffffffffffffffffff1614610e81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e78906140e4565b60405180910390fd5b601360029054906101000a900460ff1615610ed1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec8906141e4565b60405180910390fd5b60005b600f811015610ef957610ee56122bc565b508080610ef19061457c565b915050610ed4565b506001601360026101000a81548160ff021916908315150217905550565b60115481565b6000600880549050905090565b6000601360009054906101000a900460ff16905090565b610f52610f4c61218f565b826122e6565b610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8890614144565b60405180910390fd5b610f9c8383836123c4565b505050565b6000610fac836115cc565b8210610fed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe490613f04565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61104e61218f565b73ffffffffffffffffffffffffffffffffffffffff1661106c611723565b73ffffffffffffffffffffffffffffffffffffffff16146110c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b9906140e4565b60405180910390fd5b6110ca611723565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561110f573d6000803e3d6000fd5b50565b61112d83838360405180602001604052806000815250611bda565b505050565b6000600c54905090565b600080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905080915050919050565b60006111a1610f1d565b82106111e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d9906141a4565b60405180910390fd5b6008828154811061121c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b61123661218f565b73ffffffffffffffffffffffffffffffffffffffff16611254611723565b73ffffffffffffffffffffffffffffffffffffffff16146112aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a1906140e4565b60405180910390fd5b6001601360006101000a81548160ff021916908315150217905550565b6112cf61218f565b73ffffffffffffffffffffffffffffffffffffffff166112ed611723565b73ffffffffffffffffffffffffffffffffffffffff1614611343576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133a906140e4565b60405180910390fd5b8060129080519060200190611359929190613424565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611406576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fd90614064565b60405180910390fd5b80915050919050565b61141761218f565b73ffffffffffffffffffffffffffffffffffffffff16611435611723565b73ffffffffffffffffffffffffffffffffffffffff161461148b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611482906140e4565b60405180910390fd5b80600c8190555050565b61149d61218f565b73ffffffffffffffffffffffffffffffffffffffff166114bb611723565b73ffffffffffffffffffffffffffffffffffffffff1614611511576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611508906140e4565b60405180910390fd5b60005b81518110156115c8576001600d600084848151811061155c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806115c09061457c565b915050611514565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561163d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163490614044565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61168c61218f565b73ffffffffffffffffffffffffffffffffffffffff166116aa611723565b73ffffffffffffffffffffffffffffffffffffffff1614611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f7906140e4565b60405180910390fd5b61170a600061262b565b565b6000601360019054906101000a900460ff16905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61175561218f565b73ffffffffffffffffffffffffffffffffffffffff16611773611723565b73ffffffffffffffffffffffffffffffffffffffff16146117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c0906140e4565b60405180910390fd5b80600f8190555050565b6060600180546117e290614519565b80601f016020809104026020016040519081016040528092919081815260200182805461180e90614519565b801561185b5780601f106118305761010080835404028352916020019161185b565b820191906000526020600020905b81548152906001019060200180831161183e57829003601f168201915b5050505050905090565b600f5481565b6000611877600b6126f1565b905060006001600c5461188a919061434e565b9050601360009054906101000a900460ff16156118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390613ee4565b60405180910390fd5b8083836118e9919061434e565b111561192a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192190614184565b60405180910390fd5b60115483111561196f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196690614024565b60405180910390fd5b601360019054906101000a900460ff1615611a205761198d3361113c565b6119cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119c3906141c4565b60405180910390fd5b826010546119da91906143d5565b3414611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1290614084565b60405180910390fd5b611a70565b82600f54611a2e91906143d5565b3414611a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6690614084565b60405180910390fd5b5b60005b83811015611ac7576000611a856122bc565b90506001600e600083815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611abf9061457c565b915050611a73565b50505050565b611adf611ad861218f565b83836126ff565b5050565b60606000611aef61286c565b905060008167ffffffffffffffff811115611b33577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015611b615781602001602082028036833780820191505090505b50905060005b82811015611bd157611b793382610fa1565b828281518110611bb2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508080611bc99061457c565b915050611b67565b50809250505090565b611beb611be561218f565b836122e6565b611c2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2190614144565b60405180910390fd5b611c368484848461287c565b50505050565b611c4461218f565b73ffffffffffffffffffffffffffffffffffffffff16611c62611723565b73ffffffffffffffffffffffffffffffffffffffff1614611cb8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611caf906140e4565b60405180910390fd5b6000601360006101000a81548160ff021916908315150217905550565b6060611ce082612197565b611d1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1690614104565b60405180910390fd5b6000611d296128d8565b90506000815111611d495760405180602001604052806000815250611d74565b80611d538461296a565b604051602001611d64929190613dfa565b6040516020818303038152906040525b915050919050565b60128054611d8990614519565b80601f0160208091040260200160405190810160405280929190818152602001828054611db590614519565b8015611e025780601f10611dd757610100808354040283529160200191611e02565b820191906000526020600020905b815481529060010190602001808311611de557829003601f168201915b505050505081565b600c5481565b600e6020528060005260406000206000915054906101000a900460ff1681565b6000601360019054906101000a900460ff1615611e5c5781601054611e5591906143d5565b9050611e6d565b81600f54611e6a91906143d5565b90505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f0e61218f565b73ffffffffffffffffffffffffffffffffffffffff16611f2c611723565b73ffffffffffffffffffffffffffffffffffffffff1614611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f79906140e4565b60405180910390fd5b6000601360016101000a81548160ff021916908315150217905550565b611fa761218f565b73ffffffffffffffffffffffffffffffffffffffff16611fc5611723565b73ffffffffffffffffffffffffffffffffffffffff161461201b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612012906140e4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561208b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208290613f44565b60405180910390fd5b6120948161262b565b50565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061217857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612188575061218782612b17565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166122768361135d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806122c9600b6126f1565b90506122d53382612b81565b8091506122e2600b612097565b5090565b60006122f182612197565b612330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232790613fe4565b60405180910390fd5b600061233b8361135d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806123aa57508373ffffffffffffffffffffffffffffffffffffffff1661239284610bcf565b73ffffffffffffffffffffffffffffffffffffffff16145b806123bb57506123ba8185611e72565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166123e48261135d565b73ffffffffffffffffffffffffffffffffffffffff161461243a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243190613f64565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156124aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a190613fa4565b60405180910390fd5b6124b5838383612b9f565b6124c0600082612203565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612510919061442f565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612567919061434e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612626838383612cb3565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561276e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276590613fc4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161285f9190613ea7565b60405180910390a3505050565b6000612877336115cc565b905090565b6128878484846123c4565b61289384848484612cb8565b6128d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128c990613f24565b60405180910390fd5b50505050565b6060601280546128e790614519565b80601f016020809104026020016040519081016040528092919081815260200182805461291390614519565b80156129605780601f1061293557610100808354040283529160200191612960565b820191906000526020600020905b81548152906001019060200180831161294357829003601f168201915b5050505050905090565b606060008214156129b2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b12565b600082905060005b600082146129e45780806129cd9061457c565b915050600a826129dd91906143a4565b91506129ba565b60008167ffffffffffffffff811115612a26577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a585781602001600182028036833780820191505090505b5090505b60008514612b0b57600182612a71919061442f565b9150600a85612a8091906145c5565b6030612a8c919061434e565b60f81b818381518110612ac8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b0491906143a4565b9450612a5c565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612b9b828260405180602001604052806000815250612e4f565b5050565b612baa838383612eaa565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612bed57612be881612eaf565b612c2c565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612c2b57612c2a8382612ef8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612c6f57612c6a81613065565b612cae565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612cad57612cac82826131a8565b5b5b505050565b505050565b6000612cd98473ffffffffffffffffffffffffffffffffffffffff16613227565b15612e42578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612d0261218f565b8786866040518563ffffffff1660e01b8152600401612d249493929190613e39565b602060405180830381600087803b158015612d3e57600080fd5b505af1925050508015612d6f57506040513d601f19601f82011682018060405250810190612d6c91906138a7565b60015b612df2573d8060008114612d9f576040519150601f19603f3d011682016040523d82523d6000602084013e612da4565b606091505b50600081511415612dea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612de190613f24565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612e47565b600190505b949350505050565b612e59838361324a565b612e666000848484612cb8565b612ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9c90613f24565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612f05846115cc565b612f0f919061442f565b9050600060076000848152602001908152602001600020549050818114612ff4576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613079919061442f565b90506000600960008481526020019081526020016000205490506000600883815481106130cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613117577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061318c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006131b3836115cc565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156132ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b1906140a4565b60405180910390fd5b6132c381612197565b15613303576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132fa90613f84565b60405180910390fd5b61330f60008383612b9f565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461335f919061434e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461342060008383612cb3565b5050565b82805461343090614519565b90600052602060002090601f0160209004810192826134525760008555613499565b82601f1061346b57805160ff1916838001178555613499565b82800160010185558215613499579182015b8281111561349857825182559160200191906001019061347d565b5b5090506134a691906134aa565b5090565b5b808211156134c35760008160009055506001016134ab565b5090565b60006134da6134d584614244565b61421f565b905080838252602082019050828560208602820111156134f957600080fd5b60005b85811015613529578161350f88826135af565b8452602084019350602083019250506001810190506134fc565b5050509392505050565b600061354661354184614270565b61421f565b90508281526020810184848401111561355e57600080fd5b6135698482856144d7565b509392505050565b600061358461357f846142a1565b61421f565b90508281526020810184848401111561359c57600080fd5b6135a78482856144d7565b509392505050565b6000813590506135be81614cd8565b92915050565b600082601f8301126135d557600080fd5b81356135e58482602086016134c7565b91505092915050565b6000813590506135fd81614cef565b92915050565b60008135905061361281614d06565b92915050565b60008151905061362781614d06565b92915050565b600082601f83011261363e57600080fd5b813561364e848260208601613533565b91505092915050565b600082601f83011261366857600080fd5b8135613678848260208601613571565b91505092915050565b60008135905061369081614d1d565b92915050565b6000602082840312156136a857600080fd5b60006136b6848285016135af565b91505092915050565b600080604083850312156136d257600080fd5b60006136e0858286016135af565b92505060206136f1858286016135af565b9150509250929050565b60008060006060848603121561371057600080fd5b600061371e868287016135af565b935050602061372f868287016135af565b925050604061374086828701613681565b9150509250925092565b6000806000806080858703121561376057600080fd5b600061376e878288016135af565b945050602061377f878288016135af565b935050604061379087828801613681565b925050606085013567ffffffffffffffff8111156137ad57600080fd5b6137b98782880161362d565b91505092959194509250565b600080604083850312156137d857600080fd5b60006137e6858286016135af565b92505060206137f7858286016135ee565b9150509250929050565b6000806040838503121561381457600080fd5b6000613822858286016135af565b925050602061383385828601613681565b9150509250929050565b60006020828403121561384f57600080fd5b600082013567ffffffffffffffff81111561386957600080fd5b613875848285016135c4565b91505092915050565b60006020828403121561389057600080fd5b600061389e84828501613603565b91505092915050565b6000602082840312156138b957600080fd5b60006138c784828501613618565b91505092915050565b6000602082840312156138e257600080fd5b600082013567ffffffffffffffff8111156138fc57600080fd5b61390884828501613657565b91505092915050565b60006020828403121561392357600080fd5b600061393184828501613681565b91505092915050565b60006139468383613ddc565b60208301905092915050565b61395b81614463565b82525050565b600061396c826142e2565b6139768185614310565b9350613981836142d2565b8060005b838110156139b2578151613999888261393a565b97506139a483614303565b925050600181019050613985565b5085935050505092915050565b6139c881614475565b82525050565b60006139d9826142ed565b6139e38185614321565b93506139f38185602086016144e6565b6139fc816146b2565b840191505092915050565b6000613a12826142f8565b613a1c8185614332565b9350613a2c8185602086016144e6565b613a35816146b2565b840191505092915050565b6000613a4b826142f8565b613a558185614343565b9350613a658185602086016144e6565b80840191505092915050565b6000613a7e600b83614332565b9150613a89826146c3565b602082019050919050565b6000613aa1602b83614332565b9150613aac826146ec565b604082019050919050565b6000613ac4603283614332565b9150613acf8261473b565b604082019050919050565b6000613ae7602683614332565b9150613af28261478a565b604082019050919050565b6000613b0a602583614332565b9150613b15826147d9565b604082019050919050565b6000613b2d601c83614332565b9150613b3882614828565b602082019050919050565b6000613b50602483614332565b9150613b5b82614851565b604082019050919050565b6000613b73601983614332565b9150613b7e826148a0565b602082019050919050565b6000613b96602c83614332565b9150613ba1826148c9565b604082019050919050565b6000613bb9603883614332565b9150613bc482614918565b604082019050919050565b6000613bdc601083614332565b9150613be782614967565b602082019050919050565b6000613bff602a83614332565b9150613c0a82614990565b604082019050919050565b6000613c22602983614332565b9150613c2d826149df565b604082019050919050565b6000613c45601c83614332565b9150613c5082614a2e565b602082019050919050565b6000613c68602083614332565b9150613c7382614a57565b602082019050919050565b6000613c8b602c83614332565b9150613c9682614a80565b604082019050919050565b6000613cae602083614332565b9150613cb982614acf565b602082019050919050565b6000613cd1602f83614332565b9150613cdc82614af8565b604082019050919050565b6000613cf4602183614332565b9150613cff82614b47565b604082019050919050565b6000613d17603183614332565b9150613d2282614b96565b604082019050919050565b6000613d3a601a83614332565b9150613d4582614be5565b602082019050919050565b6000613d5d601583614332565b9150613d6882614c0e565b602082019050919050565b6000613d80602c83614332565b9150613d8b82614c37565b604082019050919050565b6000613da3601a83614332565b9150613dae82614c86565b602082019050919050565b6000613dc6601583614332565b9150613dd182614caf565b602082019050919050565b613de5816144cd565b82525050565b613df4816144cd565b82525050565b6000613e068285613a40565b9150613e128284613a40565b91508190509392505050565b6000602082019050613e336000830184613952565b92915050565b6000608082019050613e4e6000830187613952565b613e5b6020830186613952565b613e686040830185613deb565b8181036060830152613e7a81846139ce565b905095945050505050565b60006020820190508181036000830152613e9f8184613961565b905092915050565b6000602082019050613ebc60008301846139bf565b92915050565b60006020820190508181036000830152613edc8184613a07565b905092915050565b60006020820190508181036000830152613efd81613a71565b9050919050565b60006020820190508181036000830152613f1d81613a94565b9050919050565b60006020820190508181036000830152613f3d81613ab7565b9050919050565b60006020820190508181036000830152613f5d81613ada565b9050919050565b60006020820190508181036000830152613f7d81613afd565b9050919050565b60006020820190508181036000830152613f9d81613b20565b9050919050565b60006020820190508181036000830152613fbd81613b43565b9050919050565b60006020820190508181036000830152613fdd81613b66565b9050919050565b60006020820190508181036000830152613ffd81613b89565b9050919050565b6000602082019050818103600083015261401d81613bac565b9050919050565b6000602082019050818103600083015261403d81613bcf565b9050919050565b6000602082019050818103600083015261405d81613bf2565b9050919050565b6000602082019050818103600083015261407d81613c15565b9050919050565b6000602082019050818103600083015261409d81613c38565b9050919050565b600060208201905081810360008301526140bd81613c5b565b9050919050565b600060208201905081810360008301526140dd81613c7e565b9050919050565b600060208201905081810360008301526140fd81613ca1565b9050919050565b6000602082019050818103600083015261411d81613cc4565b9050919050565b6000602082019050818103600083015261413d81613ce7565b9050919050565b6000602082019050818103600083015261415d81613d0a565b9050919050565b6000602082019050818103600083015261417d81613d2d565b9050919050565b6000602082019050818103600083015261419d81613d50565b9050919050565b600060208201905081810360008301526141bd81613d73565b9050919050565b600060208201905081810360008301526141dd81613d96565b9050919050565b600060208201905081810360008301526141fd81613db9565b9050919050565b60006020820190506142196000830184613deb565b92915050565b600061422961423a565b9050614235828261454b565b919050565b6000604051905090565b600067ffffffffffffffff82111561425f5761425e614683565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561428b5761428a614683565b5b614294826146b2565b9050602081019050919050565b600067ffffffffffffffff8211156142bc576142bb614683565b5b6142c5826146b2565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614359826144cd565b9150614364836144cd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614399576143986145f6565b5b828201905092915050565b60006143af826144cd565b91506143ba836144cd565b9250826143ca576143c9614625565b5b828204905092915050565b60006143e0826144cd565b91506143eb836144cd565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614424576144236145f6565b5b828202905092915050565b600061443a826144cd565b9150614445836144cd565b925082821015614458576144576145f6565b5b828203905092915050565b600061446e826144ad565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156145045780820151818401526020810190506144e9565b83811115614513576000848401525b50505050565b6000600282049050600182168061453157607f821691505b6020821081141561454557614544614654565b5b50919050565b614554826146b2565b810181811067ffffffffffffffff8211171561457357614572614683565b5b80604052505050565b6000614587826144cd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156145ba576145b96145f6565b5b600182019050919050565b60006145d0826144cd565b91506145db836144cd565b9250826145eb576145ea614625565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f496e76616c6964207175616e7469747900000000000000000000000000000000600082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e742066756e647320746f2072656465656d00000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f42616c616e636520746f6f206c6f7720666f7220616d6f756e74000000000000600082015250565b7f4e6f7420656e6f7567682072656d61696e696e67210000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f596f7520617265206e6f74206f6e207468652070726573616c65000000000000600082015250565b7f5465616d20616c72656164792072657365727665640000000000000000000000600082015250565b614ce181614463565b8114614cec57600080fd5b50565b614cf881614475565b8114614d0357600080fd5b50565b614d0f81614481565b8114614d1a57600080fd5b50565b614d26816144cd565b8114614d3157600080fd5b5056fea26469706673582212204be4a6af8cf3a21df0a04d761daf56dc1e1dbc305295aceb6eb12968246bb60464736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002868747470733a2f2f6170692e626164746174746f6f732e636f2e756b2f6170692f7472616974732f000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://api.badtattoos.co.uk/api/traits/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [2] : 68747470733a2f2f6170692e626164746174746f6f732e636f2e756b2f617069
Arg [3] : 2f7472616974732f000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.