Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 PETS
Holders
3,373
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PETSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HausPets
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract HausPets is ERC721URIStorage, ERC721Burnable, Pausable, Ownable { bytes32 public _merkleRoot; string public baseURI; IERC20 public _gotterdammerung; mapping(address => uint256) public baseQuantityMinted; mapping(address => uint256) public midQuantityMinted; mapping(address => uint256) public rareQuantityMinted; mapping(address => uint256) public tokenQuantityMinted; uint256 public rareCounter = 0; uint256 public midCounter = 390; uint256 public baseCounter = 3112; uint256 public tokenCounter = 7777; constructor(string memory ipfsBaseUri, bytes32 merkleRoot, address gotterdammerung) ERC721 ("hauspets", "PETS") { baseURI = ipfsBaseUri; _merkleRoot = merkleRoot; _gotterdammerung = IERC20(gotterdammerung); pause(); } function adoptPets(uint256 baseQuantity, uint256 midQuantity, uint256 rareQuantity, uint256 allowedBaseQuantity, uint256 allowedMidQuantity, uint256 allowedRareQuantity, bytes32[] calldata proof) public whenNotPaused { require(baseQuantity + midQuantity + rareQuantity <= 10, "Max 10 per txn"); require(canMintQuantity(msg.sender, allowedBaseQuantity, allowedMidQuantity, allowedRareQuantity, proof), "Failed quantity proof check"); if (baseQuantity > 0) { require(baseQuantity + baseQuantityMinted[msg.sender] <= allowedBaseQuantity, "Exceeds allowed v0.03 quantity"); baseQuantityMinted[msg.sender] = baseQuantityMinted[msg.sender] + baseQuantity; for(uint256 i = 0; i < baseQuantity; i++) { _safeMint(msg.sender, baseCounter); _setTokenURI(baseCounter, Strings.toString(baseCounter)); baseCounter++; } } if (midQuantity > 0) { require(midQuantity + midQuantityMinted[msg.sender] <= allowedMidQuantity, "Exceeds allowed v0.02 quantity"); midQuantityMinted[msg.sender] = midQuantityMinted[msg.sender] + midQuantity; for(uint256 i = 0; i < midQuantity; i++) { _safeMint(msg.sender, midCounter); _setTokenURI(midCounter, Strings.toString(midCounter)); midCounter++; } } if (rareQuantity > 0) { require(rareQuantity + rareQuantityMinted[msg.sender] <= allowedRareQuantity, "Exceeds allowed v0.01 quantity"); rareQuantityMinted[msg.sender] = rareQuantityMinted[msg.sender] + rareQuantity; for(uint256 i = 0; i < rareQuantity; i++) { _safeMint(msg.sender, rareCounter); _setTokenURI(rareCounter, Strings.toString(rareCounter)); rareCounter++; } } } function adoptTokenPet(uint256 quantity) public whenNotPaused { require(quantity + tokenCounter < 8027, "No supply remaining"); require(quantity + tokenQuantityMinted[msg.sender] <= 2, "Exceeds allowed quantity"); uint256 allowance = _gotterdammerung.allowance(msg.sender, address(this)); require(allowance >= quantity * 25000 * 10**uint(18), "Exceeds approved token allowance"); tokenQuantityMinted[msg.sender] = tokenQuantityMinted[msg.sender] + quantity; _gotterdammerung.transferFrom(msg.sender, address(0xd61F1c85df608701e3cd8CB245DBa925430e8854), quantity * 25000 * 10**uint(18)); for(uint256 i = 0; i < quantity; i++) { _safeMint(msg.sender, tokenCounter); _setTokenURI(tokenCounter, Strings.toString(tokenCounter)); tokenCounter++; } } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function _baseURI() internal view override(ERC721) returns (string memory) { return baseURI; } function setBaseURI(string memory uri) public onlyOwner { baseURI = uri; } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function canMintQuantity(address account, uint256 allowedBase, uint256 allowedMid, uint256 allowedRare, bytes32[] calldata proof) public view returns (bool) { return MerkleProof.verify(proof, _merkleRoot, generateQuantityMerkleLeaf(account, allowedBase, allowedMid, allowedRare)); } function generateQuantityMerkleLeaf(address account, uint256 allowedBaseQuantity, uint256 allowedMidQuantity, uint256 allowedRareQuantity) internal pure returns (bytes32) { return keccak256(abi.encodePacked(account, allowedBaseQuantity, allowedMidQuantity, allowedRareQuantity)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"ipfsBaseUri","type":"string"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"address","name":"gotterdammerung","type":"address"}],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_gotterdammerung","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"baseQuantity","type":"uint256"},{"internalType":"uint256","name":"midQuantity","type":"uint256"},{"internalType":"uint256","name":"rareQuantity","type":"uint256"},{"internalType":"uint256","name":"allowedBaseQuantity","type":"uint256"},{"internalType":"uint256","name":"allowedMidQuantity","type":"uint256"},{"internalType":"uint256","name":"allowedRareQuantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"adoptPets","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"adoptTokenPet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"baseQuantityMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowedBase","type":"uint256"},{"internalType":"uint256","name":"allowedMid","type":"uint256"},{"internalType":"uint256","name":"allowedRare","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"canMintQuantity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"midCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"midQuantityMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rareCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rareQuantityMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenQuantityMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600f55610186601055610c28601155611e616012553480156200002857600080fd5b506040516200580e3803806200580e83398181016040528101906200004e9190620006f8565b6040518060400160405280600881526020017f68617573706574730000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f50455453000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000d29291906200040b565b508060019080519060200190620000eb9291906200040b565b5050506000600760006101000a81548160ff021916908315150217905550620001296200011d620001a360201b60201c565b620001ab60201b60201c565b8260099080519060200190620001419291906200040b565b508160088190555080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200019a6200027160201b60201c565b505050620008fb565b600033905090565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000281620001a360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002a76200031260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000300576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002f790620007d4565b60405180910390fd5b620003106200033c60201b60201c565b565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6200034c620003f460201b60201c565b156200038f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003869062000846565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003db620001a360201b60201c565b604051620003ea919062000879565b60405180910390a1565b6000600760009054906101000a900460ff16905090565b8280546200041990620008c5565b90600052602060002090601f0160209004810192826200043d576000855562000489565b82601f106200045857805160ff191683800117855562000489565b8280016001018555821562000489579182015b82811115620004885782518255916020019190600101906200046b565b5b5090506200049891906200049c565b5090565b5b80821115620004b75760008160009055506001016200049d565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200052482620004d9565b810181811067ffffffffffffffff82111715620005465762000545620004ea565b5b80604052505050565b60006200055b620004bb565b905062000569828262000519565b919050565b600067ffffffffffffffff8211156200058c576200058b620004ea565b5b6200059782620004d9565b9050602081019050919050565b60005b83811015620005c4578082015181840152602081019050620005a7565b83811115620005d4576000848401525b50505050565b6000620005f1620005eb846200056e565b6200054f565b90508281526020810184848401111562000610576200060f620004d4565b5b6200061d848285620005a4565b509392505050565b600082601f8301126200063d576200063c620004cf565b5b81516200064f848260208601620005da565b91505092915050565b6000819050919050565b6200066d8162000658565b81146200067957600080fd5b50565b6000815190506200068d8162000662565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006c08262000693565b9050919050565b620006d281620006b3565b8114620006de57600080fd5b50565b600081519050620006f281620006c7565b92915050565b600080600060608486031215620007145762000713620004c5565b5b600084015167ffffffffffffffff811115620007355762000734620004ca565b5b620007438682870162000625565b935050602062000756868287016200067c565b92505060406200076986828701620006e1565b9150509250925092565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620007bc60208362000773565b9150620007c98262000784565b602082019050919050565b60006020820190508181036000830152620007ef81620007ad565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006200082e60108362000773565b91506200083b82620007f6565b602082019050919050565b6000602082019050818103600083015262000861816200081f565b9050919050565b6200087381620006b3565b82525050565b600060208201905062000890600083018462000868565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620008de57607f821691505b60208210811415620008f557620008f462000896565b5b50919050565b614f03806200090b6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80637b60d34011610125578063b88d4fde116100ad578063e985e9c51161007c578063e985e9c5146105ee578063f2e2cc6e1461061e578063f2fde38b1461064e578063fd5fdaa31461066a578063fe2ff0661461068857610211565b8063b88d4fde14610554578063c87b56dd14610570578063d082e381146105a0578063e056c47b146105be57610211565b80638da5cb5b116100f45780638da5cb5b146104b057806395d89b41146104ce5780639b261532146104ec578063a22cb4651461051c578063b33a8e9f1461053857610211565b80637b60d340146104285780638456cb591461045857806388beafee146104625780638c890a1b1461049257610211565b806342842e0e116101a85780635c975abb116101775780635c975abb146103825780636352211e146103a05780636c0360eb146103d057806370a08231146103ee578063715018a61461041e57610211565b806342842e0e1461031257806342966c681461032e5780634ffd4dcf1461034a57806355f804b31461036657610211565b8063095ea7b3116101e4578063095ea7b3146102b257806323b872dd146102ce5780632fc37ab2146102ea5780633f4ba83a1461030857610211565b806301ffc9a71461021657806302db55211461024657806306fdde0314610264578063081812fc14610282575b600080fd5b610230600480360381019061022b91906130d3565b6106a6565b60405161023d919061311b565b60405180910390f35b61024e610788565b60405161025b919061314f565b60405180910390f35b61026c61078e565b6040516102799190613203565b60405180910390f35b61029c60048036038101906102979190613251565b610820565b6040516102a991906132bf565b60405180910390f35b6102cc60048036038101906102c79190613306565b6108a5565b005b6102e860048036038101906102e39190613346565b6109bd565b005b6102f2610a1d565b6040516102ff91906133b2565b60405180910390f35b610310610a23565b005b61032c60048036038101906103279190613346565b610aa9565b005b61034860048036038101906103439190613251565b610ac9565b005b610364600480360381019061035f9190613432565b610b25565b005b610380600480360381019061037b9190613624565b611098565b005b61038a61112e565b604051610397919061311b565b60405180910390f35b6103ba60048036038101906103b59190613251565b611145565b6040516103c791906132bf565b60405180910390f35b6103d86111f7565b6040516103e59190613203565b60405180910390f35b6104086004803603810190610403919061366d565b611285565b604051610415919061314f565b60405180910390f35b61042661133d565b005b610442600480360381019061043d919061366d565b6113c5565b60405161044f919061314f565b60405180910390f35b6104606113dd565b005b61047c6004803603810190610477919061369a565b611463565b604051610489919061311b565b60405180910390f35b61049a6114ca565b6040516104a79190613793565b60405180910390f35b6104b86114f0565b6040516104c591906132bf565b60405180910390f35b6104d661151a565b6040516104e39190613203565b60405180910390f35b6105066004803603810190610501919061366d565b6115ac565b604051610513919061314f565b60405180910390f35b610536600480360381019061053191906137da565b6115c4565b005b610552600480360381019061054d9190613251565b6115da565b005b61056e600480360381019061056991906138bb565b6119d2565b005b61058a60048036038101906105859190613251565b611a34565b6040516105979190613203565b60405180910390f35b6105a8611a46565b6040516105b5919061314f565b60405180910390f35b6105d860048036038101906105d3919061366d565b611a4c565b6040516105e5919061314f565b60405180910390f35b6106086004803603810190610603919061393e565b611a64565b604051610615919061311b565b60405180910390f35b6106386004803603810190610633919061366d565b611af8565b604051610645919061314f565b60405180910390f35b6106686004803603810190610663919061366d565b611b10565b005b610672611c08565b60405161067f919061314f565b60405180910390f35b610690611c0e565b60405161069d919061314f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610781575061078082611c14565b5b9050919050565b600f5481565b60606000805461079d906139ad565b80601f01602080910402602001604051908101604052809291908181526020018280546107c9906139ad565b80156108165780601f106107eb57610100808354040283529160200191610816565b820191906000526020600020905b8154815290600101906020018083116107f957829003601f168201915b5050505050905090565b600061082b82611c7e565b61086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086190613a51565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b082611145565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091890613ae3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610940611cea565b73ffffffffffffffffffffffffffffffffffffffff16148061096f575061096e81610969611cea565b611a64565b5b6109ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a590613b75565b60405180910390fd5b6109b88383611cf2565b505050565b6109ce6109c8611cea565b82611dab565b610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613c07565b60405180910390fd5b610a18838383611e89565b505050565b60085481565b610a2b611cea565b73ffffffffffffffffffffffffffffffffffffffff16610a496114f0565b73ffffffffffffffffffffffffffffffffffffffff1614610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690613c73565b60405180910390fd5b610aa76120f0565b565b610ac4838383604051806020016040528060008152506119d2565b505050565b610ada610ad4611cea565b82611dab565b610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1090613d05565b60405180910390fd5b610b2281612192565b50565b610b2d61112e565b15610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490613d71565b60405180910390fd5b600a86888a610b7c9190613dc0565b610b869190613dc0565b1115610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613e62565b60405180910390fd5b610bd5338686868686611463565b610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b90613ece565b60405180910390fd5b6000881115610d925784600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205489610c699190613dc0565b1115610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca190613f3a565b60405180910390fd5b87600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cf59190613dc0565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b88811015610d9057610d4f3360115461219e565b610d65601154610d606011546121bc565b61231d565b60116000815480929190610d7890613f5a565b91905055508080610d8890613f5a565b915050610d3b565b505b6000871115610f105783600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205488610de79190613dc0565b1115610e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1f90613fef565b60405180910390fd5b86600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e739190613dc0565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b87811015610f0e57610ecd3360105461219e565b610ee3601054610ede6010546121bc565b61231d565b60106000815480929190610ef690613f5a565b91905055508080610f0690613f5a565b915050610eb9565b505b600086111561108e5782600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487610f659190613dc0565b1115610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d9061405b565b60405180910390fd5b85600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff19190613dc0565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8681101561108c5761104b33600f5461219e565b611061600f5461105c600f546121bc565b61231d565b600f600081548092919061107490613f5a565b9190505550808061108490613f5a565b915050611037565b505b5050505050505050565b6110a0611cea565b73ffffffffffffffffffffffffffffffffffffffff166110be6114f0565b73ffffffffffffffffffffffffffffffffffffffff1614611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90613c73565b60405180910390fd5b806009908051906020019061112a929190612f84565b5050565b6000600760009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906140ed565b60405180910390fd5b80915050919050565b60098054611204906139ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611230906139ad565b801561127d5780601f106112525761010080835404028352916020019161127d565b820191906000526020600020905b81548152906001019060200180831161126057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed9061417f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611345611cea565b73ffffffffffffffffffffffffffffffffffffffff166113636114f0565b73ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090613c73565b60405180910390fd5b6113c36000612391565b565b600c6020528060005260406000206000915090505481565b6113e5611cea565b73ffffffffffffffffffffffffffffffffffffffff166114036114f0565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090613c73565b60405180910390fd5b611461612457565b565b60006114be838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506008546114b98a8a8a8a6124fa565b612533565b90509695505050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611529906139ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611555906139ad565b80156115a25780601f10611577576101008083540402835291602001916115a2565b820191906000526020600020905b81548152906001019060200180831161158557829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090505481565b6115d66115cf611cea565b838361254a565b5050565b6115e261112e565b15611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613d71565b60405180910390fd5b611f5b601254826116339190613dc0565b10611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a906141eb565b60405180910390fd5b6002600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826116c09190613dc0565b1115611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890614257565b60405180910390fd5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611760929190614277565b602060405180830381865afa15801561177d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a191906142b5565b90506012600a6117b19190614415565b6161a8836117bf9190614460565b6117c99190614460565b81101561180b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180290614506565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118569190613dc0565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3373d61f1c85df608701e3cd8cb245dba925430e88546012600a6118fb9190614415565b6161a8876119099190614460565b6119139190614460565b6040518463ffffffff1660e01b815260040161193193929190614526565b6020604051808303816000875af1158015611950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119749190614572565b5060005b828110156119cd5761198c3360125461219e565b6119a260125461199d6012546121bc565b61231d565b601260008154809291906119b590613f5a565b919050555080806119c590613f5a565b915050611978565b505050565b6119e36119dd611cea565b83611dab565b611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1990613c07565b60405180910390fd5b611a2e848484846126b7565b50505050565b6060611a3f82612713565b9050919050565b60125481565b600d6020528060005260406000206000915090505481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e6020528060005260406000206000915090505481565b611b18611cea565b73ffffffffffffffffffffffffffffffffffffffff16611b366114f0565b73ffffffffffffffffffffffffffffffffffffffff1614611b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8390613c73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390614611565b60405180910390fd5b611c0581612391565b50565b60115481565b60105481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d6583611145565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611db682611c7e565b611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec906146a3565b60405180910390fd5b6000611e0083611145565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e6f57508373ffffffffffffffffffffffffffffffffffffffff16611e5784610820565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e805750611e7f8185611a64565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ea982611145565b73ffffffffffffffffffffffffffffffffffffffff1614611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef690614735565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f66906147c7565b60405180910390fd5b611f7a838383612865565b611f85600082611cf2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd591906147e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461202c9190613dc0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120eb83838361286a565b505050565b6120f861112e565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90614867565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61217b611cea565b60405161218891906132bf565b60405180910390a1565b61219b8161286f565b50565b6121b88282604051806020016040528060008152506128c2565b5050565b60606000821415612204576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612318565b600082905060005b6000821461223657808061221f90613f5a565b915050600a8261222f91906148b6565b915061220c565b60008167ffffffffffffffff811115612252576122516134f9565b5b6040519080825280601f01601f1916602001820160405280156122845781602001600182028036833780820191505090505b5090505b600085146123115760018261229d91906147e7565b9150600a856122ac91906148e7565b60306122b89190613dc0565b60f81b8183815181106122ce576122cd614918565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561230a91906148b6565b9450612288565b8093505050505b919050565b61232682611c7e565b612365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c906149b9565b60405180910390fd5b8060066000848152602001908152602001600020908051906020019061238c929190612f84565b505050565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61245f61112e565b1561249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690613d71565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124e3611cea565b6040516124f091906132bf565b60405180910390a1565b6000848484846040516020016125139493929190614a42565b604051602081830303815290604052805190602001209050949350505050565b600082612540858461291d565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b090614adc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126aa919061311b565b60405180910390a3505050565b6126c2848484611e89565b6126ce84848484612992565b61270d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270490614b6e565b60405180910390fd5b50505050565b606061271e82611c7e565b61275d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275490614c00565b60405180910390fd5b600060066000848152602001908152602001600020805461277d906139ad565b80601f01602080910402602001604051908101604052809291908181526020018280546127a9906139ad565b80156127f65780601f106127cb576101008083540402835291602001916127f6565b820191906000526020600020905b8154815290600101906020018083116127d957829003601f168201915b505050505090506000612807612b1a565b905060008151141561281d578192505050612860565b60008251111561285257808260405160200161283a929190614c5c565b60405160208183030381529060405292505050612860565b61285b84612bac565b925050505b919050565b505050565b505050565b61287881612c53565b6000600660008381526020019081526020016000208054612898906139ad565b9050146128bf576006600082815260200190815260200160002060006128be919061300a565b5b50565b6128cc8383612d70565b6128d96000848484612992565b612918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290f90614b6e565b60405180910390fd5b505050565b60008082905060005b845181101561298757600085828151811061294457612943614918565b5b602002602001015190508083116129665761295f8382612f4a565b9250612973565b6129708184612f4a565b92505b50808061297f90613f5a565b915050612926565b508091505092915050565b60006129b38473ffffffffffffffffffffffffffffffffffffffff16612f61565b15612b0d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129dc611cea565b8786866040518563ffffffff1660e01b81526004016129fe9493929190614cd5565b6020604051808303816000875af1925050508015612a3a57506040513d601f19601f82011682018060405250810190612a379190614d36565b60015b612abd573d8060008114612a6a576040519150601f19603f3d011682016040523d82523d6000602084013e612a6f565b606091505b50600081511415612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac90614b6e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b12565b600190505b949350505050565b606060098054612b29906139ad565b80601f0160208091040260200160405190810160405280929190818152602001828054612b55906139ad565b8015612ba25780601f10612b7757610100808354040283529160200191612ba2565b820191906000526020600020905b815481529060010190602001808311612b8557829003601f168201915b5050505050905090565b6060612bb782611c7e565b612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed90614dd5565b60405180910390fd5b6000612c00612b1a565b90506000815111612c205760405180602001604052806000815250612c4b565b80612c2a846121bc565b604051602001612c3b929190614c5c565b6040516020818303038152906040525b915050919050565b6000612c5e82611145565b9050612c6c81600084612865565b612c77600083611cf2565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cc791906147e7565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d6c8160008461286a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd790614e41565b60405180910390fd5b612de981611c7e565b15612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2090614ead565b60405180910390fd5b612e3560008383612865565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e859190613dc0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f466000838361286a565b5050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612f90906139ad565b90600052602060002090601f016020900481019282612fb25760008555612ff9565b82601f10612fcb57805160ff1916838001178555612ff9565b82800160010185558215612ff9579182015b82811115612ff8578251825591602001919060010190612fdd565b5b509050613006919061304a565b5090565b508054613016906139ad565b6000825580601f106130285750613047565b601f016020900490600052602060002090810190613046919061304a565b5b50565b5b8082111561306357600081600090555060010161304b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130b08161307b565b81146130bb57600080fd5b50565b6000813590506130cd816130a7565b92915050565b6000602082840312156130e9576130e8613071565b5b60006130f7848285016130be565b91505092915050565b60008115159050919050565b61311581613100565b82525050565b6000602082019050613130600083018461310c565b92915050565b6000819050919050565b61314981613136565b82525050565b60006020820190506131646000830184613140565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a4578082015181840152602081019050613189565b838111156131b3576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d58261316a565b6131df8185613175565b93506131ef818560208601613186565b6131f8816131b9565b840191505092915050565b6000602082019050818103600083015261321d81846131ca565b905092915050565b61322e81613136565b811461323957600080fd5b50565b60008135905061324b81613225565b92915050565b60006020828403121561326757613266613071565b5b60006132758482850161323c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132a98261327e565b9050919050565b6132b98161329e565b82525050565b60006020820190506132d460008301846132b0565b92915050565b6132e38161329e565b81146132ee57600080fd5b50565b600081359050613300816132da565b92915050565b6000806040838503121561331d5761331c613071565b5b600061332b858286016132f1565b925050602061333c8582860161323c565b9150509250929050565b60008060006060848603121561335f5761335e613071565b5b600061336d868287016132f1565b935050602061337e868287016132f1565b925050604061338f8682870161323c565b9150509250925092565b6000819050919050565b6133ac81613399565b82525050565b60006020820190506133c760008301846133a3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126133f2576133f16133cd565b5b8235905067ffffffffffffffff81111561340f5761340e6133d2565b5b60208301915083602082028301111561342b5761342a6133d7565b5b9250929050565b60008060008060008060008060e0898b03121561345257613451613071565b5b60006134608b828c0161323c565b98505060206134718b828c0161323c565b97505060406134828b828c0161323c565b96505060606134938b828c0161323c565b95505060806134a48b828c0161323c565b94505060a06134b58b828c0161323c565b93505060c089013567ffffffffffffffff8111156134d6576134d5613076565b5b6134e28b828c016133dc565b92509250509295985092959890939650565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613531826131b9565b810181811067ffffffffffffffff821117156135505761354f6134f9565b5b80604052505050565b6000613563613067565b905061356f8282613528565b919050565b600067ffffffffffffffff82111561358f5761358e6134f9565b5b613598826131b9565b9050602081019050919050565b82818337600083830152505050565b60006135c76135c284613574565b613559565b9050828152602081018484840111156135e3576135e26134f4565b5b6135ee8482856135a5565b509392505050565b600082601f83011261360b5761360a6133cd565b5b813561361b8482602086016135b4565b91505092915050565b60006020828403121561363a57613639613071565b5b600082013567ffffffffffffffff81111561365857613657613076565b5b613664848285016135f6565b91505092915050565b60006020828403121561368357613682613071565b5b6000613691848285016132f1565b91505092915050565b60008060008060008060a087890312156136b7576136b6613071565b5b60006136c589828a016132f1565b96505060206136d689828a0161323c565b95505060406136e789828a0161323c565b94505060606136f889828a0161323c565b935050608087013567ffffffffffffffff81111561371957613718613076565b5b61372589828a016133dc565b92509250509295509295509295565b6000819050919050565b600061375961375461374f8461327e565b613734565b61327e565b9050919050565b600061376b8261373e565b9050919050565b600061377d82613760565b9050919050565b61378d81613772565b82525050565b60006020820190506137a86000830184613784565b92915050565b6137b781613100565b81146137c257600080fd5b50565b6000813590506137d4816137ae565b92915050565b600080604083850312156137f1576137f0613071565b5b60006137ff858286016132f1565b9250506020613810858286016137c5565b9150509250929050565b600067ffffffffffffffff821115613835576138346134f9565b5b61383e826131b9565b9050602081019050919050565b600061385e6138598461381a565b613559565b90508281526020810184848401111561387a576138796134f4565b5b6138858482856135a5565b509392505050565b600082601f8301126138a2576138a16133cd565b5b81356138b284826020860161384b565b91505092915050565b600080600080608085870312156138d5576138d4613071565b5b60006138e3878288016132f1565b94505060206138f4878288016132f1565b93505060406139058782880161323c565b925050606085013567ffffffffffffffff81111561392657613925613076565b5b6139328782880161388d565b91505092959194509250565b6000806040838503121561395557613954613071565b5b6000613963858286016132f1565b9250506020613974858286016132f1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139c557607f821691505b602082108114156139d9576139d861397e565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613a3b602c83613175565b9150613a46826139df565b604082019050919050565b60006020820190508181036000830152613a6a81613a2e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613acd602183613175565b9150613ad882613a71565b604082019050919050565b60006020820190508181036000830152613afc81613ac0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613b5f603883613175565b9150613b6a82613b03565b604082019050919050565b60006020820190508181036000830152613b8e81613b52565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613bf1603183613175565b9150613bfc82613b95565b604082019050919050565b60006020820190508181036000830152613c2081613be4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c5d602083613175565b9150613c6882613c27565b602082019050919050565b60006020820190508181036000830152613c8c81613c50565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000613cef603083613175565b9150613cfa82613c93565b604082019050919050565b60006020820190508181036000830152613d1e81613ce2565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613d5b601083613175565b9150613d6682613d25565b602082019050919050565b60006020820190508181036000830152613d8a81613d4e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dcb82613136565b9150613dd683613136565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e0b57613e0a613d91565b5b828201905092915050565b7f4d6178203130207065722074786e000000000000000000000000000000000000600082015250565b6000613e4c600e83613175565b9150613e5782613e16565b602082019050919050565b60006020820190508181036000830152613e7b81613e3f565b9050919050565b7f4661696c6564207175616e746974792070726f6f6620636865636b0000000000600082015250565b6000613eb8601b83613175565b9150613ec382613e82565b602082019050919050565b60006020820190508181036000830152613ee781613eab565b9050919050565b7f4578636565647320616c6c6f7765642076302e3033207175616e746974790000600082015250565b6000613f24601e83613175565b9150613f2f82613eee565b602082019050919050565b60006020820190508181036000830152613f5381613f17565b9050919050565b6000613f6582613136565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f9857613f97613d91565b5b600182019050919050565b7f4578636565647320616c6c6f7765642076302e3032207175616e746974790000600082015250565b6000613fd9601e83613175565b9150613fe482613fa3565b602082019050919050565b6000602082019050818103600083015261400881613fcc565b9050919050565b7f4578636565647320616c6c6f7765642076302e3031207175616e746974790000600082015250565b6000614045601e83613175565b91506140508261400f565b602082019050919050565b6000602082019050818103600083015261407481614038565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006140d7602983613175565b91506140e28261407b565b604082019050919050565b60006020820190508181036000830152614106816140ca565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614169602a83613175565b91506141748261410d565b604082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b7f4e6f20737570706c792072656d61696e696e6700000000000000000000000000600082015250565b60006141d5601383613175565b91506141e08261419f565b602082019050919050565b60006020820190508181036000830152614204816141c8565b9050919050565b7f4578636565647320616c6c6f776564207175616e746974790000000000000000600082015250565b6000614241601883613175565b915061424c8261420b565b602082019050919050565b6000602082019050818103600083015261427081614234565b9050919050565b600060408201905061428c60008301856132b0565b61429960208301846132b0565b9392505050565b6000815190506142af81613225565b92915050565b6000602082840312156142cb576142ca613071565b5b60006142d9848285016142a0565b91505092915050565b60008160011c9050919050565b6000808291508390505b60018511156143395780860481111561431557614314613d91565b5b60018516156143245780820291505b8081029050614332856142e2565b94506142f9565b94509492505050565b600082614352576001905061440e565b81614360576000905061440e565b81600181146143765760028114614380576143af565b600191505061440e565b60ff84111561439257614391613d91565b5b8360020a9150848211156143a9576143a8613d91565b5b5061440e565b5060208310610133831016604e8410600b84101617156143e45782820a9050838111156143df576143de613d91565b5b61440e565b6143f184848460016142ef565b9250905081840481111561440857614407613d91565b5b81810290505b9392505050565b600061442082613136565b915061442b83613136565b92506144587fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614342565b905092915050565b600061446b82613136565b915061447683613136565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144af576144ae613d91565b5b828202905092915050565b7f4578636565647320617070726f76656420746f6b656e20616c6c6f77616e6365600082015250565b60006144f0602083613175565b91506144fb826144ba565b602082019050919050565b6000602082019050818103600083015261451f816144e3565b9050919050565b600060608201905061453b60008301866132b0565b61454860208301856132b0565b6145556040830184613140565b949350505050565b60008151905061456c816137ae565b92915050565b60006020828403121561458857614587613071565b5b60006145968482850161455d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145fb602683613175565b91506146068261459f565b604082019050919050565b6000602082019050818103600083015261462a816145ee565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061468d602c83613175565b915061469882614631565b604082019050919050565b600060208201905081810360008301526146bc81614680565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061471f602583613175565b915061472a826146c3565b604082019050919050565b6000602082019050818103600083015261474e81614712565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006147b1602483613175565b91506147bc82614755565b604082019050919050565b600060208201905081810360008301526147e0816147a4565b9050919050565b60006147f282613136565b91506147fd83613136565b9250828210156148105761480f613d91565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614851601483613175565b915061485c8261481b565b602082019050919050565b6000602082019050818103600083015261488081614844565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148c182613136565b91506148cc83613136565b9250826148dc576148db614887565b5b828204905092915050565b60006148f282613136565b91506148fd83613136565b92508261490d5761490c614887565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b60006149a3602e83613175565b91506149ae82614947565b604082019050919050565b600060208201905081810360008301526149d281614996565b9050919050565b60008160601b9050919050565b60006149f1826149d9565b9050919050565b6000614a03826149e6565b9050919050565b614a1b614a168261329e565b6149f8565b82525050565b6000819050919050565b614a3c614a3782613136565b614a21565b82525050565b6000614a4e8287614a0a565b601482019150614a5e8286614a2b565b602082019150614a6e8285614a2b565b602082019150614a7e8284614a2b565b60208201915081905095945050505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ac6601983613175565b9150614ad182614a90565b602082019050919050565b60006020820190508181036000830152614af581614ab9565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614b58603283613175565b9150614b6382614afc565b604082019050919050565b60006020820190508181036000830152614b8781614b4b565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000614bea603183613175565b9150614bf582614b8e565b604082019050919050565b60006020820190508181036000830152614c1981614bdd565b9050919050565b600081905092915050565b6000614c368261316a565b614c408185614c20565b9350614c50818560208601613186565b80840191505092915050565b6000614c688285614c2b565b9150614c748284614c2b565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614ca782614c80565b614cb18185614c8b565b9350614cc1818560208601613186565b614cca816131b9565b840191505092915050565b6000608082019050614cea60008301876132b0565b614cf760208301866132b0565b614d046040830185613140565b8181036060830152614d168184614c9c565b905095945050505050565b600081519050614d30816130a7565b92915050565b600060208284031215614d4c57614d4b613071565b5b6000614d5a84828501614d21565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614dbf602f83613175565b9150614dca82614d63565b604082019050919050565b60006020820190508181036000830152614dee81614db2565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e2b602083613175565b9150614e3682614df5565b602082019050919050565b60006020820190508181036000830152614e5a81614e1e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614e97601c83613175565b9150614ea282614e61565b602082019050919050565b60006020820190508181036000830152614ec681614e8a565b905091905056fea264697066735822122098e798f5f9c495ea88cfea08e0ff147a67f21543499c7a26f10cf492ad22908064736f6c634300080b0033000000000000000000000000000000000000000000000000000000000000006059216a2965c909edcf9872da4d4b1878af6178f8f52d9644381d57eeec99b3940000000000000000000000008afde8be6d047a0eca574abf89de10e288a229a20000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5776336f3535386d686b314a365754594172636a39766759594d42776d53643746386552354764477a5265422f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80637b60d34011610125578063b88d4fde116100ad578063e985e9c51161007c578063e985e9c5146105ee578063f2e2cc6e1461061e578063f2fde38b1461064e578063fd5fdaa31461066a578063fe2ff0661461068857610211565b8063b88d4fde14610554578063c87b56dd14610570578063d082e381146105a0578063e056c47b146105be57610211565b80638da5cb5b116100f45780638da5cb5b146104b057806395d89b41146104ce5780639b261532146104ec578063a22cb4651461051c578063b33a8e9f1461053857610211565b80637b60d340146104285780638456cb591461045857806388beafee146104625780638c890a1b1461049257610211565b806342842e0e116101a85780635c975abb116101775780635c975abb146103825780636352211e146103a05780636c0360eb146103d057806370a08231146103ee578063715018a61461041e57610211565b806342842e0e1461031257806342966c681461032e5780634ffd4dcf1461034a57806355f804b31461036657610211565b8063095ea7b3116101e4578063095ea7b3146102b257806323b872dd146102ce5780632fc37ab2146102ea5780633f4ba83a1461030857610211565b806301ffc9a71461021657806302db55211461024657806306fdde0314610264578063081812fc14610282575b600080fd5b610230600480360381019061022b91906130d3565b6106a6565b60405161023d919061311b565b60405180910390f35b61024e610788565b60405161025b919061314f565b60405180910390f35b61026c61078e565b6040516102799190613203565b60405180910390f35b61029c60048036038101906102979190613251565b610820565b6040516102a991906132bf565b60405180910390f35b6102cc60048036038101906102c79190613306565b6108a5565b005b6102e860048036038101906102e39190613346565b6109bd565b005b6102f2610a1d565b6040516102ff91906133b2565b60405180910390f35b610310610a23565b005b61032c60048036038101906103279190613346565b610aa9565b005b61034860048036038101906103439190613251565b610ac9565b005b610364600480360381019061035f9190613432565b610b25565b005b610380600480360381019061037b9190613624565b611098565b005b61038a61112e565b604051610397919061311b565b60405180910390f35b6103ba60048036038101906103b59190613251565b611145565b6040516103c791906132bf565b60405180910390f35b6103d86111f7565b6040516103e59190613203565b60405180910390f35b6104086004803603810190610403919061366d565b611285565b604051610415919061314f565b60405180910390f35b61042661133d565b005b610442600480360381019061043d919061366d565b6113c5565b60405161044f919061314f565b60405180910390f35b6104606113dd565b005b61047c6004803603810190610477919061369a565b611463565b604051610489919061311b565b60405180910390f35b61049a6114ca565b6040516104a79190613793565b60405180910390f35b6104b86114f0565b6040516104c591906132bf565b60405180910390f35b6104d661151a565b6040516104e39190613203565b60405180910390f35b6105066004803603810190610501919061366d565b6115ac565b604051610513919061314f565b60405180910390f35b610536600480360381019061053191906137da565b6115c4565b005b610552600480360381019061054d9190613251565b6115da565b005b61056e600480360381019061056991906138bb565b6119d2565b005b61058a60048036038101906105859190613251565b611a34565b6040516105979190613203565b60405180910390f35b6105a8611a46565b6040516105b5919061314f565b60405180910390f35b6105d860048036038101906105d3919061366d565b611a4c565b6040516105e5919061314f565b60405180910390f35b6106086004803603810190610603919061393e565b611a64565b604051610615919061311b565b60405180910390f35b6106386004803603810190610633919061366d565b611af8565b604051610645919061314f565b60405180910390f35b6106686004803603810190610663919061366d565b611b10565b005b610672611c08565b60405161067f919061314f565b60405180910390f35b610690611c0e565b60405161069d919061314f565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061077157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610781575061078082611c14565b5b9050919050565b600f5481565b60606000805461079d906139ad565b80601f01602080910402602001604051908101604052809291908181526020018280546107c9906139ad565b80156108165780601f106107eb57610100808354040283529160200191610816565b820191906000526020600020905b8154815290600101906020018083116107f957829003601f168201915b5050505050905090565b600061082b82611c7e565b61086a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086190613a51565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108b082611145565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610921576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091890613ae3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610940611cea565b73ffffffffffffffffffffffffffffffffffffffff16148061096f575061096e81610969611cea565b611a64565b5b6109ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a590613b75565b60405180910390fd5b6109b88383611cf2565b505050565b6109ce6109c8611cea565b82611dab565b610a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0490613c07565b60405180910390fd5b610a18838383611e89565b505050565b60085481565b610a2b611cea565b73ffffffffffffffffffffffffffffffffffffffff16610a496114f0565b73ffffffffffffffffffffffffffffffffffffffff1614610a9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9690613c73565b60405180910390fd5b610aa76120f0565b565b610ac4838383604051806020016040528060008152506119d2565b505050565b610ada610ad4611cea565b82611dab565b610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1090613d05565b60405180910390fd5b610b2281612192565b50565b610b2d61112e565b15610b6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6490613d71565b60405180910390fd5b600a86888a610b7c9190613dc0565b610b869190613dc0565b1115610bc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbe90613e62565b60405180910390fd5b610bd5338686868686611463565b610c14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0b90613ece565b60405180910390fd5b6000881115610d925784600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205489610c699190613dc0565b1115610caa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca190613f3a565b60405180910390fd5b87600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cf59190613dc0565b600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b88811015610d9057610d4f3360115461219e565b610d65601154610d606011546121bc565b61231d565b60116000815480929190610d7890613f5a565b91905055508080610d8890613f5a565b915050610d3b565b505b6000871115610f105783600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205488610de79190613dc0565b1115610e28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1f90613fef565b60405180910390fd5b86600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e739190613dc0565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b87811015610f0e57610ecd3360105461219e565b610ee3601054610ede6010546121bc565b61231d565b60106000815480929190610ef690613f5a565b91905055508080610f0690613f5a565b915050610eb9565b505b600086111561108e5782600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205487610f659190613dc0565b1115610fa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9d9061405b565b60405180910390fd5b85600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff19190613dc0565b600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060005b8681101561108c5761104b33600f5461219e565b611061600f5461105c600f546121bc565b61231d565b600f600081548092919061107490613f5a565b9190505550808061108490613f5a565b915050611037565b505b5050505050505050565b6110a0611cea565b73ffffffffffffffffffffffffffffffffffffffff166110be6114f0565b73ffffffffffffffffffffffffffffffffffffffff1614611114576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110b90613c73565b60405180910390fd5b806009908051906020019061112a929190612f84565b5050565b6000600760009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e5906140ed565b60405180910390fd5b80915050919050565b60098054611204906139ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611230906139ad565b801561127d5780601f106112525761010080835404028352916020019161127d565b820191906000526020600020905b81548152906001019060200180831161126057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ed9061417f565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611345611cea565b73ffffffffffffffffffffffffffffffffffffffff166113636114f0565b73ffffffffffffffffffffffffffffffffffffffff16146113b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b090613c73565b60405180910390fd5b6113c36000612391565b565b600c6020528060005260406000206000915090505481565b6113e5611cea565b73ffffffffffffffffffffffffffffffffffffffff166114036114f0565b73ffffffffffffffffffffffffffffffffffffffff1614611459576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145090613c73565b60405180910390fd5b611461612457565b565b60006114be838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050506008546114b98a8a8a8a6124fa565b612533565b90509695505050505050565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611529906139ad565b80601f0160208091040260200160405190810160405280929190818152602001828054611555906139ad565b80156115a25780601f10611577576101008083540402835291602001916115a2565b820191906000526020600020905b81548152906001019060200180831161158557829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090505481565b6115d66115cf611cea565b838361254a565b5050565b6115e261112e565b15611622576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161990613d71565b60405180910390fd5b611f5b601254826116339190613dc0565b10611673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166a906141eb565b60405180910390fd5b6002600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826116c09190613dc0565b1115611701576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f890614257565b60405180910390fd5b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e33306040518363ffffffff1660e01b8152600401611760929190614277565b602060405180830381865afa15801561177d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a191906142b5565b90506012600a6117b19190614415565b6161a8836117bf9190614460565b6117c99190614460565b81101561180b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180290614506565b60405180910390fd5b81600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546118569190613dc0565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd3373d61f1c85df608701e3cd8cb245dba925430e88546012600a6118fb9190614415565b6161a8876119099190614460565b6119139190614460565b6040518463ffffffff1660e01b815260040161193193929190614526565b6020604051808303816000875af1158015611950573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119749190614572565b5060005b828110156119cd5761198c3360125461219e565b6119a260125461199d6012546121bc565b61231d565b601260008154809291906119b590613f5a565b919050555080806119c590613f5a565b915050611978565b505050565b6119e36119dd611cea565b83611dab565b611a22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1990613c07565b60405180910390fd5b611a2e848484846126b7565b50505050565b6060611a3f82612713565b9050919050565b60125481565b600d6020528060005260406000206000915090505481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e6020528060005260406000206000915090505481565b611b18611cea565b73ffffffffffffffffffffffffffffffffffffffff16611b366114f0565b73ffffffffffffffffffffffffffffffffffffffff1614611b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8390613c73565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611bfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf390614611565b60405180910390fd5b611c0581612391565b50565b60115481565b60105481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611d6583611145565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611db682611c7e565b611df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dec906146a3565b60405180910390fd5b6000611e0083611145565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e6f57508373ffffffffffffffffffffffffffffffffffffffff16611e5784610820565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e805750611e7f8185611a64565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ea982611145565b73ffffffffffffffffffffffffffffffffffffffff1614611eff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ef690614735565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f66906147c7565b60405180910390fd5b611f7a838383612865565b611f85600082611cf2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fd591906147e7565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461202c9190613dc0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120eb83838361286a565b505050565b6120f861112e565b612137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212e90614867565b60405180910390fd5b6000600760006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61217b611cea565b60405161218891906132bf565b60405180910390a1565b61219b8161286f565b50565b6121b88282604051806020016040528060008152506128c2565b5050565b60606000821415612204576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612318565b600082905060005b6000821461223657808061221f90613f5a565b915050600a8261222f91906148b6565b915061220c565b60008167ffffffffffffffff811115612252576122516134f9565b5b6040519080825280601f01601f1916602001820160405280156122845781602001600182028036833780820191505090505b5090505b600085146123115760018261229d91906147e7565b9150600a856122ac91906148e7565b60306122b89190613dc0565b60f81b8183815181106122ce576122cd614918565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561230a91906148b6565b9450612288565b8093505050505b919050565b61232682611c7e565b612365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235c906149b9565b60405180910390fd5b8060066000848152602001908152602001600020908051906020019061238c929190612f84565b505050565b6000600760019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61245f61112e565b1561249f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249690613d71565b60405180910390fd5b6001600760006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586124e3611cea565b6040516124f091906132bf565b60405180910390a1565b6000848484846040516020016125139493929190614a42565b604051602081830303815290604052805190602001209050949350505050565b600082612540858461291d565b1490509392505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b090614adc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126aa919061311b565b60405180910390a3505050565b6126c2848484611e89565b6126ce84848484612992565b61270d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270490614b6e565b60405180910390fd5b50505050565b606061271e82611c7e565b61275d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275490614c00565b60405180910390fd5b600060066000848152602001908152602001600020805461277d906139ad565b80601f01602080910402602001604051908101604052809291908181526020018280546127a9906139ad565b80156127f65780601f106127cb576101008083540402835291602001916127f6565b820191906000526020600020905b8154815290600101906020018083116127d957829003601f168201915b505050505090506000612807612b1a565b905060008151141561281d578192505050612860565b60008251111561285257808260405160200161283a929190614c5c565b60405160208183030381529060405292505050612860565b61285b84612bac565b925050505b919050565b505050565b505050565b61287881612c53565b6000600660008381526020019081526020016000208054612898906139ad565b9050146128bf576006600082815260200190815260200160002060006128be919061300a565b5b50565b6128cc8383612d70565b6128d96000848484612992565b612918576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290f90614b6e565b60405180910390fd5b505050565b60008082905060005b845181101561298757600085828151811061294457612943614918565b5b602002602001015190508083116129665761295f8382612f4a565b9250612973565b6129708184612f4a565b92505b50808061297f90613f5a565b915050612926565b508091505092915050565b60006129b38473ffffffffffffffffffffffffffffffffffffffff16612f61565b15612b0d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129dc611cea565b8786866040518563ffffffff1660e01b81526004016129fe9493929190614cd5565b6020604051808303816000875af1925050508015612a3a57506040513d601f19601f82011682018060405250810190612a379190614d36565b60015b612abd573d8060008114612a6a576040519150601f19603f3d011682016040523d82523d6000602084013e612a6f565b606091505b50600081511415612ab5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aac90614b6e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b12565b600190505b949350505050565b606060098054612b29906139ad565b80601f0160208091040260200160405190810160405280929190818152602001828054612b55906139ad565b8015612ba25780601f10612b7757610100808354040283529160200191612ba2565b820191906000526020600020905b815481529060010190602001808311612b8557829003601f168201915b5050505050905090565b6060612bb782611c7e565b612bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bed90614dd5565b60405180910390fd5b6000612c00612b1a565b90506000815111612c205760405180602001604052806000815250612c4b565b80612c2a846121bc565b604051602001612c3b929190614c5c565b6040516020818303038152906040525b915050919050565b6000612c5e82611145565b9050612c6c81600084612865565b612c77600083611cf2565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612cc791906147e7565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d6c8160008461286a565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd790614e41565b60405180910390fd5b612de981611c7e565b15612e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e2090614ead565b60405180910390fd5b612e3560008383612865565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e859190613dc0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f466000838361286a565b5050565b600082600052816020526040600020905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054612f90906139ad565b90600052602060002090601f016020900481019282612fb25760008555612ff9565b82601f10612fcb57805160ff1916838001178555612ff9565b82800160010185558215612ff9579182015b82811115612ff8578251825591602001919060010190612fdd565b5b509050613006919061304a565b5090565b508054613016906139ad565b6000825580601f106130285750613047565b601f016020900490600052602060002090810190613046919061304a565b5b50565b5b8082111561306357600081600090555060010161304b565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6130b08161307b565b81146130bb57600080fd5b50565b6000813590506130cd816130a7565b92915050565b6000602082840312156130e9576130e8613071565b5b60006130f7848285016130be565b91505092915050565b60008115159050919050565b61311581613100565b82525050565b6000602082019050613130600083018461310c565b92915050565b6000819050919050565b61314981613136565b82525050565b60006020820190506131646000830184613140565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156131a4578082015181840152602081019050613189565b838111156131b3576000848401525b50505050565b6000601f19601f8301169050919050565b60006131d58261316a565b6131df8185613175565b93506131ef818560208601613186565b6131f8816131b9565b840191505092915050565b6000602082019050818103600083015261321d81846131ca565b905092915050565b61322e81613136565b811461323957600080fd5b50565b60008135905061324b81613225565b92915050565b60006020828403121561326757613266613071565b5b60006132758482850161323c565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006132a98261327e565b9050919050565b6132b98161329e565b82525050565b60006020820190506132d460008301846132b0565b92915050565b6132e38161329e565b81146132ee57600080fd5b50565b600081359050613300816132da565b92915050565b6000806040838503121561331d5761331c613071565b5b600061332b858286016132f1565b925050602061333c8582860161323c565b9150509250929050565b60008060006060848603121561335f5761335e613071565b5b600061336d868287016132f1565b935050602061337e868287016132f1565b925050604061338f8682870161323c565b9150509250925092565b6000819050919050565b6133ac81613399565b82525050565b60006020820190506133c760008301846133a3565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126133f2576133f16133cd565b5b8235905067ffffffffffffffff81111561340f5761340e6133d2565b5b60208301915083602082028301111561342b5761342a6133d7565b5b9250929050565b60008060008060008060008060e0898b03121561345257613451613071565b5b60006134608b828c0161323c565b98505060206134718b828c0161323c565b97505060406134828b828c0161323c565b96505060606134938b828c0161323c565b95505060806134a48b828c0161323c565b94505060a06134b58b828c0161323c565b93505060c089013567ffffffffffffffff8111156134d6576134d5613076565b5b6134e28b828c016133dc565b92509250509295985092959890939650565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613531826131b9565b810181811067ffffffffffffffff821117156135505761354f6134f9565b5b80604052505050565b6000613563613067565b905061356f8282613528565b919050565b600067ffffffffffffffff82111561358f5761358e6134f9565b5b613598826131b9565b9050602081019050919050565b82818337600083830152505050565b60006135c76135c284613574565b613559565b9050828152602081018484840111156135e3576135e26134f4565b5b6135ee8482856135a5565b509392505050565b600082601f83011261360b5761360a6133cd565b5b813561361b8482602086016135b4565b91505092915050565b60006020828403121561363a57613639613071565b5b600082013567ffffffffffffffff81111561365857613657613076565b5b613664848285016135f6565b91505092915050565b60006020828403121561368357613682613071565b5b6000613691848285016132f1565b91505092915050565b60008060008060008060a087890312156136b7576136b6613071565b5b60006136c589828a016132f1565b96505060206136d689828a0161323c565b95505060406136e789828a0161323c565b94505060606136f889828a0161323c565b935050608087013567ffffffffffffffff81111561371957613718613076565b5b61372589828a016133dc565b92509250509295509295509295565b6000819050919050565b600061375961375461374f8461327e565b613734565b61327e565b9050919050565b600061376b8261373e565b9050919050565b600061377d82613760565b9050919050565b61378d81613772565b82525050565b60006020820190506137a86000830184613784565b92915050565b6137b781613100565b81146137c257600080fd5b50565b6000813590506137d4816137ae565b92915050565b600080604083850312156137f1576137f0613071565b5b60006137ff858286016132f1565b9250506020613810858286016137c5565b9150509250929050565b600067ffffffffffffffff821115613835576138346134f9565b5b61383e826131b9565b9050602081019050919050565b600061385e6138598461381a565b613559565b90508281526020810184848401111561387a576138796134f4565b5b6138858482856135a5565b509392505050565b600082601f8301126138a2576138a16133cd565b5b81356138b284826020860161384b565b91505092915050565b600080600080608085870312156138d5576138d4613071565b5b60006138e3878288016132f1565b94505060206138f4878288016132f1565b93505060406139058782880161323c565b925050606085013567ffffffffffffffff81111561392657613925613076565b5b6139328782880161388d565b91505092959194509250565b6000806040838503121561395557613954613071565b5b6000613963858286016132f1565b9250506020613974858286016132f1565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806139c557607f821691505b602082108114156139d9576139d861397e565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613a3b602c83613175565b9150613a46826139df565b604082019050919050565b60006020820190508181036000830152613a6a81613a2e565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613acd602183613175565b9150613ad882613a71565b604082019050919050565b60006020820190508181036000830152613afc81613ac0565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613b5f603883613175565b9150613b6a82613b03565b604082019050919050565b60006020820190508181036000830152613b8e81613b52565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613bf1603183613175565b9150613bfc82613b95565b604082019050919050565b60006020820190508181036000830152613c2081613be4565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613c5d602083613175565b9150613c6882613c27565b602082019050919050565b60006020820190508181036000830152613c8c81613c50565b9050919050565b7f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656400000000000000000000000000000000602082015250565b6000613cef603083613175565b9150613cfa82613c93565b604082019050919050565b60006020820190508181036000830152613d1e81613ce2565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000613d5b601083613175565b9150613d6682613d25565b602082019050919050565b60006020820190508181036000830152613d8a81613d4e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613dcb82613136565b9150613dd683613136565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613e0b57613e0a613d91565b5b828201905092915050565b7f4d6178203130207065722074786e000000000000000000000000000000000000600082015250565b6000613e4c600e83613175565b9150613e5782613e16565b602082019050919050565b60006020820190508181036000830152613e7b81613e3f565b9050919050565b7f4661696c6564207175616e746974792070726f6f6620636865636b0000000000600082015250565b6000613eb8601b83613175565b9150613ec382613e82565b602082019050919050565b60006020820190508181036000830152613ee781613eab565b9050919050565b7f4578636565647320616c6c6f7765642076302e3033207175616e746974790000600082015250565b6000613f24601e83613175565b9150613f2f82613eee565b602082019050919050565b60006020820190508181036000830152613f5381613f17565b9050919050565b6000613f6582613136565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613f9857613f97613d91565b5b600182019050919050565b7f4578636565647320616c6c6f7765642076302e3032207175616e746974790000600082015250565b6000613fd9601e83613175565b9150613fe482613fa3565b602082019050919050565b6000602082019050818103600083015261400881613fcc565b9050919050565b7f4578636565647320616c6c6f7765642076302e3031207175616e746974790000600082015250565b6000614045601e83613175565b91506140508261400f565b602082019050919050565b6000602082019050818103600083015261407481614038565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006140d7602983613175565b91506140e28261407b565b604082019050919050565b60006020820190508181036000830152614106816140ca565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614169602a83613175565b91506141748261410d565b604082019050919050565b600060208201905081810360008301526141988161415c565b9050919050565b7f4e6f20737570706c792072656d61696e696e6700000000000000000000000000600082015250565b60006141d5601383613175565b91506141e08261419f565b602082019050919050565b60006020820190508181036000830152614204816141c8565b9050919050565b7f4578636565647320616c6c6f776564207175616e746974790000000000000000600082015250565b6000614241601883613175565b915061424c8261420b565b602082019050919050565b6000602082019050818103600083015261427081614234565b9050919050565b600060408201905061428c60008301856132b0565b61429960208301846132b0565b9392505050565b6000815190506142af81613225565b92915050565b6000602082840312156142cb576142ca613071565b5b60006142d9848285016142a0565b91505092915050565b60008160011c9050919050565b6000808291508390505b60018511156143395780860481111561431557614314613d91565b5b60018516156143245780820291505b8081029050614332856142e2565b94506142f9565b94509492505050565b600082614352576001905061440e565b81614360576000905061440e565b81600181146143765760028114614380576143af565b600191505061440e565b60ff84111561439257614391613d91565b5b8360020a9150848211156143a9576143a8613d91565b5b5061440e565b5060208310610133831016604e8410600b84101617156143e45782820a9050838111156143df576143de613d91565b5b61440e565b6143f184848460016142ef565b9250905081840481111561440857614407613d91565b5b81810290505b9392505050565b600061442082613136565b915061442b83613136565b92506144587fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484614342565b905092915050565b600061446b82613136565b915061447683613136565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144af576144ae613d91565b5b828202905092915050565b7f4578636565647320617070726f76656420746f6b656e20616c6c6f77616e6365600082015250565b60006144f0602083613175565b91506144fb826144ba565b602082019050919050565b6000602082019050818103600083015261451f816144e3565b9050919050565b600060608201905061453b60008301866132b0565b61454860208301856132b0565b6145556040830184613140565b949350505050565b60008151905061456c816137ae565b92915050565b60006020828403121561458857614587613071565b5b60006145968482850161455d565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006145fb602683613175565b91506146068261459f565b604082019050919050565b6000602082019050818103600083015261462a816145ee565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061468d602c83613175565b915061469882614631565b604082019050919050565b600060208201905081810360008301526146bc81614680565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061471f602583613175565b915061472a826146c3565b604082019050919050565b6000602082019050818103600083015261474e81614712565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006147b1602483613175565b91506147bc82614755565b604082019050919050565b600060208201905081810360008301526147e0816147a4565b9050919050565b60006147f282613136565b91506147fd83613136565b9250828210156148105761480f613d91565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614851601483613175565b915061485c8261481b565b602082019050919050565b6000602082019050818103600083015261488081614844565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006148c182613136565b91506148cc83613136565b9250826148dc576148db614887565b5b828204905092915050565b60006148f282613136565b91506148fd83613136565b92508261490d5761490c614887565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b60006149a3602e83613175565b91506149ae82614947565b604082019050919050565b600060208201905081810360008301526149d281614996565b9050919050565b60008160601b9050919050565b60006149f1826149d9565b9050919050565b6000614a03826149e6565b9050919050565b614a1b614a168261329e565b6149f8565b82525050565b6000819050919050565b614a3c614a3782613136565b614a21565b82525050565b6000614a4e8287614a0a565b601482019150614a5e8286614a2b565b602082019150614a6e8285614a2b565b602082019150614a7e8284614a2b565b60208201915081905095945050505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ac6601983613175565b9150614ad182614a90565b602082019050919050565b60006020820190508181036000830152614af581614ab9565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614b58603283613175565b9150614b6382614afc565b604082019050919050565b60006020820190508181036000830152614b8781614b4b565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000614bea603183613175565b9150614bf582614b8e565b604082019050919050565b60006020820190508181036000830152614c1981614bdd565b9050919050565b600081905092915050565b6000614c368261316a565b614c408185614c20565b9350614c50818560208601613186565b80840191505092915050565b6000614c688285614c2b565b9150614c748284614c2b565b91508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000614ca782614c80565b614cb18185614c8b565b9350614cc1818560208601613186565b614cca816131b9565b840191505092915050565b6000608082019050614cea60008301876132b0565b614cf760208301866132b0565b614d046040830185613140565b8181036060830152614d168184614c9c565b905095945050505050565b600081519050614d30816130a7565b92915050565b600060208284031215614d4c57614d4b613071565b5b6000614d5a84828501614d21565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614dbf602f83613175565b9150614dca82614d63565b604082019050919050565b60006020820190508181036000830152614dee81614db2565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e2b602083613175565b9150614e3682614df5565b602082019050919050565b60006020820190508181036000830152614e5a81614e1e565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614e97601c83613175565b9150614ea282614e61565b602082019050919050565b60006020820190508181036000830152614ec681614e8a565b905091905056fea264697066735822122098e798f5f9c495ea88cfea08e0ff147a67f21543499c7a26f10cf492ad22908064736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006059216a2965c909edcf9872da4d4b1878af6178f8f52d9644381d57eeec99b3940000000000000000000000008afde8be6d047a0eca574abf89de10e288a229a20000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5776336f3535386d686b314a365754594172636a39766759594d42776d53643746386552354764477a5265422f00000000000000000000
-----Decoded View---------------
Arg [0] : ipfsBaseUri (string): ipfs://QmWv3o558mhk1J6WTYArcj9vgYYMBwmSd7F8eR5GdGzReB/
Arg [1] : merkleRoot (bytes32): 0x59216a2965c909edcf9872da4d4b1878af6178f8f52d9644381d57eeec99b394
Arg [2] : gotterdammerung (address): 0x8aFDe8be6D047A0ECa574abF89De10E288A229a2
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 59216a2965c909edcf9872da4d4b1878af6178f8f52d9644381d57eeec99b394
Arg [2] : 0000000000000000000000008afde8be6d047a0eca574abf89de10e288a229a2
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d5776336f3535386d686b314a365754594172636a397667
Arg [5] : 59594d42776d53643746386552354764477a5265422f00000000000000000000
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.