ERC-721
NFT
Overview
Max Total Supply
114 EBULL
Holders
34
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 EBULLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
EtherBulls
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/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract EtherBulls is ERC721Enumerable, Ownable { using SafeMath for uint256; using Strings for uint256; uint256 public constant MAX_BULLS = 6666; uint256 public constant MAX_PURCHASE = 50; uint256 public constant PRICE_PER_BULL = 60000000000000000 wei; bool private _saleIsActive = false; string private _metaBaseUri = "https://etherbulls.org/static/"; string private _provenance = ""; constructor() ERC721("EtherBulls", "EBULL") { } function mint(uint16 numberOfTokens) public payable { require(saleIsActive(), "Sale is not active"); require(numberOfTokens <= MAX_PURCHASE, "Can only mint 50 tokens per transaction"); require(totalSupply().add(numberOfTokens) <= MAX_BULLS, "Insufficient supply"); require(PRICE_PER_BULL.mul(numberOfTokens) == msg.value, "Ether value sent is incorrect"); _mintTokens(numberOfTokens); } /* Owner functions */ /** * Reserve a few bulls e.g. for giveaways */ function reserve(uint16 numberOfTokens) external onlyOwner { require(totalSupply().add(numberOfTokens) <= MAX_BULLS, "Insufficient supply"); _mintTokens(numberOfTokens); } function setSaleIsActive(bool active) external onlyOwner { _saleIsActive = active; } function setProvenance(string memory provHash) external onlyOwner { _provenance = provHash; } function setMetaBaseURI(string memory baseURI) external onlyOwner { _metaBaseUri = baseURI; } function withdraw(uint256 amount) external onlyOwner { require(amount <= address(this).balance, 'Insufficient balance'); payable(msg.sender).transfer(amount); } function withdrawAll() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } /* View functions */ function saleIsActive() public view returns (bool) { return _saleIsActive; } function provenanceHash() public view returns (string memory) { return _provenance; } function tokenURI(uint256 tokenId) override public view returns (string memory) { return string(abi.encodePacked(_baseURI(), "nfts/", uint256(tokenId).toString(), "/metadata.json")); } /* Internal functions */ function _mintTokens(uint16 numberOfTokens) internal { for (uint16 i = 0; i < numberOfTokens; i++) { uint256 tokenId = totalSupply(); _safeMint(msg.sender, tokenId); } } function _baseURI() override internal view returns (string memory) { return _metaBaseUri; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. 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 { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 no longer needed starting with Solidity 0.8. 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 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 pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 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 pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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_BULLS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_BULL","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":[{"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":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"numberOfTokens","type":"uint16"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setMetaBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provHash","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"active","type":"bool"}],"name":"setSaleIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a60146101000a81548160ff0219169083151502179055506040518060400160405280601e81526020017f68747470733a2f2f657468657262756c6c732e6f72672f7374617469632f0000815250600b90805190602001906200006c92919062000237565b5060405180602001604052806000815250600c90805190602001906200009492919062000237565b50348015620000a257600080fd5b506040518060400160405280600a81526020017f457468657242756c6c73000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f4542554c4c00000000000000000000000000000000000000000000000000000081525081600090805190602001906200012792919062000237565b5080600190805190602001906200014092919062000237565b50505062000163620001576200016960201b60201c565b6200017160201b60201c565b6200034c565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200024590620002e7565b90600052602060002090601f016020900481019282620002695760008555620002b5565b82601f106200028457805160ff1916838001178555620002b5565b82800160010185558215620002b5579182015b82811115620002b457825182559160200191906001019062000297565b5b509050620002c49190620002c8565b5090565b5b80821115620002e3576000816000905550600101620002c9565b5090565b600060028204905060018216806200030057607f821691505b602082108114156200031757620003166200031d565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61423d806200035c6000396000f3fe6080604052600436106101d85760003560e01c806358606b5311610102578063a22cb46511610095578063e985e9c511610064578063e985e9c51461069b578063eb8d2444146106d8578063f2fde38b14610703578063ffe630b51461072c576101d8565b8063a22cb465146105e1578063b88d4fde1461060a578063c6ab67a314610633578063c87b56dd1461065e576101d8565b8063715018a6116100d1578063715018a61461055d578063853828b6146105745780638da5cb5b1461058b57806395d89b41146105b6576101d8565b806358606b531461048d5780636352211e146104b857806370a08231146104f55780637146bd0814610532576101d8565b80631f0808d41161017a5780632e1a7d4d116101495780632e1a7d4d146103c15780632f745c59146103ea57806342842e0e146104275780634f6ccce714610450576101d8565b80631f0808d41461032857806323b872dd1461035157806323cf0a221461037a5780632962d48514610396576101d8565b8063081812fc116101b6578063081812fc1461026e578063095ea7b3146102ab57806318160ddd146102d457806318d272eb146102ff576101d8565b806301ffc9a7146101dd57806302c889891461021a57806306fdde0314610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612e7a565b610755565b6040516102119190613418565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612e51565b6107cf565b005b34801561024f57600080fd5b50610258610868565b6040516102659190613433565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190612f36565b6108fa565b6040516102a291906133b1565b60405180910390f35b3480156102b757600080fd5b506102d260048036038101906102cd9190612e15565b61097f565b005b3480156102e057600080fd5b506102e9610a97565b6040516102f69190613715565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190612ecc565b610aa4565b005b34801561033457600080fd5b5061034f600480360381019061034a9190612f0d565b610b3a565b005b34801561035d57600080fd5b5061037860048036038101906103739190612d0f565b610c24565b005b610394600480360381019061038f9190612f0d565b610c84565b005b3480156103a257600080fd5b506103ab610de0565b6040516103b89190613715565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e39190612f36565b610de6565b005b3480156103f657600080fd5b50610411600480360381019061040c9190612e15565b610eef565b60405161041e9190613715565b60405180910390f35b34801561043357600080fd5b5061044e60048036038101906104499190612d0f565b610f94565b005b34801561045c57600080fd5b5061047760048036038101906104729190612f36565b610fb4565b6040516104849190613715565b60405180910390f35b34801561049957600080fd5b506104a261104b565b6040516104af9190613715565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190612f36565b611056565b6040516104ec91906133b1565b60405180910390f35b34801561050157600080fd5b5061051c60048036038101906105179190612caa565b611108565b6040516105299190613715565b60405180910390f35b34801561053e57600080fd5b506105476111c0565b6040516105549190613715565b60405180910390f35b34801561056957600080fd5b506105726111c5565b005b34801561058057600080fd5b5061058961124d565b005b34801561059757600080fd5b506105a0611312565b6040516105ad91906133b1565b60405180910390f35b3480156105c257600080fd5b506105cb61133c565b6040516105d89190613433565b60405180910390f35b3480156105ed57600080fd5b5061060860048036038101906106039190612dd9565b6113ce565b005b34801561061657600080fd5b50610631600480360381019061062c9190612d5e565b61154f565b005b34801561063f57600080fd5b506106486115b1565b6040516106559190613433565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190612f36565b611643565b6040516106929190613433565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190612cd3565b61167d565b6040516106cf9190613418565b60405180910390f35b3480156106e457600080fd5b506106ed611711565b6040516106fa9190613418565b60405180910390f35b34801561070f57600080fd5b5061072a60048036038101906107259190612caa565b611728565b005b34801561073857600080fd5b50610753600480360381019061074e9190612ecc565b611820565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c857506107c7826118b6565b5b9050919050565b6107d7611998565b73ffffffffffffffffffffffffffffffffffffffff166107f5611312565b73ffffffffffffffffffffffffffffffffffffffff161461084b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084290613675565b60405180910390fd5b80600a60146101000a81548160ff02191690831515021790555050565b606060008054610877906139d3565b80601f01602080910402602001604051908101604052809291908181526020018280546108a3906139d3565b80156108f05780601f106108c5576101008083540402835291602001916108f0565b820191906000526020600020905b8154815290600101906020018083116108d357829003601f168201915b5050505050905090565b6000610905826119a0565b610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90613635565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098a82611056565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f2906136b5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1a611998565b73ffffffffffffffffffffffffffffffffffffffff161480610a495750610a4881610a43611998565b61167d565b5b610a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7f90613595565b60405180910390fd5b610a928383611a0c565b505050565b6000600880549050905090565b610aac611998565b73ffffffffffffffffffffffffffffffffffffffff16610aca611312565b73ffffffffffffffffffffffffffffffffffffffff1614610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613675565b60405180910390fd5b80600b9080519060200190610b36929190612ab9565b5050565b610b42611998565b73ffffffffffffffffffffffffffffffffffffffff16610b60611312565b73ffffffffffffffffffffffffffffffffffffffff1614610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad90613675565b60405180910390fd5b611a0a610bd78261ffff16610bc9610a97565b611ac590919063ffffffff16565b1115610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f90613655565b60405180910390fd5b610c2181611adb565b50565b610c35610c2f611998565b82611b1c565b610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b906136d5565b60405180910390fd5b610c7f838383611bfa565b505050565b610c8c611711565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290613555565b60405180910390fd5b60328161ffff161115610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a906135f5565b60405180910390fd5b611a0a610d348261ffff16610d26610a97565b611ac590919063ffffffff16565b1115610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90613655565b60405180910390fd5b34610d948261ffff1666d529ae9e860000611e5690919063ffffffff16565b14610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb906134d5565b60405180910390fd5b610ddd81611adb565b50565b611a0a81565b610dee611998565b73ffffffffffffffffffffffffffffffffffffffff16610e0c611312565b73ffffffffffffffffffffffffffffffffffffffff1614610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990613675565b60405180910390fd5b47811115610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90613535565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610eeb573d6000803e3d6000fd5b5050565b6000610efa83611108565b8210610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290613455565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610faf8383836040518060200160405280600081525061154f565b505050565b6000610fbe610a97565b8210610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff6906136f5565b60405180910390fd5b60088281548110611039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b66d529ae9e86000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906135d5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611170906135b5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b603281565b6111cd611998565b73ffffffffffffffffffffffffffffffffffffffff166111eb611312565b73ffffffffffffffffffffffffffffffffffffffff1614611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890613675565b60405180910390fd5b61124b6000611e6c565b565b611255611998565b73ffffffffffffffffffffffffffffffffffffffff16611273611312565b73ffffffffffffffffffffffffffffffffffffffff16146112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613675565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561130f573d6000803e3d6000fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461134b906139d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611377906139d3565b80156113c45780601f10611399576101008083540402835291602001916113c4565b820191906000526020600020905b8154815290600101906020018083116113a757829003601f168201915b5050505050905090565b6113d6611998565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90613515565b60405180910390fd5b8060056000611451611998565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114fe611998565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115439190613418565b60405180910390a35050565b61156061155a611998565b83611b1c565b61159f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611596906136d5565b60405180910390fd5b6115ab84848484611f32565b50505050565b6060600c80546115c0906139d3565b80601f01602080910402602001604051908101604052809291908181526020018280546115ec906139d3565b80156116395780601f1061160e57610100808354040283529160200191611639565b820191906000526020600020905b81548152906001019060200180831161161c57829003601f168201915b5050505050905090565b606061164d611f8e565b61165683612020565b604051602001611667929190613377565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600a60149054906101000a900460ff16905090565b611730611998565b73ffffffffffffffffffffffffffffffffffffffff1661174e611312565b73ffffffffffffffffffffffffffffffffffffffff16146117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90613675565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90613495565b60405180910390fd5b61181d81611e6c565b50565b611828611998565b73ffffffffffffffffffffffffffffffffffffffff16611846611312565b73ffffffffffffffffffffffffffffffffffffffff161461189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390613675565b60405180910390fd5b80600c90805190602001906118b2929190612ab9565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061198157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119915750611990826121cd565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a7f83611056565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183611ad391906137fa565b905092915050565b60005b8161ffff168161ffff161015611b18576000611af8610a97565b9050611b043382612237565b508080611b1090613a36565b915050611ade565b5050565b6000611b27826119a0565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90613575565b60405180910390fd5b6000611b7183611056565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611be057508373ffffffffffffffffffffffffffffffffffffffff16611bc8846108fa565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bf15750611bf0818561167d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c1a82611056565b73ffffffffffffffffffffffffffffffffffffffff1614611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613695565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd7906134f5565b60405180910390fd5b611ceb838383612255565b611cf6600082611a0c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d4691906138db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d9d91906137fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183611e649190613881565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f3d848484611bfa565b611f4984848484612369565b611f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7f90613475565b60405180910390fd5b50505050565b6060600b8054611f9d906139d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc9906139d3565b80156120165780601f10611feb57610100808354040283529160200191612016565b820191906000526020600020905b815481529060010190602001808311611ff957829003601f168201915b5050505050905090565b60606000821415612068576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121c8565b600082905060005b6000821461209a57808061208390613a61565b915050600a826120939190613850565b9150612070565b60008167ffffffffffffffff8111156120dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561210e5781602001600182028036833780820191505090505b5090505b600085146121c15760018261212791906138db565b9150600a856121369190613aaa565b603061214291906137fa565b60f81b81838151811061217e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ba9190613850565b9450612112565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612251828260405180602001604052806000815250612500565b5050565b61226083838361255b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a35761229e81612560565b6122e2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146122e1576122e083826125a9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123255761232081612716565b612364565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612363576123628282612859565b5b5b505050565b600061238a8473ffffffffffffffffffffffffffffffffffffffff166128d8565b156124f3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123b3611998565b8786866040518563ffffffff1660e01b81526004016123d594939291906133cc565b602060405180830381600087803b1580156123ef57600080fd5b505af192505050801561242057506040513d601f19601f8201168201806040525081019061241d9190612ea3565b60015b6124a3573d8060008114612450576040519150601f19603f3d011682016040523d82523d6000602084013e612455565b606091505b5060008151141561249b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249290613475565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124f8565b600190505b949350505050565b61250a83836128eb565b6125176000848484612369565b612556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254d90613475565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016125b684611108565b6125c091906138db565b90506000600760008481526020019081526020016000205490508181146126a5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061272a91906138db565b9050600060096000848152602001908152602001600020549050600060088381548110612780577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106127c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061283d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061286483611108565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561295b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295290613615565b60405180910390fd5b612964816119a0565b156129a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299b906134b5565b60405180910390fd5b6129b060008383612255565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a0091906137fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612ac5906139d3565b90600052602060002090601f016020900481019282612ae75760008555612b2e565b82601f10612b0057805160ff1916838001178555612b2e565b82800160010185558215612b2e579182015b82811115612b2d578251825591602001919060010190612b12565b5b509050612b3b9190612b3f565b5090565b5b80821115612b58576000816000905550600101612b40565b5090565b6000612b6f612b6a84613755565b613730565b905082815260208101848484011115612b8757600080fd5b612b92848285613991565b509392505050565b6000612bad612ba884613786565b613730565b905082815260208101848484011115612bc557600080fd5b612bd0848285613991565b509392505050565b600081359050612be781614194565b92915050565b600081359050612bfc816141ab565b92915050565b600081359050612c11816141c2565b92915050565b600081519050612c26816141c2565b92915050565b600082601f830112612c3d57600080fd5b8135612c4d848260208601612b5c565b91505092915050565b600082601f830112612c6757600080fd5b8135612c77848260208601612b9a565b91505092915050565b600081359050612c8f816141d9565b92915050565b600081359050612ca4816141f0565b92915050565b600060208284031215612cbc57600080fd5b6000612cca84828501612bd8565b91505092915050565b60008060408385031215612ce657600080fd5b6000612cf485828601612bd8565b9250506020612d0585828601612bd8565b9150509250929050565b600080600060608486031215612d2457600080fd5b6000612d3286828701612bd8565b9350506020612d4386828701612bd8565b9250506040612d5486828701612c95565b9150509250925092565b60008060008060808587031215612d7457600080fd5b6000612d8287828801612bd8565b9450506020612d9387828801612bd8565b9350506040612da487828801612c95565b925050606085013567ffffffffffffffff811115612dc157600080fd5b612dcd87828801612c2c565b91505092959194509250565b60008060408385031215612dec57600080fd5b6000612dfa85828601612bd8565b9250506020612e0b85828601612bed565b9150509250929050565b60008060408385031215612e2857600080fd5b6000612e3685828601612bd8565b9250506020612e4785828601612c95565b9150509250929050565b600060208284031215612e6357600080fd5b6000612e7184828501612bed565b91505092915050565b600060208284031215612e8c57600080fd5b6000612e9a84828501612c02565b91505092915050565b600060208284031215612eb557600080fd5b6000612ec384828501612c17565b91505092915050565b600060208284031215612ede57600080fd5b600082013567ffffffffffffffff811115612ef857600080fd5b612f0484828501612c56565b91505092915050565b600060208284031215612f1f57600080fd5b6000612f2d84828501612c80565b91505092915050565b600060208284031215612f4857600080fd5b6000612f5684828501612c95565b91505092915050565b612f688161390f565b82525050565b612f7781613921565b82525050565b6000612f88826137b7565b612f9281856137cd565b9350612fa28185602086016139a0565b612fab81613b97565b840191505092915050565b6000612fc1826137c2565b612fcb81856137de565b9350612fdb8185602086016139a0565b612fe481613b97565b840191505092915050565b6000612ffa826137c2565b61300481856137ef565b93506130148185602086016139a0565b80840191505092915050565b600061302d602b836137de565b915061303882613ba8565b604082019050919050565b60006130506032836137de565b915061305b82613bf7565b604082019050919050565b60006130736026836137de565b915061307e82613c46565b604082019050919050565b6000613096601c836137de565b91506130a182613c95565b602082019050919050565b60006130b9600e836137ef565b91506130c482613cbe565b600e82019050919050565b60006130dc601d836137de565b91506130e782613ce7565b602082019050919050565b60006130ff6024836137de565b915061310a82613d10565b604082019050919050565b60006131226019836137de565b915061312d82613d5f565b602082019050919050565b60006131456014836137de565b915061315082613d88565b602082019050919050565b60006131686012836137de565b915061317382613db1565b602082019050919050565b600061318b602c836137de565b915061319682613dda565b604082019050919050565b60006131ae6038836137de565b91506131b982613e29565b604082019050919050565b60006131d1602a836137de565b91506131dc82613e78565b604082019050919050565b60006131f46029836137de565b91506131ff82613ec7565b604082019050919050565b60006132176027836137de565b915061322282613f16565b604082019050919050565b600061323a6020836137de565b915061324582613f65565b602082019050919050565b600061325d602c836137de565b915061326882613f8e565b604082019050919050565b60006132806013836137de565b915061328b82613fdd565b602082019050919050565b60006132a36020836137de565b91506132ae82614006565b602082019050919050565b60006132c66029836137de565b91506132d18261402f565b604082019050919050565b60006132e96021836137de565b91506132f48261407e565b604082019050919050565b600061330c6005836137ef565b9150613317826140cd565b600582019050919050565b600061332f6031836137de565b915061333a826140f6565b604082019050919050565b6000613352602c836137de565b915061335d82614145565b604082019050919050565b61337181613987565b82525050565b60006133838285612fef565b915061338e826132ff565b915061339a8284612fef565b91506133a5826130ac565b91508190509392505050565b60006020820190506133c66000830184612f5f565b92915050565b60006080820190506133e16000830187612f5f565b6133ee6020830186612f5f565b6133fb6040830185613368565b818103606083015261340d8184612f7d565b905095945050505050565b600060208201905061342d6000830184612f6e565b92915050565b6000602082019050818103600083015261344d8184612fb6565b905092915050565b6000602082019050818103600083015261346e81613020565b9050919050565b6000602082019050818103600083015261348e81613043565b9050919050565b600060208201905081810360008301526134ae81613066565b9050919050565b600060208201905081810360008301526134ce81613089565b9050919050565b600060208201905081810360008301526134ee816130cf565b9050919050565b6000602082019050818103600083015261350e816130f2565b9050919050565b6000602082019050818103600083015261352e81613115565b9050919050565b6000602082019050818103600083015261354e81613138565b9050919050565b6000602082019050818103600083015261356e8161315b565b9050919050565b6000602082019050818103600083015261358e8161317e565b9050919050565b600060208201905081810360008301526135ae816131a1565b9050919050565b600060208201905081810360008301526135ce816131c4565b9050919050565b600060208201905081810360008301526135ee816131e7565b9050919050565b6000602082019050818103600083015261360e8161320a565b9050919050565b6000602082019050818103600083015261362e8161322d565b9050919050565b6000602082019050818103600083015261364e81613250565b9050919050565b6000602082019050818103600083015261366e81613273565b9050919050565b6000602082019050818103600083015261368e81613296565b9050919050565b600060208201905081810360008301526136ae816132b9565b9050919050565b600060208201905081810360008301526136ce816132dc565b9050919050565b600060208201905081810360008301526136ee81613322565b9050919050565b6000602082019050818103600083015261370e81613345565b9050919050565b600060208201905061372a6000830184613368565b92915050565b600061373a61374b565b90506137468282613a05565b919050565b6000604051905090565b600067ffffffffffffffff8211156137705761376f613b68565b5b61377982613b97565b9050602081019050919050565b600067ffffffffffffffff8211156137a1576137a0613b68565b5b6137aa82613b97565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061380582613987565b915061381083613987565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561384557613844613adb565b5b828201905092915050565b600061385b82613987565b915061386683613987565b92508261387657613875613b0a565b5b828204905092915050565b600061388c82613987565b915061389783613987565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138d0576138cf613adb565b5b828202905092915050565b60006138e682613987565b91506138f183613987565b92508282101561390457613903613adb565b5b828203905092915050565b600061391a82613967565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139be5780820151818401526020810190506139a3565b838111156139cd576000848401525b50505050565b600060028204905060018216806139eb57607f821691505b602082108114156139ff576139fe613b39565b5b50919050565b613a0e82613b97565b810181811067ffffffffffffffff82111715613a2d57613a2c613b68565b5b80604052505050565b6000613a4182613959565b915061ffff821415613a5657613a55613adb565b5b600182019050919050565b6000613a6c82613987565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a9f57613a9e613adb565b5b600182019050919050565b6000613ab582613987565b9150613ac083613987565b925082613ad057613acf613b0a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f2f6d657461646174612e6a736f6e000000000000000000000000000000000000600082015250565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420353020746f6b656e7320706572207472616e60008201527f73616374696f6e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e7420737570706c7900000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f6e6674732f000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61419d8161390f565b81146141a857600080fd5b50565b6141b481613921565b81146141bf57600080fd5b50565b6141cb8161392d565b81146141d657600080fd5b50565b6141e281613959565b81146141ed57600080fd5b50565b6141f981613987565b811461420457600080fd5b5056fea2646970667358221220a5c9e99f75e2fb1dcaec1af63d53cf4f4b0069d88ba1cf0b6edb6074821d29a664736f6c63430008040033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806358606b5311610102578063a22cb46511610095578063e985e9c511610064578063e985e9c51461069b578063eb8d2444146106d8578063f2fde38b14610703578063ffe630b51461072c576101d8565b8063a22cb465146105e1578063b88d4fde1461060a578063c6ab67a314610633578063c87b56dd1461065e576101d8565b8063715018a6116100d1578063715018a61461055d578063853828b6146105745780638da5cb5b1461058b57806395d89b41146105b6576101d8565b806358606b531461048d5780636352211e146104b857806370a08231146104f55780637146bd0814610532576101d8565b80631f0808d41161017a5780632e1a7d4d116101495780632e1a7d4d146103c15780632f745c59146103ea57806342842e0e146104275780634f6ccce714610450576101d8565b80631f0808d41461032857806323b872dd1461035157806323cf0a221461037a5780632962d48514610396576101d8565b8063081812fc116101b6578063081812fc1461026e578063095ea7b3146102ab57806318160ddd146102d457806318d272eb146102ff576101d8565b806301ffc9a7146101dd57806302c889891461021a57806306fdde0314610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612e7a565b610755565b6040516102119190613418565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612e51565b6107cf565b005b34801561024f57600080fd5b50610258610868565b6040516102659190613433565b60405180910390f35b34801561027a57600080fd5b5061029560048036038101906102909190612f36565b6108fa565b6040516102a291906133b1565b60405180910390f35b3480156102b757600080fd5b506102d260048036038101906102cd9190612e15565b61097f565b005b3480156102e057600080fd5b506102e9610a97565b6040516102f69190613715565b60405180910390f35b34801561030b57600080fd5b5061032660048036038101906103219190612ecc565b610aa4565b005b34801561033457600080fd5b5061034f600480360381019061034a9190612f0d565b610b3a565b005b34801561035d57600080fd5b5061037860048036038101906103739190612d0f565b610c24565b005b610394600480360381019061038f9190612f0d565b610c84565b005b3480156103a257600080fd5b506103ab610de0565b6040516103b89190613715565b60405180910390f35b3480156103cd57600080fd5b506103e860048036038101906103e39190612f36565b610de6565b005b3480156103f657600080fd5b50610411600480360381019061040c9190612e15565b610eef565b60405161041e9190613715565b60405180910390f35b34801561043357600080fd5b5061044e60048036038101906104499190612d0f565b610f94565b005b34801561045c57600080fd5b5061047760048036038101906104729190612f36565b610fb4565b6040516104849190613715565b60405180910390f35b34801561049957600080fd5b506104a261104b565b6040516104af9190613715565b60405180910390f35b3480156104c457600080fd5b506104df60048036038101906104da9190612f36565b611056565b6040516104ec91906133b1565b60405180910390f35b34801561050157600080fd5b5061051c60048036038101906105179190612caa565b611108565b6040516105299190613715565b60405180910390f35b34801561053e57600080fd5b506105476111c0565b6040516105549190613715565b60405180910390f35b34801561056957600080fd5b506105726111c5565b005b34801561058057600080fd5b5061058961124d565b005b34801561059757600080fd5b506105a0611312565b6040516105ad91906133b1565b60405180910390f35b3480156105c257600080fd5b506105cb61133c565b6040516105d89190613433565b60405180910390f35b3480156105ed57600080fd5b5061060860048036038101906106039190612dd9565b6113ce565b005b34801561061657600080fd5b50610631600480360381019061062c9190612d5e565b61154f565b005b34801561063f57600080fd5b506106486115b1565b6040516106559190613433565b60405180910390f35b34801561066a57600080fd5b5061068560048036038101906106809190612f36565b611643565b6040516106929190613433565b60405180910390f35b3480156106a757600080fd5b506106c260048036038101906106bd9190612cd3565b61167d565b6040516106cf9190613418565b60405180910390f35b3480156106e457600080fd5b506106ed611711565b6040516106fa9190613418565b60405180910390f35b34801561070f57600080fd5b5061072a60048036038101906107259190612caa565b611728565b005b34801561073857600080fd5b50610753600480360381019061074e9190612ecc565b611820565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806107c857506107c7826118b6565b5b9050919050565b6107d7611998565b73ffffffffffffffffffffffffffffffffffffffff166107f5611312565b73ffffffffffffffffffffffffffffffffffffffff161461084b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161084290613675565b60405180910390fd5b80600a60146101000a81548160ff02191690831515021790555050565b606060008054610877906139d3565b80601f01602080910402602001604051908101604052809291908181526020018280546108a3906139d3565b80156108f05780601f106108c5576101008083540402835291602001916108f0565b820191906000526020600020905b8154815290600101906020018083116108d357829003601f168201915b5050505050905090565b6000610905826119a0565b610944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093b90613635565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061098a82611056565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f2906136b5565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a1a611998565b73ffffffffffffffffffffffffffffffffffffffff161480610a495750610a4881610a43611998565b61167d565b5b610a88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7f90613595565b60405180910390fd5b610a928383611a0c565b505050565b6000600880549050905090565b610aac611998565b73ffffffffffffffffffffffffffffffffffffffff16610aca611312565b73ffffffffffffffffffffffffffffffffffffffff1614610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613675565b60405180910390fd5b80600b9080519060200190610b36929190612ab9565b5050565b610b42611998565b73ffffffffffffffffffffffffffffffffffffffff16610b60611312565b73ffffffffffffffffffffffffffffffffffffffff1614610bb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bad90613675565b60405180910390fd5b611a0a610bd78261ffff16610bc9610a97565b611ac590919063ffffffff16565b1115610c18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0f90613655565b60405180910390fd5b610c2181611adb565b50565b610c35610c2f611998565b82611b1c565b610c74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6b906136d5565b60405180910390fd5b610c7f838383611bfa565b505050565b610c8c611711565b610ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc290613555565b60405180910390fd5b60328161ffff161115610d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0a906135f5565b60405180910390fd5b611a0a610d348261ffff16610d26610a97565b611ac590919063ffffffff16565b1115610d75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6c90613655565b60405180910390fd5b34610d948261ffff1666d529ae9e860000611e5690919063ffffffff16565b14610dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dcb906134d5565b60405180910390fd5b610ddd81611adb565b50565b611a0a81565b610dee611998565b73ffffffffffffffffffffffffffffffffffffffff16610e0c611312565b73ffffffffffffffffffffffffffffffffffffffff1614610e62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5990613675565b60405180910390fd5b47811115610ea5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9c90613535565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610eeb573d6000803e3d6000fd5b5050565b6000610efa83611108565b8210610f3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3290613455565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610faf8383836040518060200160405280600081525061154f565b505050565b6000610fbe610a97565b8210610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff6906136f5565b60405180910390fd5b60088281548110611039577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b66d529ae9e86000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156110ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f6906135d5565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611179576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611170906135b5565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b603281565b6111cd611998565b73ffffffffffffffffffffffffffffffffffffffff166111eb611312565b73ffffffffffffffffffffffffffffffffffffffff1614611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890613675565b60405180910390fd5b61124b6000611e6c565b565b611255611998565b73ffffffffffffffffffffffffffffffffffffffff16611273611312565b73ffffffffffffffffffffffffffffffffffffffff16146112c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c090613675565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561130f573d6000803e3d6000fd5b50565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461134b906139d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611377906139d3565b80156113c45780601f10611399576101008083540402835291602001916113c4565b820191906000526020600020905b8154815290600101906020018083116113a757829003601f168201915b5050505050905090565b6113d6611998565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90613515565b60405180910390fd5b8060056000611451611998565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166114fe611998565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115439190613418565b60405180910390a35050565b61156061155a611998565b83611b1c565b61159f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611596906136d5565b60405180910390fd5b6115ab84848484611f32565b50505050565b6060600c80546115c0906139d3565b80601f01602080910402602001604051908101604052809291908181526020018280546115ec906139d3565b80156116395780601f1061160e57610100808354040283529160200191611639565b820191906000526020600020905b81548152906001019060200180831161161c57829003601f168201915b5050505050905090565b606061164d611f8e565b61165683612020565b604051602001611667929190613377565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600a60149054906101000a900460ff16905090565b611730611998565b73ffffffffffffffffffffffffffffffffffffffff1661174e611312565b73ffffffffffffffffffffffffffffffffffffffff16146117a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179b90613675565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180b90613495565b60405180910390fd5b61181d81611e6c565b50565b611828611998565b73ffffffffffffffffffffffffffffffffffffffff16611846611312565b73ffffffffffffffffffffffffffffffffffffffff161461189c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189390613675565b60405180910390fd5b80600c90805190602001906118b2929190612ab9565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061198157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119915750611990826121cd565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a7f83611056565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008183611ad391906137fa565b905092915050565b60005b8161ffff168161ffff161015611b18576000611af8610a97565b9050611b043382612237565b508080611b1090613a36565b915050611ade565b5050565b6000611b27826119a0565b611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d90613575565b60405180910390fd5b6000611b7183611056565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611be057508373ffffffffffffffffffffffffffffffffffffffff16611bc8846108fa565b73ffffffffffffffffffffffffffffffffffffffff16145b80611bf15750611bf0818561167d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611c1a82611056565b73ffffffffffffffffffffffffffffffffffffffff1614611c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6790613695565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ce0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd7906134f5565b60405180910390fd5b611ceb838383612255565b611cf6600082611a0c565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d4691906138db565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611d9d91906137fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183611e649190613881565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611f3d848484611bfa565b611f4984848484612369565b611f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7f90613475565b60405180910390fd5b50505050565b6060600b8054611f9d906139d3565b80601f0160208091040260200160405190810160405280929190818152602001828054611fc9906139d3565b80156120165780601f10611feb57610100808354040283529160200191612016565b820191906000526020600020905b815481529060010190602001808311611ff957829003601f168201915b5050505050905090565b60606000821415612068576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506121c8565b600082905060005b6000821461209a57808061208390613a61565b915050600a826120939190613850565b9150612070565b60008167ffffffffffffffff8111156120dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561210e5781602001600182028036833780820191505090505b5090505b600085146121c15760018261212791906138db565b9150600a856121369190613aaa565b603061214291906137fa565b60f81b81838151811061217e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856121ba9190613850565b9450612112565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612251828260405180602001604052806000815250612500565b5050565b61226083838361255b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122a35761229e81612560565b6122e2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146122e1576122e083826125a9565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156123255761232081612716565b612364565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612363576123628282612859565b5b5b505050565b600061238a8473ffffffffffffffffffffffffffffffffffffffff166128d8565b156124f3578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026123b3611998565b8786866040518563ffffffff1660e01b81526004016123d594939291906133cc565b602060405180830381600087803b1580156123ef57600080fd5b505af192505050801561242057506040513d601f19601f8201168201806040525081019061241d9190612ea3565b60015b6124a3573d8060008114612450576040519150601f19603f3d011682016040523d82523d6000602084013e612455565b606091505b5060008151141561249b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249290613475565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506124f8565b600190505b949350505050565b61250a83836128eb565b6125176000848484612369565b612556576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254d90613475565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016125b684611108565b6125c091906138db565b90506000600760008481526020019081526020016000205490508181146126a5576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061272a91906138db565b9050600060096000848152602001908152602001600020549050600060088381548110612780577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106127c8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061283d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061286483611108565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561295b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161295290613615565b60405180910390fd5b612964816119a0565b156129a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299b906134b5565b60405180910390fd5b6129b060008383612255565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a0091906137fa565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612ac5906139d3565b90600052602060002090601f016020900481019282612ae75760008555612b2e565b82601f10612b0057805160ff1916838001178555612b2e565b82800160010185558215612b2e579182015b82811115612b2d578251825591602001919060010190612b12565b5b509050612b3b9190612b3f565b5090565b5b80821115612b58576000816000905550600101612b40565b5090565b6000612b6f612b6a84613755565b613730565b905082815260208101848484011115612b8757600080fd5b612b92848285613991565b509392505050565b6000612bad612ba884613786565b613730565b905082815260208101848484011115612bc557600080fd5b612bd0848285613991565b509392505050565b600081359050612be781614194565b92915050565b600081359050612bfc816141ab565b92915050565b600081359050612c11816141c2565b92915050565b600081519050612c26816141c2565b92915050565b600082601f830112612c3d57600080fd5b8135612c4d848260208601612b5c565b91505092915050565b600082601f830112612c6757600080fd5b8135612c77848260208601612b9a565b91505092915050565b600081359050612c8f816141d9565b92915050565b600081359050612ca4816141f0565b92915050565b600060208284031215612cbc57600080fd5b6000612cca84828501612bd8565b91505092915050565b60008060408385031215612ce657600080fd5b6000612cf485828601612bd8565b9250506020612d0585828601612bd8565b9150509250929050565b600080600060608486031215612d2457600080fd5b6000612d3286828701612bd8565b9350506020612d4386828701612bd8565b9250506040612d5486828701612c95565b9150509250925092565b60008060008060808587031215612d7457600080fd5b6000612d8287828801612bd8565b9450506020612d9387828801612bd8565b9350506040612da487828801612c95565b925050606085013567ffffffffffffffff811115612dc157600080fd5b612dcd87828801612c2c565b91505092959194509250565b60008060408385031215612dec57600080fd5b6000612dfa85828601612bd8565b9250506020612e0b85828601612bed565b9150509250929050565b60008060408385031215612e2857600080fd5b6000612e3685828601612bd8565b9250506020612e4785828601612c95565b9150509250929050565b600060208284031215612e6357600080fd5b6000612e7184828501612bed565b91505092915050565b600060208284031215612e8c57600080fd5b6000612e9a84828501612c02565b91505092915050565b600060208284031215612eb557600080fd5b6000612ec384828501612c17565b91505092915050565b600060208284031215612ede57600080fd5b600082013567ffffffffffffffff811115612ef857600080fd5b612f0484828501612c56565b91505092915050565b600060208284031215612f1f57600080fd5b6000612f2d84828501612c80565b91505092915050565b600060208284031215612f4857600080fd5b6000612f5684828501612c95565b91505092915050565b612f688161390f565b82525050565b612f7781613921565b82525050565b6000612f88826137b7565b612f9281856137cd565b9350612fa28185602086016139a0565b612fab81613b97565b840191505092915050565b6000612fc1826137c2565b612fcb81856137de565b9350612fdb8185602086016139a0565b612fe481613b97565b840191505092915050565b6000612ffa826137c2565b61300481856137ef565b93506130148185602086016139a0565b80840191505092915050565b600061302d602b836137de565b915061303882613ba8565b604082019050919050565b60006130506032836137de565b915061305b82613bf7565b604082019050919050565b60006130736026836137de565b915061307e82613c46565b604082019050919050565b6000613096601c836137de565b91506130a182613c95565b602082019050919050565b60006130b9600e836137ef565b91506130c482613cbe565b600e82019050919050565b60006130dc601d836137de565b91506130e782613ce7565b602082019050919050565b60006130ff6024836137de565b915061310a82613d10565b604082019050919050565b60006131226019836137de565b915061312d82613d5f565b602082019050919050565b60006131456014836137de565b915061315082613d88565b602082019050919050565b60006131686012836137de565b915061317382613db1565b602082019050919050565b600061318b602c836137de565b915061319682613dda565b604082019050919050565b60006131ae6038836137de565b91506131b982613e29565b604082019050919050565b60006131d1602a836137de565b91506131dc82613e78565b604082019050919050565b60006131f46029836137de565b91506131ff82613ec7565b604082019050919050565b60006132176027836137de565b915061322282613f16565b604082019050919050565b600061323a6020836137de565b915061324582613f65565b602082019050919050565b600061325d602c836137de565b915061326882613f8e565b604082019050919050565b60006132806013836137de565b915061328b82613fdd565b602082019050919050565b60006132a36020836137de565b91506132ae82614006565b602082019050919050565b60006132c66029836137de565b91506132d18261402f565b604082019050919050565b60006132e96021836137de565b91506132f48261407e565b604082019050919050565b600061330c6005836137ef565b9150613317826140cd565b600582019050919050565b600061332f6031836137de565b915061333a826140f6565b604082019050919050565b6000613352602c836137de565b915061335d82614145565b604082019050919050565b61337181613987565b82525050565b60006133838285612fef565b915061338e826132ff565b915061339a8284612fef565b91506133a5826130ac565b91508190509392505050565b60006020820190506133c66000830184612f5f565b92915050565b60006080820190506133e16000830187612f5f565b6133ee6020830186612f5f565b6133fb6040830185613368565b818103606083015261340d8184612f7d565b905095945050505050565b600060208201905061342d6000830184612f6e565b92915050565b6000602082019050818103600083015261344d8184612fb6565b905092915050565b6000602082019050818103600083015261346e81613020565b9050919050565b6000602082019050818103600083015261348e81613043565b9050919050565b600060208201905081810360008301526134ae81613066565b9050919050565b600060208201905081810360008301526134ce81613089565b9050919050565b600060208201905081810360008301526134ee816130cf565b9050919050565b6000602082019050818103600083015261350e816130f2565b9050919050565b6000602082019050818103600083015261352e81613115565b9050919050565b6000602082019050818103600083015261354e81613138565b9050919050565b6000602082019050818103600083015261356e8161315b565b9050919050565b6000602082019050818103600083015261358e8161317e565b9050919050565b600060208201905081810360008301526135ae816131a1565b9050919050565b600060208201905081810360008301526135ce816131c4565b9050919050565b600060208201905081810360008301526135ee816131e7565b9050919050565b6000602082019050818103600083015261360e8161320a565b9050919050565b6000602082019050818103600083015261362e8161322d565b9050919050565b6000602082019050818103600083015261364e81613250565b9050919050565b6000602082019050818103600083015261366e81613273565b9050919050565b6000602082019050818103600083015261368e81613296565b9050919050565b600060208201905081810360008301526136ae816132b9565b9050919050565b600060208201905081810360008301526136ce816132dc565b9050919050565b600060208201905081810360008301526136ee81613322565b9050919050565b6000602082019050818103600083015261370e81613345565b9050919050565b600060208201905061372a6000830184613368565b92915050565b600061373a61374b565b90506137468282613a05565b919050565b6000604051905090565b600067ffffffffffffffff8211156137705761376f613b68565b5b61377982613b97565b9050602081019050919050565b600067ffffffffffffffff8211156137a1576137a0613b68565b5b6137aa82613b97565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061380582613987565b915061381083613987565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561384557613844613adb565b5b828201905092915050565b600061385b82613987565b915061386683613987565b92508261387657613875613b0a565b5b828204905092915050565b600061388c82613987565b915061389783613987565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156138d0576138cf613adb565b5b828202905092915050565b60006138e682613987565b91506138f183613987565b92508282101561390457613903613adb565b5b828203905092915050565b600061391a82613967565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156139be5780820151818401526020810190506139a3565b838111156139cd576000848401525b50505050565b600060028204905060018216806139eb57607f821691505b602082108114156139ff576139fe613b39565b5b50919050565b613a0e82613b97565b810181811067ffffffffffffffff82111715613a2d57613a2c613b68565b5b80604052505050565b6000613a4182613959565b915061ffff821415613a5657613a55613adb565b5b600182019050919050565b6000613a6c82613987565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a9f57613a9e613adb565b5b600182019050919050565b6000613ab582613987565b9150613ac083613987565b925082613ad057613acf613b0a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f2f6d657461646174612e6a736f6e000000000000000000000000000000000000600082015250565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f496e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f43616e206f6e6c79206d696e7420353020746f6b656e7320706572207472616e60008201527f73616374696f6e00000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f496e73756666696369656e7420737570706c7900000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f6e6674732f000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61419d8161390f565b81146141a857600080fd5b50565b6141b481613921565b81146141bf57600080fd5b50565b6141cb8161392d565b81146141d657600080fd5b50565b6141e281613959565b81146141ed57600080fd5b50565b6141f981613987565b811461420457600080fd5b5056fea2646970667358221220a5c9e99f75e2fb1dcaec1af63d53cf4f4b0069d88ba1cf0b6edb6074821d29a664736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.