Overview
TokenID
1310
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PiggiesOnTheFarm
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-20 */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** ************* ************* ******************** ******************** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ************* ** ** ** ************** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ************* ** ** Piggies On The Farm, by Farmer John The Muddy Buddy everybody needs <3 2021 */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } //@openzeppelin/contracts/token/ERC721/IERC721.sol pragma solidity ^0.8.0; /** * @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. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * 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. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; } //@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol pragma solidity ^0.8.0; interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } //@openzeppelin/contracts/utils/introspection/ERC165.sol pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } //@openzeppelin/contracts/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) { 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); } } //@openzeppelin/contracts/utils/Address.sol pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. */ 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, */ 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. */ 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`. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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. */ 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); } } } } //@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol pragma solidity ^0.8.0; 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); } //@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol pragma solidity ^0.8.0; interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } //@openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } //@openzeppelin/contracts/token/ERC721/ERC721.sol pragma solidity ^0.8.0; contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * 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. * 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. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * 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`. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } //@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol pragma solidity ^0.8.0; abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } //@openzeppelin/contracts/access/Ownable.sol pragma solidity ^0.8.0; abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } pragma solidity >=0.7.0 <0.9.0; contract PiggiesOnTheFarm is ERC721Enumerable, Ownable { using Strings for uint256; string baseURI; string public baseExtension = ".json"; uint256 public cost = 0.02 ether; uint256 public maxSupply = 9999; uint256 public maxMintAmount = 20; bool public paused = true; bool public revealed = true; constructor( string memory _name, string memory _symbol, string memory _initBaseURI ) ERC721(_name, _symbol) { setBaseURI(_initBaseURI); } // internal function _baseURI() internal view virtual override returns (string memory) { return baseURI; } // public function mint(uint256 _mintAmount) public payable { uint256 supply = totalSupply(); require(!paused); require(_mintAmount > 0); require(_mintAmount <= maxMintAmount); require(supply + _mintAmount <= maxSupply); if (msg.sender != owner()) { require(msg.value >= cost * _mintAmount); } for (uint256 i = 1; i <= _mintAmount; i++) { _safeMint(msg.sender, supply + i); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory tokenIds = new uint256[](ownerTokenCount); for (uint256 i; i < ownerTokenCount; i++) { tokenIds[i] = tokenOfOwnerByIndex(_owner, i); } return tokenIds; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension)) : ""; } //only owner function reveal() public onlyOwner() { revealed = true; } function setCost(uint256 _newCost) public onlyOwner() { cost = _newCost; } function setmaxMintAmount(uint256 _newmaxMintAmount) public onlyOwner() { maxMintAmount = _newmaxMintAmount; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setBaseExtension(string memory _newBaseExtension) public onlyOwner { baseExtension = _newBaseExtension; } function pause(bool _state) public onlyOwner { paused = _state; } function withdraw() public payable onlyOwner { (bool success, ) = payable(msg.sender).call{value: address(this).balance}(""); require(success); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newmaxMintAmount","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60c06040526005608081905264173539b7b760d91b60a09081526200002891600c9190620001ac565b5066470de4df820000600d5561270f600e556014600f556010805461ffff19166101011790553480156200005b57600080fd5b50604051620026b8380380620026b88339810160408190526200007e9162000309565b82518390839062000097906000906020850190620001ac565b508051620000ad906001906020840190620001ac565b505050620000ca620000c4620000de60201b60201c565b620000e2565b620000d58162000134565b505050620003ed565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a546001600160a01b03163314620001935760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001a890600b906020840190620001ac565b5050565b828054620001ba906200039a565b90600052602060002090601f016020900481019282620001de576000855562000229565b82601f10620001f957805160ff191683800117855562000229565b8280016001018555821562000229579182015b82811115620002295782518255916020019190600101906200020c565b50620002379291506200023b565b5090565b5b808211156200023757600081556001016200023c565b600082601f8301126200026457600080fd5b81516001600160401b0380821115620002815762000281620003d7565b604051601f8301601f19908116603f01168101908282118183101715620002ac57620002ac620003d7565b81604052838152602092508683858801011115620002c957600080fd5b600091505b83821015620002ed5785820183015181830184015290820190620002ce565b83821115620002ff5760008385830101525b9695505050505050565b6000806000606084860312156200031f57600080fd5b83516001600160401b03808211156200033757600080fd5b620003458783880162000252565b945060208601519150808211156200035c57600080fd5b6200036a8783880162000252565b935060408601519150808211156200038157600080fd5b50620003908682870162000252565b9150509250925092565b600181811c90821680620003af57607f821691505b60208210811415620003d157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6122bb80620003fd6000396000f3fe6080604052600436106101f95760003560e01c80635c975abb1161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610571578063d5abeb0114610591578063da3ef23f146105a7578063e985e9c5146105c7578063f2fde38b1461061057600080fd5b8063a22cb46514610507578063a475b5dd14610527578063b88d4fde1461053c578063c66828621461055c57600080fd5b80637f00c7a6116100dc5780637f00c7a6146104a15780638da5cb5b146104c157806395d89b41146104df578063a0712d68146104f457600080fd5b80635c975abb146104325780636352211e1461044c57806370a082311461046c578063715018a61461048c57600080fd5b806323b872dd11610190578063438b63001161015f578063438b63001461038657806344a0d68a146103b35780634f6ccce7146103d357806351830227146103f357806355f804b31461041257600080fd5b806323b872dd1461031e5780632f745c591461033e5780633ccfd60b1461035e57806342842e0e1461036657600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806313faede6146102cf57806318160ddd146102f3578063239c70ae1461030857600080fd5b806301ffc9a7146101fe57806302329a291461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e11565b610630565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611df6565b61065b565b005b34801561026157600080fd5b5061026a6106a1565b60405161022a919061201e565b34801561028357600080fd5b50610297610292366004611e94565b610733565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca366004611dcc565b6107c8565b3480156102db57600080fd5b506102e5600d5481565b60405190815260200161022a565b3480156102ff57600080fd5b506008546102e5565b34801561031457600080fd5b506102e5600f5481565b34801561032a57600080fd5b50610253610339366004611cea565b6108de565b34801561034a57600080fd5b506102e5610359366004611dcc565b61090f565b6102536109a5565b34801561037257600080fd5b50610253610381366004611cea565b610a27565b34801561039257600080fd5b506103a66103a1366004611c9c565b610a42565b60405161022a9190611fda565b3480156103bf57600080fd5b506102536103ce366004611e94565b610ae4565b3480156103df57600080fd5b506102e56103ee366004611e94565b610b13565b3480156103ff57600080fd5b5060105461021e90610100900460ff1681565b34801561041e57600080fd5b5061025361042d366004611e4b565b610ba6565b34801561043e57600080fd5b5060105461021e9060ff1681565b34801561045857600080fd5b50610297610467366004611e94565b610be7565b34801561047857600080fd5b506102e5610487366004611c9c565b610c5e565b34801561049857600080fd5b50610253610ce5565b3480156104ad57600080fd5b506102536104bc366004611e94565b610d1b565b3480156104cd57600080fd5b50600a546001600160a01b0316610297565b3480156104eb57600080fd5b5061026a610d4a565b610253610502366004611e94565b610d59565b34801561051357600080fd5b50610253610522366004611da2565b610e06565b34801561053357600080fd5b50610253610ecb565b34801561054857600080fd5b50610253610557366004611d26565b610f06565b34801561056857600080fd5b5061026a610f3e565b34801561057d57600080fd5b5061026a61058c366004611e94565b610fcc565b34801561059d57600080fd5b506102e5600e5481565b3480156105b357600080fd5b506102536105c2366004611e4b565b6110aa565b3480156105d357600080fd5b5061021e6105e2366004611cb7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561061c57600080fd5b5061025361062b366004611c9c565b6110e7565b60006001600160e01b0319821663780e9d6360e01b148061065557506106558261117f565b92915050565b600a546001600160a01b0316331461068e5760405162461bcd60e51b815260040161068590612083565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600080546106b090612197565b80601f01602080910402602001604051908101604052809291908181526020018280546106dc90612197565b80156107295780601f106106fe57610100808354040283529160200191610729565b820191906000526020600020905b81548152906001019060200180831161070c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610685565b506000908152600460205260409020546001600160a01b031690565b60006107d382610be7565b9050806001600160a01b0316836001600160a01b031614156108415760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610685565b336001600160a01b038216148061085d575061085d81336105e2565b6108cf5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610685565b6108d983836111cf565b505050565b6108e8338261123d565b6109045760405162461bcd60e51b8152600401610685906120b8565b6108d9838383611334565b600061091a83610c5e565b821061097c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610685565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146109cf5760405162461bcd60e51b815260040161068590612083565b604051600090339047908381818185875af1925050503d8060008114610a11576040519150601f19603f3d011682016040523d82523d6000602084013e610a16565b606091505b5050905080610a2457600080fd5b50565b6108d983838360405180602001604052806000815250610f06565b60606000610a4f83610c5e565b905060008167ffffffffffffffff811115610a6c57610a6c612259565b604051908082528060200260200182016040528015610a95578160200160208202803683370190505b50905060005b82811015610adc57610aad858261090f565b828281518110610abf57610abf612243565b602090810291909101015280610ad4816121d2565b915050610a9b565b509392505050565b600a546001600160a01b03163314610b0e5760405162461bcd60e51b815260040161068590612083565b600d55565b6000610b1e60085490565b8210610b815760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610685565b60088281548110610b9457610b94612243565b90600052602060002001549050919050565b600a546001600160a01b03163314610bd05760405162461bcd60e51b815260040161068590612083565b8051610be390600b906020840190611b61565b5050565b6000818152600260205260408120546001600160a01b0316806106555760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610685565b60006001600160a01b038216610cc95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610685565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161068590612083565b610d1960006114df565b565b600a546001600160a01b03163314610d455760405162461bcd60e51b815260040161068590612083565b600f55565b6060600180546106b090612197565b6000610d6460085490565b60105490915060ff1615610d7757600080fd5b60008211610d8457600080fd5b600f54821115610d9357600080fd5b600e54610da08383612109565b1115610dab57600080fd5b600a546001600160a01b03163314610dd75781600d54610dcb9190612135565b341015610dd757600080fd5b60015b8281116108d957610df433610def8385612109565b611531565b80610dfe816121d2565b915050610dda565b6001600160a01b038216331415610e5f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610685565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314610ef55760405162461bcd60e51b815260040161068590612083565b6010805461ff001916610100179055565b610f10338361123d565b610f2c5760405162461bcd60e51b8152600401610685906120b8565b610f388484848461154b565b50505050565b600c8054610f4b90612197565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7790612197565b8015610fc45780601f10610f9957610100808354040283529160200191610fc4565b820191906000526020600020905b815481529060010190602001808311610fa757829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b031661104b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610685565b600061105561157e565b9050600081511161107557604051806020016040528060008152506110a3565b8061107f8461158d565b600c60405160200161109393929190611ed9565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146110d45760405162461bcd60e51b815260040161068590612083565b8051610be390600c906020840190611b61565b600a546001600160a01b031633146111115760405162461bcd60e51b815260040161068590612083565b6001600160a01b0381166111765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610685565b610a24816114df565b60006001600160e01b031982166380ac58cd60e01b14806111b057506001600160e01b03198216635b5e139f60e01b145b8061065557506301ffc9a760e01b6001600160e01b0319831614610655565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061120482610be7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166112b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610685565b60006112c183610be7565b9050806001600160a01b0316846001600160a01b031614806112fc5750836001600160a01b03166112f184610733565b6001600160a01b0316145b8061132c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661134782610be7565b6001600160a01b0316146113af5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610685565b6001600160a01b0382166114115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610685565b61141c83838361168b565b6114276000826111cf565b6001600160a01b0383166000908152600360205260408120805460019290611450908490612154565b90915550506001600160a01b038216600090815260036020526040812080546001929061147e908490612109565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610be3828260405180602001604052806000815250611743565b611556848484611334565b61156284848484611776565b610f385760405162461bcd60e51b815260040161068590612031565b6060600b80546106b090612197565b6060816115b15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115db57806115c5816121d2565b91506115d49050600a83612121565b91506115b5565b60008167ffffffffffffffff8111156115f6576115f6612259565b6040519080825280601f01601f191660200182016040528015611620576020820181803683370190505b5090505b841561132c57611635600183612154565b9150611642600a866121ed565b61164d906030612109565b60f81b81838151811061166257611662612243565b60200101906001600160f81b031916908160001a905350611684600a86612121565b9450611624565b6001600160a01b0383166116e6576116e181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611709565b816001600160a01b0316836001600160a01b031614611709576117098382611883565b6001600160a01b038216611720576108d981611920565b826001600160a01b0316826001600160a01b0316146108d9576108d982826119cf565b61174d8383611a13565b61175a6000848484611776565b6108d95760405162461bcd60e51b815260040161068590612031565b60006001600160a01b0384163b1561187857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117ba903390899088908890600401611f9d565b602060405180830381600087803b1580156117d457600080fd5b505af1925050508015611804575060408051601f3d908101601f1916820190925261180191810190611e2e565b60015b61185e573d808015611832576040519150601f19603f3d011682016040523d82523d6000602084013e611837565b606091505b5080516118565760405162461bcd60e51b815260040161068590612031565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061132c565b506001949350505050565b6000600161189084610c5e565b61189a9190612154565b6000838152600760205260409020549091508082146118ed576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061193290600190612154565b6000838152600960205260408120546008805493945090928490811061195a5761195a612243565b90600052602060002001549050806008838154811061197b5761197b612243565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119b3576119b361222d565b6001900381819060005260206000200160009055905550505050565b60006119da83610c5e565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611a695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610685565b6000818152600260205260409020546001600160a01b031615611ace5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610685565b611ada6000838361168b565b6001600160a01b0382166000908152600360205260408120805460019290611b03908490612109565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611b6d90612197565b90600052602060002090601f016020900481019282611b8f5760008555611bd5565b82601f10611ba857805160ff1916838001178555611bd5565b82800160010185558215611bd5579182015b82811115611bd5578251825591602001919060010190611bba565b50611be1929150611be5565b5090565b5b80821115611be15760008155600101611be6565b600067ffffffffffffffff80841115611c1557611c15612259565b604051601f8501601f19908116603f01168101908282118183101715611c3d57611c3d612259565b81604052809350858152868686011115611c5657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611c8757600080fd5b919050565b80358015158114611c8757600080fd5b600060208284031215611cae57600080fd5b6110a382611c70565b60008060408385031215611cca57600080fd5b611cd383611c70565b9150611ce160208401611c70565b90509250929050565b600080600060608486031215611cff57600080fd5b611d0884611c70565b9250611d1660208501611c70565b9150604084013590509250925092565b60008060008060808587031215611d3c57600080fd5b611d4585611c70565b9350611d5360208601611c70565b925060408501359150606085013567ffffffffffffffff811115611d7657600080fd5b8501601f81018713611d8757600080fd5b611d9687823560208401611bfa565b91505092959194509250565b60008060408385031215611db557600080fd5b611dbe83611c70565b9150611ce160208401611c8c565b60008060408385031215611ddf57600080fd5b611de883611c70565b946020939093013593505050565b600060208284031215611e0857600080fd5b6110a382611c8c565b600060208284031215611e2357600080fd5b81356110a38161226f565b600060208284031215611e4057600080fd5b81516110a38161226f565b600060208284031215611e5d57600080fd5b813567ffffffffffffffff811115611e7457600080fd5b8201601f81018413611e8557600080fd5b61132c84823560208401611bfa565b600060208284031215611ea657600080fd5b5035919050565b60008151808452611ec581602086016020860161216b565b601f01601f19169290920160200192915050565b600084516020611eec8285838a0161216b565b855191840191611eff8184848a0161216b565b8554920191600090600181811c9080831680611f1c57607f831692505b858310811415611f3a57634e487b7160e01b85526022600452602485fd5b808015611f4e5760018114611f5f57611f8c565b60ff19851688528388019550611f8c565b60008b81526020902060005b85811015611f845781548a820152908401908801611f6b565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fd090830184611ead565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561201257835183529284019291840191600101611ff6565b50909695505050505050565b6020815260006110a36020830184611ead565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561211c5761211c612201565b500190565b60008261213057612130612217565b500490565b600081600019048311821515161561214f5761214f612201565b500290565b60008282101561216657612166612201565b500390565b60005b8381101561218657818101518382015260200161216e565b83811115610f385750506000910152565b600181811c908216806121ab57607f821691505b602082108114156121cc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121e6576121e6612201565b5060010190565b6000826121fc576121fc612217565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a2457600080fdfea2646970667358221220dd0d3206d57ac57bba80f6cfb059add61d8bde6d563822b2fab9183ba6f0955464736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001350696767696573204f6e20546865204661726d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004504f5446000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e57656e737146787479455064613939506971483863476957556176786f6e414732586e576a616336625a6d2f00000000000000000000
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80635c975abb1161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd14610571578063d5abeb0114610591578063da3ef23f146105a7578063e985e9c5146105c7578063f2fde38b1461061057600080fd5b8063a22cb46514610507578063a475b5dd14610527578063b88d4fde1461053c578063c66828621461055c57600080fd5b80637f00c7a6116100dc5780637f00c7a6146104a15780638da5cb5b146104c157806395d89b41146104df578063a0712d68146104f457600080fd5b80635c975abb146104325780636352211e1461044c57806370a082311461046c578063715018a61461048c57600080fd5b806323b872dd11610190578063438b63001161015f578063438b63001461038657806344a0d68a146103b35780634f6ccce7146103d357806351830227146103f357806355f804b31461041257600080fd5b806323b872dd1461031e5780632f745c591461033e5780633ccfd60b1461035e57806342842e0e1461036657600080fd5b8063095ea7b3116101cc578063095ea7b3146102af57806313faede6146102cf57806318160ddd146102f3578063239c70ae1461030857600080fd5b806301ffc9a7146101fe57806302329a291461023357806306fdde0314610255578063081812fc14610277575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e11565b610630565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061025361024e366004611df6565b61065b565b005b34801561026157600080fd5b5061026a6106a1565b60405161022a919061201e565b34801561028357600080fd5b50610297610292366004611e94565b610733565b6040516001600160a01b03909116815260200161022a565b3480156102bb57600080fd5b506102536102ca366004611dcc565b6107c8565b3480156102db57600080fd5b506102e5600d5481565b60405190815260200161022a565b3480156102ff57600080fd5b506008546102e5565b34801561031457600080fd5b506102e5600f5481565b34801561032a57600080fd5b50610253610339366004611cea565b6108de565b34801561034a57600080fd5b506102e5610359366004611dcc565b61090f565b6102536109a5565b34801561037257600080fd5b50610253610381366004611cea565b610a27565b34801561039257600080fd5b506103a66103a1366004611c9c565b610a42565b60405161022a9190611fda565b3480156103bf57600080fd5b506102536103ce366004611e94565b610ae4565b3480156103df57600080fd5b506102e56103ee366004611e94565b610b13565b3480156103ff57600080fd5b5060105461021e90610100900460ff1681565b34801561041e57600080fd5b5061025361042d366004611e4b565b610ba6565b34801561043e57600080fd5b5060105461021e9060ff1681565b34801561045857600080fd5b50610297610467366004611e94565b610be7565b34801561047857600080fd5b506102e5610487366004611c9c565b610c5e565b34801561049857600080fd5b50610253610ce5565b3480156104ad57600080fd5b506102536104bc366004611e94565b610d1b565b3480156104cd57600080fd5b50600a546001600160a01b0316610297565b3480156104eb57600080fd5b5061026a610d4a565b610253610502366004611e94565b610d59565b34801561051357600080fd5b50610253610522366004611da2565b610e06565b34801561053357600080fd5b50610253610ecb565b34801561054857600080fd5b50610253610557366004611d26565b610f06565b34801561056857600080fd5b5061026a610f3e565b34801561057d57600080fd5b5061026a61058c366004611e94565b610fcc565b34801561059d57600080fd5b506102e5600e5481565b3480156105b357600080fd5b506102536105c2366004611e4b565b6110aa565b3480156105d357600080fd5b5061021e6105e2366004611cb7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561061c57600080fd5b5061025361062b366004611c9c565b6110e7565b60006001600160e01b0319821663780e9d6360e01b148061065557506106558261117f565b92915050565b600a546001600160a01b0316331461068e5760405162461bcd60e51b815260040161068590612083565b60405180910390fd5b6010805460ff1916911515919091179055565b6060600080546106b090612197565b80601f01602080910402602001604051908101604052809291908181526020018280546106dc90612197565b80156107295780601f106106fe57610100808354040283529160200191610729565b820191906000526020600020905b81548152906001019060200180831161070c57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610685565b506000908152600460205260409020546001600160a01b031690565b60006107d382610be7565b9050806001600160a01b0316836001600160a01b031614156108415760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610685565b336001600160a01b038216148061085d575061085d81336105e2565b6108cf5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610685565b6108d983836111cf565b505050565b6108e8338261123d565b6109045760405162461bcd60e51b8152600401610685906120b8565b6108d9838383611334565b600061091a83610c5e565b821061097c5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610685565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146109cf5760405162461bcd60e51b815260040161068590612083565b604051600090339047908381818185875af1925050503d8060008114610a11576040519150601f19603f3d011682016040523d82523d6000602084013e610a16565b606091505b5050905080610a2457600080fd5b50565b6108d983838360405180602001604052806000815250610f06565b60606000610a4f83610c5e565b905060008167ffffffffffffffff811115610a6c57610a6c612259565b604051908082528060200260200182016040528015610a95578160200160208202803683370190505b50905060005b82811015610adc57610aad858261090f565b828281518110610abf57610abf612243565b602090810291909101015280610ad4816121d2565b915050610a9b565b509392505050565b600a546001600160a01b03163314610b0e5760405162461bcd60e51b815260040161068590612083565b600d55565b6000610b1e60085490565b8210610b815760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610685565b60088281548110610b9457610b94612243565b90600052602060002001549050919050565b600a546001600160a01b03163314610bd05760405162461bcd60e51b815260040161068590612083565b8051610be390600b906020840190611b61565b5050565b6000818152600260205260408120546001600160a01b0316806106555760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610685565b60006001600160a01b038216610cc95760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610685565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610d0f5760405162461bcd60e51b815260040161068590612083565b610d1960006114df565b565b600a546001600160a01b03163314610d455760405162461bcd60e51b815260040161068590612083565b600f55565b6060600180546106b090612197565b6000610d6460085490565b60105490915060ff1615610d7757600080fd5b60008211610d8457600080fd5b600f54821115610d9357600080fd5b600e54610da08383612109565b1115610dab57600080fd5b600a546001600160a01b03163314610dd75781600d54610dcb9190612135565b341015610dd757600080fd5b60015b8281116108d957610df433610def8385612109565b611531565b80610dfe816121d2565b915050610dda565b6001600160a01b038216331415610e5f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610685565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314610ef55760405162461bcd60e51b815260040161068590612083565b6010805461ff001916610100179055565b610f10338361123d565b610f2c5760405162461bcd60e51b8152600401610685906120b8565b610f388484848461154b565b50505050565b600c8054610f4b90612197565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7790612197565b8015610fc45780601f10610f9957610100808354040283529160200191610fc4565b820191906000526020600020905b815481529060010190602001808311610fa757829003601f168201915b505050505081565b6000818152600260205260409020546060906001600160a01b031661104b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610685565b600061105561157e565b9050600081511161107557604051806020016040528060008152506110a3565b8061107f8461158d565b600c60405160200161109393929190611ed9565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146110d45760405162461bcd60e51b815260040161068590612083565b8051610be390600c906020840190611b61565b600a546001600160a01b031633146111115760405162461bcd60e51b815260040161068590612083565b6001600160a01b0381166111765760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610685565b610a24816114df565b60006001600160e01b031982166380ac58cd60e01b14806111b057506001600160e01b03198216635b5e139f60e01b145b8061065557506301ffc9a760e01b6001600160e01b0319831614610655565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061120482610be7565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166112b65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610685565b60006112c183610be7565b9050806001600160a01b0316846001600160a01b031614806112fc5750836001600160a01b03166112f184610733565b6001600160a01b0316145b8061132c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661134782610be7565b6001600160a01b0316146113af5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610685565b6001600160a01b0382166114115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610685565b61141c83838361168b565b6114276000826111cf565b6001600160a01b0383166000908152600360205260408120805460019290611450908490612154565b90915550506001600160a01b038216600090815260036020526040812080546001929061147e908490612109565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610be3828260405180602001604052806000815250611743565b611556848484611334565b61156284848484611776565b610f385760405162461bcd60e51b815260040161068590612031565b6060600b80546106b090612197565b6060816115b15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156115db57806115c5816121d2565b91506115d49050600a83612121565b91506115b5565b60008167ffffffffffffffff8111156115f6576115f6612259565b6040519080825280601f01601f191660200182016040528015611620576020820181803683370190505b5090505b841561132c57611635600183612154565b9150611642600a866121ed565b61164d906030612109565b60f81b81838151811061166257611662612243565b60200101906001600160f81b031916908160001a905350611684600a86612121565b9450611624565b6001600160a01b0383166116e6576116e181600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611709565b816001600160a01b0316836001600160a01b031614611709576117098382611883565b6001600160a01b038216611720576108d981611920565b826001600160a01b0316826001600160a01b0316146108d9576108d982826119cf565b61174d8383611a13565b61175a6000848484611776565b6108d95760405162461bcd60e51b815260040161068590612031565b60006001600160a01b0384163b1561187857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906117ba903390899088908890600401611f9d565b602060405180830381600087803b1580156117d457600080fd5b505af1925050508015611804575060408051601f3d908101601f1916820190925261180191810190611e2e565b60015b61185e573d808015611832576040519150601f19603f3d011682016040523d82523d6000602084013e611837565b606091505b5080516118565760405162461bcd60e51b815260040161068590612031565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061132c565b506001949350505050565b6000600161189084610c5e565b61189a9190612154565b6000838152600760205260409020549091508082146118ed576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061193290600190612154565b6000838152600960205260408120546008805493945090928490811061195a5761195a612243565b90600052602060002001549050806008838154811061197b5761197b612243565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806119b3576119b361222d565b6001900381819060005260206000200160009055905550505050565b60006119da83610c5e565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611a695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610685565b6000818152600260205260409020546001600160a01b031615611ace5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610685565b611ada6000838361168b565b6001600160a01b0382166000908152600360205260408120805460019290611b03908490612109565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611b6d90612197565b90600052602060002090601f016020900481019282611b8f5760008555611bd5565b82601f10611ba857805160ff1916838001178555611bd5565b82800160010185558215611bd5579182015b82811115611bd5578251825591602001919060010190611bba565b50611be1929150611be5565b5090565b5b80821115611be15760008155600101611be6565b600067ffffffffffffffff80841115611c1557611c15612259565b604051601f8501601f19908116603f01168101908282118183101715611c3d57611c3d612259565b81604052809350858152868686011115611c5657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611c8757600080fd5b919050565b80358015158114611c8757600080fd5b600060208284031215611cae57600080fd5b6110a382611c70565b60008060408385031215611cca57600080fd5b611cd383611c70565b9150611ce160208401611c70565b90509250929050565b600080600060608486031215611cff57600080fd5b611d0884611c70565b9250611d1660208501611c70565b9150604084013590509250925092565b60008060008060808587031215611d3c57600080fd5b611d4585611c70565b9350611d5360208601611c70565b925060408501359150606085013567ffffffffffffffff811115611d7657600080fd5b8501601f81018713611d8757600080fd5b611d9687823560208401611bfa565b91505092959194509250565b60008060408385031215611db557600080fd5b611dbe83611c70565b9150611ce160208401611c8c565b60008060408385031215611ddf57600080fd5b611de883611c70565b946020939093013593505050565b600060208284031215611e0857600080fd5b6110a382611c8c565b600060208284031215611e2357600080fd5b81356110a38161226f565b600060208284031215611e4057600080fd5b81516110a38161226f565b600060208284031215611e5d57600080fd5b813567ffffffffffffffff811115611e7457600080fd5b8201601f81018413611e8557600080fd5b61132c84823560208401611bfa565b600060208284031215611ea657600080fd5b5035919050565b60008151808452611ec581602086016020860161216b565b601f01601f19169290920160200192915050565b600084516020611eec8285838a0161216b565b855191840191611eff8184848a0161216b565b8554920191600090600181811c9080831680611f1c57607f831692505b858310811415611f3a57634e487b7160e01b85526022600452602485fd5b808015611f4e5760018114611f5f57611f8c565b60ff19851688528388019550611f8c565b60008b81526020902060005b85811015611f845781548a820152908401908801611f6b565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fd090830184611ead565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561201257835183529284019291840191600101611ff6565b50909695505050505050565b6020815260006110a36020830184611ead565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561211c5761211c612201565b500190565b60008261213057612130612217565b500490565b600081600019048311821515161561214f5761214f612201565b500290565b60008282101561216657612166612201565b500390565b60005b8381101561218657818101518382015260200161216e565b83811115610f385750506000910152565b600181811c908216806121ab57607f821691505b602082108114156121cc57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156121e6576121e6612201565b5060010190565b6000826121fc576121fc612217565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610a2457600080fdfea2646970667358221220dd0d3206d57ac57bba80f6cfb059add61d8bde6d563822b2fab9183ba6f0955464736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001350696767696573204f6e20546865204661726d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004504f5446000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d4e57656e737146787479455064613939506971483863476957556176786f6e414732586e576a616336625a6d2f00000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Piggies On The Farm
Arg [1] : _symbol (string): POTF
Arg [2] : _initBaseURI (string): ipfs://QmNWensqFxtyEPda99PiqH8cGiWUavxonAG2XnWjac6bZm/
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [4] : 50696767696573204f6e20546865204661726d00000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 504f544600000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d4e57656e73714678747945506461393950697148386347
Arg [9] : 6957556176786f6e414732586e576a616336625a6d2f00000000000000000000
Deployed Bytecode Sourcemap
35050:2634:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27727:224;;;;;;;;;;-1:-1:-1;27727:224:0;;;;;:::i;:::-;;:::i;:::-;;;7807:14:1;;7800:22;7782:41;;7770:2;7755:18;27727:224:0;;;;;;;;37443:73;;;;;;;;;;-1:-1:-1;37443:73:0;;;;;:::i;:::-;;:::i;:::-;;17382:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;18941:221::-;;;;;;;;;;-1:-1:-1;18941:221:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6468:32:1;;;6450:51;;6438:2;6423:18;18941:221:0;6304:203:1;18464:411:0;;;;;;;;;;-1:-1:-1;18464:411:0;;;;;:::i;:::-;;:::i;35203:32::-;;;;;;;;;;;;;;;;;;;15411:25:1;;;15399:2;15384:18;35203:32:0;15265:177:1;28367:113:0;;;;;;;;;;-1:-1:-1;28455:10:0;:17;28367:113;;35276:33;;;;;;;;;;;;;;;;19831:339;;;;;;;;;;-1:-1:-1;19831:339:0;;;;;:::i;:::-;;:::i;28035:256::-;;;;;;;;;;-1:-1:-1;28035:256:0;;;;;:::i;:::-;;:::i;37523:158::-;;;:::i;20241:185::-;;;;;;;;;;-1:-1:-1;20241:185:0;;;;;:::i;:::-;;:::i;36123:348::-;;;;;;;;;;-1:-1:-1;36123:348:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;36997:82::-;;;;;;;;;;-1:-1:-1;36997:82:0;;;;;:::i;:::-;;:::i;28557:233::-;;;;;;;;;;-1:-1:-1;28557:233:0;;;;;:::i;:::-;;:::i;35344:27::-;;;;;;;;;;-1:-1:-1;35344:27:0;;;;;;;;;;;37211:98;;;;;;;;;;-1:-1:-1;37211:98:0;;;;;:::i;:::-;;:::i;35314:25::-;;;;;;;;;;-1:-1:-1;35314:25:0;;;;;;;;17076:239;;;;;;;;;;-1:-1:-1;17076:239:0;;;;;:::i;:::-;;:::i;16806:208::-;;;;;;;;;;-1:-1:-1;16806:208:0;;;;;:::i;:::-;;:::i;34386:94::-;;;;;;;;;;;;;:::i;37085:118::-;;;;;;;;;;-1:-1:-1;37085:118:0;;;;;:::i;:::-;;:::i;33900:87::-;;;;;;;;;;-1:-1:-1;33973:6:0;;-1:-1:-1;;;;;33973:6:0;33900:87;;17551:104;;;;;;;;;;;;;:::i;35684:433::-;;;;;;:::i;:::-;;:::i;19234:295::-;;;;;;;;;;-1:-1:-1;19234:295:0;;;;;:::i;:::-;;:::i;36922:67::-;;;;;;;;;;;;;:::i;20497:328::-;;;;;;;;;;-1:-1:-1;20497:328:0;;;;;:::i;:::-;;:::i;35161:37::-;;;;;;;;;;;;;:::i;36477:423::-;;;;;;;;;;-1:-1:-1;36477:423:0;;;;;:::i;:::-;;:::i;35240:31::-;;;;;;;;;;;;;;;;37315:122;;;;;;;;;;-1:-1:-1;37315:122:0;;;;;:::i;:::-;;:::i;19600:164::-;;;;;;;;;;-1:-1:-1;19600:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;19721:25:0;;;19697:4;19721:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;19600:164;34635:192;;;;;;;;;;-1:-1:-1;34635:192:0;;;;;:::i;:::-;;:::i;27727:224::-;27829:4;-1:-1:-1;;;;;;27853:50:0;;-1:-1:-1;;;27853:50:0;;:90;;;27907:36;27931:11;27907:23;:36::i;:::-;27846:97;27727:224;-1:-1:-1;;27727:224:0:o;37443:73::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;;;;;;;;;37495:6:::1;:15:::0;;-1:-1:-1;;37495:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;37443:73::o;17382:100::-;17436:13;17469:5;17462:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17382:100;:::o;18941:221::-;19017:7;21750:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21750:16:0;19037:73;;;;-1:-1:-1;;;19037:73:0;;12634:2:1;19037:73:0;;;12616:21:1;12673:2;12653:18;;;12646:30;12712:34;12692:18;;;12685:62;-1:-1:-1;;;12763:18:1;;;12756:42;12815:19;;19037:73:0;12432:408:1;19037:73:0;-1:-1:-1;19130:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;19130:24:0;;18941:221::o;18464:411::-;18545:13;18561:23;18576:7;18561:14;:23::i;:::-;18545:39;;18609:5;-1:-1:-1;;;;;18603:11:0;:2;-1:-1:-1;;;;;18603:11:0;;;18595:57;;;;-1:-1:-1;;;18595:57:0;;14234:2:1;18595:57:0;;;14216:21:1;14273:2;14253:18;;;14246:30;14312:34;14292:18;;;14285:62;-1:-1:-1;;;14363:18:1;;;14356:31;14404:19;;18595:57:0;14032:397:1;18595:57:0;15248:10;-1:-1:-1;;;;;18687:21:0;;;;:62;;-1:-1:-1;18712:37:0;18729:5;15248:10;19600:164;:::i;18712:37::-;18665:168;;;;-1:-1:-1;;;18665:168:0;;11027:2:1;18665:168:0;;;11009:21:1;11066:2;11046:18;;;11039:30;11105:34;11085:18;;;11078:62;11176:26;11156:18;;;11149:54;11220:19;;18665:168:0;10825:420:1;18665:168:0;18846:21;18855:2;18859:7;18846:8;:21::i;:::-;18534:341;18464:411;;:::o;19831:339::-;20026:41;15248:10;20059:7;20026:18;:41::i;:::-;20018:103;;;;-1:-1:-1;;;20018:103:0;;;;;;;:::i;:::-;20134:28;20144:4;20150:2;20154:7;20134:9;:28::i;28035:256::-;28132:7;28168:23;28185:5;28168:16;:23::i;:::-;28160:5;:31;28152:87;;;;-1:-1:-1;;;28152:87:0;;8260:2:1;28152:87:0;;;8242:21:1;8299:2;8279:18;;;8272:30;8338:34;8318:18;;;8311:62;-1:-1:-1;;;8389:18:1;;;8382:41;8440:19;;28152:87:0;8058:407:1;28152:87:0;-1:-1:-1;;;;;;28257:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;28035:256::o;37523:158::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;37594:58:::1;::::0;37576:12:::1;::::0;37602:10:::1;::::0;37626:21:::1;::::0;37576:12;37594:58;37576:12;37594:58;37626:21;37602:10;37594:58:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37575:77;;;37667:7;37659:16;;;::::0;::::1;;37568:113;37523:158::o:0;20241:185::-;20379:39;20396:4;20402:2;20406:7;20379:39;;;;;;;;;;;;:16;:39::i;36123:348::-;36198:16;36226:23;36252:17;36262:6;36252:9;:17::i;:::-;36226:43;;36276:25;36318:15;36304:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36304:30:0;;36276:58;;36346:9;36341:103;36361:15;36357:1;:19;36341:103;;;36406:30;36426:6;36434:1;36406:19;:30::i;:::-;36392:8;36401:1;36392:11;;;;;;;;:::i;:::-;;;;;;;;;;:44;36378:3;;;;:::i;:::-;;;;36341:103;;;-1:-1:-1;36457:8:0;36123:348;-1:-1:-1;;;36123:348:0:o;36997:82::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;37058:4:::1;:15:::0;36997:82::o;28557:233::-;28632:7;28668:30;28455:10;:17;;28367:113;28668:30;28660:5;:38;28652:95;;;;-1:-1:-1;;;28652:95:0;;15054:2:1;28652:95:0;;;15036:21:1;15093:2;15073:18;;;15066:30;15132:34;15112:18;;;15105:62;-1:-1:-1;;;15183:18:1;;;15176:42;15235:19;;28652:95:0;14852:408:1;28652:95:0;28765:10;28776:5;28765:17;;;;;;;;:::i;:::-;;;;;;;;;28758:24;;28557:233;;;:::o;37211:98::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;37282:21;;::::1;::::0;:7:::1;::::0;:21:::1;::::0;::::1;::::0;::::1;:::i;:::-;;37211:98:::0;:::o;17076:239::-;17148:7;17184:16;;;:7;:16;;;;;;-1:-1:-1;;;;;17184:16:0;17219:19;17211:73;;;;-1:-1:-1;;;17211:73:0;;11863:2:1;17211:73:0;;;11845:21:1;11902:2;11882:18;;;11875:30;11941:34;11921:18;;;11914:62;-1:-1:-1;;;11992:18:1;;;11985:39;12041:19;;17211:73:0;11661:405:1;16806:208:0;16878:7;-1:-1:-1;;;;;16906:19:0;;16898:74;;;;-1:-1:-1;;;16898:74:0;;11452:2:1;16898:74:0;;;11434:21:1;11491:2;11471:18;;;11464:30;11530:34;11510:18;;;11503:62;-1:-1:-1;;;11581:18:1;;;11574:40;11631:19;;16898:74:0;11250:406:1;16898:74:0;-1:-1:-1;;;;;;16990:16:0;;;;;:9;:16;;;;;;;16806:208::o;34386:94::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;34451:21:::1;34469:1;34451:9;:21::i;:::-;34386:94::o:0;37085:118::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;37164:13:::1;:33:::0;37085:118::o;17551:104::-;17607:13;17640:7;17633:14;;;;;:::i;35684:433::-;35741:14;35758:13;28455:10;:17;;28367:113;35758:13;35787:6;;35741:30;;-1:-1:-1;35787:6:0;;35786:7;35778:16;;;;;;35823:1;35809:11;:15;35801:24;;;;;;35855:13;;35840:11;:28;;35832:37;;;;;;35908:9;;35884:20;35893:11;35884:6;:20;:::i;:::-;:33;;35876:42;;;;;;33973:6;;-1:-1:-1;;;;;33973:6:0;35931:10;:21;35927:84;;35991:11;35984:4;;:18;;;;:::i;:::-;35971:9;:31;;35963:40;;;;;;36036:1;36019:93;36044:11;36039:1;:16;36019:93;;36071:33;36081:10;36093;36102:1;36093:6;:10;:::i;:::-;36071:9;:33::i;:::-;36057:3;;;;:::i;:::-;;;;36019:93;;19234:295;-1:-1:-1;;;;;19337:24:0;;15248:10;19337:24;;19329:62;;;;-1:-1:-1;;;19329:62:0;;10260:2:1;19329:62:0;;;10242:21:1;10299:2;10279:18;;;10272:30;10338:27;10318:18;;;10311:55;10383:18;;19329:62:0;10058:349:1;19329:62:0;15248:10;19404:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;19404:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;19404:53:0;;;;;;;;;;19473:48;;7782:41:1;;;19404:42:0;;15248:10;19473:48;;7755:18:1;19473:48:0;;;;;;;19234:295;;:::o;36922:67::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;36968:8:::1;:15:::0;;-1:-1:-1;;36968:15:0::1;;;::::0;;36922:67::o;20497:328::-;20672:41;15248:10;20705:7;20672:18;:41::i;:::-;20664:103;;;;-1:-1:-1;;;20664:103:0;;;;;;;:::i;:::-;20778:39;20792:4;20798:2;20802:7;20811:5;20778:13;:39::i;:::-;20497:328;;;;:::o;35161:37::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;36477:423::-;21726:4;21750:16;;;:7;:16;;;;;;36575:13;;-1:-1:-1;;;;;21750:16:0;36600:97;;;;-1:-1:-1;;;36600:97:0;;13818:2:1;36600:97:0;;;13800:21:1;13857:2;13837:18;;;13830:30;13896:34;13876:18;;;13869:62;-1:-1:-1;;;13947:18:1;;;13940:45;14002:19;;36600:97:0;13616:411:1;36600:97:0;36706:28;36737:10;:8;:10::i;:::-;36706:41;;36792:1;36767:14;36761:28;:32;:133;;;;;;;;;;;;;;;;;36829:14;36845:18;:7;:16;:18::i;:::-;36865:13;36812:67;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;36761:133;36754:140;36477:423;-1:-1:-1;;;36477:423:0:o;37315:122::-;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;37398:33;;::::1;::::0;:13:::1;::::0;:33:::1;::::0;::::1;::::0;::::1;:::i;34635:192::-:0;33973:6;;-1:-1:-1;;;;;33973:6:0;15248:10;34120:23;34112:68;;;;-1:-1:-1;;;34112:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;34724:22:0;::::1;34716:73;;;::::0;-1:-1:-1;;;34716:73:0;;9091:2:1;34716:73:0::1;::::0;::::1;9073:21:1::0;9130:2;9110:18;;;9103:30;9169:34;9149:18;;;9142:62;-1:-1:-1;;;9220:18:1;;;9213:36;9266:19;;34716:73:0::1;8889:402:1::0;34716:73:0::1;34800:19;34810:8;34800:9;:19::i;16437:305::-:0;16539:4;-1:-1:-1;;;;;;16576:40:0;;-1:-1:-1;;;16576:40:0;;:105;;-1:-1:-1;;;;;;;16633:48:0;;-1:-1:-1;;;16633:48:0;16576:105;:158;;;-1:-1:-1;;;;;;;;;;5576:40:0;;;16698:36;5467:157;24888:174;24963:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;24963:29:0;-1:-1:-1;;;;;24963:29:0;;;;;;;;:24;;25017:23;24963:24;25017:14;:23::i;:::-;-1:-1:-1;;;;;25008:46:0;;;;;;;;;;;24888:174;;:::o;21885:348::-;21978:4;21750:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21750:16:0;21995:73;;;;-1:-1:-1;;;21995:73:0;;10614:2:1;21995:73:0;;;10596:21:1;10653:2;10633:18;;;10626:30;10692:34;10672:18;;;10665:62;-1:-1:-1;;;10743:18:1;;;10736:42;10795:19;;21995:73:0;10412:408:1;21995:73:0;22079:13;22095:23;22110:7;22095:14;:23::i;:::-;22079:39;;22148:5;-1:-1:-1;;;;;22137:16:0;:7;-1:-1:-1;;;;;22137:16:0;;:51;;;;22181:7;-1:-1:-1;;;;;22157:31:0;:20;22169:7;22157:11;:20::i;:::-;-1:-1:-1;;;;;22157:31:0;;22137:51;:87;;;-1:-1:-1;;;;;;19721:25:0;;;19697:4;19721:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;22192:32;22129:96;21885:348;-1:-1:-1;;;;21885:348:0:o;24192:578::-;24351:4;-1:-1:-1;;;;;24324:31:0;:23;24339:7;24324:14;:23::i;:::-;-1:-1:-1;;;;;24324:31:0;;24316:85;;;;-1:-1:-1;;;24316:85:0;;13408:2:1;24316:85:0;;;13390:21:1;13447:2;13427:18;;;13420:30;13486:34;13466:18;;;13459:62;-1:-1:-1;;;13537:18:1;;;13530:39;13586:19;;24316:85:0;13206:405:1;24316:85:0;-1:-1:-1;;;;;24420:16:0;;24412:65;;;;-1:-1:-1;;;24412:65:0;;9855:2:1;24412:65:0;;;9837:21:1;9894:2;9874:18;;;9867:30;9933:34;9913:18;;;9906:62;-1:-1:-1;;;9984:18:1;;;9977:34;10028:19;;24412:65:0;9653:400:1;24412:65:0;24490:39;24511:4;24517:2;24521:7;24490:20;:39::i;:::-;24594:29;24611:1;24615:7;24594:8;:29::i;:::-;-1:-1:-1;;;;;24636:15:0;;;;;;:9;:15;;;;;:20;;24655:1;;24636:15;:20;;24655:1;;24636:20;:::i;:::-;;;;-1:-1:-1;;;;;;;24667:13:0;;;;;;:9;:13;;;;;:18;;24684:1;;24667:13;:18;;24684:1;;24667:18;:::i;:::-;;;;-1:-1:-1;;24696:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;24696:21:0;-1:-1:-1;;;;;24696:21:0;;;;;;;;;24735:27;;24696:16;;24735:27;;;;;;;24192:578;;;:::o;34835:173::-;34910:6;;;-1:-1:-1;;;;;34927:17:0;;;-1:-1:-1;;;;;;34927:17:0;;;;;;;34960:40;;34910:6;;;34927:17;34910:6;;34960:40;;34891:16;;34960:40;34880:128;34835:173;:::o;22363:110::-;22439:26;22449:2;22453:7;22439:26;;;;;;;;;;;;:9;:26::i;21273:315::-;21430:28;21440:4;21446:2;21450:7;21430:9;:28::i;:::-;21477:48;21500:4;21506:2;21510:7;21519:5;21477:22;:48::i;:::-;21469:111;;;;-1:-1:-1;;;21469:111:0;;;;;;;:::i;35563:102::-;35623:13;35652:7;35645:14;;;;;:::i;5929:534::-;5985:13;6017:10;6013:53;;-1:-1:-1;;6044:10:0;;;;;;;;;;;;-1:-1:-1;;;6044:10:0;;;;;5929:534::o;6013:53::-;6091:5;6076:12;6132:78;6139:9;;6132:78;;6165:8;;;;:::i;:::-;;-1:-1:-1;6188:10:0;;-1:-1:-1;6196:2:0;6188:10;;:::i;:::-;;;6132:78;;;6220:19;6252:6;6242:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6242:17:0;;6220:39;;6270:154;6277:10;;6270:154;;6304:11;6314:1;6304:11;;:::i;:::-;;-1:-1:-1;6373:10:0;6381:2;6373:5;:10;:::i;:::-;6360:24;;:2;:24;:::i;:::-;6347:39;;6330:6;6337;6330:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;6330:56:0;;;;;;;;-1:-1:-1;6401:11:0;6410:2;6401:11;;:::i;:::-;;;6270:154;;29291:589;-1:-1:-1;;;;;29497:18:0;;29493:187;;29532:40;29564:7;30707:10;:17;;30680:24;;;;:15;:24;;;;;:44;;;30735:24;;;;;;;;;;;;30603:164;29532:40;29493:187;;;29602:2;-1:-1:-1;;;;;29594:10:0;:4;-1:-1:-1;;;;;29594:10:0;;29590:90;;29621:47;29654:4;29660:7;29621:32;:47::i;:::-;-1:-1:-1;;;;;29694:16:0;;29690:183;;29727:45;29764:7;29727:36;:45::i;29690:183::-;29800:4;-1:-1:-1;;;;;29794:10:0;:2;-1:-1:-1;;;;;29794:10:0;;29790:83;;29821:40;29849:2;29853:7;29821:27;:40::i;22700:321::-;22830:18;22836:2;22840:7;22830:5;:18::i;:::-;22881:54;22912:1;22916:2;22920:7;22929:5;22881:22;:54::i;:::-;22859:154;;;;-1:-1:-1;;;22859:154:0;;;;;;;:::i;25627:799::-;25782:4;-1:-1:-1;;;;;25803:13:0;;8575:20;8623:8;25799:620;;25839:72;;-1:-1:-1;;;25839:72:0;;-1:-1:-1;;;;;25839:36:0;;;;;:72;;15248:10;;25890:4;;25896:7;;25905:5;;25839:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25839:72:0;;;;;;;;-1:-1:-1;;25839:72:0;;;;;;;;;;;;:::i;:::-;;;25835:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26081:13:0;;26077:272;;26124:60;;-1:-1:-1;;;26124:60:0;;;;;;;:::i;26077:272::-;26299:6;26293:13;26284:6;26280:2;26276:15;26269:38;25835:529;-1:-1:-1;;;;;;25962:51:0;-1:-1:-1;;;25962:51:0;;-1:-1:-1;25955:58:0;;25799:620;-1:-1:-1;26403:4:0;25627:799;;;;;;:::o;31394:816::-;31488:22;31538:1;31513:22;31530:4;31513:16;:22::i;:::-;:26;;;;:::i;:::-;31550:18;31571:26;;;:17;:26;;;;;;31488:51;;-1:-1:-1;31704:28:0;;;31700:328;;-1:-1:-1;;;;;31771:18:0;;31749:19;31771:18;;;:12;:18;;;;;;;;:34;;;;;;;;;31822:30;;;;;;:44;;;31939:30;;:17;:30;;;;;:43;;;31700:328;-1:-1:-1;32124:26:0;;;;:17;:26;;;;;;;;32117:33;;;-1:-1:-1;;;;;32168:18:0;;;;;:12;:18;;;;;:34;;;;;;;32161:41;31394:816::o;32505:910::-;32614:10;:17;32589:22;;32614:21;;32634:1;;32614:21;:::i;:::-;32646:18;32667:24;;;:15;:24;;;;;;33040:10;:26;;32589:46;;-1:-1:-1;32667:24:0;;32589:46;;33040:26;;;;;;:::i;:::-;;;;;;;;;33018:48;;33104:11;33079:10;33090;33079:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;33184:28;;;:15;:28;;;;;;;:41;;;33356:24;;;;;33349:31;33391:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;32576:839;;;32505:910;:::o;30181:221::-;30266:14;30283:20;30300:2;30283:16;:20::i;:::-;-1:-1:-1;;;;;30314:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;30359:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;30181:221:0:o;23144:382::-;-1:-1:-1;;;;;23224:16:0;;23216:61;;;;-1:-1:-1;;;23216:61:0;;12273:2:1;23216:61:0;;;12255:21:1;;;12292:18;;;12285:30;12351:34;12331:18;;;12324:62;12403:18;;23216:61:0;12071:356:1;23216:61:0;21726:4;21750:16;;;:7;:16;;;;;;-1:-1:-1;;;;;21750:16:0;:30;23288:58;;;;-1:-1:-1;;;23288:58:0;;9498:2:1;23288:58:0;;;9480:21:1;9537:2;9517:18;;;9510:30;9576;9556:18;;;9549:58;9624:18;;23288:58:0;9296:352:1;23288:58:0;23359:45;23388:1;23392:2;23396:7;23359:20;:45::i;:::-;-1:-1:-1;;;;;23417:13:0;;;;;;:9;:13;;;;;:18;;23434:1;;23417:13;:18;;23434:1;;23417:18;:::i;:::-;;;;-1:-1:-1;;23446:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;23446:21:0;-1:-1:-1;;;;;23446:21:0;;;;;;;;23485:33;;23446:16;;;23485:33;;23446:16;;23485:33;23144:382;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:160::-;893:20;;949:13;;942:21;932:32;;922:60;;978:1;975;968:12;993:186;1052:6;1105:2;1093:9;1084:7;1080:23;1076:32;1073:52;;;1121:1;1118;1111:12;1073:52;1144:29;1163:9;1144:29;:::i;1184:260::-;1252:6;1260;1313:2;1301:9;1292:7;1288:23;1284:32;1281:52;;;1329:1;1326;1319:12;1281:52;1352:29;1371:9;1352:29;:::i;:::-;1342:39;;1400:38;1434:2;1423:9;1419:18;1400:38;:::i;:::-;1390:48;;1184:260;;;;;:::o;1449:328::-;1526:6;1534;1542;1595:2;1583:9;1574:7;1570:23;1566:32;1563:52;;;1611:1;1608;1601:12;1563:52;1634:29;1653:9;1634:29;:::i;:::-;1624:39;;1682:38;1716:2;1705:9;1701:18;1682:38;:::i;:::-;1672:48;;1767:2;1756:9;1752:18;1739:32;1729:42;;1449:328;;;;;:::o;1782:666::-;1877:6;1885;1893;1901;1954:3;1942:9;1933:7;1929:23;1925:33;1922:53;;;1971:1;1968;1961:12;1922:53;1994:29;2013:9;1994:29;:::i;:::-;1984:39;;2042:38;2076:2;2065:9;2061:18;2042:38;:::i;:::-;2032:48;;2127:2;2116:9;2112:18;2099:32;2089:42;;2182:2;2171:9;2167:18;2154:32;2209:18;2201:6;2198:30;2195:50;;;2241:1;2238;2231:12;2195:50;2264:22;;2317:4;2309:13;;2305:27;-1:-1:-1;2295:55:1;;2346:1;2343;2336:12;2295:55;2369:73;2434:7;2429:2;2416:16;2411:2;2407;2403:11;2369:73;:::i;:::-;2359:83;;;1782:666;;;;;;;:::o;2453:254::-;2518:6;2526;2579:2;2567:9;2558:7;2554:23;2550:32;2547:52;;;2595:1;2592;2585:12;2547:52;2618:29;2637:9;2618:29;:::i;:::-;2608:39;;2666:35;2697:2;2686:9;2682:18;2666:35;:::i;2712:254::-;2780:6;2788;2841:2;2829:9;2820:7;2816:23;2812:32;2809:52;;;2857:1;2854;2847:12;2809:52;2880:29;2899:9;2880:29;:::i;:::-;2870:39;2956:2;2941:18;;;;2928:32;;-1:-1:-1;;;2712:254:1:o;2971:180::-;3027:6;3080:2;3068:9;3059:7;3055:23;3051:32;3048:52;;;3096:1;3093;3086:12;3048:52;3119:26;3135:9;3119:26;:::i;3156:245::-;3214:6;3267:2;3255:9;3246:7;3242:23;3238:32;3235:52;;;3283:1;3280;3273:12;3235:52;3322:9;3309:23;3341:30;3365:5;3341:30;:::i;3406:249::-;3475:6;3528:2;3516:9;3507:7;3503:23;3499:32;3496:52;;;3544:1;3541;3534:12;3496:52;3576:9;3570:16;3595:30;3619:5;3595:30;:::i;3660:450::-;3729:6;3782:2;3770:9;3761:7;3757:23;3753:32;3750:52;;;3798:1;3795;3788:12;3750:52;3838:9;3825:23;3871:18;3863:6;3860:30;3857:50;;;3903:1;3900;3893:12;3857:50;3926:22;;3979:4;3971:13;;3967:27;-1:-1:-1;3957:55:1;;4008:1;4005;3998:12;3957:55;4031:73;4096:7;4091:2;4078:16;4073:2;4069;4065:11;4031:73;:::i;4115:180::-;4174:6;4227:2;4215:9;4206:7;4202:23;4198:32;4195:52;;;4243:1;4240;4233:12;4195:52;-1:-1:-1;4266:23:1;;4115:180;-1:-1:-1;4115:180:1:o;4300:257::-;4341:3;4379:5;4373:12;4406:6;4401:3;4394:19;4422:63;4478:6;4471:4;4466:3;4462:14;4455:4;4448:5;4444:16;4422:63;:::i;:::-;4539:2;4518:15;-1:-1:-1;;4514:29:1;4505:39;;;;4546:4;4501:50;;4300:257;-1:-1:-1;;4300:257:1:o;4562:1527::-;4786:3;4824:6;4818:13;4850:4;4863:51;4907:6;4902:3;4897:2;4889:6;4885:15;4863:51;:::i;:::-;4977:13;;4936:16;;;;4999:55;4977:13;4936:16;5021:15;;;4999:55;:::i;:::-;5143:13;;5076:20;;;5116:1;;5203;5225:18;;;;5278;;;;5305:93;;5383:4;5373:8;5369:19;5357:31;;5305:93;5446:2;5436:8;5433:16;5413:18;5410:40;5407:167;;;-1:-1:-1;;;5473:33:1;;5529:4;5526:1;5519:15;5559:4;5480:3;5547:17;5407:167;5590:18;5617:110;;;;5741:1;5736:328;;;;5583:481;;5617:110;-1:-1:-1;;5652:24:1;;5638:39;;5697:20;;;;-1:-1:-1;5617:110:1;;5736:328;15520:1;15513:14;;;15557:4;15544:18;;5831:1;5845:169;5859:8;5856:1;5853:15;5845:169;;;5941:14;;5926:13;;;5919:37;5984:16;;;;5876:10;;5845:169;;;5849:3;;6045:8;6038:5;6034:20;6027:27;;5583:481;-1:-1:-1;6080:3:1;;4562:1527;-1:-1:-1;;;;;;;;;;;4562:1527:1:o;6512:488::-;-1:-1:-1;;;;;6781:15:1;;;6763:34;;6833:15;;6828:2;6813:18;;6806:43;6880:2;6865:18;;6858:34;;;6928:3;6923:2;6908:18;;6901:31;;;6706:4;;6949:45;;6974:19;;6966:6;6949:45;:::i;:::-;6941:53;6512:488;-1:-1:-1;;;;;;6512:488:1:o;7005:632::-;7176:2;7228:21;;;7298:13;;7201:18;;;7320:22;;;7147:4;;7176:2;7399:15;;;;7373:2;7358:18;;;7147:4;7442:169;7456:6;7453:1;7450:13;7442:169;;;7517:13;;7505:26;;7586:15;;;;7551:12;;;;7478:1;7471:9;7442:169;;;-1:-1:-1;7628:3:1;;7005:632;-1:-1:-1;;;;;;7005:632:1:o;7834:219::-;7983:2;7972:9;7965:21;7946:4;8003:44;8043:2;8032:9;8028:18;8020:6;8003:44;:::i;8470:414::-;8672:2;8654:21;;;8711:2;8691:18;;;8684:30;8750:34;8745:2;8730:18;;8723:62;-1:-1:-1;;;8816:2:1;8801:18;;8794:48;8874:3;8859:19;;8470:414::o;12845:356::-;13047:2;13029:21;;;13066:18;;;13059:30;13125:34;13120:2;13105:18;;13098:62;13192:2;13177:18;;12845:356::o;14434:413::-;14636:2;14618:21;;;14675:2;14655:18;;;14648:30;14714:34;14709:2;14694:18;;14687:62;-1:-1:-1;;;14780:2:1;14765:18;;14758:47;14837:3;14822:19;;14434:413::o;15573:128::-;15613:3;15644:1;15640:6;15637:1;15634:13;15631:39;;;15650:18;;:::i;:::-;-1:-1:-1;15686:9:1;;15573:128::o;15706:120::-;15746:1;15772;15762:35;;15777:18;;:::i;:::-;-1:-1:-1;15811:9:1;;15706:120::o;15831:168::-;15871:7;15937:1;15933;15929:6;15925:14;15922:1;15919:21;15914:1;15907:9;15900:17;15896:45;15893:71;;;15944:18;;:::i;:::-;-1:-1:-1;15984:9:1;;15831:168::o;16004:125::-;16044:4;16072:1;16069;16066:8;16063:34;;;16077:18;;:::i;:::-;-1:-1:-1;16114:9:1;;16004:125::o;16134:258::-;16206:1;16216:113;16230:6;16227:1;16224:13;16216:113;;;16306:11;;;16300:18;16287:11;;;16280:39;16252:2;16245:10;16216:113;;;16347:6;16344:1;16341:13;16338:48;;;-1:-1:-1;;16382:1:1;16364:16;;16357:27;16134:258::o;16397:380::-;16476:1;16472:12;;;;16519;;;16540:61;;16594:4;16586:6;16582:17;16572:27;;16540:61;16647:2;16639:6;16636:14;16616:18;16613:38;16610:161;;;16693:10;16688:3;16684:20;16681:1;16674:31;16728:4;16725:1;16718:15;16756:4;16753:1;16746:15;16610:161;;16397:380;;;:::o;16782:135::-;16821:3;-1:-1:-1;;16842:17:1;;16839:43;;;16862:18;;:::i;:::-;-1:-1:-1;16909:1:1;16898:13;;16782:135::o;16922:112::-;16954:1;16980;16970:35;;16985:18;;:::i;:::-;-1:-1:-1;17019:9:1;;16922:112::o;17039:127::-;17100:10;17095:3;17091:20;17088:1;17081:31;17131:4;17128:1;17121:15;17155:4;17152:1;17145:15;17171:127;17232:10;17227:3;17223:20;17220:1;17213:31;17263:4;17260:1;17253:15;17287:4;17284:1;17277:15;17303:127;17364:10;17359:3;17355:20;17352:1;17345:31;17395:4;17392:1;17385:15;17419:4;17416:1;17409:15;17435:127;17496:10;17491:3;17487:20;17484:1;17477:31;17527:4;17524:1;17517:15;17551:4;17548:1;17541:15;17567:127;17628:10;17623:3;17619:20;17616:1;17609:31;17659:4;17656:1;17649:15;17683:4;17680:1;17673:15;17699:131;-1:-1:-1;;;;;;17773:32:1;;17763:43;;17753:71;;17820:1;17817;17810:12
Swarm Source
ipfs://dd0d3206d57ac57bba80f6cfb059add61d8bde6d563822b2fab9183ba6f09554
Loading...
Loading
Loading...
Loading
[ 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.