ERC-721
Overview
Max Total Supply
984 PAFE
Holders
67
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 PAFELoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PaperFeelings
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; import "./library/ERC721Base.sol"; contract PaperFeelings is ERC721Base { // main sale uint256 public price; event SetPrice(uint256 _price); constructor( string memory _name, string memory _symbol, string memory _baseUri, string memory _contractURI, address _proxyRegistry, uint256 _price ) ERC721Base(_name, _symbol, _baseUri, _contractURI, _proxyRegistry) { maxTotalSupply = 984; price = _price; } function mint(address _to, uint256 _amount) payable external { require( msg.value >= _amount * price, "PaperFeelings: tx value is too small" ); require( _amount <= 15, "PaperFeelings: Too many tokens in one tx" ); require( lastTokenId_ + _amount <= maxTotalSupply, "PaperFeelings: Cannot mint more tokens than the maxTotalSupply" ); _mintTokens(_to, _amount); } function setPrice(uint256 _price) external onlyOwner { price = _price; emit SetPrice(_price); } /** @notice Used to protect Owner from shooting himself in a foot @dev This function overrides same-named function from Ownable library and makes it an empty one */ function renounceOwnership() public override onlyOwner {} }
pragma solidity ^0.8.6; import "@openzeppelin/contracts/utils/Strings.sol"; import "../opensea/ERC721Tradable.sol"; import "../interfaces/IERC721Base.sol"; import "./Withdrawable.sol"; contract ERC721Base is IERC721Base, ERC721Tradable, Withdrawable { using Strings for uint256; string internal baseURI; uint256 internal lastTokenId_; uint256 public maxTotalSupply; string public contractURI; event SetContractURI(string contractURI); event SetBaseURI(string baseUri); constructor( string memory _name, string memory _symbol, string memory _baseUri, string memory _contractURI, address _proxyRegistry ) ERC721(_name, _symbol) { baseURI = _baseUri; contractURI = _contractURI; proxyRegistry = _proxyRegistry; } function setContractURI(string memory _contractURI) external override onlyOwner { contractURI = _contractURI; emit SetContractURI(_contractURI); } function setBaseURI(string memory _baseUri) external override onlyOwner { baseURI = _baseUri; emit SetBaseURI(_baseUri); } /** * @dev Get a `tokenURI` * @param `_tokenId` an id whose `tokenURI` will be returned * @return `tokenURI` string */ function tokenURI(uint256 _tokenId) public view override returns (string memory) { require( _exists(_tokenId), "ERC721Base: URI query for nonexistent token" ); // Concatenate the tokenID to the baseURI, token symbol and token id return string( abi.encodePacked(baseURI, "/", _tokenId.toString(), ".json") ); } function totalSupply() external view override returns (uint256) { return lastTokenId_; } function _mintTokens(address _to, uint256 _amount) internal { uint256 _newLastTokenId = lastTokenId_ + _amount; for ( uint256 _tokenId = lastTokenId_ + 1; _tokenId <= _newLastTokenId; _tokenId++ ) { _mint(_to, _tokenId); } lastTokenId_ += _amount; } function setMaxTotalSupply(uint256 _maxTotalSupply) external onlyOwner { maxTotalSupply = _maxTotalSupply; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: NONLICENSED pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../interfaces/IWyvernProxyRegistry.sol"; abstract contract ERC721Tradable is ERC721, Ownable { address internal proxyRegistry; /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address _owner, address _operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. if ( address(IWyvernProxyRegistry(proxyRegistry).proxies(_owner)) == _operator ) { return true; } return super.isApprovedForAll(_owner, _operator); } }
pragma solidity ^0.8.6; interface IERC721Base { function setContractURI(string memory _contractURI) external; function setBaseURI(string memory _baseUri) external; function totalSupply() external view returns (uint256); }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "../interfaces/IWithdrawable.sol"; abstract contract Withdrawable is IWithdrawable, Ownable { event Withdraw(uint256 amount); event WithdrawAll(); function pendingWithdrawal() external view override returns (uint256) { return address(this).balance; } function withdraw(uint256 _amount) external override onlyOwner { _withdraw(_amount); emit Withdraw(_amount); } function withdrawAll() external override onlyOwner { _withdraw(address(this).balance); emit WithdrawAll(); } function _withdraw(uint256 _amount) internal { require(_amount > 0, "Withdrawable: Amount has to be greater than 0"); require( _amount <= address(this).balance, "Withdrawable: Not enough funds" ); payable(msg.sender).transfer(_amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; interface IOwnableDelegateProxy {} abstract contract IWyvernProxyRegistry { /* Authenticated proxies by user. */ mapping(address => IOwnableDelegateProxy) public proxies; function registerProxy() public virtual returns (IOwnableDelegateProxy proxy); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.6; interface IWithdrawable { function pendingWithdrawal() external view returns (uint256); function withdraw(uint256 amount) external; function withdrawAll() external; }
{ "optimizer": { "enabled": true, "runs": 1 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
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":"_baseUri","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"address","name":"_proxyRegistry","type":"address"},{"internalType":"uint256","name":"_price","type":"uint256"}],"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":false,"internalType":"string","name":"baseUri","type":"string"}],"name":"SetBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"contractURI","type":"string"}],"name":"SetContractURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_price","type":"uint256"}],"name":"SetPrice","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[],"name":"WithdrawAll","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","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":[],"name":"pendingWithdrawal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTotalSupply","type":"uint256"}],"name":"setMaxTotalSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200231d3803806200231d8339810160408190526200003491620002bb565b8585858585848481600090805190602001906200005392919062000141565b5080516200006990600190602084019062000141565b5050506200008662000080620000eb60201b60201c565b620000ef565b82516200009b90600890602086019062000141565b508151620000b190600b90602085019062000141565b50600780546001600160a01b0319166001600160a01b039290921691909117905550506103d8600a555050600c5550620003e29350505050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200014f906200038f565b90600052602060002090601f016020900481019282620001735760008555620001be565b82601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b5b80821115620001cc5760008155600101620001d1565b80516001600160a01b0381168114620001ff57600080fd5b919050565b600082601f8301126200021657600080fd5b81516001600160401b0380821115620002335762000233620003cc565b604051601f8301601f19908116603f011681019082821181831017156200025e576200025e620003cc565b816040528381526020925086838588010111156200027b57600080fd5b600091505b838210156200029f578582018301518183018401529082019062000280565b83821115620002b15760008385830101525b9695505050505050565b60008060008060008060c08789031215620002d557600080fd5b86516001600160401b0380821115620002ed57600080fd5b620002fb8a838b0162000204565b975060208901519150808211156200031257600080fd5b620003208a838b0162000204565b965060408901519150808211156200033757600080fd5b620003458a838b0162000204565b955060608901519150808211156200035c57600080fd5b506200036b89828a0162000204565b9350506200037c60808801620001e7565b915060a087015190509295509295509295565b600181811c90821680620003a457607f821691505b60208210811415620003c657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b611f2b80620003f26000396000f3fe6080604052600436106101475760003560e01c806301ffc9a71461014c57806306fdde0314610181578063081812fc146101a3578063095ea7b3146101d057806318160ddd146101f257806323b872dd146102115780632ab4d052146102315780632e1a7d4d146102475780633f3e4c111461026757806340c10f191461028757806342842e0e1461029a57806355f804b3146102ba5780636352211e146102da57806370a08231146102fa578063715018a61461031a5780637e2888221461032f578063853828b6146103425780638da5cb5b1461035757806391b7f5ed1461036c578063938e3d7b1461038c57806395d89b41146103ac578063a035b1fe146103c1578063a22cb465146103d7578063b88d4fde146103f7578063c87b56dd14610417578063e8a3d48514610437578063e985e9c51461044c578063f2fde38b1461046c575b600080fd5b34801561015857600080fd5b5061016c610167366004611a53565b61048c565b60405190151581526020015b60405180910390f35b34801561018d57600080fd5b506101966104de565b6040516101789190611c6f565b3480156101af57600080fd5b506101c36101be366004611af2565b610570565b6040516101789190611c1e565b3480156101dc57600080fd5b506101f06101eb366004611a27565b6105fd565b005b3480156101fe57600080fd5b506009545b604051908152602001610178565b34801561021d57600080fd5b506101f061022c366004611934565b61070e565b34801561023d57600080fd5b50610203600a5481565b34801561025357600080fd5b506101f0610262366004611af2565b61073f565b34801561027357600080fd5b506101f0610282366004611af2565b6107ae565b6101f0610295366004611a27565b6107e2565b3480156102a657600080fd5b506101f06102b5366004611934565b61093f565b3480156102c657600080fd5b506101f06102d5366004611aaa565b61095a565b3480156102e657600080fd5b506101c36102f5366004611af2565b6109cc565b34801561030657600080fd5b506102036103153660046118de565b610a43565b34801561032657600080fd5b506101f0610aca565b34801561033b57600080fd5b5047610203565b34801561034e57600080fd5b506101f0610afb565b34801561036357600080fd5b506101c3610b5e565b34801561037857600080fd5b506101f0610387366004611af2565b610b6d565b34801561039857600080fd5b506101f06103a7366004611aaa565b610bd1565b3480156103b857600080fd5b50610196610c43565b3480156103cd57600080fd5b50610203600c5481565b3480156103e357600080fd5b506101f06103f23660046119f4565b610c52565b34801561040357600080fd5b506101f0610412366004611975565b610c5d565b34801561042357600080fd5b50610196610432366004611af2565b610c95565b34801561044357600080fd5b50610196610d32565b34801561045857600080fd5b5061016c6104673660046118fb565b610dc0565b34801561047857600080fd5b506101f06104873660046118de565b610e8e565b60006001600160e01b031982166380ac58cd60e01b14806104bd57506001600160e01b03198216635b5e139f60e01b145b806104d857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104ed90611de8565b80601f016020809104026020016040519081016040528092919081815260200182805461051990611de8565b80156105665780601f1061053b57610100808354040283529160200191610566565b820191906000526020600020905b81548152906001019060200180831161054957829003601f168201915b5050505050905090565b600061057b82610f2e565b6105e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610608826109cc565b9050806001600160a01b0316836001600160a01b031614156106765760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105d8565b336001600160a01b038216148061069257506106928133610dc0565b6106ff5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016105d8565b6107098383610f4b565b505050565b6107183382610fb9565b6107345760405162461bcd60e51b81526004016105d890611d09565b610709838383611083565b33610748610b5e565b6001600160a01b03161461076e5760405162461bcd60e51b81526004016105d890611cd4565b6107778161120d565b6040518181527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d906020015b60405180910390a150565b336107b7610b5e565b6001600160a01b0316146107dd5760405162461bcd60e51b81526004016105d890611cd4565b600a55565b600c546107ef9082611d86565b34101561084a5760405162461bcd60e51b8152602060048201526024808201527f50617065724665656c696e67733a2074782076616c756520697320746f6f20736044820152631b585b1b60e21b60648201526084016105d8565b600f8111156108ac5760405162461bcd60e51b815260206004820152602860248201527f50617065724665656c696e67733a20546f6f206d616e7920746f6b656e7320696044820152670dc40dedcca40e8f60c31b60648201526084016105d8565b600a54816009546108bd9190611d5a565b11156109315760405162461bcd60e51b815260206004820152603e60248201527f50617065724665656c696e67733a2043616e6e6f74206d696e74206d6f72652060448201527f746f6b656e73207468616e20746865206d6178546f74616c537570706c79000060648201526084016105d8565b61093b82826112f0565b5050565b61070983838360405180602001604052806000815250610c5d565b33610963610b5e565b6001600160a01b0316146109895760405162461bcd60e51b81526004016105d890611cd4565b805161099c9060089060208401906117d0565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa816040516107a39190611c6f565b6000818152600260205260408120546001600160a01b0316806104d85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105d8565b60006001600160a01b038216610aae5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105d8565b506001600160a01b031660009081526003602052604090205490565b33610ad3610b5e565b6001600160a01b031614610af95760405162461bcd60e51b81526004016105d890611cd4565b565b33610b04610b5e565b6001600160a01b031614610b2a5760405162461bcd60e51b81526004016105d890611cd4565b610b334761120d565b6040517f5a648bc540f9bf9a33d1fe64d284e4a69a88aa95d4c7f8054d4bc85f877dcf4e90600090a1565b6006546001600160a01b031690565b33610b76610b5e565b6001600160a01b031614610b9c5760405162461bcd60e51b81526004016105d890611cd4565b600c8190556040518181527f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b1906020016107a3565b33610bda610b5e565b6001600160a01b031614610c005760405162461bcd60e51b81526004016105d890611cd4565b8051610c1390600b9060208401906117d0565b507f5ca9f750836b0b7efdace104f07b5c9f0df0650c0fd24f5163e99044ae36ea52816040516107a39190611c6f565b6060600180546104ed90611de8565b61093b338383611356565b610c673383610fb9565b610c835760405162461bcd60e51b81526004016105d890611d09565b610c8f84848484611421565b50505050565b6060610ca082610f2e565b610d005760405162461bcd60e51b815260206004820152602b60248201527f455243373231426173653a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016105d8565b6008610d0b83611454565b604051602001610d1c929190611b53565b6040516020818303038152906040529050919050565b600b8054610d3f90611de8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6b90611de8565b8015610db85780601f10610d8d57610100808354040283529160200191610db8565b820191906000526020600020905b815481529060010190602001808311610d9b57829003601f168201915b505050505081565b60075460405163c455279160e01b81526000916001600160a01b038085169291169063c455279190610df6908790600401611c1e565b60206040518083038186803b158015610e0e57600080fd5b505afa158015610e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e469190611a8d565b6001600160a01b03161415610e5d575060016104d8565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b33610e97610b5e565b6001600160a01b031614610ebd5760405162461bcd60e51b81526004016105d890611cd4565b6001600160a01b038116610f225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105d8565b610f2b81611551565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f80826109cc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610fc482610f2e565b6110255760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105d8565b6000611030836109cc565b9050806001600160a01b0316846001600160a01b0316148061105757506110578185610dc0565b8061107b5750836001600160a01b031661107084610570565b6001600160a01b0316145b949350505050565b826001600160a01b0316611096826109cc565b6001600160a01b0316146110fa5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105d8565b6001600160a01b03821661115c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105d8565b611167600082610f4b565b6001600160a01b0383166000908152600360205260408120805460019290611190908490611da5565b90915550506001600160a01b03821660009081526003602052604081208054600192906111be908490611d5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020611ed683398151915291a4505050565b600081116112735760405162461bcd60e51b815260206004820152602d60248201527f576974686472617761626c653a20416d6f756e742068617320746f206265206760448201526c0726561746572207468616e203609c1b60648201526084016105d8565b478111156112c35760405162461bcd60e51b815260206004820152601e60248201527f576974686472617761626c653a204e6f7420656e6f7567682066756e6473000060448201526064016105d8565b604051339082156108fc029083906000818181858888f1935050505015801561093b573d6000803e3d6000fd5b6000816009546113009190611d5a565b9050600060095460016113139190611d5a565b90505b8181116113395761132784826115a3565b8061133181611e23565b915050611316565b50816009600082825461134c9190611d5a565b9091555050505050565b816001600160a01b0316836001600160a01b031614156113b45760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016105d8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61142c848484611083565b611438848484846116c3565b610c8f5760405162461bcd60e51b81526004016105d890611c82565b6060816114785750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114a2578061148c81611e23565b915061149b9050600a83611d72565b915061147c565b6000816001600160401b038111156114bc576114bc611e94565b6040519080825280601f01601f1916602001820160405280156114e6576020820181803683370190505b5090505b841561107b576114fb600183611da5565b9150611508600a86611e3e565b611513906030611d5a565b60f81b81838151811061152857611528611e7e565b60200101906001600160f81b031916908160001a90535061154a600a86611d72565b94506114ea565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166115f95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105d8565b61160281610f2e565b1561164e5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016105d8565b6001600160a01b0382166000908152600360205260408120805460019290611677908490611d5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020611ed6833981519152908290a45050565b60006001600160a01b0384163b156117c557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611707903390899088908890600401611c32565b602060405180830381600087803b15801561172157600080fd5b505af1925050508015611751575060408051601f3d908101601f1916820190925261174e91810190611a70565b60015b6117ab573d80801561177f576040519150601f19603f3d011682016040523d82523d6000602084013e611784565b606091505b5080516117a35760405162461bcd60e51b81526004016105d890611c82565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061107b565b506001949350505050565b8280546117dc90611de8565b90600052602060002090601f0160209004810192826117fe5760008555611844565b82601f1061181757805160ff1916838001178555611844565b82800160010185558215611844579182015b82811115611844578251825591602001919060010190611829565b50611850929150611854565b5090565b5b808211156118505760008155600101611855565b60006001600160401b038084111561188357611883611e94565b604051601f8501601f19908116603f011681019082821181831017156118ab576118ab611e94565b816040528093508581528686860111156118c457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118f057600080fd5b8135610e8781611eaa565b6000806040838503121561190e57600080fd5b823561191981611eaa565b9150602083013561192981611eaa565b809150509250929050565b60008060006060848603121561194957600080fd5b833561195481611eaa565b9250602084013561196481611eaa565b929592945050506040919091013590565b6000806000806080858703121561198b57600080fd5b843561199681611eaa565b935060208501356119a681611eaa565b92506040850135915060608501356001600160401b038111156119c857600080fd5b8501601f810187136119d957600080fd5b6119e887823560208401611869565b91505092959194509250565b60008060408385031215611a0757600080fd5b8235611a1281611eaa565b91506020830135801515811461192957600080fd5b60008060408385031215611a3a57600080fd5b8235611a4581611eaa565b946020939093013593505050565b600060208284031215611a6557600080fd5b8135610e8781611ebf565b600060208284031215611a8257600080fd5b8151610e8781611ebf565b600060208284031215611a9f57600080fd5b8151610e8781611eaa565b600060208284031215611abc57600080fd5b81356001600160401b03811115611ad257600080fd5b8201601f81018413611ae357600080fd5b61107b84823560208401611869565b600060208284031215611b0457600080fd5b5035919050565b60008151808452611b23816020860160208601611dbc565b601f01601f19169290920160200192915050565b60008151611b49818560208601611dbc565b9290920192915050565b600080845481600182811c915080831680611b6f57607f831692505b6020808410821415611b8f57634e487b7160e01b86526022600452602486fd5b818015611ba35760018114611bb457611be1565b60ff19861689528489019650611be1565b60008b81526020902060005b86811015611bd95781548b820152908501908301611bc0565b505084890196505b505050505050611c15611c04611bfe83602f60f81b815260010190565b86611b37565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6590830184611b0b565b9695505050505050565b602081526000610e876020830184611b0b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611d6d57611d6d611e52565b500190565b600082611d8157611d81611e68565b500490565b6000816000190483118215151615611da057611da0611e52565b500290565b600082821015611db757611db7611e52565b500390565b60005b83811015611dd7578181015183820152602001611dbf565b83811115610c8f5750506000910152565b600181811c90821680611dfc57607f821691505b60208210811415611e1d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e3757611e37611e52565b5060010190565b600082611e4d57611e4d611e68565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f2b57600080fd5b6001600160e01b031981168114610f2b57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205cb740cb5988e5edc8a85fca8d13278b49ba139283b3ec5faac823502ffc186c64736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e5061706572204665656c696e677300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045041464500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f70617065722d6665656c696e67732e6172742f6a736f6e0000000000000000000000000000000000000000000000000000000000000000306868747470733a2f2f70617065722d6665656c696e67732e6172742f6a736f6e2f636f6c6c656374696f6e2e6a736f6e00000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101475760003560e01c806301ffc9a71461014c57806306fdde0314610181578063081812fc146101a3578063095ea7b3146101d057806318160ddd146101f257806323b872dd146102115780632ab4d052146102315780632e1a7d4d146102475780633f3e4c111461026757806340c10f191461028757806342842e0e1461029a57806355f804b3146102ba5780636352211e146102da57806370a08231146102fa578063715018a61461031a5780637e2888221461032f578063853828b6146103425780638da5cb5b1461035757806391b7f5ed1461036c578063938e3d7b1461038c57806395d89b41146103ac578063a035b1fe146103c1578063a22cb465146103d7578063b88d4fde146103f7578063c87b56dd14610417578063e8a3d48514610437578063e985e9c51461044c578063f2fde38b1461046c575b600080fd5b34801561015857600080fd5b5061016c610167366004611a53565b61048c565b60405190151581526020015b60405180910390f35b34801561018d57600080fd5b506101966104de565b6040516101789190611c6f565b3480156101af57600080fd5b506101c36101be366004611af2565b610570565b6040516101789190611c1e565b3480156101dc57600080fd5b506101f06101eb366004611a27565b6105fd565b005b3480156101fe57600080fd5b506009545b604051908152602001610178565b34801561021d57600080fd5b506101f061022c366004611934565b61070e565b34801561023d57600080fd5b50610203600a5481565b34801561025357600080fd5b506101f0610262366004611af2565b61073f565b34801561027357600080fd5b506101f0610282366004611af2565b6107ae565b6101f0610295366004611a27565b6107e2565b3480156102a657600080fd5b506101f06102b5366004611934565b61093f565b3480156102c657600080fd5b506101f06102d5366004611aaa565b61095a565b3480156102e657600080fd5b506101c36102f5366004611af2565b6109cc565b34801561030657600080fd5b506102036103153660046118de565b610a43565b34801561032657600080fd5b506101f0610aca565b34801561033b57600080fd5b5047610203565b34801561034e57600080fd5b506101f0610afb565b34801561036357600080fd5b506101c3610b5e565b34801561037857600080fd5b506101f0610387366004611af2565b610b6d565b34801561039857600080fd5b506101f06103a7366004611aaa565b610bd1565b3480156103b857600080fd5b50610196610c43565b3480156103cd57600080fd5b50610203600c5481565b3480156103e357600080fd5b506101f06103f23660046119f4565b610c52565b34801561040357600080fd5b506101f0610412366004611975565b610c5d565b34801561042357600080fd5b50610196610432366004611af2565b610c95565b34801561044357600080fd5b50610196610d32565b34801561045857600080fd5b5061016c6104673660046118fb565b610dc0565b34801561047857600080fd5b506101f06104873660046118de565b610e8e565b60006001600160e01b031982166380ac58cd60e01b14806104bd57506001600160e01b03198216635b5e139f60e01b145b806104d857506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546104ed90611de8565b80601f016020809104026020016040519081016040528092919081815260200182805461051990611de8565b80156105665780601f1061053b57610100808354040283529160200191610566565b820191906000526020600020905b81548152906001019060200180831161054957829003601f168201915b5050505050905090565b600061057b82610f2e565b6105e15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610608826109cc565b9050806001600160a01b0316836001600160a01b031614156106765760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105d8565b336001600160a01b038216148061069257506106928133610dc0565b6106ff5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b60648201526084016105d8565b6107098383610f4b565b505050565b6107183382610fb9565b6107345760405162461bcd60e51b81526004016105d890611d09565b610709838383611083565b33610748610b5e565b6001600160a01b03161461076e5760405162461bcd60e51b81526004016105d890611cd4565b6107778161120d565b6040518181527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d906020015b60405180910390a150565b336107b7610b5e565b6001600160a01b0316146107dd5760405162461bcd60e51b81526004016105d890611cd4565b600a55565b600c546107ef9082611d86565b34101561084a5760405162461bcd60e51b8152602060048201526024808201527f50617065724665656c696e67733a2074782076616c756520697320746f6f20736044820152631b585b1b60e21b60648201526084016105d8565b600f8111156108ac5760405162461bcd60e51b815260206004820152602860248201527f50617065724665656c696e67733a20546f6f206d616e7920746f6b656e7320696044820152670dc40dedcca40e8f60c31b60648201526084016105d8565b600a54816009546108bd9190611d5a565b11156109315760405162461bcd60e51b815260206004820152603e60248201527f50617065724665656c696e67733a2043616e6e6f74206d696e74206d6f72652060448201527f746f6b656e73207468616e20746865206d6178546f74616c537570706c79000060648201526084016105d8565b61093b82826112f0565b5050565b61070983838360405180602001604052806000815250610c5d565b33610963610b5e565b6001600160a01b0316146109895760405162461bcd60e51b81526004016105d890611cd4565b805161099c9060089060208401906117d0565b507f23c8c9488efebfd474e85a7956de6f39b17c7ab88502d42a623db2d8e382bbaa816040516107a39190611c6f565b6000818152600260205260408120546001600160a01b0316806104d85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105d8565b60006001600160a01b038216610aae5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105d8565b506001600160a01b031660009081526003602052604090205490565b33610ad3610b5e565b6001600160a01b031614610af95760405162461bcd60e51b81526004016105d890611cd4565b565b33610b04610b5e565b6001600160a01b031614610b2a5760405162461bcd60e51b81526004016105d890611cd4565b610b334761120d565b6040517f5a648bc540f9bf9a33d1fe64d284e4a69a88aa95d4c7f8054d4bc85f877dcf4e90600090a1565b6006546001600160a01b031690565b33610b76610b5e565b6001600160a01b031614610b9c5760405162461bcd60e51b81526004016105d890611cd4565b600c8190556040518181527f4f5539c0409dfc4cb06f64cbd31237e1fbfe443f531584bf4dd77ec7fc5ba7b1906020016107a3565b33610bda610b5e565b6001600160a01b031614610c005760405162461bcd60e51b81526004016105d890611cd4565b8051610c1390600b9060208401906117d0565b507f5ca9f750836b0b7efdace104f07b5c9f0df0650c0fd24f5163e99044ae36ea52816040516107a39190611c6f565b6060600180546104ed90611de8565b61093b338383611356565b610c673383610fb9565b610c835760405162461bcd60e51b81526004016105d890611d09565b610c8f84848484611421565b50505050565b6060610ca082610f2e565b610d005760405162461bcd60e51b815260206004820152602b60248201527f455243373231426173653a2055524920717565727920666f72206e6f6e65786960448201526a39ba32b73a103a37b5b2b760a91b60648201526084016105d8565b6008610d0b83611454565b604051602001610d1c929190611b53565b6040516020818303038152906040529050919050565b600b8054610d3f90611de8565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6b90611de8565b8015610db85780601f10610d8d57610100808354040283529160200191610db8565b820191906000526020600020905b815481529060010190602001808311610d9b57829003601f168201915b505050505081565b60075460405163c455279160e01b81526000916001600160a01b038085169291169063c455279190610df6908790600401611c1e565b60206040518083038186803b158015610e0e57600080fd5b505afa158015610e22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e469190611a8d565b6001600160a01b03161415610e5d575060016104d8565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b9392505050565b33610e97610b5e565b6001600160a01b031614610ebd5760405162461bcd60e51b81526004016105d890611cd4565b6001600160a01b038116610f225760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105d8565b610f2b81611551565b50565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610f80826109cc565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610fc482610f2e565b6110255760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105d8565b6000611030836109cc565b9050806001600160a01b0316846001600160a01b0316148061105757506110578185610dc0565b8061107b5750836001600160a01b031661107084610570565b6001600160a01b0316145b949350505050565b826001600160a01b0316611096826109cc565b6001600160a01b0316146110fa5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105d8565b6001600160a01b03821661115c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105d8565b611167600082610f4b565b6001600160a01b0383166000908152600360205260408120805460019290611190908490611da5565b90915550506001600160a01b03821660009081526003602052604081208054600192906111be908490611d5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020611ed683398151915291a4505050565b600081116112735760405162461bcd60e51b815260206004820152602d60248201527f576974686472617761626c653a20416d6f756e742068617320746f206265206760448201526c0726561746572207468616e203609c1b60648201526084016105d8565b478111156112c35760405162461bcd60e51b815260206004820152601e60248201527f576974686472617761626c653a204e6f7420656e6f7567682066756e6473000060448201526064016105d8565b604051339082156108fc029083906000818181858888f1935050505015801561093b573d6000803e3d6000fd5b6000816009546113009190611d5a565b9050600060095460016113139190611d5a565b90505b8181116113395761132784826115a3565b8061133181611e23565b915050611316565b50816009600082825461134c9190611d5a565b9091555050505050565b816001600160a01b0316836001600160a01b031614156113b45760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b60448201526064016105d8565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61142c848484611083565b611438848484846116c3565b610c8f5760405162461bcd60e51b81526004016105d890611c82565b6060816114785750506040805180820190915260018152600360fc1b602082015290565b8160005b81156114a2578061148c81611e23565b915061149b9050600a83611d72565b915061147c565b6000816001600160401b038111156114bc576114bc611e94565b6040519080825280601f01601f1916602001820160405280156114e6576020820181803683370190505b5090505b841561107b576114fb600183611da5565b9150611508600a86611e3e565b611513906030611d5a565b60f81b81838151811061152857611528611e7e565b60200101906001600160f81b031916908160001a90535061154a600a86611d72565b94506114ea565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166115f95760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105d8565b61160281610f2e565b1561164e5760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b60448201526064016105d8565b6001600160a01b0382166000908152600360205260408120805460019290611677908490611d5a565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020611ed6833981519152908290a45050565b60006001600160a01b0384163b156117c557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611707903390899088908890600401611c32565b602060405180830381600087803b15801561172157600080fd5b505af1925050508015611751575060408051601f3d908101601f1916820190925261174e91810190611a70565b60015b6117ab573d80801561177f576040519150601f19603f3d011682016040523d82523d6000602084013e611784565b606091505b5080516117a35760405162461bcd60e51b81526004016105d890611c82565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061107b565b506001949350505050565b8280546117dc90611de8565b90600052602060002090601f0160209004810192826117fe5760008555611844565b82601f1061181757805160ff1916838001178555611844565b82800160010185558215611844579182015b82811115611844578251825591602001919060010190611829565b50611850929150611854565b5090565b5b808211156118505760008155600101611855565b60006001600160401b038084111561188357611883611e94565b604051601f8501601f19908116603f011681019082821181831017156118ab576118ab611e94565b816040528093508581528686860111156118c457600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156118f057600080fd5b8135610e8781611eaa565b6000806040838503121561190e57600080fd5b823561191981611eaa565b9150602083013561192981611eaa565b809150509250929050565b60008060006060848603121561194957600080fd5b833561195481611eaa565b9250602084013561196481611eaa565b929592945050506040919091013590565b6000806000806080858703121561198b57600080fd5b843561199681611eaa565b935060208501356119a681611eaa565b92506040850135915060608501356001600160401b038111156119c857600080fd5b8501601f810187136119d957600080fd5b6119e887823560208401611869565b91505092959194509250565b60008060408385031215611a0757600080fd5b8235611a1281611eaa565b91506020830135801515811461192957600080fd5b60008060408385031215611a3a57600080fd5b8235611a4581611eaa565b946020939093013593505050565b600060208284031215611a6557600080fd5b8135610e8781611ebf565b600060208284031215611a8257600080fd5b8151610e8781611ebf565b600060208284031215611a9f57600080fd5b8151610e8781611eaa565b600060208284031215611abc57600080fd5b81356001600160401b03811115611ad257600080fd5b8201601f81018413611ae357600080fd5b61107b84823560208401611869565b600060208284031215611b0457600080fd5b5035919050565b60008151808452611b23816020860160208601611dbc565b601f01601f19169290920160200192915050565b60008151611b49818560208601611dbc565b9290920192915050565b600080845481600182811c915080831680611b6f57607f831692505b6020808410821415611b8f57634e487b7160e01b86526022600452602486fd5b818015611ba35760018114611bb457611be1565b60ff19861689528489019650611be1565b60008b81526020902060005b86811015611bd95781548b820152908501908301611bc0565b505084890196505b505050505050611c15611c04611bfe83602f60f81b815260010190565b86611b37565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6590830184611b0b565b9695505050505050565b602081526000610e876020830184611b0b565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611d6d57611d6d611e52565b500190565b600082611d8157611d81611e68565b500490565b6000816000190483118215151615611da057611da0611e52565b500290565b600082821015611db757611db7611e52565b500390565b60005b83811015611dd7578181015183820152602001611dbf565b83811115610c8f5750506000910152565b600181811c90821680611dfc57607f821691505b60208210811415611e1d57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611e3757611e37611e52565b5060010190565b600082611e4d57611e4d611e68565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f2b57600080fd5b6001600160e01b031981168114610f2b57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205cb740cb5988e5edc8a85fca8d13278b49ba139283b3ec5faac823502ffc186c64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e5061706572204665656c696e677300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045041464500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001f68747470733a2f2f70617065722d6665656c696e67732e6172742f6a736f6e0000000000000000000000000000000000000000000000000000000000000000306868747470733a2f2f70617065722d6665656c696e67732e6172742f6a736f6e2f636f6c6c656374696f6e2e6a736f6e00000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Paper Feelings
Arg [1] : _symbol (string): PAFE
Arg [2] : _baseUri (string): https://paper-feelings.art/json
Arg [3] : _contractURI (string): hhttps://paper-feelings.art/json/collection.json
Arg [4] : _proxyRegistry (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [5] : _price (uint256): 0
-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [7] : 5061706572204665656c696e6773000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 5041464500000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000001f
Arg [11] : 68747470733a2f2f70617065722d6665656c696e67732e6172742f6a736f6e00
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000030
Arg [13] : 6868747470733a2f2f70617065722d6665656c696e67732e6172742f6a736f6e
Arg [14] : 2f636f6c6c656374696f6e2e6a736f6e00000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.