Feature Tip: Add private address tag to any address under My Name Tag !
NFT
Overview
TokenID
6351
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Template
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: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/structs/BitMaps.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract Template is Ownable, ERC721Enumerable, ERC721URIStorage { using BitMaps for BitMaps.BitMap; using Strings for uint256; uint256 public MAX_SUPPLY; uint256 public price; bytes32 public merkleRoot; bool public salePaused; string[] public templates; //array of templates URIs - index 0 should be default template string private _baseTokenExtension; mapping (uint256 => uint256) public tokenIdToTemplateIndex; mapping (address => bool) public claimed; BitMaps.BitMap private _isTemplateLocked; BitMaps.BitMap private _isTemplateRetired; constructor(uint256 maxSupply, uint256 initialPrice) ERC721("Template", "TMPLT") { salePaused = true; MAX_SUPPLY = maxSupply; price = initialPrice; _baseTokenExtension = ''; } modifier canMint(uint256 quantity) { require(totalSupply() + quantity <= MAX_SUPPLY, "MINT:MAX SUPPLY REACHED"); _; } modifier indexExists(uint256 index) { require(index < templates.length, "INDEX DOESNT EXIST"); _; } // function _baseURI() internal view virtual override returns (string memory) { // return _baseTokenURI; // } /************ OWNER FUNCTIONS ************/ // function changeBaseURI(string calldata baseURI) public onlyOwner { // _baseTokenURI = baseURI; // } function setMerkleRoot(bytes32 root, uint quantityToAirdrop) public onlyOwner { merkleRoot = root; MAX_SUPPLY += quantityToAirdrop; } function withdraw() public onlyOwner { payable(owner()).transfer(address(this).balance); } function setPrice(uint256 newPrice) public onlyOwner { price = newPrice; } function beginSale() public onlyOwner { salePaused = false; } function pauseSale() public onlyOwner { salePaused = true; } function ownerMint(uint256 quantity) public onlyOwner { require(totalSupply() + quantity <= MAX_SUPPLY, "MINT:MAX SUPPLY REACHED"); for(uint i = 0; i < quantity; i++) { _mint(owner(), totalSupply()); } } function addTemplate(string calldata templateURI) public onlyOwner { templates.push(templateURI); } function setTemplate(uint256 index, string calldata templateURI) public onlyOwner indexExists(index) { require(!_isTemplateLocked.get(index), "SET_TEMPLATE:TEMPLATE LOCKED"); templates[index] = templateURI; } function setTokenExtension(string memory extension) public onlyOwner { _baseTokenExtension = extension; } function lockTemplate(uint256 index) public onlyOwner indexExists(index) { _isTemplateLocked.set(index); } function retireTemplate(uint256 index) public onlyOwner indexExists(index) { require(index > 0, "RETIRE_TEMPLATE:INDEX 0"); _isTemplateLocked.set(index); //lock by default template _isTemplateRetired.set(index); } /************ PUBLIC FUNCTIONS ************/ function isTemplateLocked(uint256 index) public indexExists(index) view returns (bool) { return _isTemplateLocked.get(index); } function isTemplateRetired(uint256 index) public indexExists(index) view returns (bool) { return _isTemplateRetired.get(index); } function mint(uint256 quantity) public canMint(quantity) payable { require(msg.value == price * quantity, "MINT:MSG.VALUE INCORRECT"); require(!salePaused, "MINT:SALE PAUSED"); for (uint256 i = 0; i < quantity; i++) { _safeMint(msg.sender, totalSupply()); } } function claim(bytes32[] calldata proof) public { require(!claimed[msg.sender], "CLAIM:ALREADY CLAIMED"); require(MerkleProof.verify(proof, merkleRoot, keccak256(abi.encodePacked(msg.sender))), "CLAIM:INVALID PROOF"); claimed[msg.sender] = true; _mint(msg.sender, totalSupply()); } function applyTemplate(uint256 tokenId, uint256 index) public indexExists(index) { require(ownerOf(tokenId) == msg.sender, "LOCK:NOT OWNER OF TOKEN"); require(!isTemplateRetired(index), "LOCK:TEMPLATE RETIRED"); tokenIdToTemplateIndex[tokenId] = index; } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return string(abi.encodePacked(templates[tokenIdToTemplateIndex[tokenId]], tokenId.toString(), _baseTokenExtension)); } function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing uint256 to bool mapping in a compact and efficient way, providing the keys are sequential. * Largelly inspired by Uniswap's https://github.com/Uniswap/merkle-distributor/blob/master/contracts/MerkleDistributor.sol[merkle-distributor]. */ library BitMaps { struct BitMap { mapping(uint256 => uint256) _data; } /** * @dev Returns whether the bit at `index` is set. */ function get(BitMap storage bitmap, uint256 index) internal view returns (bool) { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); return bitmap._data[bucket] & mask != 0; } /** * @dev Sets the bit at `index` to the boolean `value`. */ function setTo( BitMap storage bitmap, uint256 index, bool value ) internal { if (value) { set(bitmap, index); } else { unset(bitmap, index); } } /** * @dev Sets the bit at `index`. */ function set(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] |= mask; } /** * @dev Unsets the bit at `index`. */ function unset(BitMap storage bitmap, uint256 index) internal { uint256 bucket = index >> 8; uint256 mask = 1 << (index & 0xff); bitmap._data[bucket] &= ~mask; } }
// SPDX-License-Identifier: MIT 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT 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}. 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //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); } /** * @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); } /** * @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 of token that is not own"); 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); } /** * @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 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } }
// SPDX-License-Identifier: MIT 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 tokenId); /** * @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 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT 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 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 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 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", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"initialPrice","type":"uint256"}],"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":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"templateURI","type":"string"}],"name":"addTemplate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"applyTemplate","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":"beginSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isTemplateLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"isTemplateRetired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"lockTemplate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"quantity","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"retireTemplate","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":[],"name":"salePaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"},{"internalType":"uint256","name":"quantityToAirdrop","type":"uint256"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"string","name":"templateURI","type":"string"}],"name":"setTemplate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"extension","type":"string"}],"name":"setTokenExtension","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":"","type":"uint256"}],"name":"templates","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":"uint256","name":"","type":"uint256"}],"name":"tokenIdToTemplateIndex","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":[],"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":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200569c3803806200569c8339818101604052810190620000379190620002af565b6040518060400160405280600881526020017f54656d706c6174650000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f544d504c540000000000000000000000000000000000000000000000000000008152506000620000b5620001e060201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35081600190805190602001906200016b929190620001e8565b50806002908051906020019062000184929190620001e8565b5050506001600f60006101000a81548160ff02191690831515021790555081600c8190555080600d819055506040518060200160405280600081525060119080519060200190620001d7929190620001e8565b50505062000379565b600033905090565b828054620001f690620002fa565b90600052602060002090601f0160209004810192826200021a576000855562000266565b82601f106200023557805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026557825182559160200191906001019062000248565b5b50905062000275919062000279565b5090565b5b80821115620002945760008160009055506001016200027a565b5090565b600081519050620002a9816200035f565b92915050565b60008060408385031215620002c357600080fd5b6000620002d38582860162000298565b9250506020620002e68582860162000298565b9150509250929050565b6000819050919050565b600060028204905060018216806200031357607f821691505b602082108114156200032a576200032962000330565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6200036a81620002f0565b81146200037657600080fd5b50565b61531380620003896000396000f3fe6080604052600436106102515760003560e01c806370a0823111610139578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd1461089d578063c884ef83146108da578063da180d3a14610917578063e985e9c514610940578063f19e75d41461097d578063f2fde38b146109a657610251565b8063a22cb465146107a8578063b391c508146107d1578063b88d4fde146107fa578063bc52565214610823578063c4bf14901461086057610251565b806391b7f5ed116100fd57806391b7f5ed146106e4578063947cebe71461070d57806395d89b4114610736578063a035b1fe14610761578063a0712d681461078c57610251565b806370a0823114610613578063715018a6146106505780637801f357146106675780637c382d0b146106905780638da5cb5b146106b957610251565b80632eb4a7ab116101d25780634be98487116101965780634be98487146104dd5780634f6ccce71461051a57806355367ba9146105575780635d08c1ae1461056e5780636352211e146105995780636a94a60c146105d657610251565b80632eb4a7ab1461040a5780632f745c591461043557806332cb6b0c146104725780633ccfd60b1461049d57806342842e0e146104b457610251565b8063147c071811610219578063147c07181461034d57806318160ddd146103765780632060e075146103a157806323b872dd146103ca57806324938096146103f357610251565b806301ffc9a71461025657806306fd50241461029357806306fdde03146102bc578063081812fc146102e7578063095ea7b314610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613c0c565b6109cf565b60405161028a91906143bd565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b59190613ce4565b6109e1565b005b3480156102c857600080fd5b506102d1610b14565b6040516102de91906143f3565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190613ce4565b610ba6565b60405161031b9190614356565b60405180910390f35b34801561033057600080fd5b5061034b60048036038101906103469190613b4f565b610c2b565b005b34801561035957600080fd5b50610374600480360381019061036f9190613ca3565b610d43565b005b34801561038257600080fd5b5061038b610dd9565b6040516103989190614775565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190613c5e565b610de6565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613a49565b610ea4565b005b3480156103ff57600080fd5b50610408610f04565b005b34801561041657600080fd5b5061041f610f9d565b60405161042c91906143d8565b60405180910390f35b34801561044157600080fd5b5061045c60048036038101906104579190613b4f565b610fa3565b6040516104699190614775565b60405180910390f35b34801561047e57600080fd5b50610487611048565b6040516104949190614775565b60405180910390f35b3480156104a957600080fd5b506104b261104e565b005b3480156104c057600080fd5b506104db60048036038101906104d69190613a49565b61111a565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613ce4565b61113a565b6040516105119190614775565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c9190613ce4565b611152565b60405161054e9190614775565b60405180910390f35b34801561056357600080fd5b5061056c6111e9565b005b34801561057a57600080fd5b50610583611282565b60405161059091906143bd565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190613ce4565b611295565b6040516105cd9190614356565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f89190613ce4565b611347565b60405161060a91906143bd565b60405180910390f35b34801561061f57600080fd5b5061063a600480360381019061063591906139e4565b6113ad565b6040516106479190614775565b60405180910390f35b34801561065c57600080fd5b50610665611465565b005b34801561067357600080fd5b5061068e60048036038101906106899190613d0d565b61159f565b005b34801561069c57600080fd5b506106b760048036038101906106b29190613bd0565b611711565b005b3480156106c557600080fd5b506106ce6117b1565b6040516106db9190614356565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190613ce4565b6117da565b005b34801561071957600080fd5b50610734600480360381019061072f9190613ce4565b611860565b005b34801561074257600080fd5b5061074b61193c565b60405161075891906143f3565b60405180910390f35b34801561076d57600080fd5b506107766119ce565b6040516107839190614775565b60405180910390f35b6107a660048036038101906107a19190613ce4565b6119d4565b005b3480156107b457600080fd5b506107cf60048036038101906107ca9190613b13565b611aff565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190613b8b565b611c80565b005b34801561080657600080fd5b50610821600480360381019061081c9190613a98565b611e2d565b005b34801561082f57600080fd5b5061084a60048036038101906108459190613ce4565b611e8f565b60405161085791906143f3565b60405180910390f35b34801561086c57600080fd5b5061088760048036038101906108829190613ce4565b611f3b565b60405161089491906143bd565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190613ce4565b611fa1565b6040516108d191906143f3565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc91906139e4565b61202d565b60405161090e91906143bd565b60405180910390f35b34801561092357600080fd5b5061093e60048036038101906109399190613d65565b61204d565b005b34801561094c57600080fd5b5061096760048036038101906109629190613a0d565b612171565b60405161097491906143bd565b60405180910390f35b34801561098957600080fd5b506109a4600480360381019061099f9190613ce4565b612205565b005b3480156109b257600080fd5b506109cd60048036038101906109c891906139e4565b612312565b005b60006109da826124bb565b9050919050565b6109e9612535565b73ffffffffffffffffffffffffffffffffffffffff16610a076117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5490614635565b60405180910390fd5b806010805490508110610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90614435565b60405180910390fd5b60008211610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90614655565b60405180910390fd5b610afc82601461253d90919063ffffffff16565b610b1082601561253d90919063ffffffff16565b5050565b606060018054610b2390614a44565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90614a44565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000610bb18261257b565b610bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be790614615565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3682611295565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e906146d5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc6612535565b73ffffffffffffffffffffffffffffffffffffffff161480610cf55750610cf481610cef612535565b612171565b5b610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90614575565b60405180910390fd5b610d3e83836125e7565b505050565b610d4b612535565b73ffffffffffffffffffffffffffffffffffffffff16610d696117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db690614635565b60405180910390fd5b8060119080519060200190610dd59291906136d9565b5050565b6000600980549050905090565b610dee612535565b73ffffffffffffffffffffffffffffffffffffffff16610e0c6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990614635565b60405180910390fd5b6010828290918060018154018082558091505060019003906000526020600020016000909192909192909192909192509190610e9f92919061375f565b505050565b610eb5610eaf612535565b826126a0565b610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906146f5565b60405180910390fd5b610eff83838361277e565b505050565b610f0c612535565b73ffffffffffffffffffffffffffffffffffffffff16610f2a6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790614635565b60405180910390fd5b6000600f60006101000a81548160ff021916908315150217905550565b600e5481565b6000610fae836113ad565b8210610fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe690614455565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b611056612535565b73ffffffffffffffffffffffffffffffffffffffff166110746117b1565b73ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c190614635565b60405180910390fd5b6110d26117b1565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611117573d6000803e3d6000fd5b50565b61113583838360405180602001604052806000815250611e2d565b505050565b60126020528060005260406000206000915090505481565b600061115c610dd9565b821061119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490614715565b60405180910390fd5b600982815481106111d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6111f1612535565b73ffffffffffffffffffffffffffffffffffffffff1661120f6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90614635565b60405180910390fd5b6001600f60006101000a81548160ff021916908315150217905550565b600f60009054906101000a900460ff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561133e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611335906145b5565b60405180910390fd5b80915050919050565b6000816010805490508110611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890614435565b60405180910390fd5b6113a58360146129da90919063ffffffff16565b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590614595565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61146d612535565b73ffffffffffffffffffffffffffffffffffffffff1661148b6117b1565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d890614635565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6115a7612535565b73ffffffffffffffffffffffffffffffffffffffff166115c56117b1565b73ffffffffffffffffffffffffffffffffffffffff161461161b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161290614635565b60405180910390fd5b826010805490508110611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90614435565b60405180910390fd5b6116778460146129da90919063ffffffff16565b156116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ae906146b5565b60405180910390fd5b8282601086815481106116f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001919061170a92919061375f565b5050505050565b611719612535565b73ffffffffffffffffffffffffffffffffffffffff166117376117b1565b73ffffffffffffffffffffffffffffffffffffffff161461178d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178490614635565b60405180910390fd5b81600e8190555080600c60008282546117a6919061486f565b925050819055505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117e2612535565b73ffffffffffffffffffffffffffffffffffffffff166118006117b1565b73ffffffffffffffffffffffffffffffffffffffff1614611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90614635565b60405180910390fd5b80600d8190555050565b611868612535565b73ffffffffffffffffffffffffffffffffffffffff166118866117b1565b73ffffffffffffffffffffffffffffffffffffffff16146118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390614635565b60405180910390fd5b806010805490508110611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191b90614435565b60405180910390fd5b61193882601461253d90919063ffffffff16565b5050565b60606002805461194b90614a44565b80601f016020809104026020016040519081016040528092919081815260200182805461197790614a44565b80156119c45780601f10611999576101008083540402835291602001916119c4565b820191906000526020600020905b8154815290600101906020018083116119a757829003601f168201915b5050505050905090565b600d5481565b80600c54816119e1610dd9565b6119eb919061486f565b1115611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2390614415565b60405180910390fd5b81600d54611a3a91906148f6565b3414611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290614735565b60405180910390fd5b600f60009054906101000a900460ff1615611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac2906144d5565b60405180910390fd5b60005b82811015611afa57611ae733611ae2610dd9565b612a16565b8080611af290614aa7565b915050611ace565b505050565b611b07612535565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6c90614515565b60405180910390fd5b8060066000611b82612535565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c2f612535565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c7491906143bd565b60405180910390a35050565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0490614535565b60405180910390fd5b611d81828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5433604051602001611d6691906142de565b60405160208183030381529060405280519060200120612a34565b611dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db790614755565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e2933611e24610dd9565b612b10565b5050565b611e3e611e38612535565b836126a0565b611e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e74906146f5565b60405180910390fd5b611e8984848484612cde565b50505050565b60108181548110611e9f57600080fd5b906000526020600020016000915090508054611eba90614a44565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee690614a44565b8015611f335780601f10611f0857610100808354040283529160200191611f33565b820191906000526020600020905b815481529060010190602001808311611f1657829003601f168201915b505050505081565b6000816010805490508110611f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7c90614435565b60405180910390fd5b611f998360156129da90919063ffffffff16565b915050919050565b60606010601260008481526020019081526020016000205481548110611ff0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200161200383612d3a565b601160405160200161201793929190614325565b6040516020818303038152906040529050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b806010805490508110612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614435565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166120b584611295565b73ffffffffffffffffffffffffffffffffffffffff161461210b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612102906145d5565b60405180910390fd5b61211482611f3b565b15612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b90614695565b60405180910390fd5b816012600085815260200190815260200160002081905550505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220d612535565b73ffffffffffffffffffffffffffffffffffffffff1661222b6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614612281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227890614635565b60405180910390fd5b600c548161228d610dd9565b612297919061486f565b11156122d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cf90614415565b60405180910390fd5b60005b8181101561230e576122fb6122ee6117b1565b6122f6610dd9565b612b10565b808061230690614aa7565b9150506122db565b5050565b61231a612535565b73ffffffffffffffffffffffffffffffffffffffff166123386117b1565b73ffffffffffffffffffffffffffffffffffffffff161461238e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238590614635565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f590614495565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252e575061252d82612ee7565b5b9050919050565b600033905090565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661265a83611295565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126ab8261257b565b6126ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e190614555565b60405180910390fd5b60006126f583611295565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061276457508373ffffffffffffffffffffffffffffffffffffffff1661274c84610ba6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061277557506127748185612171565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661279e82611295565b73ffffffffffffffffffffffffffffffffffffffff16146127f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127eb90614675565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285b906144f5565b60405180910390fd5b61286f838383612fc9565b61287a6000826125e7565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128ca9190614950565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612921919061486f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b612a30828260405180602001604052806000815250612fd9565b5050565b60008082905060005b8551811015612b02576000868281518110612a81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612ac2578281604051602001612aa59291906142f9565b604051602081830303815290604052805190602001209250612aee565b8083604051602001612ad59291906142f9565b6040516020818303038152906040528051906020012092505b508080612afa90614aa7565b915050612a3d565b508381149150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b77906145f5565b60405180910390fd5b612b898161257b565b15612bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc0906144b5565b60405180910390fd5b612bd560008383612fc9565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c25919061486f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612ce984848461277e565b612cf584848484613034565b612d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2b90614475565b60405180910390fd5b50505050565b60606000821415612d82576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ee2565b600082905060005b60008214612db4578080612d9d90614aa7565b915050600a82612dad91906148c5565b9150612d8a565b60008167ffffffffffffffff811115612df6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e285781602001600182028036833780820191505090505b5090505b60008514612edb57600182612e419190614950565b9150600a85612e509190614b1e565b6030612e5c919061486f565b60f81b818381518110612e98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ed491906148c5565b9450612e2c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fb257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fc25750612fc1826131cb565b5b9050919050565b612fd4838383613235565b505050565b612fe38383612b10565b612ff06000848484613034565b61302f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302690614475565b60405180910390fd5b505050565b60006130558473ffffffffffffffffffffffffffffffffffffffff16613349565b156131be578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261307e612535565b8786866040518563ffffffff1660e01b81526004016130a09493929190614371565b602060405180830381600087803b1580156130ba57600080fd5b505af19250505080156130eb57506040513d601f19601f820116820180604052508101906130e89190613c35565b60015b61316e573d806000811461311b576040519150601f19603f3d011682016040523d82523d6000602084013e613120565b606091505b50600081511415613166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315d90614475565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61324083838361335c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132835761327e81613361565b6132c2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132c1576132c083826133aa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133055761330081613517565b613344565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461334357613342828261365a565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133b7846113ad565b6133c19190614950565b90506000600860008481526020019081526020016000205490508181146134a6576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061352b9190614950565b90506000600a6000848152602001908152602001600020549050600060098381548110613581577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106135c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061363e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613665836113ad565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546136e590614a44565b90600052602060002090601f016020900481019282613707576000855561374e565b82601f1061372057805160ff191683800117855561374e565b8280016001018555821561374e579182015b8281111561374d578251825591602001919060010190613732565b5b50905061375b91906137e5565b5090565b82805461376b90614a44565b90600052602060002090601f01602090048101928261378d57600085556137d4565b82601f106137a657803560ff19168380011785556137d4565b828001600101855582156137d4579182015b828111156137d35782358255916020019190600101906137b8565b5b5090506137e191906137e5565b5090565b5b808211156137fe5760008160009055506001016137e6565b5090565b6000613815613810846147b5565b614790565b90508281526020810184848401111561382d57600080fd5b613838848285614a02565b509392505050565b600061385361384e846147e6565b614790565b90508281526020810184848401111561386b57600080fd5b613876848285614a02565b509392505050565b60008135905061388d8161526a565b92915050565b60008083601f8401126138a557600080fd5b8235905067ffffffffffffffff8111156138be57600080fd5b6020830191508360208202830111156138d657600080fd5b9250929050565b6000813590506138ec81615281565b92915050565b60008135905061390181615298565b92915050565b600081359050613916816152af565b92915050565b60008151905061392b816152af565b92915050565b600082601f83011261394257600080fd5b8135613952848260208601613802565b91505092915050565b60008083601f84011261396d57600080fd5b8235905067ffffffffffffffff81111561398657600080fd5b60208301915083600182028301111561399e57600080fd5b9250929050565b600082601f8301126139b657600080fd5b81356139c6848260208601613840565b91505092915050565b6000813590506139de816152c6565b92915050565b6000602082840312156139f657600080fd5b6000613a048482850161387e565b91505092915050565b60008060408385031215613a2057600080fd5b6000613a2e8582860161387e565b9250506020613a3f8582860161387e565b9150509250929050565b600080600060608486031215613a5e57600080fd5b6000613a6c8682870161387e565b9350506020613a7d8682870161387e565b9250506040613a8e868287016139cf565b9150509250925092565b60008060008060808587031215613aae57600080fd5b6000613abc8782880161387e565b9450506020613acd8782880161387e565b9350506040613ade878288016139cf565b925050606085013567ffffffffffffffff811115613afb57600080fd5b613b0787828801613931565b91505092959194509250565b60008060408385031215613b2657600080fd5b6000613b348582860161387e565b9250506020613b45858286016138dd565b9150509250929050565b60008060408385031215613b6257600080fd5b6000613b708582860161387e565b9250506020613b81858286016139cf565b9150509250929050565b60008060208385031215613b9e57600080fd5b600083013567ffffffffffffffff811115613bb857600080fd5b613bc485828601613893565b92509250509250929050565b60008060408385031215613be357600080fd5b6000613bf1858286016138f2565b9250506020613c02858286016139cf565b9150509250929050565b600060208284031215613c1e57600080fd5b6000613c2c84828501613907565b91505092915050565b600060208284031215613c4757600080fd5b6000613c558482850161391c565b91505092915050565b60008060208385031215613c7157600080fd5b600083013567ffffffffffffffff811115613c8b57600080fd5b613c978582860161395b565b92509250509250929050565b600060208284031215613cb557600080fd5b600082013567ffffffffffffffff811115613ccf57600080fd5b613cdb848285016139a5565b91505092915050565b600060208284031215613cf657600080fd5b6000613d04848285016139cf565b91505092915050565b600080600060408486031215613d2257600080fd5b6000613d30868287016139cf565b935050602084013567ffffffffffffffff811115613d4d57600080fd5b613d598682870161395b565b92509250509250925092565b60008060408385031215613d7857600080fd5b6000613d86858286016139cf565b9250506020613d97858286016139cf565b9150509250929050565b613daa81614984565b82525050565b613dc1613dbc82614984565b614af0565b82525050565b613dd081614996565b82525050565b613ddf816149a2565b82525050565b613df6613df1826149a2565b614b02565b82525050565b6000613e078261482c565b613e118185614842565b9350613e21818560208601614a11565b613e2a81614c0b565b840191505092915050565b6000613e4082614837565b613e4a8185614853565b9350613e5a818560208601614a11565b613e6381614c0b565b840191505092915050565b6000613e7982614837565b613e838185614864565b9350613e93818560208601614a11565b80840191505092915050565b60008154613eac81614a44565b613eb68186614864565b94506001821660008114613ed15760018114613ee257613f15565b60ff19831686528186019350613f15565b613eeb85614817565b60005b83811015613f0d57815481890152600182019150602081019050613eee565b838801955050505b50505092915050565b6000613f2b601783614853565b9150613f3682614c29565b602082019050919050565b6000613f4e601283614853565b9150613f5982614c52565b602082019050919050565b6000613f71602b83614853565b9150613f7c82614c7b565b604082019050919050565b6000613f94603283614853565b9150613f9f82614cca565b604082019050919050565b6000613fb7602683614853565b9150613fc282614d19565b604082019050919050565b6000613fda601c83614853565b9150613fe582614d68565b602082019050919050565b6000613ffd601083614853565b915061400882614d91565b602082019050919050565b6000614020602483614853565b915061402b82614dba565b604082019050919050565b6000614043601983614853565b915061404e82614e09565b602082019050919050565b6000614066601583614853565b915061407182614e32565b602082019050919050565b6000614089602c83614853565b915061409482614e5b565b604082019050919050565b60006140ac603883614853565b91506140b782614eaa565b604082019050919050565b60006140cf602a83614853565b91506140da82614ef9565b604082019050919050565b60006140f2602983614853565b91506140fd82614f48565b604082019050919050565b6000614115601783614853565b915061412082614f97565b602082019050919050565b6000614138602083614853565b915061414382614fc0565b602082019050919050565b600061415b602c83614853565b915061416682614fe9565b604082019050919050565b600061417e602083614853565b915061418982615038565b602082019050919050565b60006141a1601783614853565b91506141ac82615061565b602082019050919050565b60006141c4602983614853565b91506141cf8261508a565b604082019050919050565b60006141e7601583614853565b91506141f2826150d9565b602082019050919050565b600061420a601c83614853565b915061421582615102565b602082019050919050565b600061422d602183614853565b91506142388261512b565b604082019050919050565b6000614250603183614853565b915061425b8261517a565b604082019050919050565b6000614273602c83614853565b915061427e826151c9565b604082019050919050565b6000614296601883614853565b91506142a182615218565b602082019050919050565b60006142b9601383614853565b91506142c482615241565b602082019050919050565b6142d8816149f8565b82525050565b60006142ea8284613db0565b60148201915081905092915050565b60006143058285613de5565b6020820191506143158284613de5565b6020820191508190509392505050565b60006143318286613e9f565b915061433d8285613e6e565b91506143498284613e9f565b9150819050949350505050565b600060208201905061436b6000830184613da1565b92915050565b60006080820190506143866000830187613da1565b6143936020830186613da1565b6143a060408301856142cf565b81810360608301526143b28184613dfc565b905095945050505050565b60006020820190506143d26000830184613dc7565b92915050565b60006020820190506143ed6000830184613dd6565b92915050565b6000602082019050818103600083015261440d8184613e35565b905092915050565b6000602082019050818103600083015261442e81613f1e565b9050919050565b6000602082019050818103600083015261444e81613f41565b9050919050565b6000602082019050818103600083015261446e81613f64565b9050919050565b6000602082019050818103600083015261448e81613f87565b9050919050565b600060208201905081810360008301526144ae81613faa565b9050919050565b600060208201905081810360008301526144ce81613fcd565b9050919050565b600060208201905081810360008301526144ee81613ff0565b9050919050565b6000602082019050818103600083015261450e81614013565b9050919050565b6000602082019050818103600083015261452e81614036565b9050919050565b6000602082019050818103600083015261454e81614059565b9050919050565b6000602082019050818103600083015261456e8161407c565b9050919050565b6000602082019050818103600083015261458e8161409f565b9050919050565b600060208201905081810360008301526145ae816140c2565b9050919050565b600060208201905081810360008301526145ce816140e5565b9050919050565b600060208201905081810360008301526145ee81614108565b9050919050565b6000602082019050818103600083015261460e8161412b565b9050919050565b6000602082019050818103600083015261462e8161414e565b9050919050565b6000602082019050818103600083015261464e81614171565b9050919050565b6000602082019050818103600083015261466e81614194565b9050919050565b6000602082019050818103600083015261468e816141b7565b9050919050565b600060208201905081810360008301526146ae816141da565b9050919050565b600060208201905081810360008301526146ce816141fd565b9050919050565b600060208201905081810360008301526146ee81614220565b9050919050565b6000602082019050818103600083015261470e81614243565b9050919050565b6000602082019050818103600083015261472e81614266565b9050919050565b6000602082019050818103600083015261474e81614289565b9050919050565b6000602082019050818103600083015261476e816142ac565b9050919050565b600060208201905061478a60008301846142cf565b92915050565b600061479a6147ab565b90506147a68282614a76565b919050565b6000604051905090565b600067ffffffffffffffff8211156147d0576147cf614bdc565b5b6147d982614c0b565b9050602081019050919050565b600067ffffffffffffffff82111561480157614800614bdc565b5b61480a82614c0b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061487a826149f8565b9150614885836149f8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148ba576148b9614b4f565b5b828201905092915050565b60006148d0826149f8565b91506148db836149f8565b9250826148eb576148ea614b7e565b5b828204905092915050565b6000614901826149f8565b915061490c836149f8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561494557614944614b4f565b5b828202905092915050565b600061495b826149f8565b9150614966836149f8565b92508282101561497957614978614b4f565b5b828203905092915050565b600061498f826149d8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a2f578082015181840152602081019050614a14565b83811115614a3e576000848401525b50505050565b60006002820490506001821680614a5c57607f821691505b60208210811415614a7057614a6f614bad565b5b50919050565b614a7f82614c0b565b810181811067ffffffffffffffff82111715614a9e57614a9d614bdc565b5b80604052505050565b6000614ab2826149f8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ae557614ae4614b4f565b5b600182019050919050565b6000614afb82614b0c565b9050919050565b6000819050919050565b6000614b1782614c1c565b9050919050565b6000614b29826149f8565b9150614b34836149f8565b925082614b4457614b43614b7e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d494e543a4d415820535550504c592052454143484544000000000000000000600082015250565b7f494e44455820444f45534e542045584953540000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d494e543a53414c452050415553454400000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f434c41494d3a414c524541445920434c41494d45440000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4c4f434b3a4e4f54204f574e4552204f4620544f4b454e000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5245544952455f54454d504c4154453a494e4445582030000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4c4f434b3a54454d504c41544520524554495245440000000000000000000000600082015250565b7f5345545f54454d504c4154453a54454d504c415445204c4f434b454400000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d494e543a4d53472e56414c554520494e434f52524543540000000000000000600082015250565b7f434c41494d3a494e56414c49442050524f4f4600000000000000000000000000600082015250565b61527381614984565b811461527e57600080fd5b50565b61528a81614996565b811461529557600080fd5b50565b6152a1816149a2565b81146152ac57600080fd5b50565b6152b8816149ac565b81146152c357600080fd5b50565b6152cf816149f8565b81146152da57600080fd5b5056fea2646970667358221220eb57073481c7fe27930106c78592884334099ba7820b58b0a162d8a1de87aad464736f6c63430008040033000000000000000000000000000000000000000000000000000000000000218700000000000000000000000000000000000000000000000000d529ae9e860000
Deployed Bytecode
0x6080604052600436106102515760003560e01c806370a0823111610139578063a22cb465116100b6578063c87b56dd1161007a578063c87b56dd1461089d578063c884ef83146108da578063da180d3a14610917578063e985e9c514610940578063f19e75d41461097d578063f2fde38b146109a657610251565b8063a22cb465146107a8578063b391c508146107d1578063b88d4fde146107fa578063bc52565214610823578063c4bf14901461086057610251565b806391b7f5ed116100fd57806391b7f5ed146106e4578063947cebe71461070d57806395d89b4114610736578063a035b1fe14610761578063a0712d681461078c57610251565b806370a0823114610613578063715018a6146106505780637801f357146106675780637c382d0b146106905780638da5cb5b146106b957610251565b80632eb4a7ab116101d25780634be98487116101965780634be98487146104dd5780634f6ccce71461051a57806355367ba9146105575780635d08c1ae1461056e5780636352211e146105995780636a94a60c146105d657610251565b80632eb4a7ab1461040a5780632f745c591461043557806332cb6b0c146104725780633ccfd60b1461049d57806342842e0e146104b457610251565b8063147c071811610219578063147c07181461034d57806318160ddd146103765780632060e075146103a157806323b872dd146103ca57806324938096146103f357610251565b806301ffc9a71461025657806306fd50241461029357806306fdde03146102bc578063081812fc146102e7578063095ea7b314610324575b600080fd5b34801561026257600080fd5b5061027d60048036038101906102789190613c0c565b6109cf565b60405161028a91906143bd565b60405180910390f35b34801561029f57600080fd5b506102ba60048036038101906102b59190613ce4565b6109e1565b005b3480156102c857600080fd5b506102d1610b14565b6040516102de91906143f3565b60405180910390f35b3480156102f357600080fd5b5061030e60048036038101906103099190613ce4565b610ba6565b60405161031b9190614356565b60405180910390f35b34801561033057600080fd5b5061034b60048036038101906103469190613b4f565b610c2b565b005b34801561035957600080fd5b50610374600480360381019061036f9190613ca3565b610d43565b005b34801561038257600080fd5b5061038b610dd9565b6040516103989190614775565b60405180910390f35b3480156103ad57600080fd5b506103c860048036038101906103c39190613c5e565b610de6565b005b3480156103d657600080fd5b506103f160048036038101906103ec9190613a49565b610ea4565b005b3480156103ff57600080fd5b50610408610f04565b005b34801561041657600080fd5b5061041f610f9d565b60405161042c91906143d8565b60405180910390f35b34801561044157600080fd5b5061045c60048036038101906104579190613b4f565b610fa3565b6040516104699190614775565b60405180910390f35b34801561047e57600080fd5b50610487611048565b6040516104949190614775565b60405180910390f35b3480156104a957600080fd5b506104b261104e565b005b3480156104c057600080fd5b506104db60048036038101906104d69190613a49565b61111a565b005b3480156104e957600080fd5b5061050460048036038101906104ff9190613ce4565b61113a565b6040516105119190614775565b60405180910390f35b34801561052657600080fd5b50610541600480360381019061053c9190613ce4565b611152565b60405161054e9190614775565b60405180910390f35b34801561056357600080fd5b5061056c6111e9565b005b34801561057a57600080fd5b50610583611282565b60405161059091906143bd565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190613ce4565b611295565b6040516105cd9190614356565b60405180910390f35b3480156105e257600080fd5b506105fd60048036038101906105f89190613ce4565b611347565b60405161060a91906143bd565b60405180910390f35b34801561061f57600080fd5b5061063a600480360381019061063591906139e4565b6113ad565b6040516106479190614775565b60405180910390f35b34801561065c57600080fd5b50610665611465565b005b34801561067357600080fd5b5061068e60048036038101906106899190613d0d565b61159f565b005b34801561069c57600080fd5b506106b760048036038101906106b29190613bd0565b611711565b005b3480156106c557600080fd5b506106ce6117b1565b6040516106db9190614356565b60405180910390f35b3480156106f057600080fd5b5061070b60048036038101906107069190613ce4565b6117da565b005b34801561071957600080fd5b50610734600480360381019061072f9190613ce4565b611860565b005b34801561074257600080fd5b5061074b61193c565b60405161075891906143f3565b60405180910390f35b34801561076d57600080fd5b506107766119ce565b6040516107839190614775565b60405180910390f35b6107a660048036038101906107a19190613ce4565b6119d4565b005b3480156107b457600080fd5b506107cf60048036038101906107ca9190613b13565b611aff565b005b3480156107dd57600080fd5b506107f860048036038101906107f39190613b8b565b611c80565b005b34801561080657600080fd5b50610821600480360381019061081c9190613a98565b611e2d565b005b34801561082f57600080fd5b5061084a60048036038101906108459190613ce4565b611e8f565b60405161085791906143f3565b60405180910390f35b34801561086c57600080fd5b5061088760048036038101906108829190613ce4565b611f3b565b60405161089491906143bd565b60405180910390f35b3480156108a957600080fd5b506108c460048036038101906108bf9190613ce4565b611fa1565b6040516108d191906143f3565b60405180910390f35b3480156108e657600080fd5b5061090160048036038101906108fc91906139e4565b61202d565b60405161090e91906143bd565b60405180910390f35b34801561092357600080fd5b5061093e60048036038101906109399190613d65565b61204d565b005b34801561094c57600080fd5b5061096760048036038101906109629190613a0d565b612171565b60405161097491906143bd565b60405180910390f35b34801561098957600080fd5b506109a4600480360381019061099f9190613ce4565b612205565b005b3480156109b257600080fd5b506109cd60048036038101906109c891906139e4565b612312565b005b60006109da826124bb565b9050919050565b6109e9612535565b73ffffffffffffffffffffffffffffffffffffffff16610a076117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610a5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5490614635565b60405180910390fd5b806010805490508110610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90614435565b60405180910390fd5b60008211610ae8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610adf90614655565b60405180910390fd5b610afc82601461253d90919063ffffffff16565b610b1082601561253d90919063ffffffff16565b5050565b606060018054610b2390614a44565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90614a44565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000610bb18261257b565b610bf0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be790614615565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3682611295565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9e906146d5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc6612535565b73ffffffffffffffffffffffffffffffffffffffff161480610cf55750610cf481610cef612535565b612171565b5b610d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d2b90614575565b60405180910390fd5b610d3e83836125e7565b505050565b610d4b612535565b73ffffffffffffffffffffffffffffffffffffffff16610d696117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610dbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db690614635565b60405180910390fd5b8060119080519060200190610dd59291906136d9565b5050565b6000600980549050905090565b610dee612535565b73ffffffffffffffffffffffffffffffffffffffff16610e0c6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990614635565b60405180910390fd5b6010828290918060018154018082558091505060019003906000526020600020016000909192909192909192909192509190610e9f92919061375f565b505050565b610eb5610eaf612535565b826126a0565b610ef4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eeb906146f5565b60405180910390fd5b610eff83838361277e565b505050565b610f0c612535565b73ffffffffffffffffffffffffffffffffffffffff16610f2a6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7790614635565b60405180910390fd5b6000600f60006101000a81548160ff021916908315150217905550565b600e5481565b6000610fae836113ad565b8210610fef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe690614455565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b611056612535565b73ffffffffffffffffffffffffffffffffffffffff166110746117b1565b73ffffffffffffffffffffffffffffffffffffffff16146110ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c190614635565b60405180910390fd5b6110d26117b1565b73ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611117573d6000803e3d6000fd5b50565b61113583838360405180602001604052806000815250611e2d565b505050565b60126020528060005260406000206000915090505481565b600061115c610dd9565b821061119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490614715565b60405180910390fd5b600982815481106111d7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6111f1612535565b73ffffffffffffffffffffffffffffffffffffffff1661120f6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614611265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90614635565b60405180910390fd5b6001600f60006101000a81548160ff021916908315150217905550565b600f60009054906101000a900460ff1681565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561133e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611335906145b5565b60405180910390fd5b80915050919050565b6000816010805490508110611391576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138890614435565b60405180910390fd5b6113a58360146129da90919063ffffffff16565b915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561141e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141590614595565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61146d612535565b73ffffffffffffffffffffffffffffffffffffffff1661148b6117b1565b73ffffffffffffffffffffffffffffffffffffffff16146114e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d890614635565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6115a7612535565b73ffffffffffffffffffffffffffffffffffffffff166115c56117b1565b73ffffffffffffffffffffffffffffffffffffffff161461161b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161290614635565b60405180910390fd5b826010805490508110611663576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165a90614435565b60405180910390fd5b6116778460146129da90919063ffffffff16565b156116b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ae906146b5565b60405180910390fd5b8282601086815481106116f3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001919061170a92919061375f565b5050505050565b611719612535565b73ffffffffffffffffffffffffffffffffffffffff166117376117b1565b73ffffffffffffffffffffffffffffffffffffffff161461178d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178490614635565b60405180910390fd5b81600e8190555080600c60008282546117a6919061486f565b925050819055505050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6117e2612535565b73ffffffffffffffffffffffffffffffffffffffff166118006117b1565b73ffffffffffffffffffffffffffffffffffffffff1614611856576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184d90614635565b60405180910390fd5b80600d8190555050565b611868612535565b73ffffffffffffffffffffffffffffffffffffffff166118866117b1565b73ffffffffffffffffffffffffffffffffffffffff16146118dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d390614635565b60405180910390fd5b806010805490508110611924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191b90614435565b60405180910390fd5b61193882601461253d90919063ffffffff16565b5050565b60606002805461194b90614a44565b80601f016020809104026020016040519081016040528092919081815260200182805461197790614a44565b80156119c45780601f10611999576101008083540402835291602001916119c4565b820191906000526020600020905b8154815290600101906020018083116119a757829003601f168201915b5050505050905090565b600d5481565b80600c54816119e1610dd9565b6119eb919061486f565b1115611a2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2390614415565b60405180910390fd5b81600d54611a3a91906148f6565b3414611a7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7290614735565b60405180910390fd5b600f60009054906101000a900460ff1615611acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac2906144d5565b60405180910390fd5b60005b82811015611afa57611ae733611ae2610dd9565b612a16565b8080611af290614aa7565b915050611ace565b505050565b611b07612535565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6c90614515565b60405180910390fd5b8060066000611b82612535565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611c2f612535565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c7491906143bd565b60405180910390a35050565b601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0490614535565b60405180910390fd5b611d81828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600e5433604051602001611d6691906142de565b60405160208183030381529060405280519060200120612a34565b611dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db790614755565b60405180910390fd5b6001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611e2933611e24610dd9565b612b10565b5050565b611e3e611e38612535565b836126a0565b611e7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e74906146f5565b60405180910390fd5b611e8984848484612cde565b50505050565b60108181548110611e9f57600080fd5b906000526020600020016000915090508054611eba90614a44565b80601f0160208091040260200160405190810160405280929190818152602001828054611ee690614a44565b8015611f335780601f10611f0857610100808354040283529160200191611f33565b820191906000526020600020905b815481529060010190602001808311611f1657829003601f168201915b505050505081565b6000816010805490508110611f85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7c90614435565b60405180910390fd5b611f998360156129da90919063ffffffff16565b915050919050565b60606010601260008481526020019081526020016000205481548110611ff0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200161200383612d3a565b601160405160200161201793929190614325565b6040516020818303038152906040529050919050565b60136020528060005260406000206000915054906101000a900460ff1681565b806010805490508110612095576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208c90614435565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166120b584611295565b73ffffffffffffffffffffffffffffffffffffffff161461210b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612102906145d5565b60405180910390fd5b61211482611f3b565b15612154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214b90614695565b60405180910390fd5b816012600085815260200190815260200160002081905550505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61220d612535565b73ffffffffffffffffffffffffffffffffffffffff1661222b6117b1565b73ffffffffffffffffffffffffffffffffffffffff1614612281576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227890614635565b60405180910390fd5b600c548161228d610dd9565b612297919061486f565b11156122d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cf90614415565b60405180910390fd5b60005b8181101561230e576122fb6122ee6117b1565b6122f6610dd9565b612b10565b808061230690614aa7565b9150506122db565b5050565b61231a612535565b73ffffffffffffffffffffffffffffffffffffffff166123386117b1565b73ffffffffffffffffffffffffffffffffffffffff161461238e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238590614635565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f590614495565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252e575061252d82612ee7565b5b9050919050565b600033905090565b6000600882901c9050600060ff83166001901b9050808460000160008481526020019081526020016000206000828254179250508190555050505050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661265a83611295565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006126ab8261257b565b6126ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e190614555565b60405180910390fd5b60006126f583611295565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061276457508373ffffffffffffffffffffffffffffffffffffffff1661274c84610ba6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061277557506127748185612171565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661279e82611295565b73ffffffffffffffffffffffffffffffffffffffff16146127f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127eb90614675565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612864576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161285b906144f5565b60405180910390fd5b61286f838383612fc9565b61287a6000826125e7565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128ca9190614950565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612921919061486f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600080600883901c9050600060ff84166001901b9050600081866000016000858152602001908152602001600020541614159250505092915050565b612a30828260405180602001604052806000815250612fd9565b5050565b60008082905060005b8551811015612b02576000868281518110612a81577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050808311612ac2578281604051602001612aa59291906142f9565b604051602081830303815290604052805190602001209250612aee565b8083604051602001612ad59291906142f9565b6040516020818303038152906040528051906020012092505b508080612afa90614aa7565b915050612a3d565b508381149150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b77906145f5565b60405180910390fd5b612b898161257b565b15612bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bc0906144b5565b60405180910390fd5b612bd560008383612fc9565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c25919061486f565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b612ce984848461277e565b612cf584848484613034565b612d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d2b90614475565b60405180910390fd5b50505050565b60606000821415612d82576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612ee2565b600082905060005b60008214612db4578080612d9d90614aa7565b915050600a82612dad91906148c5565b9150612d8a565b60008167ffffffffffffffff811115612df6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612e285781602001600182028036833780820191505090505b5090505b60008514612edb57600182612e419190614950565b9150600a85612e509190614b1e565b6030612e5c919061486f565b60f81b818381518110612e98577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ed491906148c5565b9450612e2c565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612fb257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612fc25750612fc1826131cb565b5b9050919050565b612fd4838383613235565b505050565b612fe38383612b10565b612ff06000848484613034565b61302f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302690614475565b60405180910390fd5b505050565b60006130558473ffffffffffffffffffffffffffffffffffffffff16613349565b156131be578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261307e612535565b8786866040518563ffffffff1660e01b81526004016130a09493929190614371565b602060405180830381600087803b1580156130ba57600080fd5b505af19250505080156130eb57506040513d601f19601f820116820180604052508101906130e89190613c35565b60015b61316e573d806000811461311b576040519150601f19603f3d011682016040523d82523d6000602084013e613120565b606091505b50600081511415613166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161315d90614475565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131c3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61324083838361335c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132835761327e81613361565b6132c2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146132c1576132c083826133aa565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133055761330081613517565b613344565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461334357613342828261365a565b5b5b505050565b600080823b905060008111915050919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016133b7846113ad565b6133c19190614950565b90506000600860008481526020019081526020016000205490508181146134a6576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160098054905061352b9190614950565b90506000600a6000848152602001908152602001600020549050600060098381548110613581577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600983815481106135c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061363e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613665836113ad565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b8280546136e590614a44565b90600052602060002090601f016020900481019282613707576000855561374e565b82601f1061372057805160ff191683800117855561374e565b8280016001018555821561374e579182015b8281111561374d578251825591602001919060010190613732565b5b50905061375b91906137e5565b5090565b82805461376b90614a44565b90600052602060002090601f01602090048101928261378d57600085556137d4565b82601f106137a657803560ff19168380011785556137d4565b828001600101855582156137d4579182015b828111156137d35782358255916020019190600101906137b8565b5b5090506137e191906137e5565b5090565b5b808211156137fe5760008160009055506001016137e6565b5090565b6000613815613810846147b5565b614790565b90508281526020810184848401111561382d57600080fd5b613838848285614a02565b509392505050565b600061385361384e846147e6565b614790565b90508281526020810184848401111561386b57600080fd5b613876848285614a02565b509392505050565b60008135905061388d8161526a565b92915050565b60008083601f8401126138a557600080fd5b8235905067ffffffffffffffff8111156138be57600080fd5b6020830191508360208202830111156138d657600080fd5b9250929050565b6000813590506138ec81615281565b92915050565b60008135905061390181615298565b92915050565b600081359050613916816152af565b92915050565b60008151905061392b816152af565b92915050565b600082601f83011261394257600080fd5b8135613952848260208601613802565b91505092915050565b60008083601f84011261396d57600080fd5b8235905067ffffffffffffffff81111561398657600080fd5b60208301915083600182028301111561399e57600080fd5b9250929050565b600082601f8301126139b657600080fd5b81356139c6848260208601613840565b91505092915050565b6000813590506139de816152c6565b92915050565b6000602082840312156139f657600080fd5b6000613a048482850161387e565b91505092915050565b60008060408385031215613a2057600080fd5b6000613a2e8582860161387e565b9250506020613a3f8582860161387e565b9150509250929050565b600080600060608486031215613a5e57600080fd5b6000613a6c8682870161387e565b9350506020613a7d8682870161387e565b9250506040613a8e868287016139cf565b9150509250925092565b60008060008060808587031215613aae57600080fd5b6000613abc8782880161387e565b9450506020613acd8782880161387e565b9350506040613ade878288016139cf565b925050606085013567ffffffffffffffff811115613afb57600080fd5b613b0787828801613931565b91505092959194509250565b60008060408385031215613b2657600080fd5b6000613b348582860161387e565b9250506020613b45858286016138dd565b9150509250929050565b60008060408385031215613b6257600080fd5b6000613b708582860161387e565b9250506020613b81858286016139cf565b9150509250929050565b60008060208385031215613b9e57600080fd5b600083013567ffffffffffffffff811115613bb857600080fd5b613bc485828601613893565b92509250509250929050565b60008060408385031215613be357600080fd5b6000613bf1858286016138f2565b9250506020613c02858286016139cf565b9150509250929050565b600060208284031215613c1e57600080fd5b6000613c2c84828501613907565b91505092915050565b600060208284031215613c4757600080fd5b6000613c558482850161391c565b91505092915050565b60008060208385031215613c7157600080fd5b600083013567ffffffffffffffff811115613c8b57600080fd5b613c978582860161395b565b92509250509250929050565b600060208284031215613cb557600080fd5b600082013567ffffffffffffffff811115613ccf57600080fd5b613cdb848285016139a5565b91505092915050565b600060208284031215613cf657600080fd5b6000613d04848285016139cf565b91505092915050565b600080600060408486031215613d2257600080fd5b6000613d30868287016139cf565b935050602084013567ffffffffffffffff811115613d4d57600080fd5b613d598682870161395b565b92509250509250925092565b60008060408385031215613d7857600080fd5b6000613d86858286016139cf565b9250506020613d97858286016139cf565b9150509250929050565b613daa81614984565b82525050565b613dc1613dbc82614984565b614af0565b82525050565b613dd081614996565b82525050565b613ddf816149a2565b82525050565b613df6613df1826149a2565b614b02565b82525050565b6000613e078261482c565b613e118185614842565b9350613e21818560208601614a11565b613e2a81614c0b565b840191505092915050565b6000613e4082614837565b613e4a8185614853565b9350613e5a818560208601614a11565b613e6381614c0b565b840191505092915050565b6000613e7982614837565b613e838185614864565b9350613e93818560208601614a11565b80840191505092915050565b60008154613eac81614a44565b613eb68186614864565b94506001821660008114613ed15760018114613ee257613f15565b60ff19831686528186019350613f15565b613eeb85614817565b60005b83811015613f0d57815481890152600182019150602081019050613eee565b838801955050505b50505092915050565b6000613f2b601783614853565b9150613f3682614c29565b602082019050919050565b6000613f4e601283614853565b9150613f5982614c52565b602082019050919050565b6000613f71602b83614853565b9150613f7c82614c7b565b604082019050919050565b6000613f94603283614853565b9150613f9f82614cca565b604082019050919050565b6000613fb7602683614853565b9150613fc282614d19565b604082019050919050565b6000613fda601c83614853565b9150613fe582614d68565b602082019050919050565b6000613ffd601083614853565b915061400882614d91565b602082019050919050565b6000614020602483614853565b915061402b82614dba565b604082019050919050565b6000614043601983614853565b915061404e82614e09565b602082019050919050565b6000614066601583614853565b915061407182614e32565b602082019050919050565b6000614089602c83614853565b915061409482614e5b565b604082019050919050565b60006140ac603883614853565b91506140b782614eaa565b604082019050919050565b60006140cf602a83614853565b91506140da82614ef9565b604082019050919050565b60006140f2602983614853565b91506140fd82614f48565b604082019050919050565b6000614115601783614853565b915061412082614f97565b602082019050919050565b6000614138602083614853565b915061414382614fc0565b602082019050919050565b600061415b602c83614853565b915061416682614fe9565b604082019050919050565b600061417e602083614853565b915061418982615038565b602082019050919050565b60006141a1601783614853565b91506141ac82615061565b602082019050919050565b60006141c4602983614853565b91506141cf8261508a565b604082019050919050565b60006141e7601583614853565b91506141f2826150d9565b602082019050919050565b600061420a601c83614853565b915061421582615102565b602082019050919050565b600061422d602183614853565b91506142388261512b565b604082019050919050565b6000614250603183614853565b915061425b8261517a565b604082019050919050565b6000614273602c83614853565b915061427e826151c9565b604082019050919050565b6000614296601883614853565b91506142a182615218565b602082019050919050565b60006142b9601383614853565b91506142c482615241565b602082019050919050565b6142d8816149f8565b82525050565b60006142ea8284613db0565b60148201915081905092915050565b60006143058285613de5565b6020820191506143158284613de5565b6020820191508190509392505050565b60006143318286613e9f565b915061433d8285613e6e565b91506143498284613e9f565b9150819050949350505050565b600060208201905061436b6000830184613da1565b92915050565b60006080820190506143866000830187613da1565b6143936020830186613da1565b6143a060408301856142cf565b81810360608301526143b28184613dfc565b905095945050505050565b60006020820190506143d26000830184613dc7565b92915050565b60006020820190506143ed6000830184613dd6565b92915050565b6000602082019050818103600083015261440d8184613e35565b905092915050565b6000602082019050818103600083015261442e81613f1e565b9050919050565b6000602082019050818103600083015261444e81613f41565b9050919050565b6000602082019050818103600083015261446e81613f64565b9050919050565b6000602082019050818103600083015261448e81613f87565b9050919050565b600060208201905081810360008301526144ae81613faa565b9050919050565b600060208201905081810360008301526144ce81613fcd565b9050919050565b600060208201905081810360008301526144ee81613ff0565b9050919050565b6000602082019050818103600083015261450e81614013565b9050919050565b6000602082019050818103600083015261452e81614036565b9050919050565b6000602082019050818103600083015261454e81614059565b9050919050565b6000602082019050818103600083015261456e8161407c565b9050919050565b6000602082019050818103600083015261458e8161409f565b9050919050565b600060208201905081810360008301526145ae816140c2565b9050919050565b600060208201905081810360008301526145ce816140e5565b9050919050565b600060208201905081810360008301526145ee81614108565b9050919050565b6000602082019050818103600083015261460e8161412b565b9050919050565b6000602082019050818103600083015261462e8161414e565b9050919050565b6000602082019050818103600083015261464e81614171565b9050919050565b6000602082019050818103600083015261466e81614194565b9050919050565b6000602082019050818103600083015261468e816141b7565b9050919050565b600060208201905081810360008301526146ae816141da565b9050919050565b600060208201905081810360008301526146ce816141fd565b9050919050565b600060208201905081810360008301526146ee81614220565b9050919050565b6000602082019050818103600083015261470e81614243565b9050919050565b6000602082019050818103600083015261472e81614266565b9050919050565b6000602082019050818103600083015261474e81614289565b9050919050565b6000602082019050818103600083015261476e816142ac565b9050919050565b600060208201905061478a60008301846142cf565b92915050565b600061479a6147ab565b90506147a68282614a76565b919050565b6000604051905090565b600067ffffffffffffffff8211156147d0576147cf614bdc565b5b6147d982614c0b565b9050602081019050919050565b600067ffffffffffffffff82111561480157614800614bdc565b5b61480a82614c0b565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061487a826149f8565b9150614885836149f8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148ba576148b9614b4f565b5b828201905092915050565b60006148d0826149f8565b91506148db836149f8565b9250826148eb576148ea614b7e565b5b828204905092915050565b6000614901826149f8565b915061490c836149f8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561494557614944614b4f565b5b828202905092915050565b600061495b826149f8565b9150614966836149f8565b92508282101561497957614978614b4f565b5b828203905092915050565b600061498f826149d8565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a2f578082015181840152602081019050614a14565b83811115614a3e576000848401525b50505050565b60006002820490506001821680614a5c57607f821691505b60208210811415614a7057614a6f614bad565b5b50919050565b614a7f82614c0b565b810181811067ffffffffffffffff82111715614a9e57614a9d614bdc565b5b80604052505050565b6000614ab2826149f8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ae557614ae4614b4f565b5b600182019050919050565b6000614afb82614b0c565b9050919050565b6000819050919050565b6000614b1782614c1c565b9050919050565b6000614b29826149f8565b9150614b34836149f8565b925082614b4457614b43614b7e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4d494e543a4d415820535550504c592052454143484544000000000000000000600082015250565b7f494e44455820444f45534e542045584953540000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4d494e543a53414c452050415553454400000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f434c41494d3a414c524541445920434c41494d45440000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4c4f434b3a4e4f54204f574e4552204f4620544f4b454e000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5245544952455f54454d504c4154453a494e4445582030000000000000000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4c4f434b3a54454d504c41544520524554495245440000000000000000000000600082015250565b7f5345545f54454d504c4154453a54454d504c415445204c4f434b454400000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d494e543a4d53472e56414c554520494e434f52524543540000000000000000600082015250565b7f434c41494d3a494e56414c49442050524f4f4600000000000000000000000000600082015250565b61527381614984565b811461527e57600080fd5b50565b61528a81614996565b811461529557600080fd5b50565b6152a1816149a2565b81146152ac57600080fd5b50565b6152b8816149ac565b81146152c357600080fd5b50565b6152cf816149f8565b81146152da57600080fd5b5056fea2646970667358221220eb57073481c7fe27930106c78592884334099ba7820b58b0a162d8a1de87aad464736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000218700000000000000000000000000000000000000000000000000d529ae9e860000
-----Decoded View---------------
Arg [0] : maxSupply (uint256): 8583
Arg [1] : initialPrice (uint256): 60000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000002187
Arg [1] : 00000000000000000000000000000000000000000000000000d529ae9e860000
Loading...
Loading
Loading...
Loading
[ 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.