Overview
ETH Balance
0.0005 ETH
Eth Value
$1.32 (@ $2,633.38/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 195 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 16281883 | 602 days ago | IN | 0 ETH | 0.00066526 | ||||
Set Approval For... | 15913115 | 654 days ago | IN | 0 ETH | 0.00070281 | ||||
Set Approval For... | 15896610 | 656 days ago | IN | 0 ETH | 0.00060006 | ||||
Set Approval For... | 15533262 | 707 days ago | IN | 0 ETH | 0.00140697 | ||||
Set Approval For... | 15474049 | 717 days ago | IN | 0 ETH | 0.00035453 | ||||
Transfer From | 15289768 | 746 days ago | IN | 0 ETH | 0.00134091 | ||||
Mint | 15243325 | 753 days ago | IN | 0.0005 ETH | 0.00033708 | ||||
Withdraw | 15221870 | 757 days ago | IN | 0 ETH | 0.00049893 | ||||
Mint | 15221588 | 757 days ago | IN | 0.0005 ETH | 0.00076179 | ||||
Mint | 15221547 | 757 days ago | IN | 0.0005 ETH | 0.00070071 | ||||
Mint | 15221525 | 757 days ago | IN | 0.0005 ETH | 0.00062831 | ||||
Mint | 15221511 | 757 days ago | IN | 0.0005 ETH | 0.00061274 | ||||
Mint | 15219984 | 757 days ago | IN | 0.0005 ETH | 0.00112349 | ||||
Withdraw | 15219286 | 757 days ago | IN | 0 ETH | 0.00073924 | ||||
Mint | 15218354 | 757 days ago | IN | 0.0005 ETH | 0.00111803 | ||||
Mint | 15214344 | 758 days ago | IN | 0.0005 ETH | 0.00096289 | ||||
Mint | 15214307 | 758 days ago | IN | 0.0005 ETH | 0.00059142 | ||||
Free Mint | 15207610 | 759 days ago | IN | 0 ETH | 0.00066234 | ||||
Free Mint | 15207455 | 759 days ago | IN | 0 ETH | 0.0008609 | ||||
Mint | 15207219 | 759 days ago | IN | 0.0005 ETH | 0.00058933 | ||||
Mint | 15207199 | 759 days ago | IN | 0.0005 ETH | 0.00079514 | ||||
Mint | 15207192 | 759 days ago | IN | 0.0005 ETH | 0.00087682 | ||||
Free Mint | 15207186 | 759 days ago | IN | 0 ETH | 0.00065732 | ||||
Mint | 15207184 | 759 days ago | IN | 0.0005 ETH | 0.00068381 | ||||
Mint | 15207176 | 759 days ago | IN | 0.0005 ETH | 0.00059934 |
Loading...
Loading
Contract Name:
ComfortBears
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0-or-later pragma solidity ^0.8.4; pragma abicoder v2; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import './ERC721B.sol'; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; contract ComfortBears is ERC721B, Ownable { using Strings for uint256; string public baseURI = ""; bool public isSaleActive = false; mapping(address => bool) private _freeMintClaimed; mapping(address => uint256) private _mintsClaimed; uint256 public constant MAX_TOKENS = 9999; uint256 public tokenPrice = 500000000000000; uint256 public constant maxPerWallet = 5; using SafeMath for uint256; using Strings for uint256; uint256 public devReserve = 5; event NFTMINTED(uint256 tokenId, address owner); constructor() ERC721B("ComfortBears", "CB") {} function _baseURI() internal view virtual returns (string memory) { return baseURI; } function _price() internal view virtual returns (uint256) { return tokenPrice; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setPrice(uint256 _newTokenPrice) public onlyOwner { tokenPrice = _newTokenPrice; } function activateSale() external onlyOwner { isSaleActive = !isSaleActive; } function exists(uint256 tokenId) public view returns (bool) { return _exists(tokenId); } function Withdraw() public payable onlyOwner { (bool os, ) = payable(owner()).call{ value: address(this).balance }(""); require(os); } function reserveTokens(address dev, uint256 reserveAmount) external onlyOwner { require( reserveAmount > 0 && reserveAmount <= devReserve, "Dev reserve empty" ); totalSupply().add(1); _mint(dev, reserveAmount); } function Mint(address to, uint256 quantity) external payable { require(isSaleActive, "Sale not Active"); require( quantity > 0 && quantity <= maxPerWallet, "Can Mint only 5 per Wallet" ); require( totalSupply().add(quantity) <= MAX_TOKENS, "Mint is going over max per transaction" ); require(msg.value >= tokenPrice.mul(quantity), "0.0005 eth per token" ); require( _mintsClaimed[msg.sender].add(quantity) <= maxPerWallet, "Only 5 mints per wallet, priced at 0.0005 eth" ); _mintsClaimed[msg.sender] += quantity; _mint(to, quantity); } function FreeMint(address to) external payable { require(isSaleActive, "Sale not Active"); require( totalSupply().add(1) <= MAX_TOKENS, "Mint is going Supply" ); require( _freeMintClaimed[msg.sender] != true, "Only one Free Mint per Wallet" ); _freeMintClaimed[msg.sender] = true; _mint(to, 1); } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), ".json")) : ""; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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 subtraction 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: GPL-3.0-or-later pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error UnableDetermineTokenOwner(); error UnableGetTokenOwnerByIndex(); error URIQueryForNonexistentToken(); /** * Updated, minimalist and gas efficient version of OpenZeppelins ERC721 contract. * Includes the Metadata and Enumerable extension. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * Does not support burning tokens * * @author beskay0x * Credits: chiru-labs, solmate, transmissions11, nftchance, squeebo_nft and others */ abstract contract ERC721B { /*/////////////////////////////////////////////////////////////// EVENTS //////////////////////////////////////////////////////////////*/ event Transfer(address indexed from, address indexed to, uint256 indexed id); event Approval(address indexed owner, address indexed spender, uint256 indexed id); event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /*/////////////////////////////////////////////////////////////// METADATA STORAGE/LOGIC //////////////////////////////////////////////////////////////*/ string public name; string public symbol; function tokenURI(uint256 tokenId) public view virtual returns (string memory); /*/////////////////////////////////////////////////////////////// ERC721 STORAGE //////////////////////////////////////////////////////////////*/ // Array which maps token ID to address (index is tokenID) address[] internal _owners; // 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; /*/////////////////////////////////////////////////////////////// CONSTRUCTOR //////////////////////////////////////////////////////////////*/ constructor(string memory _name, string memory _symbol) { name = _name; symbol = _symbol; } /*/////////////////////////////////////////////////////////////// ERC165 LOGIC //////////////////////////////////////////////////////////////*/ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165 interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721 interfaceId == 0x780e9d63 || // ERC165 Interface ID for ERC721Enumerable interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata } /*/////////////////////////////////////////////////////////////// ERC721ENUMERABLE LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * Dont call this function on chain from another smart contract, since it can become quite expensive */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual returns (uint256 tokenId) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 count; uint256 qty = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (tokenId; tokenId < qty; tokenId++) { if (owner == ownerOf(tokenId)) { if (count == index) return tokenId; else count++; } } } revert UnableGetTokenOwnerByIndex(); } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual returns (uint256) { if (index >= totalSupply()) revert TokenIndexOutOfBounds(); return index; } /*/////////////////////////////////////////////////////////////// ERC721 LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev Iterates through _owners array, returns balance of address * It is not recommended to call this function from another smart contract * as it can become quite expensive -- call this function off chain instead. */ function balanceOf(address owner) public view virtual returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); uint256 count; uint256 qty = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i; i < qty; i++) { if (owner == ownerOf(i)) { count++; } } } return count; } /** * @dev See {IERC721-ownerOf}. * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownerOf(uint256 tokenId) public view virtual returns (address) { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); // Cannot realistically overflow, since we are using uint256 unchecked { for (tokenId; ; tokenId++) { if (_owners[tokenId] != address(0)) { return _owners[tokenId]; } } } revert UnableDetermineTokenOwner(); } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual { address owner = ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (msg.sender != owner && !isApprovedForAll(owner, msg.sender)) revert ApprovalCallerNotOwnerNorApproved(); _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual { if (operator == msg.sender) revert ApproveToCaller(); _operatorApprovals[msg.sender][operator] = approved; emit ApprovalForAll(msg.sender, operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual { if (!_exists(tokenId)) revert OwnerQueryForNonexistentToken(); if (ownerOf(tokenId) != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); bool isApprovedOrOwner = (msg.sender == from || msg.sender == getApproved(tokenId) || isApprovedForAll(from, msg.sender)); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); // delete token approvals from previous owner delete _tokenApprovals[tokenId]; _owners[tokenId] = to; // if token ID below transferred one isnt set, set it to previous owner // if tokenid is zero, skip this to prevent underflow if (tokenId > 0 && _owners[tokenId - 1] == address(0)) { _owners[tokenId - 1] = from; } emit Transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id ) public virtual { safeTransferFrom(from, to, id, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, bytes memory data ) public virtual { transferFrom(from, to, id); if (!_checkOnERC721Received(from, to, id, data)) revert TransferToNonERC721ReceiverImplementer(); } /** * @dev Returns whether `tokenId` exists. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length; } /** * @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.code.length == 0) return true; try IERC721Receiver(to).onERC721Received(msg.sender, from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) revert TransferToNonERC721ReceiverImplementer(); assembly { revert(add(32, reason), mload(reason)) } } } /*/////////////////////////////////////////////////////////////// INTERNAL MINT LOGIC //////////////////////////////////////////////////////////////*/ /** * @dev check if contract confirms token transfer, if not - reverts * unlike the standard ERC721 implementation this is only called once per mint, * no matter how many tokens get minted, since it is useless to check this * requirement several times -- if the contract confirms one token, * it will confirm all additional ones too. * This saves us around 5k gas per additional mint */ function _safeMint(address to, uint256 qty) internal virtual { _safeMint(to, qty, ''); } function _safeMint( address to, uint256 qty, bytes memory data ) internal virtual { _mint(to, qty); if (!_checkOnERC721Received(address(0), to, _owners.length - 1, data)) revert TransferToNonERC721ReceiverImplementer(); } function _mint(address to, uint256 qty) internal virtual { if (to == address(0)) revert MintToZeroAddress(); if (qty == 0) revert MintZeroQuantity(); uint256 _currentIndex = _owners.length; // Cannot realistically overflow, since we are using uint256 unchecked { for (uint256 i; i < qty - 1; i++) { _owners.push(); emit Transfer(address(0), to, _currentIndex + i); } } // set last index to receiver _owners.push(to); emit Transfer(address(0), to, _currentIndex + (qty - 1)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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 (last updated v4.6.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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenIndexOutOfBounds","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"UnableDetermineTokenOwner","type":"error"},{"inputs":[],"name":"UnableGetTokenOwnerByIndex","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","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":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"NFTMINTED","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"FreeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"Mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"Withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"activateSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dev","type":"address"},{"internalType":"uint256","name":"reserveAmount","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","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":"id","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newTokenPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600690805190602001906200002b929190620001f9565b506000600760006101000a81548160ff0219169083151502179055506601c6bf52634000600a556005600b553480156200006457600080fd5b506040518060400160405280600c81526020017f436f6d666f7274426561727300000000000000000000000000000000000000008152506040518060400160405280600281526020017f43420000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000e9929190620001f9565b50806001908051906020019062000102929190620001f9565b50505062000125620001196200012b60201b60201c565b6200013360201b60201c565b6200030e565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020790620002a9565b90600052602060002090601f0160209004810192826200022b576000855562000277565b82601f106200024657805160ff191683800117855562000277565b8280016001018555821562000277579182015b828111156200027657825182559160200191906001019062000259565b5b5090506200028691906200028a565b5090565b5b80821115620002a55760008160009055506001016200028b565b5090565b60006002820490506001821680620002c257607f821691505b60208210811415620002d957620002d8620002df565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6134ce806200031e6000396000f3fe6080604052600436106101ee5760003560e01c80636c0360eb1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd146106ae578063e985e9c5146106eb578063f2fde38b14610728578063f47c84c514610751578063fcd2a4271461077c576101ee565b806395d89b411461061a578063a22cb46514610645578063b88d4fde1461066e578063c721f08d14610697576101ee565b806378cf19e9116100dc57806378cf19e9146105725780637ff9b5961461059b5780638da5cb5b146105c657806391b7f5ed146105f1576101ee565b80636c0360eb146104d757806370a0823114610502578063715018a61461053f5780637151c4f514610556576101ee565b806342842e0e1161018557806355f804b31161015457806355f804b31461043c578063564566a81461046557806357ea89b6146104905780636352211e1461049a576101ee565b806342842e0e1461036e578063453c2310146103975780634f558e79146103c25780634f6ccce7146103ff576101ee565b80630f6798a5116101c15780630f6798a5146102c157806318160ddd146102dd57806323b872dd146103085780632f745c5914610331576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a6004803603810190610215919061275e565b6107a7565b6040516102279190612b70565b60405180910390f35b34801561023c57600080fd5b50610245610869565b6040516102529190612b8b565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190612801565b6108f7565b60405161028f9190612b09565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba919061271e565b610973565b005b6102db60048036038101906102d6919061271e565b610b12565b005b3480156102e957600080fd5b506102f2610d5f565b6040516102ff9190612d0d565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190612608565b610d6c565b005b34801561033d57600080fd5b506103586004803603810190610353919061271e565b611121565b6040516103659190612d0d565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190612608565b611211565b005b3480156103a357600080fd5b506103ac611231565b6040516103b99190612d0d565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190612801565b611236565b6040516103f69190612b70565b60405180910390f35b34801561040b57600080fd5b5061042660048036038101906104219190612801565b611248565b6040516104339190612d0d565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e91906127b8565b611292565b005b34801561047157600080fd5b5061047a6112b4565b6040516104879190612b70565b60405180910390f35b6104986112c7565b005b3480156104a657600080fd5b506104c160048036038101906104bc9190612801565b61134f565b6040516104ce9190612b09565b60405180910390f35b3480156104e357600080fd5b506104ec61145b565b6040516104f99190612b8b565b60405180910390f35b34801561050e57600080fd5b506105296004803603810190610524919061259b565b6114e9565b6040516105369190612d0d565b60405180910390f35b34801561054b57600080fd5b506105546115c4565b005b610570600480360381019061056b919061259b565b6115d8565b005b34801561057e57600080fd5b506105996004803603810190610594919061271e565b611780565b005b3480156105a757600080fd5b506105b0611803565b6040516105bd9190612d0d565b60405180910390f35b3480156105d257600080fd5b506105db611809565b6040516105e89190612b09565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190612801565b611833565b005b34801561062657600080fd5b5061062f611845565b60405161063c9190612b8b565b60405180910390f35b34801561065157600080fd5b5061066c600480360381019061066791906126de565b6118d3565b005b34801561067a57600080fd5b506106956004803603810190610690919061265b565b611a36565b005b3480156106a357600080fd5b506106ac611a89565b005b3480156106ba57600080fd5b506106d560048036038101906106d09190612801565b611abd565b6040516106e29190612b8b565b60405180910390f35b3480156106f757600080fd5b50610712600480360381019061070d91906125c8565b611b64565b60405161071f9190612b70565b60405180910390f35b34801561073457600080fd5b5061074f600480360381019061074a919061259b565b611bf8565b005b34801561075d57600080fd5b50610766611c7c565b6040516107739190612d0d565b60405180910390f35b34801561078857600080fd5b50610791611c82565b60405161079e9190612d0d565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610832575063780e9d6360e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108625750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000805461087690612fc8565b80601f01602080910402602001604051908101604052809291908181526020018280546108a290612fc8565b80156108ef5780601f106108c4576101008083540402835291602001916108ef565b820191906000526020600020905b8154815290600101906020018083116108d257829003601f168201915b505050505081565b600061090282611c88565b610938576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097e8261134f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a295750610a278133611b64565b155b15610a60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826003600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600760009054906101000a900460ff16610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5890612c4d565b60405180910390fd5b600081118015610b72575060058111155b610bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba890612bed565b60405180910390fd5b61270f610bce82610bc0610d5f565b611c9990919063ffffffff16565b1115610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0690612cad565b60405180910390fd5b610c2481600a54611caf90919063ffffffff16565b341015610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90612bcd565b60405180910390fd5b6005610cba82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c9990919063ffffffff16565b1115610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf290612c8d565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d4a9190612dfd565b92505081905550610d5b8282611cc5565b5050565b6000600280549050905090565b610d7581611c88565b610dab576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16610dcb8261134f565b73ffffffffffffffffffffffffffffffffffffffff1614610e18576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e7f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610eee5750610ebf826108f7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610eff5750610efe8433611b64565b5b905080610f38576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558260028381548110610f8357610f82613132565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000821180156110515750600073ffffffffffffffffffffffffffffffffffffffff166002600184610ffd9190612ede565b8154811061100e5761100d613132565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b156110c0578360026001846110669190612ede565b8154811061107757611076613132565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600061112c836114e9565b8210611164576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060028054905090505b808310156111d9576111818361134f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156111cc57838214156111c357505061120b565b81806001019250505b8280600101935050611170565b6040517f7339954700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b92915050565b61122c83838360405180602001604052806000815250611a36565b505050565b600581565b600061124182611c88565b9050919050565b6000611252610d5f565b821061128a576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b61129a611eee565b80600690805190602001906112b09291906123af565b5050565b600760009054906101000a900460ff1681565b6112cf611eee565b60006112d9611809565b73ffffffffffffffffffffffffffffffffffffffff16476040516112fc90612af4565b60006040518083038185875af1925050503d8060008114611339576040519150601f19603f3d011682016040523d82523d6000602084013e61133e565b606091505b505090508061134c57600080fd5b50565b600061135a82611c88565b611390576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff16600283815481106113bd576113bc613132565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611449576002828154811061141757611416613132565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611456565b8180600101925050611391565b919050565b6006805461146890612fc8565b80601f016020809104026020016040519081016040528092919081815260200182805461149490612fc8565b80156114e15780601f106114b6576101008083540402835291602001916114e1565b820191906000526020600020905b8154815290600101906020018083116114c457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611551576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080600280549050905060005b818110156115b9576115708161134f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156115ac5782806001019350505b808060010191505061155f565b508192505050919050565b6115cc611eee565b6115d66000611f6c565b565b600760009054906101000a900460ff16611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90612c4d565b60405180910390fd5b61270f6116456001611637610d5f565b611c9990919063ffffffff16565b1115611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90612c6d565b60405180910390fd5b60011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141561171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190612ced565b60405180910390fd5b6001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061177d816001611cc5565b50565b611788611eee565b60008111801561179a5750600b548111155b6117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090612ccd565b60405180910390fd5b6117f460016117e6610d5f565b611c9990919063ffffffff16565b506117ff8282611cc5565b5050565b600a5481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61183b611eee565b80600a8190555050565b6001805461185290612fc8565b80601f016020809104026020016040519081016040528092919081815260200182805461187e90612fc8565b80156118cb5780601f106118a0576101008083540402835291602001916118cb565b820191906000526020600020905b8154815290600101906020018083116118ae57829003601f168201915b505050505081565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611939576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2a9190612b70565b60405180910390a35050565b611a41848484610d6c565b611a4d84848484612032565b611a83576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611a91611eee565b600760009054906101000a900460ff1615600760006101000a81548160ff021916908315150217905550565b6060611ac882611c88565b611b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afe90612c2d565b60405180910390fd5b6000611b116121b4565b90506000815111611b315760405180602001604052806000815250611b5c565b80611b3b84612246565b604051602001611b4c929190612ac5565b6040516020818303038152906040525b915050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c00611eee565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790612bad565b60405180910390fd5b611c7981611f6c565b50565b61270f81565b600b5481565b600060028054905082109050919050565b60008183611ca79190612dfd565b905092915050565b60008183611cbd9190612e84565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d2c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415611d67576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600280549050905060005b60018303811015611e12576002600181600181540180825580915050039060005260206000200160009054906101000a9050508082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080600101915050611d74565b506002839080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600182611e839190612ede565b81611e8e9190612dfd565b8373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611ef66123a7565b73ffffffffffffffffffffffffffffffffffffffff16611f14611809565b73ffffffffffffffffffffffffffffffffffffffff1614611f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6190612c0d565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808473ffffffffffffffffffffffffffffffffffffffff163b141561205c57600190506121ac565b8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b815260040161209b9493929190612b24565b602060405180830381600087803b1580156120b557600080fd5b505af19250505080156120e657506040513d601f19601f820116820180604052508101906120e3919061278b565b60015b612160573d8060008114612116576040519150601f19603f3d011682016040523d82523d6000602084013e61211b565b606091505b50600081511415612158576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b6060600680546121c390612fc8565b80601f01602080910402602001604051908101604052809291908181526020018280546121ef90612fc8565b801561223c5780601f106122115761010080835404028352916020019161223c565b820191906000526020600020905b81548152906001019060200180831161221f57829003601f168201915b5050505050905090565b6060600082141561228e576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123a2565b600082905060005b600082146122c05780806122a99061302b565b915050600a826122b99190612e53565b9150612296565b60008167ffffffffffffffff8111156122dc576122db613161565b5b6040519080825280601f01601f19166020018201604052801561230e5781602001600182028036833780820191505090505b5090505b6000851461239b576001826123279190612ede565b9150600a856123369190613074565b60306123429190612dfd565b60f81b81838151811061235857612357613132565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123949190612e53565b9450612312565b8093505050505b919050565b600033905090565b8280546123bb90612fc8565b90600052602060002090601f0160209004810192826123dd5760008555612424565b82601f106123f657805160ff1916838001178555612424565b82800160010185558215612424579182015b82811115612423578251825591602001919060010190612408565b5b5090506124319190612435565b5090565b5b8082111561244e576000816000905550600101612436565b5090565b600061246561246084612d4d565b612d28565b90508281526020810184848401111561248157612480613195565b5b61248c848285612f86565b509392505050565b60006124a76124a284612d7e565b612d28565b9050828152602081018484840111156124c3576124c2613195565b5b6124ce848285612f86565b509392505050565b6000813590506124e58161343c565b92915050565b6000813590506124fa81613453565b92915050565b60008135905061250f8161346a565b92915050565b6000815190506125248161346a565b92915050565b600082601f83011261253f5761253e613190565b5b813561254f848260208601612452565b91505092915050565b600082601f83011261256d5761256c613190565b5b813561257d848260208601612494565b91505092915050565b60008135905061259581613481565b92915050565b6000602082840312156125b1576125b061319f565b5b60006125bf848285016124d6565b91505092915050565b600080604083850312156125df576125de61319f565b5b60006125ed858286016124d6565b92505060206125fe858286016124d6565b9150509250929050565b6000806000606084860312156126215761262061319f565b5b600061262f868287016124d6565b9350506020612640868287016124d6565b925050604061265186828701612586565b9150509250925092565b600080600080608085870312156126755761267461319f565b5b6000612683878288016124d6565b9450506020612694878288016124d6565b93505060406126a587828801612586565b925050606085013567ffffffffffffffff8111156126c6576126c561319a565b5b6126d28782880161252a565b91505092959194509250565b600080604083850312156126f5576126f461319f565b5b6000612703858286016124d6565b9250506020612714858286016124eb565b9150509250929050565b600080604083850312156127355761273461319f565b5b6000612743858286016124d6565b925050602061275485828601612586565b9150509250929050565b6000602082840312156127745761277361319f565b5b600061278284828501612500565b91505092915050565b6000602082840312156127a1576127a061319f565b5b60006127af84828501612515565b91505092915050565b6000602082840312156127ce576127cd61319f565b5b600082013567ffffffffffffffff8111156127ec576127eb61319a565b5b6127f884828501612558565b91505092915050565b6000602082840312156128175761281661319f565b5b600061282584828501612586565b91505092915050565b61283781612f12565b82525050565b61284681612f24565b82525050565b600061285782612daf565b6128618185612dc5565b9350612871818560208601612f95565b61287a816131a4565b840191505092915050565b600061289082612dba565b61289a8185612de1565b93506128aa818560208601612f95565b6128b3816131a4565b840191505092915050565b60006128c982612dba565b6128d38185612df2565b93506128e3818560208601612f95565b80840191505092915050565b60006128fc602683612de1565b9150612907826131b5565b604082019050919050565b600061291f601483612de1565b915061292a82613204565b602082019050919050565b6000612942601a83612de1565b915061294d8261322d565b602082019050919050565b6000612965600583612df2565b915061297082613256565b600582019050919050565b6000612988602083612de1565b91506129938261327f565b602082019050919050565b60006129ab602f83612de1565b91506129b6826132a8565b604082019050919050565b60006129ce600f83612de1565b91506129d9826132f7565b602082019050919050565b60006129f1601483612de1565b91506129fc82613320565b602082019050919050565b6000612a14600083612dd6565b9150612a1f82613349565b600082019050919050565b6000612a37602d83612de1565b9150612a428261334c565b604082019050919050565b6000612a5a602683612de1565b9150612a658261339b565b604082019050919050565b6000612a7d601183612de1565b9150612a88826133ea565b602082019050919050565b6000612aa0601d83612de1565b9150612aab82613413565b602082019050919050565b612abf81612f7c565b82525050565b6000612ad182856128be565b9150612add82846128be565b9150612ae882612958565b91508190509392505050565b6000612aff82612a07565b9150819050919050565b6000602082019050612b1e600083018461282e565b92915050565b6000608082019050612b39600083018761282e565b612b46602083018661282e565b612b536040830185612ab6565b8181036060830152612b65818461284c565b905095945050505050565b6000602082019050612b85600083018461283d565b92915050565b60006020820190508181036000830152612ba58184612885565b905092915050565b60006020820190508181036000830152612bc6816128ef565b9050919050565b60006020820190508181036000830152612be681612912565b9050919050565b60006020820190508181036000830152612c0681612935565b9050919050565b60006020820190508181036000830152612c268161297b565b9050919050565b60006020820190508181036000830152612c468161299e565b9050919050565b60006020820190508181036000830152612c66816129c1565b9050919050565b60006020820190508181036000830152612c86816129e4565b9050919050565b60006020820190508181036000830152612ca681612a2a565b9050919050565b60006020820190508181036000830152612cc681612a4d565b9050919050565b60006020820190508181036000830152612ce681612a70565b9050919050565b60006020820190508181036000830152612d0681612a93565b9050919050565b6000602082019050612d226000830184612ab6565b92915050565b6000612d32612d43565b9050612d3e8282612ffa565b919050565b6000604051905090565b600067ffffffffffffffff821115612d6857612d67613161565b5b612d71826131a4565b9050602081019050919050565b600067ffffffffffffffff821115612d9957612d98613161565b5b612da2826131a4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612e0882612f7c565b9150612e1383612f7c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e4857612e476130a5565b5b828201905092915050565b6000612e5e82612f7c565b9150612e6983612f7c565b925082612e7957612e786130d4565b5b828204905092915050565b6000612e8f82612f7c565b9150612e9a83612f7c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ed357612ed26130a5565b5b828202905092915050565b6000612ee982612f7c565b9150612ef483612f7c565b925082821015612f0757612f066130a5565b5b828203905092915050565b6000612f1d82612f5c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612fb3578082015181840152602081019050612f98565b83811115612fc2576000848401525b50505050565b60006002820490506001821680612fe057607f821691505b60208210811415612ff457612ff3613103565b5b50919050565b613003826131a4565b810181811067ffffffffffffffff8211171561302257613021613161565b5b80604052505050565b600061303682612f7c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613069576130686130a5565b5b600182019050919050565b600061307f82612f7c565b915061308a83612f7c565b92508261309a576130996130d4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f302e30303035206574682070657220746f6b656e000000000000000000000000600082015250565b7f43616e204d696e74206f6e6c792035207065722057616c6c6574000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c65206e6f74204163746976650000000000000000000000000000000000600082015250565b7f4d696e7420697320676f696e6720537570706c79000000000000000000000000600082015250565b50565b7f4f6e6c792035206d696e7473207065722077616c6c65742c207072696365642060008201527f617420302e303030352065746800000000000000000000000000000000000000602082015250565b7f4d696e7420697320676f696e67206f766572206d617820706572207472616e7360008201527f616374696f6e0000000000000000000000000000000000000000000000000000602082015250565b7f446576207265736572766520656d707479000000000000000000000000000000600082015250565b7f4f6e6c79206f6e652046726565204d696e74207065722057616c6c6574000000600082015250565b61344581612f12565b811461345057600080fd5b50565b61345c81612f24565b811461346757600080fd5b50565b61347381612f30565b811461347e57600080fd5b50565b61348a81612f7c565b811461349557600080fd5b5056fea2646970667358221220fd766a08ae2acf6fffda088d0db2d18b2cffb4658d1a4aa0475fd5be4dc35a7e64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c80636c0360eb1161010d57806395d89b41116100a0578063c87b56dd1161006f578063c87b56dd146106ae578063e985e9c5146106eb578063f2fde38b14610728578063f47c84c514610751578063fcd2a4271461077c576101ee565b806395d89b411461061a578063a22cb46514610645578063b88d4fde1461066e578063c721f08d14610697576101ee565b806378cf19e9116100dc57806378cf19e9146105725780637ff9b5961461059b5780638da5cb5b146105c657806391b7f5ed146105f1576101ee565b80636c0360eb146104d757806370a0823114610502578063715018a61461053f5780637151c4f514610556576101ee565b806342842e0e1161018557806355f804b31161015457806355f804b31461043c578063564566a81461046557806357ea89b6146104905780636352211e1461049a576101ee565b806342842e0e1461036e578063453c2310146103975780634f558e79146103c25780634f6ccce7146103ff576101ee565b80630f6798a5116101c15780630f6798a5146102c157806318160ddd146102dd57806323b872dd146103085780632f745c5914610331576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a6004803603810190610215919061275e565b6107a7565b6040516102279190612b70565b60405180910390f35b34801561023c57600080fd5b50610245610869565b6040516102529190612b8b565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d9190612801565b6108f7565b60405161028f9190612b09565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba919061271e565b610973565b005b6102db60048036038101906102d6919061271e565b610b12565b005b3480156102e957600080fd5b506102f2610d5f565b6040516102ff9190612d0d565b60405180910390f35b34801561031457600080fd5b5061032f600480360381019061032a9190612608565b610d6c565b005b34801561033d57600080fd5b506103586004803603810190610353919061271e565b611121565b6040516103659190612d0d565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190612608565b611211565b005b3480156103a357600080fd5b506103ac611231565b6040516103b99190612d0d565b60405180910390f35b3480156103ce57600080fd5b506103e960048036038101906103e49190612801565b611236565b6040516103f69190612b70565b60405180910390f35b34801561040b57600080fd5b5061042660048036038101906104219190612801565b611248565b6040516104339190612d0d565b60405180910390f35b34801561044857600080fd5b50610463600480360381019061045e91906127b8565b611292565b005b34801561047157600080fd5b5061047a6112b4565b6040516104879190612b70565b60405180910390f35b6104986112c7565b005b3480156104a657600080fd5b506104c160048036038101906104bc9190612801565b61134f565b6040516104ce9190612b09565b60405180910390f35b3480156104e357600080fd5b506104ec61145b565b6040516104f99190612b8b565b60405180910390f35b34801561050e57600080fd5b506105296004803603810190610524919061259b565b6114e9565b6040516105369190612d0d565b60405180910390f35b34801561054b57600080fd5b506105546115c4565b005b610570600480360381019061056b919061259b565b6115d8565b005b34801561057e57600080fd5b506105996004803603810190610594919061271e565b611780565b005b3480156105a757600080fd5b506105b0611803565b6040516105bd9190612d0d565b60405180910390f35b3480156105d257600080fd5b506105db611809565b6040516105e89190612b09565b60405180910390f35b3480156105fd57600080fd5b5061061860048036038101906106139190612801565b611833565b005b34801561062657600080fd5b5061062f611845565b60405161063c9190612b8b565b60405180910390f35b34801561065157600080fd5b5061066c600480360381019061066791906126de565b6118d3565b005b34801561067a57600080fd5b506106956004803603810190610690919061265b565b611a36565b005b3480156106a357600080fd5b506106ac611a89565b005b3480156106ba57600080fd5b506106d560048036038101906106d09190612801565b611abd565b6040516106e29190612b8b565b60405180910390f35b3480156106f757600080fd5b50610712600480360381019061070d91906125c8565b611b64565b60405161071f9190612b70565b60405180910390f35b34801561073457600080fd5b5061074f600480360381019061074a919061259b565b611bf8565b005b34801561075d57600080fd5b50610766611c7c565b6040516107739190612d0d565b60405180910390f35b34801561078857600080fd5b50610791611c82565b60405161079e9190612d0d565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080257506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610832575063780e9d6360e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806108625750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b6000805461087690612fc8565b80601f01602080910402602001604051908101604052809291908181526020018280546108a290612fc8565b80156108ef5780601f106108c4576101008083540402835291602001916108ef565b820191906000526020600020905b8154815290600101906020018083116108d257829003601f168201915b505050505081565b600061090282611c88565b610938576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097e8261134f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109e6576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614158015610a295750610a278133611b64565b155b15610a60576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b826003600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600760009054906101000a900460ff16610b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5890612c4d565b60405180910390fd5b600081118015610b72575060058111155b610bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba890612bed565b60405180910390fd5b61270f610bce82610bc0610d5f565b611c9990919063ffffffff16565b1115610c0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0690612cad565b60405180910390fd5b610c2481600a54611caf90919063ffffffff16565b341015610c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5d90612bcd565b60405180910390fd5b6005610cba82600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c9990919063ffffffff16565b1115610cfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf290612c8d565b60405180910390fd5b80600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610d4a9190612dfd565b92505081905550610d5b8282611cc5565b5050565b6000600280549050905090565b610d7581611c88565b610dab576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16610dcb8261134f565b73ffffffffffffffffffffffffffffffffffffffff1614610e18576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e7f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610eee5750610ebf826108f7565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b80610eff5750610efe8433611b64565b5b905080610f38576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558260028381548110610f8357610f82613132565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000821180156110515750600073ffffffffffffffffffffffffffffffffffffffff166002600184610ffd9190612ede565b8154811061100e5761100d613132565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b156110c0578360026001846110669190612ede565b8154811061107757611076613132565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b818373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a450505050565b600061112c836114e9565b8210611164576040517f0ddac30e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008060028054905090505b808310156111d9576111818361134f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156111cc57838214156111c357505061120b565b81806001019250505b8280600101935050611170565b6040517f7339954700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b92915050565b61122c83838360405180602001604052806000815250611a36565b505050565b600581565b600061124182611c88565b9050919050565b6000611252610d5f565b821061128a576040517fa723001c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b819050919050565b61129a611eee565b80600690805190602001906112b09291906123af565b5050565b600760009054906101000a900460ff1681565b6112cf611eee565b60006112d9611809565b73ffffffffffffffffffffffffffffffffffffffff16476040516112fc90612af4565b60006040518083038185875af1925050503d8060008114611339576040519150601f19603f3d011682016040523d82523d6000602084013e61133e565b606091505b505090508061134c57600080fd5b50565b600061135a82611c88565b611390576040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff16600283815481106113bd576113bc613132565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611449576002828154811061141757611416613132565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050611456565b8180600101925050611391565b919050565b6006805461146890612fc8565b80601f016020809104026020016040519081016040528092919081815260200182805461149490612fc8565b80156114e15780601f106114b6576101008083540402835291602001916114e1565b820191906000526020600020905b8154815290600101906020018083116114c457829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611551576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080600280549050905060005b818110156115b9576115708161134f565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156115ac5782806001019350505b808060010191505061155f565b508192505050919050565b6115cc611eee565b6115d66000611f6c565b565b600760009054906101000a900460ff16611627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161161e90612c4d565b60405180910390fd5b61270f6116456001611637610d5f565b611c9990919063ffffffff16565b1115611686576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167d90612c6d565b60405180910390fd5b60011515600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515141561171a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171190612ced565b60405180910390fd5b6001600860003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061177d816001611cc5565b50565b611788611eee565b60008111801561179a5750600b548111155b6117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090612ccd565b60405180910390fd5b6117f460016117e6610d5f565b611c9990919063ffffffff16565b506117ff8282611cc5565b5050565b600a5481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61183b611eee565b80600a8190555050565b6001805461185290612fc8565b80601f016020809104026020016040519081016040528092919081815260200182805461187e90612fc8565b80156118cb5780601f106118a0576101008083540402835291602001916118cb565b820191906000526020600020905b8154815290600101906020018083116118ae57829003601f168201915b505050505081565b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611939576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a2a9190612b70565b60405180910390a35050565b611a41848484610d6c565b611a4d84848484612032565b611a83576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b611a91611eee565b600760009054906101000a900460ff1615600760006101000a81548160ff021916908315150217905550565b6060611ac882611c88565b611b07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611afe90612c2d565b60405180910390fd5b6000611b116121b4565b90506000815111611b315760405180602001604052806000815250611b5c565b80611b3b84612246565b604051602001611b4c929190612ac5565b6040516020818303038152906040525b915050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611c00611eee565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790612bad565b60405180910390fd5b611c7981611f6c565b50565b61270f81565b600b5481565b600060028054905082109050919050565b60008183611ca79190612dfd565b905092915050565b60008183611cbd9190612e84565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d2c576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000811415611d67576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600280549050905060005b60018303811015611e12576002600181600181540180825580915050039060005260206000200160009054906101000a9050508082018473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48080600101915050611d74565b506002839080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600182611e839190612ede565b81611e8e9190612dfd565b8373ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611ef66123a7565b73ffffffffffffffffffffffffffffffffffffffff16611f14611809565b73ffffffffffffffffffffffffffffffffffffffff1614611f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6190612c0d565b60405180910390fd5b565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808473ffffffffffffffffffffffffffffffffffffffff163b141561205c57600190506121ac565b8373ffffffffffffffffffffffffffffffffffffffff1663150b7a02338786866040518563ffffffff1660e01b815260040161209b9493929190612b24565b602060405180830381600087803b1580156120b557600080fd5b505af19250505080156120e657506040513d601f19601f820116820180604052508101906120e3919061278b565b60015b612160573d8060008114612116576040519150601f19603f3d011682016040523d82523d6000602084013e61211b565b606091505b50600081511415612158576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150505b949350505050565b6060600680546121c390612fc8565b80601f01602080910402602001604051908101604052809291908181526020018280546121ef90612fc8565b801561223c5780601f106122115761010080835404028352916020019161223c565b820191906000526020600020905b81548152906001019060200180831161221f57829003601f168201915b5050505050905090565b6060600082141561228e576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506123a2565b600082905060005b600082146122c05780806122a99061302b565b915050600a826122b99190612e53565b9150612296565b60008167ffffffffffffffff8111156122dc576122db613161565b5b6040519080825280601f01601f19166020018201604052801561230e5781602001600182028036833780820191505090505b5090505b6000851461239b576001826123279190612ede565b9150600a856123369190613074565b60306123429190612dfd565b60f81b81838151811061235857612357613132565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856123949190612e53565b9450612312565b8093505050505b919050565b600033905090565b8280546123bb90612fc8565b90600052602060002090601f0160209004810192826123dd5760008555612424565b82601f106123f657805160ff1916838001178555612424565b82800160010185558215612424579182015b82811115612423578251825591602001919060010190612408565b5b5090506124319190612435565b5090565b5b8082111561244e576000816000905550600101612436565b5090565b600061246561246084612d4d565b612d28565b90508281526020810184848401111561248157612480613195565b5b61248c848285612f86565b509392505050565b60006124a76124a284612d7e565b612d28565b9050828152602081018484840111156124c3576124c2613195565b5b6124ce848285612f86565b509392505050565b6000813590506124e58161343c565b92915050565b6000813590506124fa81613453565b92915050565b60008135905061250f8161346a565b92915050565b6000815190506125248161346a565b92915050565b600082601f83011261253f5761253e613190565b5b813561254f848260208601612452565b91505092915050565b600082601f83011261256d5761256c613190565b5b813561257d848260208601612494565b91505092915050565b60008135905061259581613481565b92915050565b6000602082840312156125b1576125b061319f565b5b60006125bf848285016124d6565b91505092915050565b600080604083850312156125df576125de61319f565b5b60006125ed858286016124d6565b92505060206125fe858286016124d6565b9150509250929050565b6000806000606084860312156126215761262061319f565b5b600061262f868287016124d6565b9350506020612640868287016124d6565b925050604061265186828701612586565b9150509250925092565b600080600080608085870312156126755761267461319f565b5b6000612683878288016124d6565b9450506020612694878288016124d6565b93505060406126a587828801612586565b925050606085013567ffffffffffffffff8111156126c6576126c561319a565b5b6126d28782880161252a565b91505092959194509250565b600080604083850312156126f5576126f461319f565b5b6000612703858286016124d6565b9250506020612714858286016124eb565b9150509250929050565b600080604083850312156127355761273461319f565b5b6000612743858286016124d6565b925050602061275485828601612586565b9150509250929050565b6000602082840312156127745761277361319f565b5b600061278284828501612500565b91505092915050565b6000602082840312156127a1576127a061319f565b5b60006127af84828501612515565b91505092915050565b6000602082840312156127ce576127cd61319f565b5b600082013567ffffffffffffffff8111156127ec576127eb61319a565b5b6127f884828501612558565b91505092915050565b6000602082840312156128175761281661319f565b5b600061282584828501612586565b91505092915050565b61283781612f12565b82525050565b61284681612f24565b82525050565b600061285782612daf565b6128618185612dc5565b9350612871818560208601612f95565b61287a816131a4565b840191505092915050565b600061289082612dba565b61289a8185612de1565b93506128aa818560208601612f95565b6128b3816131a4565b840191505092915050565b60006128c982612dba565b6128d38185612df2565b93506128e3818560208601612f95565b80840191505092915050565b60006128fc602683612de1565b9150612907826131b5565b604082019050919050565b600061291f601483612de1565b915061292a82613204565b602082019050919050565b6000612942601a83612de1565b915061294d8261322d565b602082019050919050565b6000612965600583612df2565b915061297082613256565b600582019050919050565b6000612988602083612de1565b91506129938261327f565b602082019050919050565b60006129ab602f83612de1565b91506129b6826132a8565b604082019050919050565b60006129ce600f83612de1565b91506129d9826132f7565b602082019050919050565b60006129f1601483612de1565b91506129fc82613320565b602082019050919050565b6000612a14600083612dd6565b9150612a1f82613349565b600082019050919050565b6000612a37602d83612de1565b9150612a428261334c565b604082019050919050565b6000612a5a602683612de1565b9150612a658261339b565b604082019050919050565b6000612a7d601183612de1565b9150612a88826133ea565b602082019050919050565b6000612aa0601d83612de1565b9150612aab82613413565b602082019050919050565b612abf81612f7c565b82525050565b6000612ad182856128be565b9150612add82846128be565b9150612ae882612958565b91508190509392505050565b6000612aff82612a07565b9150819050919050565b6000602082019050612b1e600083018461282e565b92915050565b6000608082019050612b39600083018761282e565b612b46602083018661282e565b612b536040830185612ab6565b8181036060830152612b65818461284c565b905095945050505050565b6000602082019050612b85600083018461283d565b92915050565b60006020820190508181036000830152612ba58184612885565b905092915050565b60006020820190508181036000830152612bc6816128ef565b9050919050565b60006020820190508181036000830152612be681612912565b9050919050565b60006020820190508181036000830152612c0681612935565b9050919050565b60006020820190508181036000830152612c268161297b565b9050919050565b60006020820190508181036000830152612c468161299e565b9050919050565b60006020820190508181036000830152612c66816129c1565b9050919050565b60006020820190508181036000830152612c86816129e4565b9050919050565b60006020820190508181036000830152612ca681612a2a565b9050919050565b60006020820190508181036000830152612cc681612a4d565b9050919050565b60006020820190508181036000830152612ce681612a70565b9050919050565b60006020820190508181036000830152612d0681612a93565b9050919050565b6000602082019050612d226000830184612ab6565b92915050565b6000612d32612d43565b9050612d3e8282612ffa565b919050565b6000604051905090565b600067ffffffffffffffff821115612d6857612d67613161565b5b612d71826131a4565b9050602081019050919050565b600067ffffffffffffffff821115612d9957612d98613161565b5b612da2826131a4565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000612e0882612f7c565b9150612e1383612f7c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115612e4857612e476130a5565b5b828201905092915050565b6000612e5e82612f7c565b9150612e6983612f7c565b925082612e7957612e786130d4565b5b828204905092915050565b6000612e8f82612f7c565b9150612e9a83612f7c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612ed357612ed26130a5565b5b828202905092915050565b6000612ee982612f7c565b9150612ef483612f7c565b925082821015612f0757612f066130a5565b5b828203905092915050565b6000612f1d82612f5c565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015612fb3578082015181840152602081019050612f98565b83811115612fc2576000848401525b50505050565b60006002820490506001821680612fe057607f821691505b60208210811415612ff457612ff3613103565b5b50919050565b613003826131a4565b810181811067ffffffffffffffff8211171561302257613021613161565b5b80604052505050565b600061303682612f7c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613069576130686130a5565b5b600182019050919050565b600061307f82612f7c565b915061308a83612f7c565b92508261309a576130996130d4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f302e30303035206574682070657220746f6b656e000000000000000000000000600082015250565b7f43616e204d696e74206f6e6c792035207065722057616c6c6574000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f53616c65206e6f74204163746976650000000000000000000000000000000000600082015250565b7f4d696e7420697320676f696e6720537570706c79000000000000000000000000600082015250565b50565b7f4f6e6c792035206d696e7473207065722077616c6c65742c207072696365642060008201527f617420302e303030352065746800000000000000000000000000000000000000602082015250565b7f4d696e7420697320676f696e67206f766572206d617820706572207472616e7360008201527f616374696f6e0000000000000000000000000000000000000000000000000000602082015250565b7f446576207265736572766520656d707479000000000000000000000000000000600082015250565b7f4f6e6c79206f6e652046726565204d696e74207065722057616c6c6574000000600082015250565b61344581612f12565b811461345057600080fd5b50565b61345c81612f24565b811461346757600080fd5b50565b61347381612f30565b811461347e57600080fd5b50565b61348a81612f7c565b811461349557600080fd5b5056fea2646970667358221220fd766a08ae2acf6fffda088d0db2d18b2cffb4658d1a4aa0475fd5be4dc35a7e64736f6c63430008070033
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.