ERC-721
Overview
Max Total Supply
750 GG
Holders
198
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 GGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
GARYGHOSTS
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* * GoldieGhosty.sol * * Author: Don Huey / twitter: donbtc * Created: April 18th, 2022 * Creators: Mister Goldie, Don Huey * * Mint Price: Free for Scary Gary Holders, 0.05 ETH for all other * Rinkby: * * * * Description: * * Mister Goldie returns with the Gary Ghosts. * Gary Ghosts are based on the childhood act of pretending to be a ghost by throwing a sheet over your head. * Let this collection take you back to your childhood and bring you happiness. * Gary Ghosts are apart of the Scary Garys family. * * */ pragma solidity > 0.5.0 < 0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./HueyAccessControl.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "./ERC2981ContractWideRoyalties.sol"; // Royalties for contract, EIP-2981 import "./RandomlyAssigned.sol"; contract GARYGHOSTS is ERC721, HueyAccessControl, ERC2981ContractWideRoyalties, RandomlyAssigned { //@dev Using SafeMath using SafeMath for uint256; //@dev Using Counters for increment/decrement using Counters for Counters.Counter; //@dev uint256 to strings using Strings for uint256; //@dev Important numbers and state variables string public baseExtension = ".json"; uint256 public constant MAX_TOKENS = 750; // Max supply of tokens uint256 public constant GHOST_PRICE = 50000000000000000; // 0.05 string public baseURI; string public constant ProvenanceHash = "3e85e3a4a3c57679a1bc832be0352c50c4ed05a74b522e656f6cecbf9a0b64de"; // This is the compiled metadata of all the football heads which can be used to prove that no metadata was changed. //@dev constructor for ERC721 + custom constructor constructor() ERC721("Gary Ghosts", "GG") RandomlyAssigned(MAX_TOKENS, 1) { _gang[msg.sender] = true; _gang[0x5B38Da6a701c568545dCfcB03FcB875f56beddC4] = true; _setRoyalties(0x5B38Da6a701c568545dCfcB03FcB875f56beddC4, 750); baseURI = "ipfs://QmPCx9HGKDqnJTXn2hsb1pCoQUeKm5LCLWMcJzLchywSxc/"; } //@dev Tool 'mint' creates token & maps previously assigned tokenIdToURI mapping function GhostMint() public payable { //@dev The sent ETH has to be over the required amount. require( GHOST_PRICE <= msg.value, "Huey: Ethereum sent is not sufficient." ); require( totalSupply() <= MAX_TOKENS, "Huey: There are no tokens left to mint." ); _mintRandomId(msg.sender); } //@dev Tool 'mint' creates token & maps previously assigned tokenIdToURI mapping function GoldListMint() public payable onlygoldlist(msg.sender) { //@dev The sent ETH has to be over the required amount. require( totalSupply() <= MAX_TOKENS, "Huey: There are no tokens left to mint." ); require( balanceOf(msg.sender) < 1, "Huey: You can only mint one free Ghost" ); _mintRandomId(msg.sender); } function ownerMint(uint num) public payable onlyOwner { for (uint i = 0; i < num ; i++) { _mintRandomId(msg.sender); } } // @dev internal check to ensure a genesis token ID, or ID outside of the collection, doesn't get minted function _mintRandomId(address to) private { uint256 id = nextToken(); assert( id < MAX_TOKENS ); _safeMint(to, id); } //@dev returns the tokenURI of tokenID function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "Huey: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } //@dev internal baseURI function function _baseURI() internal view virtual override returns (string memory) { // Format: "ipfs://link/"; return baseURI; } //@dev Sets the Base URI value function setBaseURI(string memory _newbaseURI) public onlyOwner { baseURI = _newbaseURI; } //@dev Allows us to withdraw funds collected. function withdraw(address payable wallet, uint256 amount) payable isGang public { require(amount <= address(this).balance, "Huey: Insufficient funds to withdraw"); wallet.transfer(amount); } //@dev overrides interface functions for EIP-2981, royalties. function supportsInterface(bytes4 interfaceId) public view virtual override (ERC721,ERC2981Base) returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./WithLimitedSupply.sol"; /// @author 1001.digital /// @title Randomly assign tokenIDs from a given set of tokens. abstract contract RandomlyAssigned is WithLimitedSupply { // Used for random index assignment mapping(uint256 => uint256) private tokenMatrix; // The initial token ID uint256 private startFrom; /// Instanciate the contract /// @param _totalSupply how many tokens this collection should hold /// @param _startFrom the tokenID with which to start counting constructor (uint256 _totalSupply, uint256 _startFrom) WithLimitedSupply(_totalSupply) { startFrom = _startFrom; } /// Get the next token ID /// @dev Randomly gets a new token ID and keeps track of the ones that are still available. /// @return the next token ID function nextToken() internal override ensureAvailability returns (uint256) { uint256 maxIndex = totalSupply() - tokenCount(); uint256 random = uint256(keccak256( abi.encodePacked( msg.sender, block.coinbase, block.difficulty, block.gaslimit, block.timestamp ) )) % maxIndex; uint256 value = 0; if (tokenMatrix[random] == 0) { // If this matrix position is empty, set the value to the generated random number. value = random; } else { // Otherwise, use the previously stored number from the matrix. value = tokenMatrix[random]; } // If the last available tokenID is still unused... if (tokenMatrix[maxIndex - 1] == 0) { // ...store that ID in the current matrix position. tokenMatrix[random] = maxIndex - 1; } else { // ...otherwise copy over the stored number to the current matrix position. tokenMatrix[random] = tokenMatrix[maxIndex - 1]; } // Increment counts super.nextToken(); return value + startFrom; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./ERC2981Base.sol"; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 /// @dev This implementation has the same royalties for each and every tokens abstract contract ERC2981ContractWideRoyalties is ERC2981Base { RoyaltyInfo private _royalties; /// @dev Sets token royalties /// @param recipient recipient of the royalties /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0) function _setRoyalties(address recipient, uint256 value) internal { require(value <= 10000, 'ERC2981Royalties: Too high'); _royalties = RoyaltyInfo(recipient, uint24(value)); } /// @inheritdoc IERC2981Royalties function royaltyInfo(uint256, uint256 value) external view override returns (address receiver, uint256 royaltyAmount) { RoyaltyInfo memory royalties = _royalties; receiver = royalties.recipient; royaltyAmount = (value * royalties.amount) / 10000; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT /* * HueyAccessControl.sol * * Author: Don Huey * Created: December 8th, 2021 * * This is an extension of `Ownable` to allow a larger set of addresses to have * certain control in the inheriting contracts. * goldlist feature as well. * * Referrenced: KasbeerAccessControl.sol / dev: @jcksber - github */ pragma solidity >=0.5.16 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; // "../node_modules/@openzeppelin/contracts/access/Ownable.sol" contract HueyAccessControl is Ownable { // ----- // Gang // ----- //@dev Ownership - list of squad members (owners) mapping (address => bool) internal _gang; //@dev Custom "approved" modifier because I don't like that language (Jack is right, the language sucks.) modifier isGang() { require(isInGang(msg.sender), "HueyAccessControl: Caller not part of gang."); _; } //@dev Determine if address `addy` is an approved owner function isInGang(address addy) public view returns (bool) { return _gang[addy]; } //@dev Add `addy` to the gang function addToGang(address addy) onlyOwner public { require(!isInGang(addy), "HueyAccessControl: Address already in gang."); _gang[addy] = true; } //@dev Remove `addy` from the gang function removeFromGang(address addy) onlyOwner public { require(isInGang(addy), "HueyAccessControl: Address already not in gang."); _gang[addy] = false; } // --------- // GOLDLIST // --------- //@dev goldlist mapping for client addresses mapping (address => bool) internal _goldlist; //@dev goldlist flag for active/inactive states bool goldlistActive; //@dev Determine if someone is in the goldlsit modifier onlygoldlist(address addy) { require(isIngoldlist(addy)); _; } //@dev Prevent non-goldlist minting functions from being used // if `goldlistActive` == 1 modifier goldlistDisabled() { require(goldlistActive == false, "HueyAccessControl: goldlist still active"); _; } //@dev Require that the goldlist is currently enabled modifier goldlistEnabled() { require(goldlistActive == true, "HueyAccessControl: goldlist not active"); _; } //@dev Turn the goldlist on function activategoldlist() isGang goldlistDisabled public { goldlistActive = true; } //@dev Turn the goldlist off function deactivategoldlist() isGang goldlistEnabled public { goldlistActive = false; } //@dev Prove that one of our goldlist address owners has been approved function isIngoldlist(address addy) public view returns (bool) { return _goldlist[addy]; } //@dev Add a single address to goldlist function addTogoldlist(address addy) isGang public { require(!isIngoldlist(addy), "HueyAccessControl: already goldlisted"); //here we care if address already goldlisted to save on gas fees _goldlist[addy] = true; } //@dev Remove a single address from the goldlist function removeFromgoldlist(address addy) isGang public { require(isIngoldlist(addy), "HueyAccessControl: not in goldlist"); _goldlist[addy] = false; } //@dev Add a list of addresses to the goldlist function bulkAddTogoldlist(address[] memory addys) isGang public { require(addys.length > 1, "HueyAccessControl: use `addTogoldlist` instead"); uint256 i; for (i = 0; i < addys.length; i++) { if (!_goldlist[addys[i]]) { _goldlist[addys[i]] = true; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Counters.sol"; /// @author 1001.digital /// @title A token tracker that limits the token supply and increments token IDs on each new mint. abstract contract WithLimitedSupply { using Counters for Counters.Counter; /// @dev Emitted when the supply of this collection changes event SupplyChanged(uint256 indexed supply); // Keeps track of how many we have minted Counters.Counter private _tokenCount; /// @dev The maximum count of tokens this token tracker will hold. uint256 private _totalSupply; /// Instanciate the contract /// @param totalSupply_ how many tokens this collection should hold constructor (uint256 totalSupply_) { _totalSupply = totalSupply_; } /// @dev Get the max Supply /// @return the maximum token count function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /// @dev Get the current token count /// @return the created token count function tokenCount() public view returns (uint256) { return _tokenCount.current(); } /// @dev Check whether tokens are still available /// @return the available token count function availableTokenCount() public view returns (uint256) { return totalSupply() - tokenCount(); } /// @dev Increment the token count and fetch the latest count /// @return the next token id function nextToken() internal virtual returns (uint256) { uint256 token = _tokenCount.current(); _tokenCount.increment(); return token; } /// @dev Check whether another token is still available modifier ensureAvailability() { require(availableTokenCount() > 0, "No more tokens available"); _; } /// @param amount Check whether number of tokens are still available /// @dev Check whether tokens are still available modifier ensureAvailabilityFor(uint256 amount) { require(availableTokenCount() >= amount, "Requested number of tokens not available"); _; } /// Update the supply for the collection /// @param _supply the new token supply. /// @dev create additional token supply for this collection. function _setSupply(uint256 _supply) internal virtual { require(_supply > tokenCount(), "Can't set the supply to less than the current token count"); _totalSupply = _supply; emit SupplyChanged(totalSupply()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./IERC2981Royalties.sol"; /// @dev This is a contract used to add ERC2981 support to ERC721 and 1155 abstract contract ERC2981Base is ERC165, IERC2981Royalties { struct RoyaltyInfo { address recipient; uint24 amount; } /// @inheritdoc ERC165 function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC2981Royalties).interfaceId || super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /// @title IERC2981Royalties /// @dev Interface for the ERC2981 - Token Royalty standard interface IERC2981Royalties { /// @notice Called with the sale price to determine how much royalty // is owed and to whom. /// @param _tokenId - the NFT asset queried for royalty information /// @param _value - the sale price of the NFT asset specified by _tokenId /// @return _receiver - address of who should be sent the royalty payment /// @return _royaltyAmount - the royalty payment amount for value sale price function royaltyInfo(uint256 _tokenId, uint256 _value) external view returns (address _receiver, uint256 _royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"uint256","name":"supply","type":"uint256"}],"name":"SupplyChanged","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":"GHOST_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GhostMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"GoldListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ProvenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"activategoldlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"addToGang","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"addTogoldlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addys","type":"address[]"}],"name":"bulkAddTogoldlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deactivategoldlist","outputs":[],"stateMutability":"nonpayable","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":"address","name":"addy","type":"address"}],"name":"isInGang","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"isIngoldlist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"removeFromGang","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"removeFromgoldlist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newbaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenCount","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":"address payable","name":"wallet","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600f90805190602001906200005192919062000416565b503480156200005f57600080fd5b506102ee6001816040518060400160405280600b81526020017f476172792047686f7374730000000000000000000000000000000000000000008152506040518060400160405280600281526020017f47470000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000ea92919062000416565b5080600190805190602001906200010392919062000416565b505050620001266200011a6200025b60201b60201c565b6200026360201b60201c565b80600c819055505080600e8190555050506001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600160076000735b38da6a701c568545dcfcb03fcb875f56beddc473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555062000223735b38da6a701c568545dcfcb03fcb875f56beddc46102ee6200032960201b60201c565b6040518060600160405280603681526020016200542560369139601090805190602001906200025492919062000416565b50620005ad565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61271081111562000371576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003689062000527565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff1681526020018262ffffff16815250600a60008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548162ffffff021916908362ffffff1602179055509050505050565b828054620004249062000578565b90600052602060002090601f01602090048101928262000448576000855562000494565b82601f106200046357805160ff191683800117855562000494565b8280016001018555821562000494579182015b828111156200049357825182559160200191906001019062000476565b5b509050620004a39190620004a7565b5090565b5b80821115620004c2576000816000905550600101620004a8565b5090565b600082825260208201905092915050565b7f45524332393831526f79616c746965733a20546f6f2068696768000000000000600082015250565b60006200050f601a83620004c6565b91506200051c82620004d7565b602082019050919050565b60006020820190508181036000830152620005428162000500565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200059157607f821691505b602082108103620005a757620005a662000549565b5b50919050565b614e6880620005bd6000396000f3fe6080604052600436106102305760003560e01c80638da5cb5b1161012e578063d33dfd9f116100ab578063f19e75d41161006f578063f19e75d41461081b578063f2fde38b14610837578063f3fef3a314610860578063f47c84c51461087c578063feb7549c146108a757610230565b8063d33dfd9f14610743578063e14ca35314610780578063e67eb361146107ab578063e840b0c2146107d4578063e985e9c5146107de57610230565b8063a22cb465116100f2578063a22cb4651461065e578063b88d4fde14610687578063c6682862146106b0578063c87b56dd146106db578063c8eae8811461071857610230565b80638da5cb5b1461058b57806395d89b41146105b657806399a9936c146105e15780639f181b5e1461060a5780639fda17a31461063557610230565b806338a4ff29116101bc5780636352211e116101805780636352211e146104925780636c0360eb146104cf57806370a08231146104fa578063715018a614610537578063887ba83c1461054e57610230565b806338a4ff29146103c35780633c18edd5146103ec57806342842e0e14610417578063459b33971461044057806355f804b31461046957610230565b806318160ddd1161020357806318160ddd14610303578063219f765e1461032e57806323b872dd146103455780632a55205a1461036e57806331c7379a146103ac57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061306e565b6108b1565b60405161026991906130b6565b60405180910390f35b34801561027e57600080fd5b5061028761092b565b604051610294919061316a565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906131c2565b6109bd565b6040516102d19190613230565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613277565b610a42565b005b34801561030f57600080fd5b50610318610b59565b60405161032591906132c6565b60405180910390f35b34801561033a57600080fd5b50610343610b63565b005b34801561035157600080fd5b5061036c600480360381019061036791906132e1565b610c1e565b005b34801561037a57600080fd5b5061039560048036038101906103909190613334565b610c7e565b6040516103a3929190613374565b60405180910390f35b3480156103b857600080fd5b506103c1610d3e565b005b3480156103cf57600080fd5b506103ea60048036038101906103e5919061339d565b610df9565b005b3480156103f857600080fd5b50610401610f18565b60405161040e919061316a565b60405180910390f35b34801561042357600080fd5b5061043e600480360381019061043991906132e1565b610f34565b005b34801561044c57600080fd5b5061046760048036038101906104629190613512565b610f54565b005b34801561047557600080fd5b50610490600480360381019061048b9190613610565b6110e1565b005b34801561049e57600080fd5b506104b960048036038101906104b491906131c2565b611177565b6040516104c69190613230565b60405180910390f35b3480156104db57600080fd5b506104e4611228565b6040516104f1919061316a565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c919061339d565b6112b6565b60405161052e91906132c6565b60405180910390f35b34801561054357600080fd5b5061054c61136d565b005b34801561055a57600080fd5b506105756004803603810190610570919061339d565b6113f5565b60405161058291906130b6565b60405180910390f35b34801561059757600080fd5b506105a061144b565b6040516105ad9190613230565b60405180910390f35b3480156105c257600080fd5b506105cb611475565b6040516105d8919061316a565b60405180910390f35b3480156105ed57600080fd5b506106086004803603810190610603919061339d565b611507565b005b34801561061657600080fd5b5061061f6115f3565b60405161062c91906132c6565b60405180910390f35b34801561064157600080fd5b5061065c6004803603810190610657919061339d565b611604565b005b34801561066a57600080fd5b5061068560048036038101906106809190613685565b611724565b005b34801561069357600080fd5b506106ae60048036038101906106a99190613766565b61173a565b005b3480156106bc57600080fd5b506106c561179c565b6040516106d2919061316a565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd91906131c2565b61182a565b60405161070f919061316a565b60405180910390f35b34801561072457600080fd5b5061072d6118d4565b60405161073a91906132c6565b60405180910390f35b34801561074f57600080fd5b5061076a6004803603810190610765919061339d565b6118df565b60405161077791906130b6565b60405180910390f35b34801561078c57600080fd5b50610795611935565b6040516107a291906132c6565b60405180910390f35b3480156107b757600080fd5b506107d260048036038101906107cd919061339d565b611956565b005b6107dc611a41565b005b3480156107ea57600080fd5b50610805600480360381019061080091906137e9565b611ae2565b60405161081291906130b6565b60405180910390f35b610835600480360381019061083091906131c2565b611b76565b005b34801561084357600080fd5b5061085e6004803603810190610859919061339d565b611c1d565b005b61087a60048036038101906108759190613867565b611d14565b005b34801561088857600080fd5b50610891611dea565b60405161089e91906132c6565b60405180910390f35b6108af611df0565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610924575061092382611ea6565b5b9050919050565b60606000805461093a906138d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610966906138d6565b80156109b35780601f10610988576101008083540402835291602001916109b3565b820191906000526020600020905b81548152906001019060200180831161099657829003601f168201915b5050505050905090565b60006109c882611f20565b610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90613979565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4d82611177565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab490613a0b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc611f8c565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05611f8c565b611ae2565b5b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613a9d565b60405180910390fd5b610b548383611f94565b505050565b6000600c54905090565b610b6c336113f5565b610bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba290613b2f565b60405180910390fd5b60001515600960009054906101000a900460ff16151514610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf890613bc1565b60405180910390fd5b6001600960006101000a81548160ff021916908315150217905550565b610c2f610c29611f8c565b8261204d565b610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590613c53565b60405180910390fd5b610c7983838361212b565b505050565b6000806000600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610d2a9190613ca2565b610d349190613d2b565b9150509250929050565b610d47336113f5565b610d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7d90613b2f565b60405180910390fd5b60011515600960009054906101000a900460ff16151514610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390613dce565b60405180910390fd5b6000600960006101000a81548160ff021916908315150217905550565b610e01611f8c565b73ffffffffffffffffffffffffffffffffffffffff16610e1f61144b565b73ffffffffffffffffffffffffffffffffffffffff1614610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613e3a565b60405180910390fd5b610e7e816113f5565b610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490613ecc565b60405180910390fd5b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b604051806060016040528060408152602001614df36040913981565b610f4f8383836040518060200160405280600081525061173a565b505050565b610f5d336113f5565b610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390613b2f565b60405180910390fd5b6001815111610fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd790613f5e565b60405180910390fd5b60005b81518110156110dd576008600083838151811061100357611002613f7e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110ca576001600860008484815181106110705761106f613f7e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80806110d590613fad565b915050610fe3565b5050565b6110e9611f8c565b73ffffffffffffffffffffffffffffffffffffffff1661110761144b565b73ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115490613e3a565b60405180910390fd5b8060109080519060200190611173929190612f5f565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121690614067565b60405180910390fd5b80915050919050565b60108054611235906138d6565b80601f0160208091040260200160405190810160405280929190818152602001828054611261906138d6565b80156112ae5780601f10611283576101008083540402835291602001916112ae565b820191906000526020600020905b81548152906001019060200180831161129157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d906140f9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611375611f8c565b73ffffffffffffffffffffffffffffffffffffffff1661139361144b565b73ffffffffffffffffffffffffffffffffffffffff16146113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e090613e3a565b60405180910390fd5b6113f36000612391565b565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611484906138d6565b80601f01602080910402602001604051908101604052809291908181526020018280546114b0906138d6565b80156114fd5780601f106114d2576101008083540402835291602001916114fd565b820191906000526020600020905b8154815290600101906020018083116114e057829003601f168201915b5050505050905090565b611510336113f5565b61154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690613b2f565b60405180910390fd5b611558816118df565b15611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f9061418b565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006115ff600b612457565b905090565b61160c611f8c565b73ffffffffffffffffffffffffffffffffffffffff1661162a61144b565b73ffffffffffffffffffffffffffffffffffffffff1614611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790613e3a565b60405180910390fd5b611689816113f5565b156116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c09061421d565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61173661172f611f8c565b8383612465565b5050565b61174b611745611f8c565b8361204d565b61178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190613c53565b60405180910390fd5b611796848484846125d1565b50505050565b600f80546117a9906138d6565b80601f01602080910402602001604051908101604052809291908181526020018280546117d5906138d6565b80156118225780601f106117f757610100808354040283529160200191611822565b820191906000526020600020905b81548152906001019060200180831161180557829003601f168201915b505050505081565b606061183582611f20565b611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b906142af565b60405180910390fd5b600061187e61262d565b9050600081511161189e57604051806020016040528060008152506118cc565b806118a8846126bf565b600f6040516020016118bc9392919061439f565b6040516020818303038152906040525b915050919050565b66b1a2bc2ec5000081565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600061193f6115f3565b611947610b59565b61195191906143d0565b905090565b61195f336113f5565b61199e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199590613b2f565b60405180910390fd5b6119a7816118df565b6119e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dd90614476565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b3466b1a2bc2ec500001115611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8290614508565b60405180910390fd5b6102ee611a96610b59565b1115611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9061459a565b60405180910390fd5b611ae03361281f565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b7e611f8c565b73ffffffffffffffffffffffffffffffffffffffff16611b9c61144b565b73ffffffffffffffffffffffffffffffffffffffff1614611bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be990613e3a565b60405180910390fd5b60005b81811015611c1957611c063361281f565b8080611c1190613fad565b915050611bf5565b5050565b611c25611f8c565b73ffffffffffffffffffffffffffffffffffffffff16611c4361144b565b73ffffffffffffffffffffffffffffffffffffffff1614611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090613e3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff9061462c565b60405180910390fd5b611d1181612391565b50565b611d1d336113f5565b611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5390613b2f565b60405180910390fd5b47811115611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906146be565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611de5573d6000803e3d6000fd5b505050565b6102ee81565b33611dfa816118df565b611e0357600080fd5b6102ee611e0e610b59565b1115611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e469061459a565b60405180910390fd5b6001611e5a336112b6565b10611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614750565b60405180910390fd5b611ea33361281f565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f195750611f188261284b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661200783611177565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061205882611f20565b612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e906147e2565b60405180910390fd5b60006120a283611177565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120e457506120e38185611ae2565b5b8061212257508373ffffffffffffffffffffffffffffffffffffffff1661210a846109bd565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661214b82611177565b73ffffffffffffffffffffffffffffffffffffffff16146121a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219890614874565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220790614906565b60405180910390fd5b61221b83838361292d565b612226600082611f94565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461227691906143d0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122cd9190614926565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461238c838383612932565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906149c8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125c491906130b6565b60405180910390a3505050565b6125dc84848461212b565b6125e884848484612937565b612627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261e90614a5a565b60405180910390fd5b50505050565b60606010805461263c906138d6565b80601f0160208091040260200160405190810160405280929190818152602001828054612668906138d6565b80156126b55780601f1061268a576101008083540402835291602001916126b5565b820191906000526020600020905b81548152906001019060200180831161269857829003601f168201915b5050505050905090565b606060008203612706576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061281a565b600082905060005b6000821461273857808061272190613fad565b915050600a826127319190613d2b565b915061270e565b60008167ffffffffffffffff811115612754576127536133cf565b5b6040519080825280601f01601f1916602001820160405280156127865781602001600182028036833780820191505090505b5090505b600085146128135760018261279f91906143d0565b9150600a856127ae9190614a7a565b60306127ba9190614926565b60f81b8183815181106127d0576127cf613f7e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561280c9190613d2b565b945061278a565b8093505050505b919050565b6000612829612abe565b90506102ee811061283d5761283c614aab565b5b6128478282612c4a565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061291657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612926575061292582612c68565b5b9050919050565b505050565b505050565b60006129588473ffffffffffffffffffffffffffffffffffffffff16612cd2565b15612ab1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612981611f8c565b8786866040518563ffffffff1660e01b81526004016129a39493929190614b2f565b6020604051808303816000875af19250505080156129df57506040513d601f19601f820116820180604052508101906129dc9190614b90565b60015b612a61573d8060008114612a0f576040519150601f19603f3d011682016040523d82523d6000602084013e612a14565b606091505b506000815103612a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5090614a5a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ab6565b600190505b949350505050565b600080612ac9611935565b11612b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0090614c09565b60405180910390fd5b6000612b136115f3565b612b1b610b59565b612b2591906143d0565b90506000813341444542604051602001612b43959493929190614cbb565b6040516020818303038152906040528051906020012060001c612b669190614a7a565b9050600080600d60008481526020019081526020016000205403612b8c57819050612ba3565b600d60008381526020019081526020016000205490505b6000600d6000600186612bb691906143d0565b81526020019081526020016000205403612bf357600183612bd791906143d0565b600d600084815260200190815260200160002081905550612c2b565b600d6000600185612c0491906143d0565b815260200190815260200160002054600d6000848152602001908152602001600020819055505b612c33612cf5565b50600e5481612c429190614926565b935050505090565b612c64828260405180602001604052806000815250612d15565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080612d02600b612457565b9050612d0e600b612d70565b8091505090565b612d1f8383612d86565b612d2c6000848484612937565b612d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6290614a5a565b60405180910390fd5b505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dec90614d66565b60405180910390fd5b612dfe81611f20565b15612e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3590614dd2565b60405180910390fd5b612e4a6000838361292d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e9a9190614926565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f5b60008383612932565b5050565b828054612f6b906138d6565b90600052602060002090601f016020900481019282612f8d5760008555612fd4565b82601f10612fa657805160ff1916838001178555612fd4565b82800160010185558215612fd4579182015b82811115612fd3578251825591602001919060010190612fb8565b5b509050612fe19190612fe5565b5090565b5b80821115612ffe576000816000905550600101612fe6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61304b81613016565b811461305657600080fd5b50565b60008135905061306881613042565b92915050565b6000602082840312156130845761308361300c565b5b600061309284828501613059565b91505092915050565b60008115159050919050565b6130b08161309b565b82525050565b60006020820190506130cb60008301846130a7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561310b5780820151818401526020810190506130f0565b8381111561311a576000848401525b50505050565b6000601f19601f8301169050919050565b600061313c826130d1565b61314681856130dc565b93506131568185602086016130ed565b61315f81613120565b840191505092915050565b600060208201905081810360008301526131848184613131565b905092915050565b6000819050919050565b61319f8161318c565b81146131aa57600080fd5b50565b6000813590506131bc81613196565b92915050565b6000602082840312156131d8576131d761300c565b5b60006131e6848285016131ad565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061321a826131ef565b9050919050565b61322a8161320f565b82525050565b60006020820190506132456000830184613221565b92915050565b6132548161320f565b811461325f57600080fd5b50565b6000813590506132718161324b565b92915050565b6000806040838503121561328e5761328d61300c565b5b600061329c85828601613262565b92505060206132ad858286016131ad565b9150509250929050565b6132c08161318c565b82525050565b60006020820190506132db60008301846132b7565b92915050565b6000806000606084860312156132fa576132f961300c565b5b600061330886828701613262565b935050602061331986828701613262565b925050604061332a868287016131ad565b9150509250925092565b6000806040838503121561334b5761334a61300c565b5b6000613359858286016131ad565b925050602061336a858286016131ad565b9150509250929050565b60006040820190506133896000830185613221565b61339660208301846132b7565b9392505050565b6000602082840312156133b3576133b261300c565b5b60006133c184828501613262565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61340782613120565b810181811067ffffffffffffffff82111715613426576134256133cf565b5b80604052505050565b6000613439613002565b905061344582826133fe565b919050565b600067ffffffffffffffff821115613465576134646133cf565b5b602082029050602081019050919050565b600080fd5b600061348e6134898461344a565b61342f565b905080838252602082019050602084028301858111156134b1576134b0613476565b5b835b818110156134da57806134c68882613262565b8452602084019350506020810190506134b3565b5050509392505050565b600082601f8301126134f9576134f86133ca565b5b813561350984826020860161347b565b91505092915050565b6000602082840312156135285761352761300c565b5b600082013567ffffffffffffffff81111561354657613545613011565b5b613552848285016134e4565b91505092915050565b600080fd5b600067ffffffffffffffff82111561357b5761357a6133cf565b5b61358482613120565b9050602081019050919050565b82818337600083830152505050565b60006135b36135ae84613560565b61342f565b9050828152602081018484840111156135cf576135ce61355b565b5b6135da848285613591565b509392505050565b600082601f8301126135f7576135f66133ca565b5b81356136078482602086016135a0565b91505092915050565b6000602082840312156136265761362561300c565b5b600082013567ffffffffffffffff81111561364457613643613011565b5b613650848285016135e2565b91505092915050565b6136628161309b565b811461366d57600080fd5b50565b60008135905061367f81613659565b92915050565b6000806040838503121561369c5761369b61300c565b5b60006136aa85828601613262565b92505060206136bb85828601613670565b9150509250929050565b600067ffffffffffffffff8211156136e0576136df6133cf565b5b6136e982613120565b9050602081019050919050565b6000613709613704846136c5565b61342f565b9050828152602081018484840111156137255761372461355b565b5b613730848285613591565b509392505050565b600082601f83011261374d5761374c6133ca565b5b813561375d8482602086016136f6565b91505092915050565b600080600080608085870312156137805761377f61300c565b5b600061378e87828801613262565b945050602061379f87828801613262565b93505060406137b0878288016131ad565b925050606085013567ffffffffffffffff8111156137d1576137d0613011565b5b6137dd87828801613738565b91505092959194509250565b60008060408385031215613800576137ff61300c565b5b600061380e85828601613262565b925050602061381f85828601613262565b9150509250929050565b6000613834826131ef565b9050919050565b61384481613829565b811461384f57600080fd5b50565b6000813590506138618161383b565b92915050565b6000806040838503121561387e5761387d61300c565b5b600061388c85828601613852565b925050602061389d858286016131ad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138ee57607f821691505b602082108103613901576139006138a7565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613963602c836130dc565b915061396e82613907565b604082019050919050565b6000602082019050818103600083015261399281613956565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139f56021836130dc565b9150613a0082613999565b604082019050919050565b60006020820190508181036000830152613a24816139e8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613a876038836130dc565b9150613a9282613a2b565b604082019050919050565b60006020820190508181036000830152613ab681613a7a565b9050919050565b7f48756579416363657373436f6e74726f6c3a2043616c6c6572206e6f7420706160008201527f7274206f662067616e672e000000000000000000000000000000000000000000602082015250565b6000613b19602b836130dc565b9150613b2482613abd565b604082019050919050565b60006020820190508181036000830152613b4881613b0c565b9050919050565b7f48756579416363657373436f6e74726f6c3a20676f6c646c697374207374696c60008201527f6c20616374697665000000000000000000000000000000000000000000000000602082015250565b6000613bab6028836130dc565b9150613bb682613b4f565b604082019050919050565b60006020820190508181036000830152613bda81613b9e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613c3d6031836130dc565b9150613c4882613be1565b604082019050919050565b60006020820190508181036000830152613c6c81613c30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613cad8261318c565b9150613cb88361318c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cf157613cf0613c73565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d368261318c565b9150613d418361318c565b925082613d5157613d50613cfc565b5b828204905092915050565b7f48756579416363657373436f6e74726f6c3a20676f6c646c697374206e6f742060008201527f6163746976650000000000000000000000000000000000000000000000000000602082015250565b6000613db86026836130dc565b9150613dc382613d5c565b604082019050919050565b60006020820190508181036000830152613de781613dab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e246020836130dc565b9150613e2f82613dee565b602082019050919050565b60006020820190508181036000830152613e5381613e17565b9050919050565b7f48756579416363657373436f6e74726f6c3a204164647265737320616c72656160008201527f6479206e6f7420696e2067616e672e0000000000000000000000000000000000602082015250565b6000613eb6602f836130dc565b9150613ec182613e5a565b604082019050919050565b60006020820190508181036000830152613ee581613ea9565b9050919050565b7f48756579416363657373436f6e74726f6c3a207573652060616464546f676f6c60008201527f646c6973746020696e7374656164000000000000000000000000000000000000602082015250565b6000613f48602e836130dc565b9150613f5382613eec565b604082019050919050565b60006020820190508181036000830152613f7781613f3b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613fb88261318c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fea57613fe9613c73565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006140516029836130dc565b915061405c82613ff5565b604082019050919050565b6000602082019050818103600083015261408081614044565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006140e3602a836130dc565b91506140ee82614087565b604082019050919050565b60006020820190508181036000830152614112816140d6565b9050919050565b7f48756579416363657373436f6e74726f6c3a20616c726561647920676f6c646c60008201527f6973746564000000000000000000000000000000000000000000000000000000602082015250565b60006141756025836130dc565b915061418082614119565b604082019050919050565b600060208201905081810360008301526141a481614168565b9050919050565b7f48756579416363657373436f6e74726f6c3a204164647265737320616c72656160008201527f647920696e2067616e672e000000000000000000000000000000000000000000602082015250565b6000614207602b836130dc565b9150614212826141ab565b604082019050919050565b60006020820190508181036000830152614236816141fa565b9050919050565b7f487565793a2055524920717565727920666f72206e6f6e6578697374656e742060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b60006142996025836130dc565b91506142a48261423d565b604082019050919050565b600060208201905081810360008301526142c88161428c565b9050919050565b600081905092915050565b60006142e5826130d1565b6142ef81856142cf565b93506142ff8185602086016130ed565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461432d816138d6565b61433781866142cf565b94506001821660008114614352576001811461436357614396565b60ff19831686528186019350614396565b61436c8561430b565b60005b8381101561438e5781548189015260018201915060208101905061436f565b838801955050505b50505092915050565b60006143ab82866142da565b91506143b782856142da565b91506143c38284614320565b9150819050949350505050565b60006143db8261318c565b91506143e68361318c565b9250828210156143f9576143f8613c73565b5b828203905092915050565b7f48756579416363657373436f6e74726f6c3a206e6f7420696e20676f6c646c6960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b60006144606022836130dc565b915061446b82614404565b604082019050919050565b6000602082019050818103600083015261448f81614453565b9050919050565b7f487565793a20457468657265756d2073656e74206973206e6f7420737566666960008201527f6369656e742e0000000000000000000000000000000000000000000000000000602082015250565b60006144f26026836130dc565b91506144fd82614496565b604082019050919050565b60006020820190508181036000830152614521816144e5565b9050919050565b7f487565793a20546865726520617265206e6f20746f6b656e73206c656674207460008201527f6f206d696e742e00000000000000000000000000000000000000000000000000602082015250565b60006145846027836130dc565b915061458f82614528565b604082019050919050565b600060208201905081810360008301526145b381614577565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146166026836130dc565b9150614621826145ba565b604082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f487565793a20496e73756666696369656e742066756e647320746f207769746860008201527f6472617700000000000000000000000000000000000000000000000000000000602082015250565b60006146a86024836130dc565b91506146b38261464c565b604082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f487565793a20596f752063616e206f6e6c79206d696e74206f6e65206672656560008201527f2047686f73740000000000000000000000000000000000000000000000000000602082015250565b600061473a6026836130dc565b9150614745826146de565b604082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006147cc602c836130dc565b91506147d782614770565b604082019050919050565b600060208201905081810360008301526147fb816147bf565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061485e6025836130dc565b915061486982614802565b604082019050919050565b6000602082019050818103600083015261488d81614851565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148f06024836130dc565b91506148fb82614894565b604082019050919050565b6000602082019050818103600083015261491f816148e3565b9050919050565b60006149318261318c565b915061493c8361318c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561497157614970613c73565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006149b26019836130dc565b91506149bd8261497c565b602082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614a446032836130dc565b9150614a4f826149e8565b604082019050919050565b60006020820190508181036000830152614a7381614a37565b9050919050565b6000614a858261318c565b9150614a908361318c565b925082614aa057614a9f613cfc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614b0182614ada565b614b0b8185614ae5565b9350614b1b8185602086016130ed565b614b2481613120565b840191505092915050565b6000608082019050614b446000830187613221565b614b516020830186613221565b614b5e60408301856132b7565b8181036060830152614b708184614af6565b905095945050505050565b600081519050614b8a81613042565b92915050565b600060208284031215614ba657614ba561300c565b5b6000614bb484828501614b7b565b91505092915050565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b6000614bf36018836130dc565b9150614bfe82614bbd565b602082019050919050565b60006020820190508181036000830152614c2281614be6565b9050919050565b60008160601b9050919050565b6000614c4182614c29565b9050919050565b6000614c5382614c36565b9050919050565b614c6b614c668261320f565b614c48565b82525050565b6000614c7c82614c36565b9050919050565b614c94614c8f82613829565b614c71565b82525050565b6000819050919050565b614cb5614cb08261318c565b614c9a565b82525050565b6000614cc78288614c5a565b601482019150614cd78287614c83565b601482019150614ce78286614ca4565b602082019150614cf78285614ca4565b602082019150614d078284614ca4565b6020820191508190509695505050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d506020836130dc565b9150614d5b82614d1a565b602082019050919050565b60006020820190508181036000830152614d7f81614d43565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614dbc601c836130dc565b9150614dc782614d86565b602082019050919050565b60006020820190508181036000830152614deb81614daf565b905091905056fe33653835653361346133633537363739613162633833326265303335326335306334656430356137346235323265363536663663656362663961306236346465a26469706673582212208301a9c9777e86d742f7f1883e71f039786153906f804490fbbcf68054c4e76264736f6c634300080d0033697066733a2f2f516d5043783948474b44716e4a54586e326873623170436f5155654b6d354c434c574d634a7a4c636879775378632f
Deployed Bytecode
0x6080604052600436106102305760003560e01c80638da5cb5b1161012e578063d33dfd9f116100ab578063f19e75d41161006f578063f19e75d41461081b578063f2fde38b14610837578063f3fef3a314610860578063f47c84c51461087c578063feb7549c146108a757610230565b8063d33dfd9f14610743578063e14ca35314610780578063e67eb361146107ab578063e840b0c2146107d4578063e985e9c5146107de57610230565b8063a22cb465116100f2578063a22cb4651461065e578063b88d4fde14610687578063c6682862146106b0578063c87b56dd146106db578063c8eae8811461071857610230565b80638da5cb5b1461058b57806395d89b41146105b657806399a9936c146105e15780639f181b5e1461060a5780639fda17a31461063557610230565b806338a4ff29116101bc5780636352211e116101805780636352211e146104925780636c0360eb146104cf57806370a08231146104fa578063715018a614610537578063887ba83c1461054e57610230565b806338a4ff29146103c35780633c18edd5146103ec57806342842e0e14610417578063459b33971461044057806355f804b31461046957610230565b806318160ddd1161020357806318160ddd14610303578063219f765e1461032e57806323b872dd146103455780632a55205a1461036e57806331c7379a146103ac57610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061306e565b6108b1565b60405161026991906130b6565b60405180910390f35b34801561027e57600080fd5b5061028761092b565b604051610294919061316a565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf91906131c2565b6109bd565b6040516102d19190613230565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613277565b610a42565b005b34801561030f57600080fd5b50610318610b59565b60405161032591906132c6565b60405180910390f35b34801561033a57600080fd5b50610343610b63565b005b34801561035157600080fd5b5061036c600480360381019061036791906132e1565b610c1e565b005b34801561037a57600080fd5b5061039560048036038101906103909190613334565b610c7e565b6040516103a3929190613374565b60405180910390f35b3480156103b857600080fd5b506103c1610d3e565b005b3480156103cf57600080fd5b506103ea60048036038101906103e5919061339d565b610df9565b005b3480156103f857600080fd5b50610401610f18565b60405161040e919061316a565b60405180910390f35b34801561042357600080fd5b5061043e600480360381019061043991906132e1565b610f34565b005b34801561044c57600080fd5b5061046760048036038101906104629190613512565b610f54565b005b34801561047557600080fd5b50610490600480360381019061048b9190613610565b6110e1565b005b34801561049e57600080fd5b506104b960048036038101906104b491906131c2565b611177565b6040516104c69190613230565b60405180910390f35b3480156104db57600080fd5b506104e4611228565b6040516104f1919061316a565b60405180910390f35b34801561050657600080fd5b50610521600480360381019061051c919061339d565b6112b6565b60405161052e91906132c6565b60405180910390f35b34801561054357600080fd5b5061054c61136d565b005b34801561055a57600080fd5b506105756004803603810190610570919061339d565b6113f5565b60405161058291906130b6565b60405180910390f35b34801561059757600080fd5b506105a061144b565b6040516105ad9190613230565b60405180910390f35b3480156105c257600080fd5b506105cb611475565b6040516105d8919061316a565b60405180910390f35b3480156105ed57600080fd5b506106086004803603810190610603919061339d565b611507565b005b34801561061657600080fd5b5061061f6115f3565b60405161062c91906132c6565b60405180910390f35b34801561064157600080fd5b5061065c6004803603810190610657919061339d565b611604565b005b34801561066a57600080fd5b5061068560048036038101906106809190613685565b611724565b005b34801561069357600080fd5b506106ae60048036038101906106a99190613766565b61173a565b005b3480156106bc57600080fd5b506106c561179c565b6040516106d2919061316a565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd91906131c2565b61182a565b60405161070f919061316a565b60405180910390f35b34801561072457600080fd5b5061072d6118d4565b60405161073a91906132c6565b60405180910390f35b34801561074f57600080fd5b5061076a6004803603810190610765919061339d565b6118df565b60405161077791906130b6565b60405180910390f35b34801561078c57600080fd5b50610795611935565b6040516107a291906132c6565b60405180910390f35b3480156107b757600080fd5b506107d260048036038101906107cd919061339d565b611956565b005b6107dc611a41565b005b3480156107ea57600080fd5b50610805600480360381019061080091906137e9565b611ae2565b60405161081291906130b6565b60405180910390f35b610835600480360381019061083091906131c2565b611b76565b005b34801561084357600080fd5b5061085e6004803603810190610859919061339d565b611c1d565b005b61087a60048036038101906108759190613867565b611d14565b005b34801561088857600080fd5b50610891611dea565b60405161089e91906132c6565b60405180910390f35b6108af611df0565b005b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610924575061092382611ea6565b5b9050919050565b60606000805461093a906138d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610966906138d6565b80156109b35780601f10610988576101008083540402835291602001916109b3565b820191906000526020600020905b81548152906001019060200180831161099657829003601f168201915b5050505050905090565b60006109c882611f20565b610a07576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fe90613979565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4d82611177565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab490613a0b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc611f8c565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05611f8c565b611ae2565b5b610b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4190613a9d565b60405180910390fd5b610b548383611f94565b505050565b6000600c54905090565b610b6c336113f5565b610bab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba290613b2f565b60405180910390fd5b60001515600960009054906101000a900460ff16151514610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf890613bc1565b60405180910390fd5b6001600960006101000a81548160ff021916908315150217905550565b610c2f610c29611f8c565b8261204d565b610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590613c53565b60405180910390fd5b610c7983838361212b565b505050565b6000806000600a6040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900462ffffff1662ffffff1662ffffff1681525050905080600001519250612710816020015162ffffff1685610d2a9190613ca2565b610d349190613d2b565b9150509250929050565b610d47336113f5565b610d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7d90613b2f565b60405180910390fd5b60011515600960009054906101000a900460ff16151514610ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd390613dce565b60405180910390fd5b6000600960006101000a81548160ff021916908315150217905550565b610e01611f8c565b73ffffffffffffffffffffffffffffffffffffffff16610e1f61144b565b73ffffffffffffffffffffffffffffffffffffffff1614610e75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6c90613e3a565b60405180910390fd5b610e7e816113f5565b610ebd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eb490613ecc565b60405180910390fd5b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b604051806060016040528060408152602001614df36040913981565b610f4f8383836040518060200160405280600081525061173a565b505050565b610f5d336113f5565b610f9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9390613b2f565b60405180910390fd5b6001815111610fe0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd790613f5e565b60405180910390fd5b60005b81518110156110dd576008600083838151811061100357611002613f7e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166110ca576001600860008484815181106110705761106f613f7e565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b80806110d590613fad565b915050610fe3565b5050565b6110e9611f8c565b73ffffffffffffffffffffffffffffffffffffffff1661110761144b565b73ffffffffffffffffffffffffffffffffffffffff161461115d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161115490613e3a565b60405180910390fd5b8060109080519060200190611173929190612f5f565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121690614067565b60405180910390fd5b80915050919050565b60108054611235906138d6565b80601f0160208091040260200160405190810160405280929190818152602001828054611261906138d6565b80156112ae5780601f10611283576101008083540402835291602001916112ae565b820191906000526020600020905b81548152906001019060200180831161129157829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611326576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131d906140f9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611375611f8c565b73ffffffffffffffffffffffffffffffffffffffff1661139361144b565b73ffffffffffffffffffffffffffffffffffffffff16146113e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e090613e3a565b60405180910390fd5b6113f36000612391565b565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611484906138d6565b80601f01602080910402602001604051908101604052809291908181526020018280546114b0906138d6565b80156114fd5780601f106114d2576101008083540402835291602001916114fd565b820191906000526020600020905b8154815290600101906020018083116114e057829003601f168201915b5050505050905090565b611510336113f5565b61154f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154690613b2f565b60405180910390fd5b611558816118df565b15611598576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158f9061418b565b60405180910390fd5b6001600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b60006115ff600b612457565b905090565b61160c611f8c565b73ffffffffffffffffffffffffffffffffffffffff1661162a61144b565b73ffffffffffffffffffffffffffffffffffffffff1614611680576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167790613e3a565b60405180910390fd5b611689816113f5565b156116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c09061421d565b60405180910390fd5b6001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b61173661172f611f8c565b8383612465565b5050565b61174b611745611f8c565b8361204d565b61178a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178190613c53565b60405180910390fd5b611796848484846125d1565b50505050565b600f80546117a9906138d6565b80601f01602080910402602001604051908101604052809291908181526020018280546117d5906138d6565b80156118225780601f106117f757610100808354040283529160200191611822565b820191906000526020600020905b81548152906001019060200180831161180557829003601f168201915b505050505081565b606061183582611f20565b611874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186b906142af565b60405180910390fd5b600061187e61262d565b9050600081511161189e57604051806020016040528060008152506118cc565b806118a8846126bf565b600f6040516020016118bc9392919061439f565b6040516020818303038152906040525b915050919050565b66b1a2bc2ec5000081565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600061193f6115f3565b611947610b59565b61195191906143d0565b905090565b61195f336113f5565b61199e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199590613b2f565b60405180910390fd5b6119a7816118df565b6119e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119dd90614476565b60405180910390fd5b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b3466b1a2bc2ec500001115611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8290614508565b60405180910390fd5b6102ee611a96610b59565b1115611ad7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ace9061459a565b60405180910390fd5b611ae03361281f565b565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b7e611f8c565b73ffffffffffffffffffffffffffffffffffffffff16611b9c61144b565b73ffffffffffffffffffffffffffffffffffffffff1614611bf2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be990613e3a565b60405180910390fd5b60005b81811015611c1957611c063361281f565b8080611c1190613fad565b915050611bf5565b5050565b611c25611f8c565b73ffffffffffffffffffffffffffffffffffffffff16611c4361144b565b73ffffffffffffffffffffffffffffffffffffffff1614611c99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9090613e3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cff9061462c565b60405180910390fd5b611d1181612391565b50565b611d1d336113f5565b611d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5390613b2f565b60405180910390fd5b47811115611d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d96906146be565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611de5573d6000803e3d6000fd5b505050565b6102ee81565b33611dfa816118df565b611e0357600080fd5b6102ee611e0e610b59565b1115611e4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e469061459a565b60405180910390fd5b6001611e5a336112b6565b10611e9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9190614750565b60405180910390fd5b611ea33361281f565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611f195750611f188261284b565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661200783611177565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061205882611f20565b612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e906147e2565b60405180910390fd5b60006120a283611177565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806120e457506120e38185611ae2565b5b8061212257508373ffffffffffffffffffffffffffffffffffffffff1661210a846109bd565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661214b82611177565b73ffffffffffffffffffffffffffffffffffffffff16146121a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219890614874565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220790614906565b60405180910390fd5b61221b83838361292d565b612226600082611f94565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461227691906143d0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546122cd9190614926565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461238c838383612932565b505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036124d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ca906149c8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125c491906130b6565b60405180910390a3505050565b6125dc84848461212b565b6125e884848484612937565b612627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161261e90614a5a565b60405180910390fd5b50505050565b60606010805461263c906138d6565b80601f0160208091040260200160405190810160405280929190818152602001828054612668906138d6565b80156126b55780601f1061268a576101008083540402835291602001916126b5565b820191906000526020600020905b81548152906001019060200180831161269857829003601f168201915b5050505050905090565b606060008203612706576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061281a565b600082905060005b6000821461273857808061272190613fad565b915050600a826127319190613d2b565b915061270e565b60008167ffffffffffffffff811115612754576127536133cf565b5b6040519080825280601f01601f1916602001820160405280156127865781602001600182028036833780820191505090505b5090505b600085146128135760018261279f91906143d0565b9150600a856127ae9190614a7a565b60306127ba9190614926565b60f81b8183815181106127d0576127cf613f7e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561280c9190613d2b565b945061278a565b8093505050505b919050565b6000612829612abe565b90506102ee811061283d5761283c614aab565b5b6128478282612c4a565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061291657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612926575061292582612c68565b5b9050919050565b505050565b505050565b60006129588473ffffffffffffffffffffffffffffffffffffffff16612cd2565b15612ab1578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612981611f8c565b8786866040518563ffffffff1660e01b81526004016129a39493929190614b2f565b6020604051808303816000875af19250505080156129df57506040513d601f19601f820116820180604052508101906129dc9190614b90565b60015b612a61573d8060008114612a0f576040519150601f19603f3d011682016040523d82523d6000602084013e612a14565b606091505b506000815103612a59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5090614a5a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ab6565b600190505b949350505050565b600080612ac9611935565b11612b09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0090614c09565b60405180910390fd5b6000612b136115f3565b612b1b610b59565b612b2591906143d0565b90506000813341444542604051602001612b43959493929190614cbb565b6040516020818303038152906040528051906020012060001c612b669190614a7a565b9050600080600d60008481526020019081526020016000205403612b8c57819050612ba3565b600d60008381526020019081526020016000205490505b6000600d6000600186612bb691906143d0565b81526020019081526020016000205403612bf357600183612bd791906143d0565b600d600084815260200190815260200160002081905550612c2b565b600d6000600185612c0491906143d0565b815260200190815260200160002054600d6000848152602001908152602001600020819055505b612c33612cf5565b50600e5481612c429190614926565b935050505090565b612c64828260405180602001604052806000815250612d15565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080612d02600b612457565b9050612d0e600b612d70565b8091505090565b612d1f8383612d86565b612d2c6000848484612937565b612d6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d6290614a5a565b60405180910390fd5b505050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612df5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dec90614d66565b60405180910390fd5b612dfe81611f20565b15612e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3590614dd2565b60405180910390fd5b612e4a6000838361292d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e9a9190614926565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f5b60008383612932565b5050565b828054612f6b906138d6565b90600052602060002090601f016020900481019282612f8d5760008555612fd4565b82601f10612fa657805160ff1916838001178555612fd4565b82800160010185558215612fd4579182015b82811115612fd3578251825591602001919060010190612fb8565b5b509050612fe19190612fe5565b5090565b5b80821115612ffe576000816000905550600101612fe6565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61304b81613016565b811461305657600080fd5b50565b60008135905061306881613042565b92915050565b6000602082840312156130845761308361300c565b5b600061309284828501613059565b91505092915050565b60008115159050919050565b6130b08161309b565b82525050565b60006020820190506130cb60008301846130a7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561310b5780820151818401526020810190506130f0565b8381111561311a576000848401525b50505050565b6000601f19601f8301169050919050565b600061313c826130d1565b61314681856130dc565b93506131568185602086016130ed565b61315f81613120565b840191505092915050565b600060208201905081810360008301526131848184613131565b905092915050565b6000819050919050565b61319f8161318c565b81146131aa57600080fd5b50565b6000813590506131bc81613196565b92915050565b6000602082840312156131d8576131d761300c565b5b60006131e6848285016131ad565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061321a826131ef565b9050919050565b61322a8161320f565b82525050565b60006020820190506132456000830184613221565b92915050565b6132548161320f565b811461325f57600080fd5b50565b6000813590506132718161324b565b92915050565b6000806040838503121561328e5761328d61300c565b5b600061329c85828601613262565b92505060206132ad858286016131ad565b9150509250929050565b6132c08161318c565b82525050565b60006020820190506132db60008301846132b7565b92915050565b6000806000606084860312156132fa576132f961300c565b5b600061330886828701613262565b935050602061331986828701613262565b925050604061332a868287016131ad565b9150509250925092565b6000806040838503121561334b5761334a61300c565b5b6000613359858286016131ad565b925050602061336a858286016131ad565b9150509250929050565b60006040820190506133896000830185613221565b61339660208301846132b7565b9392505050565b6000602082840312156133b3576133b261300c565b5b60006133c184828501613262565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61340782613120565b810181811067ffffffffffffffff82111715613426576134256133cf565b5b80604052505050565b6000613439613002565b905061344582826133fe565b919050565b600067ffffffffffffffff821115613465576134646133cf565b5b602082029050602081019050919050565b600080fd5b600061348e6134898461344a565b61342f565b905080838252602082019050602084028301858111156134b1576134b0613476565b5b835b818110156134da57806134c68882613262565b8452602084019350506020810190506134b3565b5050509392505050565b600082601f8301126134f9576134f86133ca565b5b813561350984826020860161347b565b91505092915050565b6000602082840312156135285761352761300c565b5b600082013567ffffffffffffffff81111561354657613545613011565b5b613552848285016134e4565b91505092915050565b600080fd5b600067ffffffffffffffff82111561357b5761357a6133cf565b5b61358482613120565b9050602081019050919050565b82818337600083830152505050565b60006135b36135ae84613560565b61342f565b9050828152602081018484840111156135cf576135ce61355b565b5b6135da848285613591565b509392505050565b600082601f8301126135f7576135f66133ca565b5b81356136078482602086016135a0565b91505092915050565b6000602082840312156136265761362561300c565b5b600082013567ffffffffffffffff81111561364457613643613011565b5b613650848285016135e2565b91505092915050565b6136628161309b565b811461366d57600080fd5b50565b60008135905061367f81613659565b92915050565b6000806040838503121561369c5761369b61300c565b5b60006136aa85828601613262565b92505060206136bb85828601613670565b9150509250929050565b600067ffffffffffffffff8211156136e0576136df6133cf565b5b6136e982613120565b9050602081019050919050565b6000613709613704846136c5565b61342f565b9050828152602081018484840111156137255761372461355b565b5b613730848285613591565b509392505050565b600082601f83011261374d5761374c6133ca565b5b813561375d8482602086016136f6565b91505092915050565b600080600080608085870312156137805761377f61300c565b5b600061378e87828801613262565b945050602061379f87828801613262565b93505060406137b0878288016131ad565b925050606085013567ffffffffffffffff8111156137d1576137d0613011565b5b6137dd87828801613738565b91505092959194509250565b60008060408385031215613800576137ff61300c565b5b600061380e85828601613262565b925050602061381f85828601613262565b9150509250929050565b6000613834826131ef565b9050919050565b61384481613829565b811461384f57600080fd5b50565b6000813590506138618161383b565b92915050565b6000806040838503121561387e5761387d61300c565b5b600061388c85828601613852565b925050602061389d858286016131ad565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806138ee57607f821691505b602082108103613901576139006138a7565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613963602c836130dc565b915061396e82613907565b604082019050919050565b6000602082019050818103600083015261399281613956565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006139f56021836130dc565b9150613a0082613999565b604082019050919050565b60006020820190508181036000830152613a24816139e8565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613a876038836130dc565b9150613a9282613a2b565b604082019050919050565b60006020820190508181036000830152613ab681613a7a565b9050919050565b7f48756579416363657373436f6e74726f6c3a2043616c6c6572206e6f7420706160008201527f7274206f662067616e672e000000000000000000000000000000000000000000602082015250565b6000613b19602b836130dc565b9150613b2482613abd565b604082019050919050565b60006020820190508181036000830152613b4881613b0c565b9050919050565b7f48756579416363657373436f6e74726f6c3a20676f6c646c697374207374696c60008201527f6c20616374697665000000000000000000000000000000000000000000000000602082015250565b6000613bab6028836130dc565b9150613bb682613b4f565b604082019050919050565b60006020820190508181036000830152613bda81613b9e565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000613c3d6031836130dc565b9150613c4882613be1565b604082019050919050565b60006020820190508181036000830152613c6c81613c30565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613cad8261318c565b9150613cb88361318c565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613cf157613cf0613c73565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613d368261318c565b9150613d418361318c565b925082613d5157613d50613cfc565b5b828204905092915050565b7f48756579416363657373436f6e74726f6c3a20676f6c646c697374206e6f742060008201527f6163746976650000000000000000000000000000000000000000000000000000602082015250565b6000613db86026836130dc565b9150613dc382613d5c565b604082019050919050565b60006020820190508181036000830152613de781613dab565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613e246020836130dc565b9150613e2f82613dee565b602082019050919050565b60006020820190508181036000830152613e5381613e17565b9050919050565b7f48756579416363657373436f6e74726f6c3a204164647265737320616c72656160008201527f6479206e6f7420696e2067616e672e0000000000000000000000000000000000602082015250565b6000613eb6602f836130dc565b9150613ec182613e5a565b604082019050919050565b60006020820190508181036000830152613ee581613ea9565b9050919050565b7f48756579416363657373436f6e74726f6c3a207573652060616464546f676f6c60008201527f646c6973746020696e7374656164000000000000000000000000000000000000602082015250565b6000613f48602e836130dc565b9150613f5382613eec565b604082019050919050565b60006020820190508181036000830152613f7781613f3b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000613fb88261318c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613fea57613fe9613c73565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006140516029836130dc565b915061405c82613ff5565b604082019050919050565b6000602082019050818103600083015261408081614044565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006140e3602a836130dc565b91506140ee82614087565b604082019050919050565b60006020820190508181036000830152614112816140d6565b9050919050565b7f48756579416363657373436f6e74726f6c3a20616c726561647920676f6c646c60008201527f6973746564000000000000000000000000000000000000000000000000000000602082015250565b60006141756025836130dc565b915061418082614119565b604082019050919050565b600060208201905081810360008301526141a481614168565b9050919050565b7f48756579416363657373436f6e74726f6c3a204164647265737320616c72656160008201527f647920696e2067616e672e000000000000000000000000000000000000000000602082015250565b6000614207602b836130dc565b9150614212826141ab565b604082019050919050565b60006020820190508181036000830152614236816141fa565b9050919050565b7f487565793a2055524920717565727920666f72206e6f6e6578697374656e742060008201527f746f6b656e000000000000000000000000000000000000000000000000000000602082015250565b60006142996025836130dc565b91506142a48261423d565b604082019050919050565b600060208201905081810360008301526142c88161428c565b9050919050565b600081905092915050565b60006142e5826130d1565b6142ef81856142cf565b93506142ff8185602086016130ed565b80840191505092915050565b60008190508160005260206000209050919050565b6000815461432d816138d6565b61433781866142cf565b94506001821660008114614352576001811461436357614396565b60ff19831686528186019350614396565b61436c8561430b565b60005b8381101561438e5781548189015260018201915060208101905061436f565b838801955050505b50505092915050565b60006143ab82866142da565b91506143b782856142da565b91506143c38284614320565b9150819050949350505050565b60006143db8261318c565b91506143e68361318c565b9250828210156143f9576143f8613c73565b5b828203905092915050565b7f48756579416363657373436f6e74726f6c3a206e6f7420696e20676f6c646c6960008201527f7374000000000000000000000000000000000000000000000000000000000000602082015250565b60006144606022836130dc565b915061446b82614404565b604082019050919050565b6000602082019050818103600083015261448f81614453565b9050919050565b7f487565793a20457468657265756d2073656e74206973206e6f7420737566666960008201527f6369656e742e0000000000000000000000000000000000000000000000000000602082015250565b60006144f26026836130dc565b91506144fd82614496565b604082019050919050565b60006020820190508181036000830152614521816144e5565b9050919050565b7f487565793a20546865726520617265206e6f20746f6b656e73206c656674207460008201527f6f206d696e742e00000000000000000000000000000000000000000000000000602082015250565b60006145846027836130dc565b915061458f82614528565b604082019050919050565b600060208201905081810360008301526145b381614577565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146166026836130dc565b9150614621826145ba565b604082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f487565793a20496e73756666696369656e742066756e647320746f207769746860008201527f6472617700000000000000000000000000000000000000000000000000000000602082015250565b60006146a86024836130dc565b91506146b38261464c565b604082019050919050565b600060208201905081810360008301526146d78161469b565b9050919050565b7f487565793a20596f752063616e206f6e6c79206d696e74206f6e65206672656560008201527f2047686f73740000000000000000000000000000000000000000000000000000602082015250565b600061473a6026836130dc565b9150614745826146de565b604082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006147cc602c836130dc565b91506147d782614770565b604082019050919050565b600060208201905081810360008301526147fb816147bf565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061485e6025836130dc565b915061486982614802565b604082019050919050565b6000602082019050818103600083015261488d81614851565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006148f06024836130dc565b91506148fb82614894565b604082019050919050565b6000602082019050818103600083015261491f816148e3565b9050919050565b60006149318261318c565b915061493c8361318c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561497157614970613c73565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006149b26019836130dc565b91506149bd8261497c565b602082019050919050565b600060208201905081810360008301526149e1816149a5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614a446032836130dc565b9150614a4f826149e8565b604082019050919050565b60006020820190508181036000830152614a7381614a37565b9050919050565b6000614a858261318c565b9150614a908361318c565b925082614aa057614a9f613cfc565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000614b0182614ada565b614b0b8185614ae5565b9350614b1b8185602086016130ed565b614b2481613120565b840191505092915050565b6000608082019050614b446000830187613221565b614b516020830186613221565b614b5e60408301856132b7565b8181036060830152614b708184614af6565b905095945050505050565b600081519050614b8a81613042565b92915050565b600060208284031215614ba657614ba561300c565b5b6000614bb484828501614b7b565b91505092915050565b7f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000600082015250565b6000614bf36018836130dc565b9150614bfe82614bbd565b602082019050919050565b60006020820190508181036000830152614c2281614be6565b9050919050565b60008160601b9050919050565b6000614c4182614c29565b9050919050565b6000614c5382614c36565b9050919050565b614c6b614c668261320f565b614c48565b82525050565b6000614c7c82614c36565b9050919050565b614c94614c8f82613829565b614c71565b82525050565b6000819050919050565b614cb5614cb08261318c565b614c9a565b82525050565b6000614cc78288614c5a565b601482019150614cd78287614c83565b601482019150614ce78286614ca4565b602082019150614cf78285614ca4565b602082019150614d078284614ca4565b6020820191508190509695505050505050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614d506020836130dc565b9150614d5b82614d1a565b602082019050919050565b60006020820190508181036000830152614d7f81614d43565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614dbc601c836130dc565b9150614dc782614d86565b602082019050919050565b60006020820190508181036000830152614deb81614daf565b905091905056fe33653835653361346133633537363739613162633833326265303335326335306334656430356137346235323265363536663663656362663961306236346465a26469706673582212208301a9c9777e86d742f7f1883e71f039786153906f804490fbbcf68054c4e76264736f6c634300080d0033
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.