ERC-721
Overview
Max Total Supply
974 SAK
Holders
743
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SAKLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SkorgeAlphaKey
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//Contract based on [https://docs.openzeppelin.com/contracts/3.x/erc721](https://docs.openzeppelin.com/contracts/3.x/erc721) // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; // .. // .';;;. // .;lc,. // .,;:lc'. // .;looc;. // .',. .;lol:;. // ..... ,lol:. .clolc,. // ..'''',,,,''... .'''''. ..'''''.. ,ooloc:loll;. .'''''''''''...... ...''''''''.... .'''..'.''''.''.. // .,,','....''''''. .','',. ..'',,'.. .,loooollo:. .',','.......'',,,'. ..','''.....',,,'.. .,''''.......... // .','','.......... .','',....'''''... ;loloooc. .',','. .','',. .','''.. ....... .,,,,.. // ..''',,,,,,,'''.. .','',''',',,'.. .,llolllol;. .','''.......'''','. .',','. ....... .,'','''''''''. // ..........',,',. .',''',,''.',,''.. .:lolocclooo:. .','''''''''''''''. .',',,.. .'',,,,'. .,',,......... // .'''''....'','''. .'''','.. ..''','.. ,loolo:...;lol; .',','. ..''''. .''''''......'''','. .,'','........... // ...''',','''.. .'''''. ..'''''.. .;lolol;. .:ll' .'''''. ..''''. ...''',,,'''...'. .'''''''''''''''. // ..... .cloolc' .c:. ..... // .,coool:. .. // .:lolol,. // .colol:. // .coolc,. // .cc,.. // ... // // Skorge Alpha Key Contract contract SkorgeAlphaKey is ERC721URIStorage, ERC721Enumerable, Ownable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private tokenIds; //Important constants bool public saleIsActive = false; uint public constant MAX_TOKENS = 1000; uint public constant NUMBER_RESERVED_TOKENS = 50; uint public constant PRICE = 100001000000000000; uint public constant ADDRESS_MAX_MINTS = 2; //Mapping to check if addresses have already max minted mapping(address => bool) alreadyMinted; mapping(address => uint) numberOfMintsOnAddress; //Base token URI string public _baseTokenURI; //Constructor, sets the base URI constructor(string memory baseURI) ERC721("Skorge Alpha Key", "SAK") { _setBaseURI(baseURI); } uint reservedTokensMinted = 0; //Payable addresses address payable private discordGuy = payable(0xB837C4a0d9562C0B75256b9d1F5acC02760a1fCF); address payable private maple = payable(0xB682F5C222A3d07aa23603d524978C551BcD00b6); address payable private devGuy = payable(0xcEB5E5c55bB585CFaEF92aeB1609C4384Ec1890e); //Function to deal with public key minting function mintKey(uint256 amount) external payable { require(saleIsActive, "Sale must be active to mint tokens"); require(!alreadyMinted[msg.sender], "Sender already minted all their allocated tokens"); require(numberOfMintsOnAddress[msg.sender] + amount <= ADDRESS_MAX_MINTS, "Sender is trying to mint more than allocated tokens"); require(tokenIds.current() >= 0 && tokenIds.current() + amount <= (MAX_TOKENS-NUMBER_RESERVED_TOKENS), "Purchase would exceed max supply"); require(amount > 0 && amount <= 2, "Max 2 per transaction"); require(msg.value >= amount * PRICE, "Not enough ETH sent, please check mint price"); for (uint i = 0; i < amount; i++){ tokenIds.increment(); numberOfMintsOnAddress[msg.sender]++; uint256 newItemId = tokenIds.current(); _safeMint(msg.sender, newItemId); //Safe mint checks if ID is duplicate } if(numberOfMintsOnAddress[msg.sender] == ADDRESS_MAX_MINTS){ alreadyMinted[msg.sender] = true; } } //Function to deal with reserved alpha key minting //We can replace recipient here and just use msg.sender in the mint function //tokenURI is the IPFS URI function mintReservedKey(address recipient, uint256 amount) external { require(msg.sender == discordGuy || msg.sender == maple || msg.sender == devGuy || msg.sender == owner(), "Invalid Sender"); require(amount > 0 && tokenIds.current() >= 0 && tokenIds.current() + amount <= MAX_TOKENS && reservedTokensMinted + amount <= NUMBER_RESERVED_TOKENS, "Maximum reserves already minted"); for (uint i = 0; i < amount; i++){ tokenIds.increment(); uint256 newItemId = tokenIds.current(); _safeMint(recipient, newItemId); //Safe mint checks if ID is duplicate reservedTokensMinted++; } } //Withdraws to the relevant wallets function withdraw() public onlyOwner { require(msg.sender == owner(), "Invalid sender"); (bool dg, ) = discordGuy.call{value: address(this).balance * 1/3}(""); require(dg); (bool mg, ) = maple.call{value: address(this).balance * 50/100}(""); require(mg); (bool dev, ) = devGuy.call{value: address(this).balance}(""); require(dev); } //Toggles if keys are on sale function setSaleState(bool newState) public onlyOwner { saleIsActive = newState; } //// //URI management part //// function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function _setBaseURI(string memory baseURI) internal virtual { _baseTokenURI = baseURI; } function _baseURI() internal view override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) external onlyOwner { _setBaseURI(baseURI); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { string memory _tokenURI = super.tokenURI(tokenId); return bytes(_tokenURI).length > 0 ? string(abi.encodePacked(_tokenURI, ".json")) : ""; } //Compliance with ERC721Enumerable, set to not be able to be called as we don't want burns! function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) onlyOwner { super._burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721URIStorage.sol) 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 // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 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 // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) 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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"ADDRESS_MAX_MINTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUMBER_RESERVED_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"amount","type":"uint256"}],"name":"mintKey","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintReservedKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","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":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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
60806040526000600d60006101000a81548160ff021916908315150217905550600060115573b837c4a0d9562c0b75256b9d1f5acc02760a1fcf601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b682f5c222a3d07aa23603d524978c551bcd00b6601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ceb5e5c55bb585cfaef92aeb1609c4384ec1890e601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200013057600080fd5b5060405162004f6e38038062004f6e83398181016040528101906200015691906200043a565b6040518060400160405280601081526020017f536b6f72676520416c706861204b6579000000000000000000000000000000008152506040518060400160405280600381526020017f53414b00000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001da92919062000318565b508060019080519060200190620001f392919062000318565b505050620002166200020a6200022e60201b60201c565b6200023660201b60201c565b6200022781620002fc60201b60201c565b50620005b0565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80601090805190602001906200031492919062000318565b5050565b82805462000326906200051c565b90600052602060002090601f0160209004810192826200034a576000855562000396565b82601f106200036557805160ff191683800117855562000396565b8280016001018555821562000396579182015b828111156200039557825182559160200191906001019062000378565b5b509050620003a59190620003a9565b5090565b5b80821115620003c4576000816000905550600101620003aa565b5090565b6000620003df620003d984620004b3565b6200047f565b905082815260208101848484011115620003f857600080fd5b62000405848285620004e6565b509392505050565b600082601f8301126200041f57600080fd5b815162000431848260208601620003c8565b91505092915050565b6000602082840312156200044d57600080fd5b600082015167ffffffffffffffff8111156200046857600080fd5b62000476848285016200040d565b91505092915050565b6000604051905081810181811067ffffffffffffffff82111715620004a957620004a862000581565b5b8060405250919050565b600067ffffffffffffffff821115620004d157620004d062000581565b5b601f19601f8301169050602081019050919050565b60005b8381101562000506578082015181840152602081019050620004e9565b8381111562000516576000848401525b50505050565b600060028204905060018216806200053557607f821691505b602082108114156200054c576200054b62000552565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149ae80620005c06000396000f3fe6080604052600436106101cd5760003560e01c8063715018a6116100f7578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610667578063eb8d2444146106a4578063f2fde38b146106cf578063f47c84c5146106f8576101cd565b8063b88d4fde146105ad578063c4e37095146105d6578063c87b56dd146105ff578063cfc86f7b1461063c576101cd565b806395d89b41116100d157806395d89b41146105125780639fb089331461053d578063a22cb46514610559578063b22edfbc14610582576101cd565b8063715018a6146104a55780638d859f3e146104bc5780638da5cb5b146104e7576101cd565b80632f745c591161016f57806355f804b31161013e57806355f804b3146103d95780636352211e146104025780636892006d1461043f57806370a0823114610468576101cd565b80632f745c591461031f5780633ccfd60b1461035c57806342842e0e146103735780634f6ccce71461039c576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806318160ddd146102a057806318f34b0f146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f491906134a7565b610723565b6040516102069190614121565b60405180910390f35b34801561021b57600080fd5b50610224610735565b604051610231919061413c565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061353a565b6107c7565b60405161026e91906140ba565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190613442565b61084c565b005b3480156102ac57600080fd5b506102b5610964565b6040516102c291906144de565b60405180910390f35b3480156102d757600080fd5b506102e0610971565b6040516102ed91906144de565b60405180910390f35b34801561030257600080fd5b5061031d6004803603810190610318919061333c565b610976565b005b34801561032b57600080fd5b5061034660048036038101906103419190613442565b6109d6565b60405161035391906144de565b60405180910390f35b34801561036857600080fd5b50610371610a7b565b005b34801561037f57600080fd5b5061039a6004803603810190610395919061333c565b610d69565b005b3480156103a857600080fd5b506103c360048036038101906103be919061353a565b610d89565b6040516103d091906144de565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb91906134f9565b610e20565b005b34801561040e57600080fd5b506104296004803603810190610424919061353a565b610ea8565b60405161043691906140ba565b60405180910390f35b34801561044b57600080fd5b5061046660048036038101906104619190613442565b610f5a565b005b34801561047457600080fd5b5061048f600480360381019061048a91906132d7565b6111ca565b60405161049c91906144de565b60405180910390f35b3480156104b157600080fd5b506104ba611282565b005b3480156104c857600080fd5b506104d161130a565b6040516104de91906144de565b60405180910390f35b3480156104f357600080fd5b506104fc611316565b60405161050991906140ba565b60405180910390f35b34801561051e57600080fd5b50610527611340565b604051610534919061413c565b60405180910390f35b6105576004803603810190610552919061353a565b6113d2565b005b34801561056557600080fd5b50610580600480360381019061057b9190613406565b611798565b005b34801561058e57600080fd5b506105976117ae565b6040516105a491906144de565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf919061338b565b6117b3565b005b3480156105e257600080fd5b506105fd60048036038101906105f8919061347e565b611815565b005b34801561060b57600080fd5b506106266004803603810190610621919061353a565b6118ae565b604051610633919061413c565b60405180910390f35b34801561064857600080fd5b50610651611904565b60405161065e919061413c565b60405180910390f35b34801561067357600080fd5b5061068e60048036038101906106899190613300565b611992565b60405161069b9190614121565b60405180910390f35b3480156106b057600080fd5b506106b9611a26565b6040516106c69190614121565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f191906132d7565b611a39565b005b34801561070457600080fd5b5061070d611b31565b60405161071a91906144de565b60405180910390f35b600061072e82611b37565b9050919050565b606060008054610744906147a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610770906147a3565b80156107bd5780601f10610792576101008083540402835291602001916107bd565b820191906000526020600020905b8154815290600101906020018083116107a057829003601f168201915b5050505050905090565b60006107d282611bb1565b610811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108089061437e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061085782610ea8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf9061441e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108e7611c1d565b73ffffffffffffffffffffffffffffffffffffffff161480610916575061091581610910611c1d565b611992565b5b610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094c9061429e565b60405180910390fd5b61095f8383611c25565b505050565b6000600980549050905090565b600281565b610987610981611c1d565b82611cde565b6109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd9061443e565b60405180910390fd5b6109d1838383611dbc565b505050565b60006109e1836111ca565b8210610a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a199061415e565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a83611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610aa1611316565b73ffffffffffffffffffffffffffffffffffffffff1614610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee9061439e565b60405180910390fd5b610aff611316565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b639061427e565b60405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166003600147610bb6919061465f565b610bc0919061462e565b604051610bcc906140a5565b60006040518083038185875af1925050503d8060008114610c09576040519150601f19603f3d011682016040523d82523d6000602084013e610c0e565b606091505b5050905080610c1c57600080fd5b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064603247610c66919061465f565b610c70919061462e565b604051610c7c906140a5565b60006040518083038185875af1925050503d8060008114610cb9576040519150601f19603f3d011682016040523d82523d6000602084013e610cbe565b606091505b5050905080610ccc57600080fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610d14906140a5565b60006040518083038185875af1925050503d8060008114610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b5050905080610d6457600080fd5b505050565b610d84838383604051806020016040528060008152506117b3565b505050565b6000610d93610964565b8210610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb9061445e565b60405180910390fd5b60098281548110610e0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610e28611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610e46611316565b73ffffffffffffffffffffffffffffffffffffffff1614610e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e939061439e565b60405180910390fd5b610ea581612018565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f48906142fe565b60405180910390fd5b80915050919050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110035750601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061105b5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806110985750611069611316565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce906142be565b60405180910390fd5b6000811180156110f1575060006110ee600c612032565b10155b801561111357506103e881611106600c612032565b61111091906145d8565b11155b801561112d575060328160115461112a91906145d8565b11155b61116c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611163906144be565b60405180910390fd5b60005b818110156111c557611181600c612040565b600061118d600c612032565b90506111998482612056565b601160008154809291906111ac906147d5565b91905055505080806111bd906147d5565b91505061116f565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561123b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611232906142de565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61128a611c1d565b73ffffffffffffffffffffffffffffffffffffffff166112a8611316565b73ffffffffffffffffffffffffffffffffffffffff16146112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f59061439e565b60405180910390fd5b6113086000612074565b565b6701634661322f100081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461134f906147a3565b80601f016020809104026020016040519081016040528092919081815260200182805461137b906147a3565b80156113c85780601f1061139d576101008083540402835291602001916113c8565b820191906000526020600020905b8154815290600101906020018083116113ab57829003601f168201915b5050505050905090565b600d60009054906101000a900460ff16611421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611418906143fe565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a59061447e565b60405180910390fd5b600281600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114fb91906145d8565b111561153c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115339061417e565b60405180910390fd5b6000611548600c612032565b10158015611578575060326103e861156091906146b9565b8161156b600c612032565b61157591906145d8565b11155b6115b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ae9061431e565b60405180910390fd5b6000811180156115c8575060028111155b611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe9061449e565b60405180910390fd5b6701634661322f10008161161b919061465f565b34101561165d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611654906141de565b60405180910390fd5b60005b818110156116f357611672600c612040565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906116c2906147d5565b919050555060006116d3600c612032565b90506116df3382612056565b5080806116eb906147d5565b915050611660565b506002600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611795576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b6117aa6117a3611c1d565b838361213a565b5050565b603281565b6117c46117be611c1d565b83611cde565b611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa9061443e565b60405180910390fd5b61180f848484846122a7565b50505050565b61181d611c1d565b73ffffffffffffffffffffffffffffffffffffffff1661183b611316565b73ffffffffffffffffffffffffffffffffffffffff1614611891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118889061439e565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b606060006118bb83612303565b905060008151116118db57604051806020016040528060008152506118fc565b806040516020016118ec9190614083565b6040516020818303038152906040525b915050919050565b60108054611911906147a3565b80601f016020809104026020016040519081016040528092919081815260200182805461193d906147a3565b801561198a5780601f1061195f5761010080835404028352916020019161198a565b820191906000526020600020905b81548152906001019060200180831161196d57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b611a41611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611a5f611316565b73ffffffffffffffffffffffffffffffffffffffff1614611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac9061439e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1c906141be565b60405180910390fd5b611b2e81612074565b50565b6103e881565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611baa5750611ba982612455565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c9883610ea8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ce982611bb1565b611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f9061425e565b60405180910390fd5b6000611d3383610ea8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611da257508373ffffffffffffffffffffffffffffffffffffffff16611d8a846107c7565b73ffffffffffffffffffffffffffffffffffffffff16145b80611db35750611db28185611992565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ddc82610ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e29906143be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e999061421e565b60405180910390fd5b611ead838383612537565b611eb8600082611c25565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f0891906146b9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f5f91906145d8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b806010908051906020019061202e9291906130fb565b5050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612070828260405180602001604052806000815250612547565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a09061423e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161229a9190614121565b60405180910390a3505050565b6122b2848484611dbc565b6122be848484846125a2565b6122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f49061419e565b60405180910390fd5b50505050565b606061230e82611bb1565b61234d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123449061435e565b60405180910390fd5b600060066000848152602001908152602001600020805461236d906147a3565b80601f0160208091040260200160405190810160405280929190818152602001828054612399906147a3565b80156123e65780601f106123bb576101008083540402835291602001916123e6565b820191906000526020600020905b8154815290600101906020018083116123c957829003601f168201915b5050505050905060006123f7612739565b905060008151141561240d578192505050612450565b60008251111561244257808260405160200161242a92919061405f565b60405160208183030381529060405292505050612450565b61244b846127cb565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612530575061252f82612872565b5b9050919050565b6125428383836128dc565b505050565b61255183836129f0565b61255e60008484846125a2565b61259d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125949061419e565b60405180910390fd5b505050565b60006125c38473ffffffffffffffffffffffffffffffffffffffff16612bbe565b1561272c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125ec611c1d565b8786866040518563ffffffff1660e01b815260040161260e94939291906140d5565b602060405180830381600087803b15801561262857600080fd5b505af192505050801561265957506040513d601f19601f8201168201806040525081019061265691906134d0565b60015b6126dc573d8060008114612689576040519150601f19603f3d011682016040523d82523d6000602084013e61268e565b606091505b506000815114156126d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cb9061419e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612731565b600190505b949350505050565b606060108054612748906147a3565b80601f0160208091040260200160405190810160405280929190818152602001828054612774906147a3565b80156127c15780601f10612796576101008083540402835291602001916127c1565b820191906000526020600020905b8154815290600101906020018083116127a457829003601f168201915b5050505050905090565b60606127d682611bb1565b612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c906143de565b60405180910390fd5b600061281f612739565b9050600081511161283f576040518060200160405280600081525061286a565b8061284984612bd1565b60405160200161285a92919061405f565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128e7838383612d7e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561292a5761292581612d83565b612969565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612968576129678382612dcc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129ac576129a781612f39565b6129eb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129ea576129e9828261307c565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a579061433e565b60405180910390fd5b612a6981611bb1565b15612aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa0906141fe565b60405180910390fd5b612ab560008383612537565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b0591906145d8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612c19576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d79565b600082905060005b60008214612c4b578080612c34906147d5565b915050600a82612c44919061462e565b9150612c21565b60008167ffffffffffffffff811115612c8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612cbf5781602001600182028036833780820191505090505b5090505b60008514612d7257600182612cd891906146b9565b9150600a85612ce7919061481e565b6030612cf391906145d8565b60f81b818381518110612d2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d6b919061462e565b9450612cc3565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612dd9846111ca565b612de391906146b9565b9050600060086000848152602001908152602001600020549050818114612ec8576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612f4d91906146b9565b90506000600a6000848152602001908152602001600020549050600060098381548110612fa3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612feb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613060577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613087836111ca565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613107906147a3565b90600052602060002090601f0160209004810192826131295760008555613170565b82601f1061314257805160ff1916838001178555613170565b82800160010185558215613170579182015b8281111561316f578251825591602001919060010190613154565b5b50905061317d9190613181565b5090565b5b8082111561319a576000816000905550600101613182565b5090565b60006131b16131ac8461452a565b6144f9565b9050828152602081018484840111156131c957600080fd5b6131d4848285614761565b509392505050565b60006131ef6131ea8461455a565b6144f9565b90508281526020810184848401111561320757600080fd5b613212848285614761565b509392505050565b6000813590506132298161491c565b92915050565b60008135905061323e81614933565b92915050565b6000813590506132538161494a565b92915050565b6000815190506132688161494a565b92915050565b600082601f83011261327f57600080fd5b813561328f84826020860161319e565b91505092915050565b600082601f8301126132a957600080fd5b81356132b98482602086016131dc565b91505092915050565b6000813590506132d181614961565b92915050565b6000602082840312156132e957600080fd5b60006132f78482850161321a565b91505092915050565b6000806040838503121561331357600080fd5b60006133218582860161321a565b92505060206133328582860161321a565b9150509250929050565b60008060006060848603121561335157600080fd5b600061335f8682870161321a565b93505060206133708682870161321a565b9250506040613381868287016132c2565b9150509250925092565b600080600080608085870312156133a157600080fd5b60006133af8782880161321a565b94505060206133c08782880161321a565b93505060406133d1878288016132c2565b925050606085013567ffffffffffffffff8111156133ee57600080fd5b6133fa8782880161326e565b91505092959194509250565b6000806040838503121561341957600080fd5b60006134278582860161321a565b92505060206134388582860161322f565b9150509250929050565b6000806040838503121561345557600080fd5b60006134638582860161321a565b9250506020613474858286016132c2565b9150509250929050565b60006020828403121561349057600080fd5b600061349e8482850161322f565b91505092915050565b6000602082840312156134b957600080fd5b60006134c784828501613244565b91505092915050565b6000602082840312156134e257600080fd5b60006134f084828501613259565b91505092915050565b60006020828403121561350b57600080fd5b600082013567ffffffffffffffff81111561352557600080fd5b61353184828501613298565b91505092915050565b60006020828403121561354c57600080fd5b600061355a848285016132c2565b91505092915050565b61356c816146ed565b82525050565b61357b816146ff565b82525050565b600061358c8261458a565b61359681856145a0565b93506135a6818560208601614770565b6135af8161490b565b840191505092915050565b60006135c582614595565b6135cf81856145bc565b93506135df818560208601614770565b6135e88161490b565b840191505092915050565b60006135fe82614595565b61360881856145cd565b9350613618818560208601614770565b80840191505092915050565b6000613631602b836145bc565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006136976033836145bc565b91507f53656e64657220697320747279696e6720746f206d696e74206d6f726520746860008301527f616e20616c6c6f636174656420746f6b656e73000000000000000000000000006020830152604082019050919050565b60006136fd6032836145bc565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006137636026836145bc565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137c9602c836145bc565b91507f4e6f7420656e6f756768204554482073656e742c20706c65617365206368656360008301527f6b206d696e7420707269636500000000000000000000000000000000000000006020830152604082019050919050565b600061382f601c836145bc565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061386f6024836145bc565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138d56019836145bc565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613915602c836145bc565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061397b600e836145bc565b91507f496e76616c69642073656e6465720000000000000000000000000000000000006000830152602082019050919050565b60006139bb6038836145bc565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613a21600e836145bc565b91507f496e76616c69642053656e6465720000000000000000000000000000000000006000830152602082019050919050565b6000613a61602a836145bc565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ac76029836145bc565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b2d6020836145bc565b91507f507572636861736520776f756c6420657863656564206d617820737570706c796000830152602082019050919050565b6000613b6d6020836145bc565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613bad6031836145bc565b91507f45524337323155524953746f726167653a2055524920717565727920666f722060008301527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006020830152604082019050919050565b6000613c13602c836145bc565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613c796005836145cd565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000613cb96020836145bc565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613cf96029836145bc565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d5f602f836145bc565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613dc56022836145bc565b91507f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008301527f6e730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e2b6021836145bc565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e916000836145b1565b9150600082019050919050565b6000613eab6031836145bc565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613f11602c836145bc565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000613f776030836145bc565b91507f53656e64657220616c7265616479206d696e74656420616c6c2074686569722060008301527f616c6c6f636174656420746f6b656e73000000000000000000000000000000006020830152604082019050919050565b6000613fdd6015836145bc565b91507f4d6178203220706572207472616e73616374696f6e00000000000000000000006000830152602082019050919050565b600061401d601f836145bc565b91507f4d6178696d756d20726573657276657320616c7265616479206d696e746564006000830152602082019050919050565b61405981614757565b82525050565b600061406b82856135f3565b915061407782846135f3565b91508190509392505050565b600061408f82846135f3565b915061409a82613c6c565b915081905092915050565b60006140b082613e84565b9150819050919050565b60006020820190506140cf6000830184613563565b92915050565b60006080820190506140ea6000830187613563565b6140f76020830186613563565b6141046040830185614050565b81810360608301526141168184613581565b905095945050505050565b60006020820190506141366000830184613572565b92915050565b6000602082019050818103600083015261415681846135ba565b905092915050565b6000602082019050818103600083015261417781613624565b9050919050565b600060208201905081810360008301526141978161368a565b9050919050565b600060208201905081810360008301526141b7816136f0565b9050919050565b600060208201905081810360008301526141d781613756565b9050919050565b600060208201905081810360008301526141f7816137bc565b9050919050565b6000602082019050818103600083015261421781613822565b9050919050565b6000602082019050818103600083015261423781613862565b9050919050565b60006020820190508181036000830152614257816138c8565b9050919050565b6000602082019050818103600083015261427781613908565b9050919050565b600060208201905081810360008301526142978161396e565b9050919050565b600060208201905081810360008301526142b7816139ae565b9050919050565b600060208201905081810360008301526142d781613a14565b9050919050565b600060208201905081810360008301526142f781613a54565b9050919050565b6000602082019050818103600083015261431781613aba565b9050919050565b6000602082019050818103600083015261433781613b20565b9050919050565b6000602082019050818103600083015261435781613b60565b9050919050565b6000602082019050818103600083015261437781613ba0565b9050919050565b6000602082019050818103600083015261439781613c06565b9050919050565b600060208201905081810360008301526143b781613cac565b9050919050565b600060208201905081810360008301526143d781613cec565b9050919050565b600060208201905081810360008301526143f781613d52565b9050919050565b6000602082019050818103600083015261441781613db8565b9050919050565b6000602082019050818103600083015261443781613e1e565b9050919050565b6000602082019050818103600083015261445781613e9e565b9050919050565b6000602082019050818103600083015261447781613f04565b9050919050565b6000602082019050818103600083015261449781613f6a565b9050919050565b600060208201905081810360008301526144b781613fd0565b9050919050565b600060208201905081810360008301526144d781614010565b9050919050565b60006020820190506144f36000830184614050565b92915050565b6000604051905081810181811067ffffffffffffffff821117156145205761451f6148dc565b5b8060405250919050565b600067ffffffffffffffff821115614545576145446148dc565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614575576145746148dc565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145e382614757565b91506145ee83614757565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146235761462261484f565b5b828201905092915050565b600061463982614757565b915061464483614757565b9250826146545761465361487e565b5b828204905092915050565b600061466a82614757565b915061467583614757565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146ae576146ad61484f565b5b828202905092915050565b60006146c482614757565b91506146cf83614757565b9250828210156146e2576146e161484f565b5b828203905092915050565b60006146f882614737565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561478e578082015181840152602081019050614773565b8381111561479d576000848401525b50505050565b600060028204905060018216806147bb57607f821691505b602082108114156147cf576147ce6148ad565b5b50919050565b60006147e082614757565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148135761481261484f565b5b600182019050919050565b600061482982614757565b915061483483614757565b9250826148445761484361487e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614925816146ed565b811461493057600080fd5b50565b61493c816146ff565b811461494757600080fd5b50565b6149538161470b565b811461495e57600080fd5b50565b61496a81614757565b811461497557600080fd5b5056fea2646970667358221220d1da4d724deaf2af5c460164db4e6834540042ce7433c76531daa92c0c36648464736f6c634300080000330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d54696e6273667235384674676651785571705168513444394a4d543248474e3759596248506170595a7737652f000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c8063715018a6116100f7578063b88d4fde11610095578063e985e9c511610064578063e985e9c514610667578063eb8d2444146106a4578063f2fde38b146106cf578063f47c84c5146106f8576101cd565b8063b88d4fde146105ad578063c4e37095146105d6578063c87b56dd146105ff578063cfc86f7b1461063c576101cd565b806395d89b41116100d157806395d89b41146105125780639fb089331461053d578063a22cb46514610559578063b22edfbc14610582576101cd565b8063715018a6146104a55780638d859f3e146104bc5780638da5cb5b146104e7576101cd565b80632f745c591161016f57806355f804b31161013e57806355f804b3146103d95780636352211e146104025780636892006d1461043f57806370a0823114610468576101cd565b80632f745c591461031f5780633ccfd60b1461035c57806342842e0e146103735780634f6ccce71461039c576101cd565b8063095ea7b3116101ab578063095ea7b31461027757806318160ddd146102a057806318f34b0f146102cb57806323b872dd146102f6576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f491906134a7565b610723565b6040516102069190614121565b60405180910390f35b34801561021b57600080fd5b50610224610735565b604051610231919061413c565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c919061353a565b6107c7565b60405161026e91906140ba565b60405180910390f35b34801561028357600080fd5b5061029e60048036038101906102999190613442565b61084c565b005b3480156102ac57600080fd5b506102b5610964565b6040516102c291906144de565b60405180910390f35b3480156102d757600080fd5b506102e0610971565b6040516102ed91906144de565b60405180910390f35b34801561030257600080fd5b5061031d6004803603810190610318919061333c565b610976565b005b34801561032b57600080fd5b5061034660048036038101906103419190613442565b6109d6565b60405161035391906144de565b60405180910390f35b34801561036857600080fd5b50610371610a7b565b005b34801561037f57600080fd5b5061039a6004803603810190610395919061333c565b610d69565b005b3480156103a857600080fd5b506103c360048036038101906103be919061353a565b610d89565b6040516103d091906144de565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb91906134f9565b610e20565b005b34801561040e57600080fd5b506104296004803603810190610424919061353a565b610ea8565b60405161043691906140ba565b60405180910390f35b34801561044b57600080fd5b5061046660048036038101906104619190613442565b610f5a565b005b34801561047457600080fd5b5061048f600480360381019061048a91906132d7565b6111ca565b60405161049c91906144de565b60405180910390f35b3480156104b157600080fd5b506104ba611282565b005b3480156104c857600080fd5b506104d161130a565b6040516104de91906144de565b60405180910390f35b3480156104f357600080fd5b506104fc611316565b60405161050991906140ba565b60405180910390f35b34801561051e57600080fd5b50610527611340565b604051610534919061413c565b60405180910390f35b6105576004803603810190610552919061353a565b6113d2565b005b34801561056557600080fd5b50610580600480360381019061057b9190613406565b611798565b005b34801561058e57600080fd5b506105976117ae565b6040516105a491906144de565b60405180910390f35b3480156105b957600080fd5b506105d460048036038101906105cf919061338b565b6117b3565b005b3480156105e257600080fd5b506105fd60048036038101906105f8919061347e565b611815565b005b34801561060b57600080fd5b506106266004803603810190610621919061353a565b6118ae565b604051610633919061413c565b60405180910390f35b34801561064857600080fd5b50610651611904565b60405161065e919061413c565b60405180910390f35b34801561067357600080fd5b5061068e60048036038101906106899190613300565b611992565b60405161069b9190614121565b60405180910390f35b3480156106b057600080fd5b506106b9611a26565b6040516106c69190614121565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f191906132d7565b611a39565b005b34801561070457600080fd5b5061070d611b31565b60405161071a91906144de565b60405180910390f35b600061072e82611b37565b9050919050565b606060008054610744906147a3565b80601f0160208091040260200160405190810160405280929190818152602001828054610770906147a3565b80156107bd5780601f10610792576101008083540402835291602001916107bd565b820191906000526020600020905b8154815290600101906020018083116107a057829003601f168201915b5050505050905090565b60006107d282611bb1565b610811576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108089061437e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061085782610ea8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bf9061441e565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108e7611c1d565b73ffffffffffffffffffffffffffffffffffffffff161480610916575061091581610910611c1d565b611992565b5b610955576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161094c9061429e565b60405180910390fd5b61095f8383611c25565b505050565b6000600980549050905090565b600281565b610987610981611c1d565b82611cde565b6109c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109bd9061443e565b60405180910390fd5b6109d1838383611dbc565b505050565b60006109e1836111ca565b8210610a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a199061415e565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a83611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610aa1611316565b73ffffffffffffffffffffffffffffffffffffffff1614610af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aee9061439e565b60405180910390fd5b610aff611316565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b639061427e565b60405180910390fd5b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166003600147610bb6919061465f565b610bc0919061462e565b604051610bcc906140a5565b60006040518083038185875af1925050503d8060008114610c09576040519150601f19603f3d011682016040523d82523d6000602084013e610c0e565b606091505b5050905080610c1c57600080fd5b6000601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166064603247610c66919061465f565b610c70919061462e565b604051610c7c906140a5565b60006040518083038185875af1925050503d8060008114610cb9576040519150601f19603f3d011682016040523d82523d6000602084013e610cbe565b606091505b5050905080610ccc57600080fd5b6000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051610d14906140a5565b60006040518083038185875af1925050503d8060008114610d51576040519150601f19603f3d011682016040523d82523d6000602084013e610d56565b606091505b5050905080610d6457600080fd5b505050565b610d84838383604051806020016040528060008152506117b3565b505050565b6000610d93610964565b8210610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb9061445e565b60405180910390fd5b60098281548110610e0e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610e28611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610e46611316565b73ffffffffffffffffffffffffffffffffffffffff1614610e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e939061439e565b60405180910390fd5b610ea581612018565b50565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f48906142fe565b60405180910390fd5b80915050919050565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110035750601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b8061105b5750601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b806110985750611069611316565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6110d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ce906142be565b60405180910390fd5b6000811180156110f1575060006110ee600c612032565b10155b801561111357506103e881611106600c612032565b61111091906145d8565b11155b801561112d575060328160115461112a91906145d8565b11155b61116c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611163906144be565b60405180910390fd5b60005b818110156111c557611181600c612040565b600061118d600c612032565b90506111998482612056565b601160008154809291906111ac906147d5565b91905055505080806111bd906147d5565b91505061116f565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561123b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611232906142de565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61128a611c1d565b73ffffffffffffffffffffffffffffffffffffffff166112a8611316565b73ffffffffffffffffffffffffffffffffffffffff16146112fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f59061439e565b60405180910390fd5b6113086000612074565b565b6701634661322f100081565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461134f906147a3565b80601f016020809104026020016040519081016040528092919081815260200182805461137b906147a3565b80156113c85780601f1061139d576101008083540402835291602001916113c8565b820191906000526020600020905b8154815290600101906020018083116113ab57829003601f168201915b5050505050905090565b600d60009054906101000a900460ff16611421576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611418906143fe565b60405180910390fd5b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156114ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a59061447e565b60405180910390fd5b600281600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114fb91906145d8565b111561153c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115339061417e565b60405180910390fd5b6000611548600c612032565b10158015611578575060326103e861156091906146b9565b8161156b600c612032565b61157591906145d8565b11155b6115b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ae9061431e565b60405180910390fd5b6000811180156115c8575060028111155b611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe9061449e565b60405180910390fd5b6701634661322f10008161161b919061465f565b34101561165d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611654906141de565b60405180910390fd5b60005b818110156116f357611672600c612040565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906116c2906147d5565b919050555060006116d3600c612032565b90506116df3382612056565b5080806116eb906147d5565b915050611660565b506002600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611795576001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b50565b6117aa6117a3611c1d565b838361213a565b5050565b603281565b6117c46117be611c1d565b83611cde565b611803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fa9061443e565b60405180910390fd5b61180f848484846122a7565b50505050565b61181d611c1d565b73ffffffffffffffffffffffffffffffffffffffff1661183b611316565b73ffffffffffffffffffffffffffffffffffffffff1614611891576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118889061439e565b60405180910390fd5b80600d60006101000a81548160ff02191690831515021790555050565b606060006118bb83612303565b905060008151116118db57604051806020016040528060008152506118fc565b806040516020016118ec9190614083565b6040516020818303038152906040525b915050919050565b60108054611911906147a3565b80601f016020809104026020016040519081016040528092919081815260200182805461193d906147a3565b801561198a5780601f1061195f5761010080835404028352916020019161198a565b820191906000526020600020905b81548152906001019060200180831161196d57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d60009054906101000a900460ff1681565b611a41611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611a5f611316565b73ffffffffffffffffffffffffffffffffffffffff1614611ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aac9061439e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1c906141be565b60405180910390fd5b611b2e81612074565b50565b6103e881565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611baa5750611ba982612455565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c9883610ea8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611ce982611bb1565b611d28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1f9061425e565b60405180910390fd5b6000611d3383610ea8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611da257508373ffffffffffffffffffffffffffffffffffffffff16611d8a846107c7565b73ffffffffffffffffffffffffffffffffffffffff16145b80611db35750611db28185611992565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ddc82610ea8565b73ffffffffffffffffffffffffffffffffffffffff1614611e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e29906143be565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e999061421e565b60405180910390fd5b611ead838383612537565b611eb8600082611c25565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f0891906146b9565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f5f91906145d8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b806010908051906020019061202e9291906130fb565b5050565b600081600001549050919050565b6001816000016000828254019250508190555050565b612070828260405180602001604052806000815250612547565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156121a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a09061423e565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161229a9190614121565b60405180910390a3505050565b6122b2848484611dbc565b6122be848484846125a2565b6122fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f49061419e565b60405180910390fd5b50505050565b606061230e82611bb1565b61234d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123449061435e565b60405180910390fd5b600060066000848152602001908152602001600020805461236d906147a3565b80601f0160208091040260200160405190810160405280929190818152602001828054612399906147a3565b80156123e65780601f106123bb576101008083540402835291602001916123e6565b820191906000526020600020905b8154815290600101906020018083116123c957829003601f168201915b5050505050905060006123f7612739565b905060008151141561240d578192505050612450565b60008251111561244257808260405160200161242a92919061405f565b60405160208183030381529060405292505050612450565b61244b846127cb565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061252057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612530575061252f82612872565b5b9050919050565b6125428383836128dc565b505050565b61255183836129f0565b61255e60008484846125a2565b61259d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125949061419e565b60405180910390fd5b505050565b60006125c38473ffffffffffffffffffffffffffffffffffffffff16612bbe565b1561272c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026125ec611c1d565b8786866040518563ffffffff1660e01b815260040161260e94939291906140d5565b602060405180830381600087803b15801561262857600080fd5b505af192505050801561265957506040513d601f19601f8201168201806040525081019061265691906134d0565b60015b6126dc573d8060008114612689576040519150601f19603f3d011682016040523d82523d6000602084013e61268e565b606091505b506000815114156126d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126cb9061419e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612731565b600190505b949350505050565b606060108054612748906147a3565b80601f0160208091040260200160405190810160405280929190818152602001828054612774906147a3565b80156127c15780601f10612796576101008083540402835291602001916127c1565b820191906000526020600020905b8154815290600101906020018083116127a457829003601f168201915b5050505050905090565b60606127d682611bb1565b612815576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161280c906143de565b60405180910390fd5b600061281f612739565b9050600081511161283f576040518060200160405280600081525061286a565b8061284984612bd1565b60405160200161285a92919061405f565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6128e7838383612d7e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561292a5761292581612d83565b612969565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612968576129678382612dcc565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129ac576129a781612f39565b6129eb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146129ea576129e9828261307c565b5b5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a579061433e565b60405180910390fd5b612a6981611bb1565b15612aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aa0906141fe565b60405180910390fd5b612ab560008383612537565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b0591906145d8565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60606000821415612c19576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d79565b600082905060005b60008214612c4b578080612c34906147d5565b915050600a82612c44919061462e565b9150612c21565b60008167ffffffffffffffff811115612c8d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612cbf5781602001600182028036833780820191505090505b5090505b60008514612d7257600182612cd891906146b9565b9150600a85612ce7919061481e565b6030612cf391906145d8565b60f81b818381518110612d2f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d6b919061462e565b9450612cc3565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612dd9846111ca565b612de391906146b9565b9050600060086000848152602001908152602001600020549050818114612ec8576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612f4d91906146b9565b90506000600a6000848152602001908152602001600020549050600060098381548110612fa3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612feb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480613060577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613087836111ca565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b828054613107906147a3565b90600052602060002090601f0160209004810192826131295760008555613170565b82601f1061314257805160ff1916838001178555613170565b82800160010185558215613170579182015b8281111561316f578251825591602001919060010190613154565b5b50905061317d9190613181565b5090565b5b8082111561319a576000816000905550600101613182565b5090565b60006131b16131ac8461452a565b6144f9565b9050828152602081018484840111156131c957600080fd5b6131d4848285614761565b509392505050565b60006131ef6131ea8461455a565b6144f9565b90508281526020810184848401111561320757600080fd5b613212848285614761565b509392505050565b6000813590506132298161491c565b92915050565b60008135905061323e81614933565b92915050565b6000813590506132538161494a565b92915050565b6000815190506132688161494a565b92915050565b600082601f83011261327f57600080fd5b813561328f84826020860161319e565b91505092915050565b600082601f8301126132a957600080fd5b81356132b98482602086016131dc565b91505092915050565b6000813590506132d181614961565b92915050565b6000602082840312156132e957600080fd5b60006132f78482850161321a565b91505092915050565b6000806040838503121561331357600080fd5b60006133218582860161321a565b92505060206133328582860161321a565b9150509250929050565b60008060006060848603121561335157600080fd5b600061335f8682870161321a565b93505060206133708682870161321a565b9250506040613381868287016132c2565b9150509250925092565b600080600080608085870312156133a157600080fd5b60006133af8782880161321a565b94505060206133c08782880161321a565b93505060406133d1878288016132c2565b925050606085013567ffffffffffffffff8111156133ee57600080fd5b6133fa8782880161326e565b91505092959194509250565b6000806040838503121561341957600080fd5b60006134278582860161321a565b92505060206134388582860161322f565b9150509250929050565b6000806040838503121561345557600080fd5b60006134638582860161321a565b9250506020613474858286016132c2565b9150509250929050565b60006020828403121561349057600080fd5b600061349e8482850161322f565b91505092915050565b6000602082840312156134b957600080fd5b60006134c784828501613244565b91505092915050565b6000602082840312156134e257600080fd5b60006134f084828501613259565b91505092915050565b60006020828403121561350b57600080fd5b600082013567ffffffffffffffff81111561352557600080fd5b61353184828501613298565b91505092915050565b60006020828403121561354c57600080fd5b600061355a848285016132c2565b91505092915050565b61356c816146ed565b82525050565b61357b816146ff565b82525050565b600061358c8261458a565b61359681856145a0565b93506135a6818560208601614770565b6135af8161490b565b840191505092915050565b60006135c582614595565b6135cf81856145bc565b93506135df818560208601614770565b6135e88161490b565b840191505092915050565b60006135fe82614595565b61360881856145cd565b9350613618818560208601614770565b80840191505092915050565b6000613631602b836145bc565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b60006136976033836145bc565b91507f53656e64657220697320747279696e6720746f206d696e74206d6f726520746860008301527f616e20616c6c6f636174656420746f6b656e73000000000000000000000000006020830152604082019050919050565b60006136fd6032836145bc565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006137636026836145bc565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006137c9602c836145bc565b91507f4e6f7420656e6f756768204554482073656e742c20706c65617365206368656360008301527f6b206d696e7420707269636500000000000000000000000000000000000000006020830152604082019050919050565b600061382f601c836145bc565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061386f6024836145bc565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138d56019836145bc565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613915602c836145bc565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061397b600e836145bc565b91507f496e76616c69642073656e6465720000000000000000000000000000000000006000830152602082019050919050565b60006139bb6038836145bc565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613a21600e836145bc565b91507f496e76616c69642053656e6465720000000000000000000000000000000000006000830152602082019050919050565b6000613a61602a836145bc565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ac76029836145bc565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b2d6020836145bc565b91507f507572636861736520776f756c6420657863656564206d617820737570706c796000830152602082019050919050565b6000613b6d6020836145bc565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613bad6031836145bc565b91507f45524337323155524953746f726167653a2055524920717565727920666f722060008301527f6e6f6e6578697374656e7420746f6b656e0000000000000000000000000000006020830152604082019050919050565b6000613c13602c836145bc565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613c796005836145cd565b91507f2e6a736f6e0000000000000000000000000000000000000000000000000000006000830152600582019050919050565b6000613cb96020836145bc565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613cf96029836145bc565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d5f602f836145bc565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613dc56022836145bc565b91507f53616c65206d7573742062652061637469766520746f206d696e7420746f6b6560008301527f6e730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e2b6021836145bc565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613e916000836145b1565b9150600082019050919050565b6000613eab6031836145bc565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613f11602c836145bc565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000613f776030836145bc565b91507f53656e64657220616c7265616479206d696e74656420616c6c2074686569722060008301527f616c6c6f636174656420746f6b656e73000000000000000000000000000000006020830152604082019050919050565b6000613fdd6015836145bc565b91507f4d6178203220706572207472616e73616374696f6e00000000000000000000006000830152602082019050919050565b600061401d601f836145bc565b91507f4d6178696d756d20726573657276657320616c7265616479206d696e746564006000830152602082019050919050565b61405981614757565b82525050565b600061406b82856135f3565b915061407782846135f3565b91508190509392505050565b600061408f82846135f3565b915061409a82613c6c565b915081905092915050565b60006140b082613e84565b9150819050919050565b60006020820190506140cf6000830184613563565b92915050565b60006080820190506140ea6000830187613563565b6140f76020830186613563565b6141046040830185614050565b81810360608301526141168184613581565b905095945050505050565b60006020820190506141366000830184613572565b92915050565b6000602082019050818103600083015261415681846135ba565b905092915050565b6000602082019050818103600083015261417781613624565b9050919050565b600060208201905081810360008301526141978161368a565b9050919050565b600060208201905081810360008301526141b7816136f0565b9050919050565b600060208201905081810360008301526141d781613756565b9050919050565b600060208201905081810360008301526141f7816137bc565b9050919050565b6000602082019050818103600083015261421781613822565b9050919050565b6000602082019050818103600083015261423781613862565b9050919050565b60006020820190508181036000830152614257816138c8565b9050919050565b6000602082019050818103600083015261427781613908565b9050919050565b600060208201905081810360008301526142978161396e565b9050919050565b600060208201905081810360008301526142b7816139ae565b9050919050565b600060208201905081810360008301526142d781613a14565b9050919050565b600060208201905081810360008301526142f781613a54565b9050919050565b6000602082019050818103600083015261431781613aba565b9050919050565b6000602082019050818103600083015261433781613b20565b9050919050565b6000602082019050818103600083015261435781613b60565b9050919050565b6000602082019050818103600083015261437781613ba0565b9050919050565b6000602082019050818103600083015261439781613c06565b9050919050565b600060208201905081810360008301526143b781613cac565b9050919050565b600060208201905081810360008301526143d781613cec565b9050919050565b600060208201905081810360008301526143f781613d52565b9050919050565b6000602082019050818103600083015261441781613db8565b9050919050565b6000602082019050818103600083015261443781613e1e565b9050919050565b6000602082019050818103600083015261445781613e9e565b9050919050565b6000602082019050818103600083015261447781613f04565b9050919050565b6000602082019050818103600083015261449781613f6a565b9050919050565b600060208201905081810360008301526144b781613fd0565b9050919050565b600060208201905081810360008301526144d781614010565b9050919050565b60006020820190506144f36000830184614050565b92915050565b6000604051905081810181811067ffffffffffffffff821117156145205761451f6148dc565b5b8060405250919050565b600067ffffffffffffffff821115614545576145446148dc565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614575576145746148dc565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145e382614757565b91506145ee83614757565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146235761462261484f565b5b828201905092915050565b600061463982614757565b915061464483614757565b9250826146545761465361487e565b5b828204905092915050565b600061466a82614757565b915061467583614757565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146ae576146ad61484f565b5b828202905092915050565b60006146c482614757565b91506146cf83614757565b9250828210156146e2576146e161484f565b5b828203905092915050565b60006146f882614737565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561478e578082015181840152602081019050614773565b8381111561479d576000848401525b50505050565b600060028204905060018216806147bb57607f821691505b602082108114156147cf576147ce6148ad565b5b50919050565b60006147e082614757565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148135761481261484f565b5b600182019050919050565b600061482982614757565b915061483483614757565b9250826148445761484361487e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614925816146ed565b811461493057600080fd5b50565b61493c816146ff565b811461494757600080fd5b50565b6149538161470b565b811461495e57600080fd5b50565b61496a81614757565b811461497557600080fd5b5056fea2646970667358221220d1da4d724deaf2af5c460164db4e6834540042ce7433c76531daa92c0c36648464736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d54696e6273667235384674676651785571705168513444394a4d543248474e3759596248506170595a7737652f000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): https://gateway.pinata.cloud/ipfs/QmTinbsfr58FtgfQxUqpQhQ4D9JMT2HGN7YYbHPapYZw7e/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [2] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [3] : 732f516d54696e6273667235384674676651785571705168513444394a4d5432
Arg [4] : 48474e3759596248506170595a7737652f000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.