Source Code
Overview
MATIC Balance
0 MATIC
More Info
ContractCreator:
Multichain Info
N/A
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 22579266 | 836 days ago | IN | Create: HeirsOfDracula | 0 MATIC | 0.13816308 |
Loading...
Loading
Contract Name:
HeirsOfDracula
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; contract HeirsOfDracula is Ownable, ERC721Enumerable { using SafeMath for uint256; using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint public constant MAX_SUPPLY = 1000; uint public basePrice = 35 ether; string public baseTokenURI = "ipfs://QmNh2V1h1oAqaZi8Q5AKsmR8bC26fEevj5v2tMwT9gppNx/"; bool public saleIsActive = false; constructor() ERC721("Heirs of Dracula", "HOD") { } // Reserve a few NFTs function reserveNfts(uint _quantity) public onlyOwner { uint totalMinted = _tokenIds.current(); require(totalMinted.add(_quantity) < MAX_SUPPLY, "Not enough NFTs left to reserve"); for (uint i = 0; i < _quantity; i++) { _mintSingleNft(); } } // Override empty _baseURI function function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // Allow owner to set baseTokenURI function setBaseURI(string memory _baseTokenURI) public onlyOwner { baseTokenURI = _baseTokenURI; } // Set Sale state function setSaleState(bool _activeState) public onlyOwner { saleIsActive = _activeState; } // Update price function updatePrice(uint _newPrice) public onlyOwner { basePrice = _newPrice; } // Mint NFTs function mintNft(uint _count) public payable { uint totalMinted = _tokenIds.current(); require(_count == 1 || _count == 3 || _count == 5, "Cannot mint specified number of NFTs."); require(totalMinted.add(_count) <= MAX_SUPPLY, "Not enough NFTs left!"); require(saleIsActive, "Sale is not currently active!"); require(msg.value >= basePrice.mul(_count), "Not enough ether to purchase NFTs."); for (uint i = 0; i < _count; i++) { _mintSingleNft(); } } // Mint a single NFT function _mintSingleNft() private { // Sanity check for absolute worst case scenario require(totalSupply() == _tokenIds.current(), "Indexing has broken down!"); uint newTokenID = _tokenIds.current(); _safeMint(msg.sender, newTokenID); _tokenIds.increment(); } // Withdraw ether function withdraw() public payable onlyOwner { uint balance = address(this).balance; require(balance > 0, "No ether left to withdraw"); bool success; address[5] memory receivers = [0xc361Fc33b99F88612257ac8cC2d852A5CEe0E217, 0xe70681E2FeCFFb1fF6aA2319Cf0e2E7906449D7F, 0x3B9647ba1c065eBC5bA14D0DA6AE608589d7f52B, 0x4BCB71b19795Daf40d2d066A9cB8E949320dAF9A, 0x9AE53B7bb6Ec1aC09449d454ab40eFf409B45f6F]; uint8[5] memory percentages = [10, 25, 15, 20, 30]; for (uint i = 0; i < 5; i++) { uint payout_amount = balance.mul(uint(percentages[i])).div(100); (success, ) = (receivers[i]).call{value: payout_amount}(""); require(success, "Transfer failed."); } } // Get tokens of an owner function tokensOfOwner(address _owner) external view returns (uint[] memory) { uint tokenCount = balanceOf(_owner); uint[] memory tokensId = new uint256[](tokenCount); for (uint i = 0; i < tokenCount; i++) { tokensId[i] = tokenOfOwnerByIndex(_owner, i); } return tokensId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.0 (utils/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", "abi" ] } }, "libraries": {} }
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"basePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"}],"name":"mintNft","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"reserveNfts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_activeState","type":"bool"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526801e5b8fa8fe2ac0000600c5560405180606001604052806036815260200162004b3a60369139600d908051906020019062000042929190620001fe565b506000600e60006101000a81548160ff0219169083151502179055503480156200006b57600080fd5b506040518060400160405280601081526020017f4865697273206f662044726163756c61000000000000000000000000000000008152506040518060400160405280600381526020017f484f440000000000000000000000000000000000000000000000000000000000815250620000f8620000ec6200013260201b60201c565b6200013a60201b60201c565b816001908051906020019062000110929190620001fe565b50806002908051906020019062000129929190620001fe565b50505062000313565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020c90620002ae565b90600052602060002090601f0160209004810192826200023057600085556200027c565b82601f106200024b57805160ff19168380011785556200027c565b828001600101855582156200027c579182015b828111156200027b5782518255916020019190600101906200025e565b5b5090506200028b91906200028f565b5090565b5b80821115620002aa57600081600090555060010162000290565b5090565b60006002820490506001821680620002c757607f821691505b60208210811415620002de57620002dd620002e4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61481780620003236000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063b88d4fde11610095578063d547cfb711610064578063d547cfb71461066a578063e985e9c514610695578063eb8d2444146106d2578063f2fde38b146106fd576101cd565b8063b88d4fde146105b0578063c4e37095146105d9578063c7876ea414610602578063c87b56dd1461062d576101cd565b80638d6cc56d116100d15780638d6cc56d146105085780638da5cb5b1461053157806395d89b411461055c578063a22cb46514610587576101cd565b806370a0823114610477578063715018a6146104b45780638462151c146104cb576101cd565b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103ab5780634f6ccce7146103d457806355f804b3146104115780636352211e1461043a576101cd565b806323b872dd146103105780632f745c591461033957806332cb6b0c146103765780633ccfd60b146103a1576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780630d730acc146102a057806318160ddd146102bc5780631b7cfa09146102e7576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190613259565b610726565b60405161020691906138dd565b60405180910390f35b34801561021b57600080fd5b506102246107a0565b60405161023191906138f8565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906132ec565b610832565b60405161026e9190613854565b60405180910390f35b34801561028357600080fd5b5061029e600480360381019061029991906131f4565b6108b7565b005b6102ba60048036038101906102b591906132ec565b6109cf565b005b3480156102c857600080fd5b506102d1610b5e565b6040516102de9190613c5a565b60405180910390f35b3480156102f357600080fd5b5061030e600480360381019061030991906132ec565b610b6b565b005b34801561031c57600080fd5b50610337600480360381019061033291906130ee565b610c76565b005b34801561034557600080fd5b50610360600480360381019061035b91906131f4565b610cd6565b60405161036d9190613c5a565b60405180910390f35b34801561038257600080fd5b5061038b610d7b565b6040516103989190613c5a565b60405180910390f35b6103a9610d81565b005b3480156103b757600080fd5b506103d260048036038101906103cd91906130ee565b61116a565b005b3480156103e057600080fd5b506103fb60048036038101906103f691906132ec565b61118a565b6040516104089190613c5a565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906132ab565b611221565b005b34801561044657600080fd5b50610461600480360381019061045c91906132ec565b6112b7565b60405161046e9190613854565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613089565b611369565b6040516104ab9190613c5a565b60405180910390f35b3480156104c057600080fd5b506104c9611421565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613089565b6114a9565b6040516104ff91906138bb565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a91906132ec565b6115a3565b005b34801561053d57600080fd5b50610546611629565b6040516105539190613854565b60405180910390f35b34801561056857600080fd5b50610571611652565b60405161057e91906138f8565b60405180910390f35b34801561059357600080fd5b506105ae60048036038101906105a991906131b8565b6116e4565b005b3480156105bc57600080fd5b506105d760048036038101906105d2919061313d565b6116fa565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190613230565b61175c565b005b34801561060e57600080fd5b506106176117f5565b6040516106249190613c5a565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f91906132ec565b6117fb565b60405161066191906138f8565b60405180910390f35b34801561067657600080fd5b5061067f6118a2565b60405161068c91906138f8565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b791906130b2565b611930565b6040516106c991906138dd565b60405180910390f35b3480156106de57600080fd5b506106e76119c4565b6040516106f491906138dd565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190613089565b6119d7565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610799575061079882611acf565b5b9050919050565b6060600180546107af90613f4e565b80601f01602080910402602001604051908101604052809291908181526020018280546107db90613f4e565b80156108285780601f106107fd57610100808354040283529160200191610828565b820191906000526020600020905b81548152906001019060200180831161080b57829003601f168201915b5050505050905090565b600061083d82611bb1565b61087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087390613b3a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c2826112b7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092a90613bba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610952611c1d565b73ffffffffffffffffffffffffffffffffffffffff16148061098157506109808161097b611c1d565b611930565b5b6109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b790613a9a565b60405180910390fd5b6109ca8383611c25565b505050565b60006109db600b611cde565b905060018214806109ec5750600382145b806109f75750600582145b610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d90613a5a565b60405180910390fd5b6103e8610a4c8383611cec90919063ffffffff16565b1115610a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8490613a3a565b60405180910390fd5b600e60009054906101000a900460ff16610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390613c3a565b60405180910390fd5b610af182600c54611d0290919063ffffffff16565b341015610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90613a1a565b60405180910390fd5b60005b82811015610b5957610b46611d18565b8080610b5190613fb1565b915050610b36565b505050565b6000600980549050905090565b610b73611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610b91611629565b73ffffffffffffffffffffffffffffffffffffffff1614610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde90613b5a565b60405180910390fd5b6000610bf3600b611cde565b90506103e8610c0b8383611cec90919063ffffffff16565b10610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c429061391a565b60405180910390fd5b60005b82811015610c7157610c5e611d18565b8080610c6990613fb1565b915050610c4e565b505050565b610c87610c81611c1d565b82611d8f565b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90613bfa565b60405180910390fd5b610cd1838383611e6d565b505050565b6000610ce183611369565b8210610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d199061395a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103e881565b610d89611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610da7611629565b73ffffffffffffffffffffffffffffffffffffffff1614610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490613b5a565b60405180910390fd5b600047905060008111610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90613b1a565b60405180910390fd5b6000806040518060a0016040528073c361fc33b99f88612257ac8cc2d852a5cee0e21773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173e70681e2fecffb1ff6aa2319cf0e2e7906449d7f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001733b9647ba1c065ebc5ba14d0da6ae608589d7f52b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001734bcb71b19795daf40d2d066a9cb8e949320daf9a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001739ae53b7bb6ec1ac09449d454ab40eff409b45f6f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250905060006040518060a00160405280600a60ff168152602001601960ff168152602001600f60ff168152602001601460ff168152602001601e60ff16815250905060005b6005811015611163576000611064606461105685856005811061103f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160ff1689611d0290919063ffffffff16565b6120c990919063ffffffff16565b905083826005811061109f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015173ffffffffffffffffffffffffffffffffffffffff16816040516110c79061383f565b60006040518083038185875af1925050503d8060008114611104576040519150601f19603f3d011682016040523d82523d6000602084013e611109565b606091505b5050809550508461114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690613bda565b60405180910390fd5b50808061115b90613fb1565b915050610ff3565b5050505050565b611185838383604051806020016040528060008152506116fa565b505050565b6000611194610b5e565b82106111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90613c1a565b60405180910390fd5b6009828154811061120f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611229611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611247611629565b73ffffffffffffffffffffffffffffffffffffffff161461129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490613b5a565b60405180910390fd5b80600d90805190602001906112b3929190612ead565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790613ada565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d190613aba565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611429611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611447611629565b73ffffffffffffffffffffffffffffffffffffffff161461149d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149490613b5a565b60405180910390fd5b6114a760006120df565b565b606060006114b683611369565b905060008167ffffffffffffffff8111156114fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115285781602001602082028036833780820191505090505b50905060005b82811015611598576115408582610cd6565b828281518110611579577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061159090613fb1565b91505061152e565b508092505050919050565b6115ab611c1d565b73ffffffffffffffffffffffffffffffffffffffff166115c9611629565b73ffffffffffffffffffffffffffffffffffffffff161461161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161690613b5a565b60405180910390fd5b80600c8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461166190613f4e565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90613f4e565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b5050505050905090565b6116f66116ef611c1d565b83836121a3565b5050565b61170b611705611c1d565b83611d8f565b61174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613bfa565b60405180910390fd5b61175684848484612310565b50505050565b611764611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611782611629565b73ffffffffffffffffffffffffffffffffffffffff16146117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90613b5a565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b600c5481565b606061180682611bb1565b611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c90613b9a565b60405180910390fd5b600061184f61236c565b9050600081511161186f576040518060200160405280600081525061189a565b80611879846123fe565b60405160200161188a92919061381b565b6040516020818303038152906040525b915050919050565b600d80546118af90613f4e565b80601f01602080910402602001604051908101604052809291908181526020018280546118db90613f4e565b80156119285780601f106118fd57610100808354040283529160200191611928565b820191906000526020600020905b81548152906001019060200180831161190b57829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b6119df611c1d565b73ffffffffffffffffffffffffffffffffffffffff166119fd611629565b73ffffffffffffffffffffffffffffffffffffffff1614611a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4a90613b5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aba9061399a565b60405180910390fd5b611acc816120df565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b9a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611baa5750611ba9826125ab565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c98836112b7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60008183611cfa9190613d83565b905092915050565b60008183611d109190613e0a565b905092915050565b611d22600b611cde565b611d2a610b5e565b14611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d619061393a565b60405180910390fd5b6000611d76600b611cde565b9050611d823382612615565b611d8c600b612633565b50565b6000611d9a82611bb1565b611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090613a7a565b60405180910390fd5b6000611de4836112b7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e5357508373ffffffffffffffffffffffffffffffffffffffff16611e3b84610832565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e645750611e638185611930565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e8d826112b7565b73ffffffffffffffffffffffffffffffffffffffff1614611ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eda90613b7a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4a906139da565b60405180910390fd5b611f5e838383612649565b611f69600082611c25565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb99190613e64565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120109190613d83565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836120d79190613dd9565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612209906139fa565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161230391906138dd565b60405180910390a3505050565b61231b848484611e6d565b6123278484848461275d565b612366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235d9061397a565b60405180910390fd5b50505050565b6060600d805461237b90613f4e565b80601f01602080910402602001604051908101604052809291908181526020018280546123a790613f4e565b80156123f45780601f106123c9576101008083540402835291602001916123f4565b820191906000526020600020905b8154815290600101906020018083116123d757829003601f168201915b5050505050905090565b60606000821415612446576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125a6565b600082905060005b6000821461247857808061246190613fb1565b915050600a826124719190613dd9565b915061244e565b60008167ffffffffffffffff8111156124ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124ec5781602001600182028036833780820191505090505b5090505b6000851461259f576001826125059190613e64565b9150600a856125149190613ffa565b60306125209190613d83565b60f81b81838151811061255c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125989190613dd9565b94506124f0565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61262f8282604051806020016040528060008152506128f4565b5050565b6001816000016000828254019250508190555050565b61265483838361294f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126975761269281612954565b6126d6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146126d5576126d4838261299d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127195761271481612b0a565b612758565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612757576127568282612c4d565b5b5b505050565b600061277e8473ffffffffffffffffffffffffffffffffffffffff16612ccc565b156128e7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127a7611c1d565b8786866040518563ffffffff1660e01b81526004016127c9949392919061386f565b602060405180830381600087803b1580156127e357600080fd5b505af192505050801561281457506040513d601f19601f820116820180604052508101906128119190613282565b60015b612897573d8060008114612844576040519150601f19603f3d011682016040523d82523d6000602084013e612849565b606091505b5060008151141561288f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128869061397a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128ec565b600190505b949350505050565b6128fe8383612cdf565b61290b600084848461275d565b61294a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129419061397a565b60405180910390fd5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016129aa84611369565b6129b49190613e64565b9050600060086000848152602001908152602001600020549050818114612a99576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612b1e9190613e64565b90506000600a6000848152602001908152602001600020549050600060098381548110612b74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612bbc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612c31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612c5883611369565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4690613afa565b60405180910390fd5b612d5881611bb1565b15612d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8f906139ba565b60405180910390fd5b612da460008383612649565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612df49190613d83565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612eb990613f4e565b90600052602060002090601f016020900481019282612edb5760008555612f22565b82601f10612ef457805160ff1916838001178555612f22565b82800160010185558215612f22579182015b82811115612f21578251825591602001919060010190612f06565b5b509050612f2f9190612f33565b5090565b5b80821115612f4c576000816000905550600101612f34565b5090565b6000612f63612f5e84613c9a565b613c75565b905082815260208101848484011115612f7b57600080fd5b612f86848285613f0c565b509392505050565b6000612fa1612f9c84613ccb565b613c75565b905082815260208101848484011115612fb957600080fd5b612fc4848285613f0c565b509392505050565b600081359050612fdb81614785565b92915050565b600081359050612ff08161479c565b92915050565b600081359050613005816147b3565b92915050565b60008151905061301a816147b3565b92915050565b600082601f83011261303157600080fd5b8135613041848260208601612f50565b91505092915050565b600082601f83011261305b57600080fd5b813561306b848260208601612f8e565b91505092915050565b600081359050613083816147ca565b92915050565b60006020828403121561309b57600080fd5b60006130a984828501612fcc565b91505092915050565b600080604083850312156130c557600080fd5b60006130d385828601612fcc565b92505060206130e485828601612fcc565b9150509250929050565b60008060006060848603121561310357600080fd5b600061311186828701612fcc565b935050602061312286828701612fcc565b925050604061313386828701613074565b9150509250925092565b6000806000806080858703121561315357600080fd5b600061316187828801612fcc565b945050602061317287828801612fcc565b935050604061318387828801613074565b925050606085013567ffffffffffffffff8111156131a057600080fd5b6131ac87828801613020565b91505092959194509250565b600080604083850312156131cb57600080fd5b60006131d985828601612fcc565b92505060206131ea85828601612fe1565b9150509250929050565b6000806040838503121561320757600080fd5b600061321585828601612fcc565b925050602061322685828601613074565b9150509250929050565b60006020828403121561324257600080fd5b600061325084828501612fe1565b91505092915050565b60006020828403121561326b57600080fd5b600061327984828501612ff6565b91505092915050565b60006020828403121561329457600080fd5b60006132a28482850161300b565b91505092915050565b6000602082840312156132bd57600080fd5b600082013567ffffffffffffffff8111156132d757600080fd5b6132e38482850161304a565b91505092915050565b6000602082840312156132fe57600080fd5b600061330c84828501613074565b91505092915050565b600061332183836137fd565b60208301905092915050565b61333681613e98565b82525050565b600061334782613d0c565b6133518185613d3a565b935061335c83613cfc565b8060005b8381101561338d5781516133748882613315565b975061337f83613d2d565b925050600181019050613360565b5085935050505092915050565b6133a381613eaa565b82525050565b60006133b482613d17565b6133be8185613d4b565b93506133ce818560208601613f1b565b6133d7816140e7565b840191505092915050565b60006133ed82613d22565b6133f78185613d67565b9350613407818560208601613f1b565b613410816140e7565b840191505092915050565b600061342682613d22565b6134308185613d78565b9350613440818560208601613f1b565b80840191505092915050565b6000613459601f83613d67565b9150613464826140f8565b602082019050919050565b600061347c601983613d67565b915061348782614121565b602082019050919050565b600061349f602b83613d67565b91506134aa8261414a565b604082019050919050565b60006134c2603283613d67565b91506134cd82614199565b604082019050919050565b60006134e5602683613d67565b91506134f0826141e8565b604082019050919050565b6000613508601c83613d67565b915061351382614237565b602082019050919050565b600061352b602483613d67565b915061353682614260565b604082019050919050565b600061354e601983613d67565b9150613559826142af565b602082019050919050565b6000613571602283613d67565b915061357c826142d8565b604082019050919050565b6000613594601583613d67565b915061359f82614327565b602082019050919050565b60006135b7602583613d67565b91506135c282614350565b604082019050919050565b60006135da602c83613d67565b91506135e58261439f565b604082019050919050565b60006135fd603883613d67565b9150613608826143ee565b604082019050919050565b6000613620602a83613d67565b915061362b8261443d565b604082019050919050565b6000613643602983613d67565b915061364e8261448c565b604082019050919050565b6000613666602083613d67565b9150613671826144db565b602082019050919050565b6000613689601983613d67565b915061369482614504565b602082019050919050565b60006136ac602c83613d67565b91506136b78261452d565b604082019050919050565b60006136cf602083613d67565b91506136da8261457c565b602082019050919050565b60006136f2602983613d67565b91506136fd826145a5565b604082019050919050565b6000613715602f83613d67565b9150613720826145f4565b604082019050919050565b6000613738602183613d67565b915061374382614643565b604082019050919050565b600061375b600083613d5c565b915061376682614692565b600082019050919050565b600061377e601083613d67565b915061378982614695565b602082019050919050565b60006137a1603183613d67565b91506137ac826146be565b604082019050919050565b60006137c4602c83613d67565b91506137cf8261470d565b604082019050919050565b60006137e7601d83613d67565b91506137f28261475c565b602082019050919050565b61380681613f02565b82525050565b61381581613f02565b82525050565b6000613827828561341b565b9150613833828461341b565b91508190509392505050565b600061384a8261374e565b9150819050919050565b6000602082019050613869600083018461332d565b92915050565b6000608082019050613884600083018761332d565b613891602083018661332d565b61389e604083018561380c565b81810360608301526138b081846133a9565b905095945050505050565b600060208201905081810360008301526138d5818461333c565b905092915050565b60006020820190506138f2600083018461339a565b92915050565b6000602082019050818103600083015261391281846133e2565b905092915050565b600060208201905081810360008301526139338161344c565b9050919050565b600060208201905081810360008301526139538161346f565b9050919050565b6000602082019050818103600083015261397381613492565b9050919050565b60006020820190508181036000830152613993816134b5565b9050919050565b600060208201905081810360008301526139b3816134d8565b9050919050565b600060208201905081810360008301526139d3816134fb565b9050919050565b600060208201905081810360008301526139f38161351e565b9050919050565b60006020820190508181036000830152613a1381613541565b9050919050565b60006020820190508181036000830152613a3381613564565b9050919050565b60006020820190508181036000830152613a5381613587565b9050919050565b60006020820190508181036000830152613a73816135aa565b9050919050565b60006020820190508181036000830152613a93816135cd565b9050919050565b60006020820190508181036000830152613ab3816135f0565b9050919050565b60006020820190508181036000830152613ad381613613565b9050919050565b60006020820190508181036000830152613af381613636565b9050919050565b60006020820190508181036000830152613b1381613659565b9050919050565b60006020820190508181036000830152613b338161367c565b9050919050565b60006020820190508181036000830152613b538161369f565b9050919050565b60006020820190508181036000830152613b73816136c2565b9050919050565b60006020820190508181036000830152613b93816136e5565b9050919050565b60006020820190508181036000830152613bb381613708565b9050919050565b60006020820190508181036000830152613bd38161372b565b9050919050565b60006020820190508181036000830152613bf381613771565b9050919050565b60006020820190508181036000830152613c1381613794565b9050919050565b60006020820190508181036000830152613c33816137b7565b9050919050565b60006020820190508181036000830152613c53816137da565b9050919050565b6000602082019050613c6f600083018461380c565b92915050565b6000613c7f613c90565b9050613c8b8282613f80565b919050565b6000604051905090565b600067ffffffffffffffff821115613cb557613cb46140b8565b5b613cbe826140e7565b9050602081019050919050565b600067ffffffffffffffff821115613ce657613ce56140b8565b5b613cef826140e7565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d8e82613f02565b9150613d9983613f02565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613dce57613dcd61402b565b5b828201905092915050565b6000613de482613f02565b9150613def83613f02565b925082613dff57613dfe61405a565b5b828204905092915050565b6000613e1582613f02565b9150613e2083613f02565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e5957613e5861402b565b5b828202905092915050565b6000613e6f82613f02565b9150613e7a83613f02565b925082821015613e8d57613e8c61402b565b5b828203905092915050565b6000613ea382613ee2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f39578082015181840152602081019050613f1e565b83811115613f48576000848401525b50505050565b60006002820490506001821680613f6657607f821691505b60208210811415613f7a57613f79614089565b5b50919050565b613f89826140e7565b810181811067ffffffffffffffff82111715613fa857613fa76140b8565b5b80604052505050565b6000613fbc82613f02565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fef57613fee61402b565b5b600182019050919050565b600061400582613f02565b915061401083613f02565b9250826140205761401f61405a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f207265736572766500600082015250565b7f496e646578696e67206861732062726f6b656e20646f776e2100000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420656e6f75676820657468657220746f207075726368617365204e465460008201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204e465473206c656674210000000000000000000000600082015250565b7f43616e6e6f74206d696e7420737065636966696564206e756d626572206f662060008201527f4e4654732e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742063757272656e746c792061637469766521000000600082015250565b61478e81613e98565b811461479957600080fd5b50565b6147a581613eaa565b81146147b057600080fd5b50565b6147bc81613eb6565b81146147c757600080fd5b50565b6147d381613f02565b81146147de57600080fd5b5056fea2646970667358221220f87f1fa5c9470021e5c0fdc3f49753548477db339f24f1fb78daf1e76b8d5d5564736f6c63430008040033697066733a2f2f516d4e6832563168316f4171615a69385135414b736d523862433236664565766a357632744d7754396770704e782f
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063b88d4fde11610095578063d547cfb711610064578063d547cfb71461066a578063e985e9c514610695578063eb8d2444146106d2578063f2fde38b146106fd576101cd565b8063b88d4fde146105b0578063c4e37095146105d9578063c7876ea414610602578063c87b56dd1461062d576101cd565b80638d6cc56d116100d15780638d6cc56d146105085780638da5cb5b1461053157806395d89b411461055c578063a22cb46514610587576101cd565b806370a0823114610477578063715018a6146104b45780638462151c146104cb576101cd565b806323b872dd1161016f57806342842e0e1161013e57806342842e0e146103ab5780634f6ccce7146103d457806355f804b3146104115780636352211e1461043a576101cd565b806323b872dd146103105780632f745c591461033957806332cb6b0c146103765780633ccfd60b146103a1576101cd565b8063095ea7b3116101ab578063095ea7b3146102775780630d730acc146102a057806318160ddd146102bc5780631b7cfa09146102e7576101cd565b806301ffc9a7146101d257806306fdde031461020f578063081812fc1461023a575b600080fd5b3480156101de57600080fd5b506101f960048036038101906101f49190613259565b610726565b60405161020691906138dd565b60405180910390f35b34801561021b57600080fd5b506102246107a0565b60405161023191906138f8565b60405180910390f35b34801561024657600080fd5b50610261600480360381019061025c91906132ec565b610832565b60405161026e9190613854565b60405180910390f35b34801561028357600080fd5b5061029e600480360381019061029991906131f4565b6108b7565b005b6102ba60048036038101906102b591906132ec565b6109cf565b005b3480156102c857600080fd5b506102d1610b5e565b6040516102de9190613c5a565b60405180910390f35b3480156102f357600080fd5b5061030e600480360381019061030991906132ec565b610b6b565b005b34801561031c57600080fd5b50610337600480360381019061033291906130ee565b610c76565b005b34801561034557600080fd5b50610360600480360381019061035b91906131f4565b610cd6565b60405161036d9190613c5a565b60405180910390f35b34801561038257600080fd5b5061038b610d7b565b6040516103989190613c5a565b60405180910390f35b6103a9610d81565b005b3480156103b757600080fd5b506103d260048036038101906103cd91906130ee565b61116a565b005b3480156103e057600080fd5b506103fb60048036038101906103f691906132ec565b61118a565b6040516104089190613c5a565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906132ab565b611221565b005b34801561044657600080fd5b50610461600480360381019061045c91906132ec565b6112b7565b60405161046e9190613854565b60405180910390f35b34801561048357600080fd5b5061049e60048036038101906104999190613089565b611369565b6040516104ab9190613c5a565b60405180910390f35b3480156104c057600080fd5b506104c9611421565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613089565b6114a9565b6040516104ff91906138bb565b60405180910390f35b34801561051457600080fd5b5061052f600480360381019061052a91906132ec565b6115a3565b005b34801561053d57600080fd5b50610546611629565b6040516105539190613854565b60405180910390f35b34801561056857600080fd5b50610571611652565b60405161057e91906138f8565b60405180910390f35b34801561059357600080fd5b506105ae60048036038101906105a991906131b8565b6116e4565b005b3480156105bc57600080fd5b506105d760048036038101906105d2919061313d565b6116fa565b005b3480156105e557600080fd5b5061060060048036038101906105fb9190613230565b61175c565b005b34801561060e57600080fd5b506106176117f5565b6040516106249190613c5a565b60405180910390f35b34801561063957600080fd5b50610654600480360381019061064f91906132ec565b6117fb565b60405161066191906138f8565b60405180910390f35b34801561067657600080fd5b5061067f6118a2565b60405161068c91906138f8565b60405180910390f35b3480156106a157600080fd5b506106bc60048036038101906106b791906130b2565b611930565b6040516106c991906138dd565b60405180910390f35b3480156106de57600080fd5b506106e76119c4565b6040516106f491906138dd565b60405180910390f35b34801561070957600080fd5b50610724600480360381019061071f9190613089565b6119d7565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610799575061079882611acf565b5b9050919050565b6060600180546107af90613f4e565b80601f01602080910402602001604051908101604052809291908181526020018280546107db90613f4e565b80156108285780601f106107fd57610100808354040283529160200191610828565b820191906000526020600020905b81548152906001019060200180831161080b57829003601f168201915b5050505050905090565b600061083d82611bb1565b61087c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161087390613b3a565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006108c2826112b7565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092a90613bba565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610952611c1d565b73ffffffffffffffffffffffffffffffffffffffff16148061098157506109808161097b611c1d565b611930565b5b6109c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b790613a9a565b60405180910390fd5b6109ca8383611c25565b505050565b60006109db600b611cde565b905060018214806109ec5750600382145b806109f75750600582145b610a36576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2d90613a5a565b60405180910390fd5b6103e8610a4c8383611cec90919063ffffffff16565b1115610a8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a8490613a3a565b60405180910390fd5b600e60009054906101000a900460ff16610adc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad390613c3a565b60405180910390fd5b610af182600c54611d0290919063ffffffff16565b341015610b33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2a90613a1a565b60405180910390fd5b60005b82811015610b5957610b46611d18565b8080610b5190613fb1565b915050610b36565b505050565b6000600980549050905090565b610b73611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610b91611629565b73ffffffffffffffffffffffffffffffffffffffff1614610be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bde90613b5a565b60405180910390fd5b6000610bf3600b611cde565b90506103e8610c0b8383611cec90919063ffffffff16565b10610c4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c429061391a565b60405180910390fd5b60005b82811015610c7157610c5e611d18565b8080610c6990613fb1565b915050610c4e565b505050565b610c87610c81611c1d565b82611d8f565b610cc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbd90613bfa565b60405180910390fd5b610cd1838383611e6d565b505050565b6000610ce183611369565b8210610d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d199061395a565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6103e881565b610d89611c1d565b73ffffffffffffffffffffffffffffffffffffffff16610da7611629565b73ffffffffffffffffffffffffffffffffffffffff1614610dfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df490613b5a565b60405180910390fd5b600047905060008111610e45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3c90613b1a565b60405180910390fd5b6000806040518060a0016040528073c361fc33b99f88612257ac8cc2d852a5cee0e21773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173e70681e2fecffb1ff6aa2319cf0e2e7906449d7f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001733b9647ba1c065ebc5ba14d0da6ae608589d7f52b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001734bcb71b19795daf40d2d066a9cb8e949320daf9a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001739ae53b7bb6ec1ac09449d454ab40eff409b45f6f73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250905060006040518060a00160405280600a60ff168152602001601960ff168152602001600f60ff168152602001601460ff168152602001601e60ff16815250905060005b6005811015611163576000611064606461105685856005811061103f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015160ff1689611d0290919063ffffffff16565b6120c990919063ffffffff16565b905083826005811061109f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002015173ffffffffffffffffffffffffffffffffffffffff16816040516110c79061383f565b60006040518083038185875af1925050503d8060008114611104576040519150601f19603f3d011682016040523d82523d6000602084013e611109565b606091505b5050809550508461114f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114690613bda565b60405180910390fd5b50808061115b90613fb1565b915050610ff3565b5050505050565b611185838383604051806020016040528060008152506116fa565b505050565b6000611194610b5e565b82106111d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111cc90613c1a565b60405180910390fd5b6009828154811061120f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b611229611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611247611629565b73ffffffffffffffffffffffffffffffffffffffff161461129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129490613b5a565b60405180910390fd5b80600d90805190602001906112b3929190612ead565b5050565b6000806003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611360576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135790613ada565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156113da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d190613aba565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611429611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611447611629565b73ffffffffffffffffffffffffffffffffffffffff161461149d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149490613b5a565b60405180910390fd5b6114a760006120df565b565b606060006114b683611369565b905060008167ffffffffffffffff8111156114fa577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156115285781602001602082028036833780820191505090505b50905060005b82811015611598576115408582610cd6565b828281518110611579577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050808061159090613fb1565b91505061152e565b508092505050919050565b6115ab611c1d565b73ffffffffffffffffffffffffffffffffffffffff166115c9611629565b73ffffffffffffffffffffffffffffffffffffffff161461161f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161690613b5a565b60405180910390fd5b80600c8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461166190613f4e565b80601f016020809104026020016040519081016040528092919081815260200182805461168d90613f4e565b80156116da5780601f106116af576101008083540402835291602001916116da565b820191906000526020600020905b8154815290600101906020018083116116bd57829003601f168201915b5050505050905090565b6116f66116ef611c1d565b83836121a3565b5050565b61170b611705611c1d565b83611d8f565b61174a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174190613bfa565b60405180910390fd5b61175684848484612310565b50505050565b611764611c1d565b73ffffffffffffffffffffffffffffffffffffffff16611782611629565b73ffffffffffffffffffffffffffffffffffffffff16146117d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117cf90613b5a565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b600c5481565b606061180682611bb1565b611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c90613b9a565b60405180910390fd5b600061184f61236c565b9050600081511161186f576040518060200160405280600081525061189a565b80611879846123fe565b60405160200161188a92919061381b565b6040516020818303038152906040525b915050919050565b600d80546118af90613f4e565b80601f01602080910402602001604051908101604052809291908181526020018280546118db90613f4e565b80156119285780601f106118fd57610100808354040283529160200191611928565b820191906000526020600020905b81548152906001019060200180831161190b57829003601f168201915b505050505081565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b6119df611c1d565b73ffffffffffffffffffffffffffffffffffffffff166119fd611629565b73ffffffffffffffffffffffffffffffffffffffff1614611a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4a90613b5a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ac3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aba9061399a565b60405180910390fd5b611acc816120df565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611b9a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611baa5750611ba9826125ab565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166003600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816005600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611c98836112b7565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b60008183611cfa9190613d83565b905092915050565b60008183611d109190613e0a565b905092915050565b611d22600b611cde565b611d2a610b5e565b14611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d619061393a565b60405180910390fd5b6000611d76600b611cde565b9050611d823382612615565b611d8c600b612633565b50565b6000611d9a82611bb1565b611dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd090613a7a565b60405180910390fd5b6000611de4836112b7565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611e5357508373ffffffffffffffffffffffffffffffffffffffff16611e3b84610832565b73ffffffffffffffffffffffffffffffffffffffff16145b80611e645750611e638185611930565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611e8d826112b7565b73ffffffffffffffffffffffffffffffffffffffff1614611ee3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eda90613b7a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f4a906139da565b60405180910390fd5b611f5e838383612649565b611f69600082611c25565b6001600460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611fb99190613e64565b925050819055506001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120109190613d83565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600081836120d79190613dd9565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612209906139fa565b60405180910390fd5b80600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161230391906138dd565b60405180910390a3505050565b61231b848484611e6d565b6123278484848461275d565b612366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161235d9061397a565b60405180910390fd5b50505050565b6060600d805461237b90613f4e565b80601f01602080910402602001604051908101604052809291908181526020018280546123a790613f4e565b80156123f45780601f106123c9576101008083540402835291602001916123f4565b820191906000526020600020905b8154815290600101906020018083116123d757829003601f168201915b5050505050905090565b60606000821415612446576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506125a6565b600082905060005b6000821461247857808061246190613fb1565b915050600a826124719190613dd9565b915061244e565b60008167ffffffffffffffff8111156124ba577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124ec5781602001600182028036833780820191505090505b5090505b6000851461259f576001826125059190613e64565b9150600a856125149190613ffa565b60306125209190613d83565b60f81b81838151811061255c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856125989190613dd9565b94506124f0565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61262f8282604051806020016040528060008152506128f4565b5050565b6001816000016000828254019250508190555050565b61265483838361294f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126975761269281612954565b6126d6565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146126d5576126d4838261299d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127195761271481612b0a565b612758565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612757576127568282612c4d565b5b5b505050565b600061277e8473ffffffffffffffffffffffffffffffffffffffff16612ccc565b156128e7578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026127a7611c1d565b8786866040518563ffffffff1660e01b81526004016127c9949392919061386f565b602060405180830381600087803b1580156127e357600080fd5b505af192505050801561281457506040513d601f19601f820116820180604052508101906128119190613282565b60015b612897573d8060008114612844576040519150601f19603f3d011682016040523d82523d6000602084013e612849565b606091505b5060008151141561288f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128869061397a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506128ec565b600190505b949350505050565b6128fe8383612cdf565b61290b600084848461275d565b61294a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129419061397a565b60405180910390fd5b505050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016129aa84611369565b6129b49190613e64565b9050600060086000848152602001908152602001600020549050818114612a99576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612b1e9190613e64565b90506000600a6000848152602001908152602001600020549050600060098381548110612b74577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060098381548110612bbc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a6000858152602001908152602001600020600090556009805480612c31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000612c5883611369565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612d4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d4690613afa565b60405180910390fd5b612d5881611bb1565b15612d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d8f906139ba565b60405180910390fd5b612da460008383612649565b6001600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612df49190613d83565b92505081905550816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612eb990613f4e565b90600052602060002090601f016020900481019282612edb5760008555612f22565b82601f10612ef457805160ff1916838001178555612f22565b82800160010185558215612f22579182015b82811115612f21578251825591602001919060010190612f06565b5b509050612f2f9190612f33565b5090565b5b80821115612f4c576000816000905550600101612f34565b5090565b6000612f63612f5e84613c9a565b613c75565b905082815260208101848484011115612f7b57600080fd5b612f86848285613f0c565b509392505050565b6000612fa1612f9c84613ccb565b613c75565b905082815260208101848484011115612fb957600080fd5b612fc4848285613f0c565b509392505050565b600081359050612fdb81614785565b92915050565b600081359050612ff08161479c565b92915050565b600081359050613005816147b3565b92915050565b60008151905061301a816147b3565b92915050565b600082601f83011261303157600080fd5b8135613041848260208601612f50565b91505092915050565b600082601f83011261305b57600080fd5b813561306b848260208601612f8e565b91505092915050565b600081359050613083816147ca565b92915050565b60006020828403121561309b57600080fd5b60006130a984828501612fcc565b91505092915050565b600080604083850312156130c557600080fd5b60006130d385828601612fcc565b92505060206130e485828601612fcc565b9150509250929050565b60008060006060848603121561310357600080fd5b600061311186828701612fcc565b935050602061312286828701612fcc565b925050604061313386828701613074565b9150509250925092565b6000806000806080858703121561315357600080fd5b600061316187828801612fcc565b945050602061317287828801612fcc565b935050604061318387828801613074565b925050606085013567ffffffffffffffff8111156131a057600080fd5b6131ac87828801613020565b91505092959194509250565b600080604083850312156131cb57600080fd5b60006131d985828601612fcc565b92505060206131ea85828601612fe1565b9150509250929050565b6000806040838503121561320757600080fd5b600061321585828601612fcc565b925050602061322685828601613074565b9150509250929050565b60006020828403121561324257600080fd5b600061325084828501612fe1565b91505092915050565b60006020828403121561326b57600080fd5b600061327984828501612ff6565b91505092915050565b60006020828403121561329457600080fd5b60006132a28482850161300b565b91505092915050565b6000602082840312156132bd57600080fd5b600082013567ffffffffffffffff8111156132d757600080fd5b6132e38482850161304a565b91505092915050565b6000602082840312156132fe57600080fd5b600061330c84828501613074565b91505092915050565b600061332183836137fd565b60208301905092915050565b61333681613e98565b82525050565b600061334782613d0c565b6133518185613d3a565b935061335c83613cfc565b8060005b8381101561338d5781516133748882613315565b975061337f83613d2d565b925050600181019050613360565b5085935050505092915050565b6133a381613eaa565b82525050565b60006133b482613d17565b6133be8185613d4b565b93506133ce818560208601613f1b565b6133d7816140e7565b840191505092915050565b60006133ed82613d22565b6133f78185613d67565b9350613407818560208601613f1b565b613410816140e7565b840191505092915050565b600061342682613d22565b6134308185613d78565b9350613440818560208601613f1b565b80840191505092915050565b6000613459601f83613d67565b9150613464826140f8565b602082019050919050565b600061347c601983613d67565b915061348782614121565b602082019050919050565b600061349f602b83613d67565b91506134aa8261414a565b604082019050919050565b60006134c2603283613d67565b91506134cd82614199565b604082019050919050565b60006134e5602683613d67565b91506134f0826141e8565b604082019050919050565b6000613508601c83613d67565b915061351382614237565b602082019050919050565b600061352b602483613d67565b915061353682614260565b604082019050919050565b600061354e601983613d67565b9150613559826142af565b602082019050919050565b6000613571602283613d67565b915061357c826142d8565b604082019050919050565b6000613594601583613d67565b915061359f82614327565b602082019050919050565b60006135b7602583613d67565b91506135c282614350565b604082019050919050565b60006135da602c83613d67565b91506135e58261439f565b604082019050919050565b60006135fd603883613d67565b9150613608826143ee565b604082019050919050565b6000613620602a83613d67565b915061362b8261443d565b604082019050919050565b6000613643602983613d67565b915061364e8261448c565b604082019050919050565b6000613666602083613d67565b9150613671826144db565b602082019050919050565b6000613689601983613d67565b915061369482614504565b602082019050919050565b60006136ac602c83613d67565b91506136b78261452d565b604082019050919050565b60006136cf602083613d67565b91506136da8261457c565b602082019050919050565b60006136f2602983613d67565b91506136fd826145a5565b604082019050919050565b6000613715602f83613d67565b9150613720826145f4565b604082019050919050565b6000613738602183613d67565b915061374382614643565b604082019050919050565b600061375b600083613d5c565b915061376682614692565b600082019050919050565b600061377e601083613d67565b915061378982614695565b602082019050919050565b60006137a1603183613d67565b91506137ac826146be565b604082019050919050565b60006137c4602c83613d67565b91506137cf8261470d565b604082019050919050565b60006137e7601d83613d67565b91506137f28261475c565b602082019050919050565b61380681613f02565b82525050565b61381581613f02565b82525050565b6000613827828561341b565b9150613833828461341b565b91508190509392505050565b600061384a8261374e565b9150819050919050565b6000602082019050613869600083018461332d565b92915050565b6000608082019050613884600083018761332d565b613891602083018661332d565b61389e604083018561380c565b81810360608301526138b081846133a9565b905095945050505050565b600060208201905081810360008301526138d5818461333c565b905092915050565b60006020820190506138f2600083018461339a565b92915050565b6000602082019050818103600083015261391281846133e2565b905092915050565b600060208201905081810360008301526139338161344c565b9050919050565b600060208201905081810360008301526139538161346f565b9050919050565b6000602082019050818103600083015261397381613492565b9050919050565b60006020820190508181036000830152613993816134b5565b9050919050565b600060208201905081810360008301526139b3816134d8565b9050919050565b600060208201905081810360008301526139d3816134fb565b9050919050565b600060208201905081810360008301526139f38161351e565b9050919050565b60006020820190508181036000830152613a1381613541565b9050919050565b60006020820190508181036000830152613a3381613564565b9050919050565b60006020820190508181036000830152613a5381613587565b9050919050565b60006020820190508181036000830152613a73816135aa565b9050919050565b60006020820190508181036000830152613a93816135cd565b9050919050565b60006020820190508181036000830152613ab3816135f0565b9050919050565b60006020820190508181036000830152613ad381613613565b9050919050565b60006020820190508181036000830152613af381613636565b9050919050565b60006020820190508181036000830152613b1381613659565b9050919050565b60006020820190508181036000830152613b338161367c565b9050919050565b60006020820190508181036000830152613b538161369f565b9050919050565b60006020820190508181036000830152613b73816136c2565b9050919050565b60006020820190508181036000830152613b93816136e5565b9050919050565b60006020820190508181036000830152613bb381613708565b9050919050565b60006020820190508181036000830152613bd38161372b565b9050919050565b60006020820190508181036000830152613bf381613771565b9050919050565b60006020820190508181036000830152613c1381613794565b9050919050565b60006020820190508181036000830152613c33816137b7565b9050919050565b60006020820190508181036000830152613c53816137da565b9050919050565b6000602082019050613c6f600083018461380c565b92915050565b6000613c7f613c90565b9050613c8b8282613f80565b919050565b6000604051905090565b600067ffffffffffffffff821115613cb557613cb46140b8565b5b613cbe826140e7565b9050602081019050919050565b600067ffffffffffffffff821115613ce657613ce56140b8565b5b613cef826140e7565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613d8e82613f02565b9150613d9983613f02565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613dce57613dcd61402b565b5b828201905092915050565b6000613de482613f02565b9150613def83613f02565b925082613dff57613dfe61405a565b5b828204905092915050565b6000613e1582613f02565b9150613e2083613f02565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e5957613e5861402b565b5b828202905092915050565b6000613e6f82613f02565b9150613e7a83613f02565b925082821015613e8d57613e8c61402b565b5b828203905092915050565b6000613ea382613ee2565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613f39578082015181840152602081019050613f1e565b83811115613f48576000848401525b50505050565b60006002820490506001821680613f6657607f821691505b60208210811415613f7a57613f79614089565b5b50919050565b613f89826140e7565b810181811067ffffffffffffffff82111715613fa857613fa76140b8565b5b80604052505050565b6000613fbc82613f02565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613fef57613fee61402b565b5b600182019050919050565b600061400582613f02565b915061401083613f02565b9250826140205761401f61405a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4e6f7420656e6f756768204e465473206c65667420746f207265736572766500600082015250565b7f496e646578696e67206861732062726f6b656e20646f776e2100000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4e6f7420656e6f75676820657468657220746f207075726368617365204e465460008201527f732e000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f756768204e465473206c656674210000000000000000000000600082015250565b7f43616e6e6f74206d696e7420737065636966696564206e756d626572206f662060008201527f4e4654732e000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4e6f206574686572206c65667420746f20776974686472617700000000000000600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f742063757272656e746c792061637469766521000000600082015250565b61478e81613e98565b811461479957600080fd5b50565b6147a581613eaa565b81146147b057600080fd5b50565b6147bc81613eb6565b81146147c757600080fd5b50565b6147d381613f02565b81146147de57600080fd5b5056fea2646970667358221220f87f1fa5c9470021e5c0fdc3f49753548477db339f24f1fb78daf1e76b8d5d5564736f6c63430008040033
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.