Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 LC
Holders
3
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 LCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NFT
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/PullPayment.sol"; contract NFT is ERC721, ERC2981, Ownable, PullPayment { // --------------------------------------------------- // _____ __ _ // / ____| / _| (_) // | (___ _ _ _ __ | |_ ___ _ __ _ __ ___ _ ___ // \___ \| | | | '_ \| _/ _ \| '__| '_ ` _ \| |/ __| // ____) | |_| | | | | || (_) | | | | | | | | | (__ // |_____/ \__, |_| |_|_| \___/|_| |_| |_| |_|_|\___| // __/ | // |___/ // --------------------------------------------------- // _ _ _ ___ _ _ _ // | | (_)_ _(_)_ _ __ _ / __|___| | |___ __ _/ | // | |__| \ V / | ' \/ _` | | (__/ -_) | (_-< \ V / | // |____|_|\_/|_|_||_\__, | \___\___|_|_/__/ \_/|_| // |___/ // --------------------------------------------------- using Counters for Counters.Counter; bytes public constant NFT_PROVENANCE = hex"734f9cf247dc1ee31e21c08600e3f586a011d0a2c9109fa95f4bf03175007e32"; uint256 public constant TOTAL_SUPPLY = 80; // The price doubles with each 10 tokens minted. uint256 public constant BASE_PRICE = 0.01 ether; Counters.Counter private currentTokenId; /// @dev Base token URI used as a prefix by tokenURI(). string public baseTokenURI; bool public baseTokenURIFrozen = false; /// @dev The string for the contract metadata URI returned by contractURI(). string public contractMetadataURI; constructor(uint96 feeNumerator, string memory _baseTokenURI, string memory _contractMetadataURI, address[] memory initialMint) ERC721("Living Cells Original", "LC") { // Set initial data from constructor setRoyaltyInfo(msg.sender, feeNumerator); baseTokenURI = _baseTokenURI; contractMetadataURI = _contractMetadataURI; // Mint first n tokens to specific addresses require(initialMint.length < TOTAL_SUPPLY, "Can not execute initial mint more than supply"); for (uint256 index = 0; index < initialMint.length; index++) { currentTokenId.increment(); uint256 newItemId = currentTokenId.current(); _safeMint(initialMint[index], newItemId); } } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC2981) returns (bool){ return super.supportsInterface(interfaceId); } function contractURI() public view returns (string memory) { return contractMetadataURI; } function tokenPrice(uint256 tokenId) public pure returns (uint256) { return BASE_PRICE * (2 ** ((tokenId-1)/10)); } function nextTokenId() public view returns (uint256) { return currentTokenId.current() + 1; } function mintTo(address recipient) public payable returns (uint256) { uint256 tokenId = currentTokenId.current(); require(tokenId < TOTAL_SUPPLY, "Max supply reached"); require(msg.value >= tokenPrice(tokenId+1), "Transaction value did not meet the mint price"); currentTokenId.increment(); uint256 newItemId = currentTokenId.current(); _safeMint(recipient, newItemId); return newItemId; } /// @dev Returns the base URI, overriding to return baseTokenURI function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } /// @dev Sets the base token URI prefix. function setBaseTokenURI(string memory _baseTokenURI) public onlyOwner { require(!baseTokenURIFrozen, "Base token URI frozen, no longer editable"); baseTokenURI = _baseTokenURI; } /// @dev Set the royalty infomation function setRoyaltyInfo(address receiver, uint96 feeNumerator) public onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } /// @dev Sets the contract metadata URI. function setContractURI(string memory _contractMetadataURI) public onlyOwner { contractMetadataURI = _contractMetadataURI; } /// @dev Freezes the base token URI making it immutable even by the owner. function freezeBaseTokenURI() public onlyOwner { baseTokenURIFrozen = true; } /// @dev Overridden in order to make it an onlyOwner function function withdrawPayments(address payable payee) public override onlyOwner virtual { super.withdrawPayments(payee); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); 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: caller is not token 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: caller is not token 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) { 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 an {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 an {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 Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (security/PullPayment.sol) pragma solidity ^0.8.0; import "../utils/escrow/Escrow.sol"; /** * @dev Simple implementation of a * https://consensys.github.io/smart-contract-best-practices/recommendations/#favor-pull-over-push-for-external-calls[pull-payment] * strategy, where the paying contract doesn't interact directly with the * receiver account, which must withdraw its payments itself. * * Pull-payments are often considered the best practice when it comes to sending * Ether, security-wise. It prevents recipients from blocking execution, and * eliminates reentrancy concerns. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. * * To use, derive from the `PullPayment` contract, and use {_asyncTransfer} * instead of Solidity's `transfer` function. Payees can query their due * payments with {payments}, and retrieve them with {withdrawPayments}. */ abstract contract PullPayment { Escrow private immutable _escrow; constructor() { _escrow = new Escrow(); } /** * @dev Withdraw accumulated payments, forwarding all gas to the recipient. * * Note that _any_ account can call this function, not just the `payee`. * This means that contracts unaware of the `PullPayment` protocol can still * receive funds this way, by having a separate account call * {withdrawPayments}. * * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities. * Make sure you trust the recipient, or are either following the * checks-effects-interactions pattern or using {ReentrancyGuard}. * * @param payee Whose payments will be withdrawn. * * Causes the `escrow` to emit a {Withdrawn} event. */ function withdrawPayments(address payable payee) public virtual { _escrow.withdraw(payee); } /** * @dev Returns the payments owed to an address. * @param dest The creditor's address. */ function payments(address dest) public view returns (uint256) { return _escrow.depositsOf(dest); } /** * @dev Called by the payer to store the sent amount as credit to be pulled. * Funds sent in this way are stored in an intermediate {Escrow} contract, so * there is no danger of them being spent before withdrawal. * * @param dest The destination address of the funds. * @param amount The amount to transfer. * * Causes the `escrow` to emit a {Deposited} event. */ function _asyncTransfer(address dest, uint256 amount) internal virtual { _escrow.deposit{value: amount}(dest); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 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.7.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 /// @solidity memory-safe-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 (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/escrow/Escrow.sol) pragma solidity ^0.8.0; import "../../access/Ownable.sol"; import "../Address.sol"; /** * @title Escrow * @dev Base escrow contract, holds funds designated for a payee until they * withdraw them. * * Intended usage: This contract (and derived escrow contracts) should be a * standalone contract, that only interacts with the contract that instantiated * it. That way, it is guaranteed that all Ether will be handled according to * the `Escrow` rules, and there is no need to check for payable functions or * transfers in the inheritance tree. The contract that uses the escrow as its * payment method should be its owner, and provide public methods redirecting * to the escrow's deposit and withdraw. */ contract Escrow is Ownable { using Address for address payable; event Deposited(address indexed payee, uint256 weiAmount); event Withdrawn(address indexed payee, uint256 weiAmount); mapping(address => uint256) private _deposits; function depositsOf(address payee) public view returns (uint256) { return _deposits[payee]; } /** * @dev Stores the sent amount as credit to be withdrawn. * @param payee The destination address of the funds. * * Emits a {Deposited} event. */ function deposit(address payee) public payable virtual onlyOwner { uint256 amount = msg.value; _deposits[payee] += amount; emit Deposited(payee, amount); } /** * @dev Withdraw accumulated balance for a payee, forwarding all gas to the * recipient. * * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities. * Make sure you trust the recipient, or are either following the * checks-effects-interactions pattern or using {ReentrancyGuard}. * * @param payee The address whose funds will be withdrawn and transferred to. * * Emits a {Withdrawn} event. */ function withdraw(address payable payee) public virtual onlyOwner { uint256 payment = _deposits[payee]; _deposits[payee] = 0; payee.sendValue(payment); emit Withdrawn(payee, payment); } }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint96","name":"feeNumerator","type":"uint96"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"string","name":"_contractMetadataURI","type":"string"},{"internalType":"address[]","name":"initialMint","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BASE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NFT_PROVENANCE","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURIFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractMetadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"mintTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"dest","type":"address"}],"name":"payments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractMetadataURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setRoyaltyInfo","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":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdrawPayments","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a0604052600b805460ff191690553480156200001b57600080fd5b506040516200351c3803806200351c8339810160408190526200003e916200090d565b604080518082018252601581527f4c6976696e672043656c6c73204f726967696e616c00000000000000000000006020808301918252835180850190945260028452614c4360f01b9084015281519192916200009d9160009162000771565b508051620000b390600190602084019062000771565b505050620000d0620000ca6200023b60201b60201c565b6200023f565b604051620000de9062000800565b604051809103906000f080158015620000fb573d6000803e3d6000fd5b506001600160a01b031660805262000114338562000291565b82516200012990600a90602086019062000771565b5081516200013f90600c90602085019062000771565b506050815110620001ad5760405162461bcd60e51b815260206004820152602d60248201527f43616e206e6f74206578656375746520696e697469616c206d696e74206d6f7260448201526c65207468616e20737570706c7960981b60648201526084015b60405180910390fd5b60005b81518110156200023057620001d16009620002ab60201b620010391760201c565b6000620001ea6009620002b460201b620010421760201c565b90506200021a83838151811062000205576200020562000a48565b602002602001015182620002b860201b60201c565b5080620002278162000a74565b915050620001b0565b505050505062000b73565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200029b620002da565b620002a7828262000338565b5050565b80546001019055565b5490565b620002a78282604051806020016040528060008152506200043960201b60201c565b6008546001600160a01b03163314620003365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001a4565b565b6127106001600160601b0382161115620003a85760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401620001a4565b6001600160a01b038216620004005760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401620001a4565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b620004458383620004b1565b620004546000848484620005f9565b620004ac5760405162461bcd60e51b81526020600482015260326024820152600080516020620034fc83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001a4565b505050565b6001600160a01b038216620005095760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001a4565b6000818152600260205260409020546001600160a01b031615620005705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001a4565b6001600160a01b03821660009081526003602052604081208054600192906200059b90849062000a92565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006200061a846001600160a01b03166200076260201b620010461760201c565b156200075657604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200065490339089908890889060040162000aad565b602060405180830381600087803b1580156200066f57600080fd5b505af1925050508015620006a2575060408051601f3d908101601f191682019092526200069f9181019062000b03565b60015b6200073b573d808015620006d3576040519150601f19603f3d011682016040523d82523d6000602084013e620006d8565b606091505b508051620007335760405162461bcd60e51b81526020600482015260326024820152600080516020620034fc83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001a4565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506200075a565b5060015b949350505050565b6001600160a01b03163b151590565b8280546200077f9062000b36565b90600052602060002090601f016020900481019282620007a35760008555620007ee565b82601f10620007be57805160ff1916838001178555620007ee565b82800160010185558215620007ee579182015b82811115620007ee578251825591602001919060010190620007d1565b50620007fc9291506200080e565b5090565b6105e38062002f1983390190565b5b80821115620007fc57600081556001016200080f565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000866576200086662000825565b604052919050565b60005b838110156200088b57818101518382015260200162000871565b838111156200089b576000848401525b50505050565b600082601f830112620008b357600080fd5b81516001600160401b03811115620008cf57620008cf62000825565b620008e4601f8201601f19166020016200083b565b818152846020838601011115620008fa57600080fd5b6200075a8260208301602087016200086e565b600080600080608085870312156200092457600080fd5b84516001600160601b03811681146200093c57600080fd5b602086810151919550906001600160401b03808211156200095c57600080fd5b6200096a89838a01620008a1565b955060408801519150808211156200098157600080fd5b6200098f89838a01620008a1565b94506060880151915080821115620009a657600080fd5b818801915088601f830112620009bb57600080fd5b815181811115620009d057620009d062000825565b8060051b9150620009e38483016200083b565b818152918301840191848101908b841115620009fe57600080fd5b938501935b8385101562000a3857845192506001600160a01b038316831462000a275760008081fd5b828252938501939085019062000a03565b989b979a50959850505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982141562000a8b5762000a8b62000a5e565b5060010190565b6000821982111562000aa85762000aa862000a5e565b500190565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000aec8160a08501602087016200086e565b601f01601f19169190910160a00195945050505050565b60006020828403121562000b1657600080fd5b81516001600160e01b03198116811462000b2f57600080fd5b9392505050565b600181811c9082168062000b4b57607f821691505b6020821081141562000b6d57634e487b7160e01b600052602260045260246000fd5b50919050565b60805161238362000b9660003960008181610f21015261157701526123836000f3fe6080604052600436106101fe5760003560e01c8063755edd171161011d578063c87b56dd116100b0578063e2982c211161007f578063e985e9c511610064578063e985e9c5146105dd578063f2fde38b14610626578063f86325ed1461064657600080fd5b8063e2982c21146105a8578063e8a3d485146105c857600080fd5b8063c87b56dd14610539578063ce9c605314610559578063d4ddce8a14610573578063d547cfb71461059357600080fd5b8063938e3d7b116100ec578063938e3d7b146104c457806395d89b41146104e4578063a22cb465146104f9578063b88d4fde1461051957600080fd5b8063755edd171461046957806375794a3c1461047c5780638da5cb5b14610491578063902d55a5146104af57600080fd5b80632a55205a116101955780636352211e116101645780636352211e146103f157806370a0823114610411578063715018a61461043f57806373e927841461045457600080fd5b80632a55205a1461035257806330176e131461039157806331b3eb94146103b157806342842e0e146103d157600080fd5b8063095ea7b3116101d1578063095ea7b3146102b4578063197b8314146102d45780631bc34727146102e957806323b872dd1461033257600080fd5b806301ffc9a71461020357806302fa7c471461023857806306fdde031461025a578063081812fc1461027c575b600080fd5b34801561020f57600080fd5b5061022361021e366004611d4c565b610661565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b50610258610253366004611d7e565b610672565b005b34801561026657600080fd5b5061026f610688565b60405161022f9190611e20565b34801561028857600080fd5b5061029c610297366004611e33565b61071a565b6040516001600160a01b03909116815260200161022f565b3480156102c057600080fd5b506102586102cf366004611e4c565b610741565b3480156102e057600080fd5b50610258610896565b3480156102f557600080fd5b5061026f6040518060400160405280602081526020017f734f9cf247dc1ee31e21c08600e3f586a011d0a2c9109fa95f4bf03175007e3281525081565b34801561033e57600080fd5b5061025861034d366004611e78565b6108ad565b34801561035e57600080fd5b5061037261036d366004611eb9565b610934565b604080516001600160a01b03909316835260208301919091520161022f565b34801561039d57600080fd5b506102586103ac366004611f67565b6109ef565b3480156103bd57600080fd5b506102586103cc366004611fb0565b610a83565b3480156103dd57600080fd5b506102586103ec366004611e78565b610a97565b3480156103fd57600080fd5b5061029c61040c366004611e33565b610ab2565b34801561041d57600080fd5b5061043161042c366004611fb0565b610b17565b60405190815260200161022f565b34801561044b57600080fd5b50610258610bb1565b34801561046057600080fd5b5061026f610bc5565b610431610477366004611fb0565b610c53565b34801561048857600080fd5b50610431610d60565b34801561049d57600080fd5b506008546001600160a01b031661029c565b3480156104bb57600080fd5b50610431605081565b3480156104d057600080fd5b506102586104df366004611f67565b610d7b565b3480156104f057600080fd5b5061026f610d96565b34801561050557600080fd5b50610258610514366004611fcd565b610da5565b34801561052557600080fd5b50610258610534366004612000565b610db0565b34801561054557600080fd5b5061026f610554366004611e33565b610e3e565b34801561056557600080fd5b50600b546102239060ff1681565b34801561057f57600080fd5b5061043161058e366004611e33565b610ea4565b34801561059f57600080fd5b5061026f610ed9565b3480156105b457600080fd5b506104316105c3366004611fb0565b610ee6565b3480156105d457600080fd5b5061026f610f9d565b3480156105e957600080fd5b506102236105f8366004612080565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561063257600080fd5b50610258610641366004611fb0565b610fac565b34801561065257600080fd5b50610431662386f26fc1000081565b600061066c82611055565b92915050565b61067a611093565b61068482826110ed565b5050565b606060008054610697906120ae565b80601f01602080910402602001604051908101604052809291908181526020018280546106c3906120ae565b80156107105780601f106106e557610100808354040283529160200191610710565b820191906000526020600020905b8154815290600101906020018083116106f357829003601f168201915b5050505050905090565b600061072582611207565b506000908152600460205260409020546001600160a01b031690565b600061074c82610ab2565b9050806001600160a01b0316836001600160a01b031614156107db5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061081557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6108875760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016107d2565b610891838361126b565b505050565b61089e611093565b600b805460ff19166001179055565b6108b733826112e6565b6109295760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016107d2565b610891838383611365565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff169282019290925282916109b35750604080518082019091526006546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b6020810151600090612710906109d7906bffffffffffffffffffffffff16876120ff565b6109e19190612134565b915196919550909350505050565b6109f7611093565b600b5460ff1615610a705760405162461bcd60e51b815260206004820152602960248201527f4261736520746f6b656e205552492066726f7a656e2c206e6f206c6f6e67657260448201527f206564697461626c65000000000000000000000000000000000000000000000060648201526084016107d2565b805161068490600a906020840190611c9d565b610a8b611093565b610a948161153f565b50565b61089183838360405180602001604052806000815250610db0565b6000818152600260205260408120546001600160a01b03168061066c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016107d2565b60006001600160a01b038216610b955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016107d2565b506001600160a01b031660009081526003602052604090205490565b610bb9611093565b610bc360006115d6565b565b600c8054610bd2906120ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfe906120ae565b8015610c4b5780601f10610c2057610100808354040283529160200191610c4b565b820191906000526020600020905b815481529060010190602001808311610c2e57829003601f168201915b505050505081565b600080610c5f60095490565b905060508110610cb15760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c792072656163686564000000000000000000000000000060448201526064016107d2565b610cbf61058e826001612148565b341015610d345760405162461bcd60e51b815260206004820152602d60248201527f5472616e73616374696f6e2076616c756520646964206e6f74206d656574207460448201527f6865206d696e742070726963650000000000000000000000000000000000000060648201526084016107d2565b610d42600980546001019055565b6000610d4d60095490565b9050610d598482611635565b9392505050565b6000610d6b60095490565b610d76906001612148565b905090565b610d83611093565b805161068490600c906020840190611c9d565b606060018054610697906120ae565b61068433838361164f565b610dba33836112e6565b610e2c5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016107d2565b610e388484848461171e565b50505050565b6060610e4982611207565b6000610e5361179c565b90506000815111610e735760405180602001604052806000815250610d59565b80610e7d846117ab565b604051602001610e8e929190612160565b6040516020818303038152906040529392505050565b6000600a610eb360018461218f565b610ebd9190612134565b610ec890600261228a565b61066c90662386f26fc100006120ff565b600a8054610bd2906120ae565b6040517fe3a9db1a0000000000000000000000000000000000000000000000000000000081526001600160a01b0382811660048301526000917f00000000000000000000000000000000000000000000000000000000000000009091169063e3a9db1a9060240160206040518083038186803b158015610f6557600080fd5b505afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066c9190612296565b6060600c8054610697906120ae565b610fb4611093565b6001600160a01b0381166110305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107d2565b610a94816115d6565b80546001019055565b5490565b6001600160a01b03163b151590565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061066c575061066c826118dd565b6008546001600160a01b03163314610bc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d2565b6127106bffffffffffffffffffffffff821611156111735760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016107d2565b6001600160a01b0382166111c95760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107d2565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b0316610a945760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016107d2565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906112ad82610ab2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112f283610ab2565b9050806001600160a01b0316846001600160a01b0316148061133957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061135d5750836001600160a01b03166113528461071a565b6001600160a01b0316145b949350505050565b826001600160a01b031661137882610ab2565b6001600160a01b0316146113f45760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016107d2565b6001600160a01b03821661146f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107d2565b61147a60008261126b565b6001600160a01b03831660009081526003602052604081208054600192906114a390849061218f565b90915550506001600160a01b03821660009081526003602052604081208054600192906114d1908490612148565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040517f51cff8d90000000000000000000000000000000000000000000000000000000081526001600160a01b0382811660048301527f000000000000000000000000000000000000000000000000000000000000000016906351cff8d990602401600060405180830381600087803b1580156115bb57600080fd5b505af11580156115cf573d6000803e3d6000fd5b5050505050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610684828260405180602001604052806000815250611978565b816001600160a01b0316836001600160a01b031614156116b15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611729848484611365565b611735848484846119f6565b610e385760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d2565b6060600a8054610697906120ae565b6060816117eb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561181557806117ff816122af565b915061180e9050600a83612134565b91506117ef565b60008167ffffffffffffffff81111561183057611830611edb565b6040519080825280601f01601f19166020018201604052801561185a576020820181803683370190505b5090505b841561135d5761186f60018361218f565b915061187c600a866122ca565b611887906030612148565b60f81b81838151811061189c5761189c6122de565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506118d6600a86612134565b945061185e565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061194057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061066c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461066c565b6119828383611b4e565b61198f60008484846119f6565b6108915760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d2565b60006001600160a01b0384163b15611b4357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a3a9033908990889088906004016122f4565b602060405180830381600087803b158015611a5457600080fd5b505af1925050508015611a84575060408051601f3d908101601f19168201909252611a8191810190612330565b60015b611b29573d808015611ab2576040519150601f19603f3d011682016040523d82523d6000602084013e611ab7565b606091505b508051611b215760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061135d565b506001949350505050565b6001600160a01b038216611ba45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d2565b6000818152600260205260409020546001600160a01b031615611c095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107d2565b6001600160a01b0382166000908152600360205260408120805460019290611c32908490612148565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ca9906120ae565b90600052602060002090601f016020900481019282611ccb5760008555611d11565b82601f10611ce457805160ff1916838001178555611d11565b82800160010185558215611d11579182015b82811115611d11578251825591602001919060010190611cf6565b50611d1d929150611d21565b5090565b5b80821115611d1d5760008155600101611d22565b6001600160e01b031981168114610a9457600080fd5b600060208284031215611d5e57600080fd5b8135610d5981611d36565b6001600160a01b0381168114610a9457600080fd5b60008060408385031215611d9157600080fd5b8235611d9c81611d69565b915060208301356bffffffffffffffffffffffff81168114611dbd57600080fd5b809150509250929050565b60005b83811015611de3578181015183820152602001611dcb565b83811115610e385750506000910152565b60008151808452611e0c816020860160208601611dc8565b601f01601f19169290920160200192915050565b602081526000610d596020830184611df4565b600060208284031215611e4557600080fd5b5035919050565b60008060408385031215611e5f57600080fd5b8235611e6a81611d69565b946020939093013593505050565b600080600060608486031215611e8d57600080fd5b8335611e9881611d69565b92506020840135611ea881611d69565b929592945050506040919091013590565b60008060408385031215611ecc57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f0c57611f0c611edb565b604051601f8501601f19908116603f01168101908282118183101715611f3457611f34611edb565b81604052809350858152868686011115611f4d57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7957600080fd5b813567ffffffffffffffff811115611f9057600080fd5b8201601f81018413611fa157600080fd5b61135d84823560208401611ef1565b600060208284031215611fc257600080fd5b8135610d5981611d69565b60008060408385031215611fe057600080fd5b8235611feb81611d69565b915060208301358015158114611dbd57600080fd5b6000806000806080858703121561201657600080fd5b843561202181611d69565b9350602085013561203181611d69565b925060408501359150606085013567ffffffffffffffff81111561205457600080fd5b8501601f8101871361206557600080fd5b61207487823560208401611ef1565b91505092959194509250565b6000806040838503121561209357600080fd5b823561209e81611d69565b91506020830135611dbd81611d69565b600181811c908216806120c257607f821691505b602082108114156120e357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612119576121196120e9565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121435761214361211e565b500490565b6000821982111561215b5761215b6120e9565b500190565b60008351612172818460208801611dc8565b835190830190612186818360208801611dc8565b01949350505050565b6000828210156121a1576121a16120e9565b500390565b600181815b808511156121e15781600019048211156121c7576121c76120e9565b808516156121d457918102915b93841c93908002906121ab565b509250929050565b6000826121f85750600161066c565b816122055750600061066c565b816001811461221b576002811461222557612241565b600191505061066c565b60ff841115612236576122366120e9565b50506001821b61066c565b5060208310610133831016604e8410600b8410161715612264575081810a61066c565b61226e83836121a6565b8060001904821115612282576122826120e9565b029392505050565b6000610d5983836121e9565b6000602082840312156122a857600080fd5b5051919050565b60006000198214156122c3576122c36120e9565b5060010190565b6000826122d9576122d961211e565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526123266080830184611df4565b9695505050505050565b60006020828403121561234257600080fd5b8151610d5981611d3656fea264697066735822122054d45b038ec63ab354f1a2cd86fd9bb460ee75a7254607335cdc8872526d942e64736f6c63430008090033608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6105658061007e6000396000f3fe6080604052600436106100655760003560e01c8063e3a9db1a11610043578063e3a9db1a146100ce578063f2fde38b14610112578063f340fa011461013257600080fd5b806351cff8d91461006a578063715018a61461008c5780638da5cb5b146100a1575b600080fd5b34801561007657600080fd5b5061008a6100853660046104cc565b610145565b005b34801561009857600080fd5b5061008a6101bc565b3480156100ad57600080fd5b506000546040516001600160a01b0390911681526020015b60405180910390f35b3480156100da57600080fd5b506101046100e93660046104cc565b6001600160a01b031660009081526001602052604090205490565b6040519081526020016100c5565b34801561011e57600080fd5b5061008a61012d3660046104cc565b6101d0565b61008a6101403660046104cc565b610265565b61014d6102d7565b6001600160a01b03811660008181526001602052604081208054919055906101759082610331565b816001600160a01b03167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040516101b091815260200190565b60405180910390a25050565b6101c46102d7565b6101ce600061044f565b565b6101d86102d7565b6001600160a01b0381166102595760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102628161044f565b50565b61026d6102d7565b6001600160a01b0381166000908152600160205260408120805434928392916102979084906104f0565b90915550506040518181526001600160a01b038316907f2da466a7b24304f47e87fa2e1e5a81b9831ce54fec19055ce277ca2f39ba42c4906020016101b0565b6000546001600160a01b031633146101ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610250565b804710156103815760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610250565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146103ce576040519150601f19603f3d011682016040523d82523d6000602084013e6103d3565b606091505b505090508061044a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610250565b505050565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461026257600080fd5b6000602082840312156104de57600080fd5b81356104e9816104b7565b9392505050565b6000821982111561052a577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50019056fea264697066735822122053318321b2025bdec524ad5f7a6b5e199ff7ba1c10f61e5b2863d91d724dde6764736f6c634300080900334552433732313a207472616e7366657220746f206e6f6e20455243373231526500000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000004c697066733a2f2f6261667962656966357a6165697375626c73363361636f6b647a346c7273633470376b366a347735373265737a36377a736179676c6c70626a66612f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b72656964636a756478673477776132647236337a617a64716e727a623577716977677865696d7333743461626575783679337065776b34000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000ac560ea4a4cdcfedd12381680c74ed91197c3833
Deployed Bytecode
0x6080604052600436106101fe5760003560e01c8063755edd171161011d578063c87b56dd116100b0578063e2982c211161007f578063e985e9c511610064578063e985e9c5146105dd578063f2fde38b14610626578063f86325ed1461064657600080fd5b8063e2982c21146105a8578063e8a3d485146105c857600080fd5b8063c87b56dd14610539578063ce9c605314610559578063d4ddce8a14610573578063d547cfb71461059357600080fd5b8063938e3d7b116100ec578063938e3d7b146104c457806395d89b41146104e4578063a22cb465146104f9578063b88d4fde1461051957600080fd5b8063755edd171461046957806375794a3c1461047c5780638da5cb5b14610491578063902d55a5146104af57600080fd5b80632a55205a116101955780636352211e116101645780636352211e146103f157806370a0823114610411578063715018a61461043f57806373e927841461045457600080fd5b80632a55205a1461035257806330176e131461039157806331b3eb94146103b157806342842e0e146103d157600080fd5b8063095ea7b3116101d1578063095ea7b3146102b4578063197b8314146102d45780631bc34727146102e957806323b872dd1461033257600080fd5b806301ffc9a71461020357806302fa7c471461023857806306fdde031461025a578063081812fc1461027c575b600080fd5b34801561020f57600080fd5b5061022361021e366004611d4c565b610661565b60405190151581526020015b60405180910390f35b34801561024457600080fd5b50610258610253366004611d7e565b610672565b005b34801561026657600080fd5b5061026f610688565b60405161022f9190611e20565b34801561028857600080fd5b5061029c610297366004611e33565b61071a565b6040516001600160a01b03909116815260200161022f565b3480156102c057600080fd5b506102586102cf366004611e4c565b610741565b3480156102e057600080fd5b50610258610896565b3480156102f557600080fd5b5061026f6040518060400160405280602081526020017f734f9cf247dc1ee31e21c08600e3f586a011d0a2c9109fa95f4bf03175007e3281525081565b34801561033e57600080fd5b5061025861034d366004611e78565b6108ad565b34801561035e57600080fd5b5061037261036d366004611eb9565b610934565b604080516001600160a01b03909316835260208301919091520161022f565b34801561039d57600080fd5b506102586103ac366004611f67565b6109ef565b3480156103bd57600080fd5b506102586103cc366004611fb0565b610a83565b3480156103dd57600080fd5b506102586103ec366004611e78565b610a97565b3480156103fd57600080fd5b5061029c61040c366004611e33565b610ab2565b34801561041d57600080fd5b5061043161042c366004611fb0565b610b17565b60405190815260200161022f565b34801561044b57600080fd5b50610258610bb1565b34801561046057600080fd5b5061026f610bc5565b610431610477366004611fb0565b610c53565b34801561048857600080fd5b50610431610d60565b34801561049d57600080fd5b506008546001600160a01b031661029c565b3480156104bb57600080fd5b50610431605081565b3480156104d057600080fd5b506102586104df366004611f67565b610d7b565b3480156104f057600080fd5b5061026f610d96565b34801561050557600080fd5b50610258610514366004611fcd565b610da5565b34801561052557600080fd5b50610258610534366004612000565b610db0565b34801561054557600080fd5b5061026f610554366004611e33565b610e3e565b34801561056557600080fd5b50600b546102239060ff1681565b34801561057f57600080fd5b5061043161058e366004611e33565b610ea4565b34801561059f57600080fd5b5061026f610ed9565b3480156105b457600080fd5b506104316105c3366004611fb0565b610ee6565b3480156105d457600080fd5b5061026f610f9d565b3480156105e957600080fd5b506102236105f8366004612080565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561063257600080fd5b50610258610641366004611fb0565b610fac565b34801561065257600080fd5b50610431662386f26fc1000081565b600061066c82611055565b92915050565b61067a611093565b61068482826110ed565b5050565b606060008054610697906120ae565b80601f01602080910402602001604051908101604052809291908181526020018280546106c3906120ae565b80156107105780601f106106e557610100808354040283529160200191610710565b820191906000526020600020905b8154815290600101906020018083116106f357829003601f168201915b5050505050905090565b600061072582611207565b506000908152600460205260409020546001600160a01b031690565b600061074c82610ab2565b9050806001600160a01b0316836001600160a01b031614156107db5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b038216148061081557506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6108875760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c000060648201526084016107d2565b610891838361126b565b505050565b61089e611093565b600b805460ff19166001179055565b6108b733826112e6565b6109295760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016107d2565b610891838383611365565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff169282019290925282916109b35750604080518082019091526006546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b6020810151600090612710906109d7906bffffffffffffffffffffffff16876120ff565b6109e19190612134565b915196919550909350505050565b6109f7611093565b600b5460ff1615610a705760405162461bcd60e51b815260206004820152602960248201527f4261736520746f6b656e205552492066726f7a656e2c206e6f206c6f6e67657260448201527f206564697461626c65000000000000000000000000000000000000000000000060648201526084016107d2565b805161068490600a906020840190611c9d565b610a8b611093565b610a948161153f565b50565b61089183838360405180602001604052806000815250610db0565b6000818152600260205260408120546001600160a01b03168061066c5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016107d2565b60006001600160a01b038216610b955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e6572000000000000000000000000000000000000000000000060648201526084016107d2565b506001600160a01b031660009081526003602052604090205490565b610bb9611093565b610bc360006115d6565b565b600c8054610bd2906120ae565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfe906120ae565b8015610c4b5780601f10610c2057610100808354040283529160200191610c4b565b820191906000526020600020905b815481529060010190602001808311610c2e57829003601f168201915b505050505081565b600080610c5f60095490565b905060508110610cb15760405162461bcd60e51b815260206004820152601260248201527f4d617820737570706c792072656163686564000000000000000000000000000060448201526064016107d2565b610cbf61058e826001612148565b341015610d345760405162461bcd60e51b815260206004820152602d60248201527f5472616e73616374696f6e2076616c756520646964206e6f74206d656574207460448201527f6865206d696e742070726963650000000000000000000000000000000000000060648201526084016107d2565b610d42600980546001019055565b6000610d4d60095490565b9050610d598482611635565b9392505050565b6000610d6b60095490565b610d76906001612148565b905090565b610d83611093565b805161068490600c906020840190611c9d565b606060018054610697906120ae565b61068433838361164f565b610dba33836112e6565b610e2c5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016107d2565b610e388484848461171e565b50505050565b6060610e4982611207565b6000610e5361179c565b90506000815111610e735760405180602001604052806000815250610d59565b80610e7d846117ab565b604051602001610e8e929190612160565b6040516020818303038152906040529392505050565b6000600a610eb360018461218f565b610ebd9190612134565b610ec890600261228a565b61066c90662386f26fc100006120ff565b600a8054610bd2906120ae565b6040517fe3a9db1a0000000000000000000000000000000000000000000000000000000081526001600160a01b0382811660048301526000917f0000000000000000000000005b88029a39841373da664e9269fe7fc26f739e9e9091169063e3a9db1a9060240160206040518083038186803b158015610f6557600080fd5b505afa158015610f79573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061066c9190612296565b6060600c8054610697906120ae565b610fb4611093565b6001600160a01b0381166110305760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107d2565b610a94816115d6565b80546001019055565b5490565b6001600160a01b03163b151590565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061066c575061066c826118dd565b6008546001600160a01b03163314610bc35760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107d2565b6127106bffffffffffffffffffffffff821611156111735760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c6550726963650000000000000000000000000000000000000000000060648201526084016107d2565b6001600160a01b0382166111c95760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016107d2565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600655565b6000818152600260205260409020546001600160a01b0316610a945760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016107d2565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03841690811790915581906112ad82610ab2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806112f283610ab2565b9050806001600160a01b0316846001600160a01b0316148061133957506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b8061135d5750836001600160a01b03166113528461071a565b6001600160a01b0316145b949350505050565b826001600160a01b031661137882610ab2565b6001600160a01b0316146113f45760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016107d2565b6001600160a01b03821661146f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016107d2565b61147a60008261126b565b6001600160a01b03831660009081526003602052604081208054600192906114a390849061218f565b90915550506001600160a01b03821660009081526003602052604081208054600192906114d1908490612148565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6040517f51cff8d90000000000000000000000000000000000000000000000000000000081526001600160a01b0382811660048301527f0000000000000000000000005b88029a39841373da664e9269fe7fc26f739e9e16906351cff8d990602401600060405180830381600087803b1580156115bb57600080fd5b505af11580156115cf573d6000803e3d6000fd5b5050505050565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b610684828260405180602001604052806000815250611978565b816001600160a01b0316836001600160a01b031614156116b15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107d2565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611729848484611365565b611735848484846119f6565b610e385760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d2565b6060600a8054610697906120ae565b6060816117eb57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561181557806117ff816122af565b915061180e9050600a83612134565b91506117ef565b60008167ffffffffffffffff81111561183057611830611edb565b6040519080825280601f01601f19166020018201604052801561185a576020820181803683370190505b5090505b841561135d5761186f60018361218f565b915061187c600a866122ca565b611887906030612148565b60f81b81838151811061189c5761189c6122de565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506118d6600a86612134565b945061185e565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061194057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061066c57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161461066c565b6119828383611b4e565b61198f60008484846119f6565b6108915760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d2565b60006001600160a01b0384163b15611b4357604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a3a9033908990889088906004016122f4565b602060405180830381600087803b158015611a5457600080fd5b505af1925050508015611a84575060408051601f3d908101601f19168201909252611a8191810190612330565b60015b611b29573d808015611ab2576040519150601f19603f3d011682016040523d82523d6000602084013e611ab7565b606091505b508051611b215760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b60648201526084016107d2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061135d565b506001949350505050565b6001600160a01b038216611ba45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107d2565b6000818152600260205260409020546001600160a01b031615611c095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107d2565b6001600160a01b0382166000908152600360205260408120805460019290611c32908490612148565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611ca9906120ae565b90600052602060002090601f016020900481019282611ccb5760008555611d11565b82601f10611ce457805160ff1916838001178555611d11565b82800160010185558215611d11579182015b82811115611d11578251825591602001919060010190611cf6565b50611d1d929150611d21565b5090565b5b80821115611d1d5760008155600101611d22565b6001600160e01b031981168114610a9457600080fd5b600060208284031215611d5e57600080fd5b8135610d5981611d36565b6001600160a01b0381168114610a9457600080fd5b60008060408385031215611d9157600080fd5b8235611d9c81611d69565b915060208301356bffffffffffffffffffffffff81168114611dbd57600080fd5b809150509250929050565b60005b83811015611de3578181015183820152602001611dcb565b83811115610e385750506000910152565b60008151808452611e0c816020860160208601611dc8565b601f01601f19169290920160200192915050565b602081526000610d596020830184611df4565b600060208284031215611e4557600080fd5b5035919050565b60008060408385031215611e5f57600080fd5b8235611e6a81611d69565b946020939093013593505050565b600080600060608486031215611e8d57600080fd5b8335611e9881611d69565b92506020840135611ea881611d69565b929592945050506040919091013590565b60008060408385031215611ecc57600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611f0c57611f0c611edb565b604051601f8501601f19908116603f01168101908282118183101715611f3457611f34611edb565b81604052809350858152868686011115611f4d57600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7957600080fd5b813567ffffffffffffffff811115611f9057600080fd5b8201601f81018413611fa157600080fd5b61135d84823560208401611ef1565b600060208284031215611fc257600080fd5b8135610d5981611d69565b60008060408385031215611fe057600080fd5b8235611feb81611d69565b915060208301358015158114611dbd57600080fd5b6000806000806080858703121561201657600080fd5b843561202181611d69565b9350602085013561203181611d69565b925060408501359150606085013567ffffffffffffffff81111561205457600080fd5b8501601f8101871361206557600080fd5b61207487823560208401611ef1565b91505092959194509250565b6000806040838503121561209357600080fd5b823561209e81611d69565b91506020830135611dbd81611d69565b600181811c908216806120c257607f821691505b602082108114156120e357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612119576121196120e9565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826121435761214361211e565b500490565b6000821982111561215b5761215b6120e9565b500190565b60008351612172818460208801611dc8565b835190830190612186818360208801611dc8565b01949350505050565b6000828210156121a1576121a16120e9565b500390565b600181815b808511156121e15781600019048211156121c7576121c76120e9565b808516156121d457918102915b93841c93908002906121ab565b509250929050565b6000826121f85750600161066c565b816122055750600061066c565b816001811461221b576002811461222557612241565b600191505061066c565b60ff841115612236576122366120e9565b50506001821b61066c565b5060208310610133831016604e8410600b8410161715612264575081810a61066c565b61226e83836121a6565b8060001904821115612282576122826120e9565b029392505050565b6000610d5983836121e9565b6000602082840312156122a857600080fd5b5051919050565b60006000198214156122c3576122c36120e9565b5060010190565b6000826122d9576122d961211e565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b038087168352808616602084015250836040830152608060608301526123266080830184611df4565b9695505050505050565b60006020828403121561234257600080fd5b8151610d5981611d3656fea264697066735822122054d45b038ec63ab354f1a2cd86fd9bb460ee75a7254607335cdc8872526d942e64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000004c697066733a2f2f6261667962656966357a6165697375626c73363361636f6b647a346c7273633470376b366a347735373265737a36377a736179676c6c70626a66612f6d657461646174612f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042697066733a2f2f6261666b72656964636a756478673477776132647236337a617a64716e727a623577716977677865696d7333743461626575783679337065776b34000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b000000000000000000000000ac560ea4a4cdcfedd12381680c74ed91197c3833
-----Decoded View---------------
Arg [0] : feeNumerator (uint96): 1000
Arg [1] : _baseTokenURI (string): ipfs://bafybeif5zaeisubls63acokdz4lrsc4p7k6j4w572esz67zsaygllpbjfa/metadata/
Arg [2] : _contractMetadataURI (string): ipfs://bafkreidcjudxg4wwa2dr63zazdqnrzb5wqiwgxeims3t4abeux6y3pewk4
Arg [3] : initialMint (address[]): 0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0x319a5efdD0a419BDf053A4BaDFae1537C038A60b,0xaC560Ea4a4cDcfEdD12381680C74ED91197C3833
-----Encoded View---------------
25 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 000000000000000000000000000000000000000000000000000000000000004c
Arg [5] : 697066733a2f2f6261667962656966357a6165697375626c73363361636f6b64
Arg [6] : 7a346c7273633470376b366a347735373265737a36377a736179676c6c70626a
Arg [7] : 66612f6d657461646174612f0000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [9] : 697066733a2f2f6261666b72656964636a756478673477776132647236337a61
Arg [10] : 7a64716e727a623577716977677865696d733374346162657578367933706577
Arg [11] : 6b34000000000000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [13] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [14] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [15] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [16] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [17] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [18] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [19] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [20] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [21] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [22] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [23] : 000000000000000000000000319a5efdd0a419bdf053a4badfae1537c038a60b
Arg [24] : 000000000000000000000000ac560ea4a4cdcfedd12381680c74ed91197c3833
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.