Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 21 from a total of 21 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 18989209 | 316 days ago | IN | 0 ETH | 0.00065552 | ||||
Safe Transfer Fr... | 17946492 | 462 days ago | IN | 0 ETH | 0.00086099 | ||||
Safe Transfer Fr... | 16798340 | 623 days ago | IN | 0 ETH | 0.00137427 | ||||
Safe Transfer Fr... | 16747233 | 631 days ago | IN | 0 ETH | 0.00095272 | ||||
Safe Transfer Fr... | 16747229 | 631 days ago | IN | 0 ETH | 0.00094988 | ||||
Set Approval For... | 16568857 | 656 days ago | IN | 0 ETH | 0.00076719 | ||||
Safe Transfer Fr... | 15890130 | 750 days ago | IN | 0 ETH | 0.00096156 | ||||
Safe Transfer Fr... | 15564796 | 796 days ago | IN | 0 ETH | 0.00032567 | ||||
Safe Transfer Fr... | 14741681 | 929 days ago | IN | 0 ETH | 0.00140654 | ||||
Safe Transfer Fr... | 14741676 | 929 days ago | IN | 0 ETH | 0.0020808 | ||||
Set Approval For... | 14717940 | 932 days ago | IN | 0 ETH | 0.00650653 | ||||
Transfer Ownersh... | 14717711 | 932 days ago | IN | 0 ETH | 0.00159154 | ||||
Batch Mint | 14717669 | 932 days ago | IN | 0 ETH | 0.03860156 | ||||
Batch Mint | 14717662 | 932 days ago | IN | 0 ETH | 0.00817022 | ||||
Mint | 14717647 | 932 days ago | IN | 0 ETH | 0.0043603 | ||||
Add Base URI | 14717641 | 932 days ago | IN | 0 ETH | 0.00979541 | ||||
Batch Mint | 14717594 | 932 days ago | IN | 0 ETH | 0.05132129 | ||||
Batch Mint | 14717562 | 932 days ago | IN | 0 ETH | 0.0090417 | ||||
Update Last Base... | 14717536 | 932 days ago | IN | 0 ETH | 0.00385089 | ||||
Mint | 14717325 | 933 days ago | IN | 0 ETH | 0.00634326 | ||||
0x60806040 | 14716991 | 933 days ago | IN | 0 ETH | 0.0968698 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
FacesOfLooksRare
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 888888 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol"; import {ERC2981} from "@openzeppelin/contracts/token/common/ERC2981.sol"; import {Strings, ERC721} from "./ERC721.sol"; /** * @title Faces of LooksRare * @notice LOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRAR'''''''''''''''''''''''''''''''''''OOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKS:. .;OOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOO,. .,KSRARELOOKSRARELOOKSR LOOKSRARELOOKSRAREL' ..',;:LOOKS::;,'.. 'RARELOOKSRARELOOKSR LOOKSRARELOOKSRAR. .,:LOOKSRARELOOKSRARELO:,. .RELOOKSRARELOOKSR LOOKSRARELOOKS:. .;RARELOOKSRARELOOKSRARELOOKSl;. .:OOKSRARELOOKSR LOOKSRARELOO;. .'OKSRARELOOKSRARELOOKSRARELOOKSRARE'. .;KSRARELOOKSR LOOKSRAREL,. .,LOOKSRARELOOK:;;:"""":;;;lELOOKSRARELO,. .,RARELOOKSR LOOKSRAR. .;okLOOKSRAREx:. .;OOKSRARELOOK;. .RELOOKSR LOOKS:. .:dOOOLOOKSRARE' .''''.. .OKSRARELOOKSR:. .LOOKSR LOx;. .cKSRARELOOKSRAR' 'LOOKSRAR' .KSRARELOOKSRARc.. .OKSR L;. .cxOKSRARELOOKSRAR. .LOOKS.RARE' ;kRARELOOKSRARExc. .;R LO' .;oOKSRARELOOKSRAl. .LOOKS.RARE. :kRARELOOKSRAREo;. 'SR LOOK;. .,KSRARELOOKSRAx, .;LOOKSR;. .oSRARELOOKSRAo,. .;OKSR LOOKSk:. .'RARELOOKSRARd;. .... 'oOOOOOOOOOOxc'. .:LOOKSR LOOKSRARc. .:dLOOKSRAREko;. .,lxOOOOOOOOOd:. .ARELOOKSR LOOKSRARELo' .;oOKSRARELOOxoc;,....,;:ldkOOOOOOOOkd;. 'SRARELOOKSR LOOKSRARELOOd,. .,lSRARELOOKSRARELOOKSRARELOOKSRkl,. .,OKSRARELOOKSR LOOKSRARELOOKSx;. ..;oxELOOKSRARELOOKSRARELOkxl:.. .:LOOKSRARELOOKSR LOOKSRARELOOKSRARc. .':cOKSRARELOOKSRALOc;'. .ARELOOKSRARELOOKSR LOOKSRARELOOKSRARELl' ...'',,,,''... 'SRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOo,. .,OKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSx;. .;xOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLO:. .:SRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKl. .lOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRo'. .'oLOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRARd;. .;xRELOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRARELO:. .:kRARELOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKl. .cOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKSRo' 'oLOOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKSRARE,. .,dRELOOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSR LOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSRARELOOKSRARELOOKSRLOOKSRARELOOKSRARELOOKSR */ contract FacesOfLooksRare is ERC721, ERC2981, Ownable { using Strings for uint256; // Total supply of the collection uint256 public totalSupply; // First tokenId for baseURIs uint256[] internal _firstTokenIdBaseURIs; // BaseURIs string[] internal _baseURIs; event NewBaseURI(string baseURI, uint256 firstTokenId); event UpdateLastBaseURI(string baseURI, uint256 firstTokenId); event UpdateDefaultRoyalty(address receiver, uint96 feeNumerator); event UpdateTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator); /** * @notice Constructor * @param _baseURI first baseURI * @param _royaltyRecipient address of the royalty recipient * @param _feeNumerator default fee percentage of this collection (e.g., 2,000 = 20%) */ constructor( string memory _baseURI, address _royaltyRecipient, uint96 _feeNumerator ) ERC721("Faces of LooksRare", "FLR") { _firstTokenIdBaseURIs.push(totalSupply); _baseURIs.push(_baseURI); _setDefaultRoyalty(_royaltyRecipient, _feeNumerator); } /** * @notice Add baseURI * @param _baseURI new baseURI */ function addBaseURI(string memory _baseURI) external onlyOwner { require(_firstTokenIdBaseURIs[_firstTokenIdBaseURIs.length - 1] != totalSupply, "Owner: Cannot double push"); _firstTokenIdBaseURIs.push(totalSupply); _baseURIs.push(_baseURI); emit NewBaseURI(_baseURI, totalSupply); } /** * @notice Batch mint new tokenIds * @param to array of receiver addresses */ function batchMint(address[] memory to) external onlyOwner { uint256 numberTokens = to.length; require(numberTokens > 0, "Batch mint: Length must be > 0"); for (uint256 i; i < numberTokens; i++) { _mint(to[i], totalSupply + i); } totalSupply += numberTokens; } /** * @notice Mint new tokenId * @param to receiver address */ function mint(address to) external onlyOwner { _mint(to, totalSupply++); } /** * @notice Update default royalty * @param receiver address of the royalty receiver * @param feeNumerator fee percentage (e.g., 2,000 = 20%) */ function updateDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner { if (receiver == address(0) || feeNumerator == 0) { require(receiver == address(0) && feeNumerator == 0, "Royalty: Wrong parameters"); _deleteDefaultRoyalty(); } else { _setDefaultRoyalty(receiver, feeNumerator); } emit UpdateDefaultRoyalty(receiver, feeNumerator); } /** * @notice Update last baseURI * @param _baseURI new baseURI * @param _firstTokenIdBaseURI tokenId for the first token using the baseURI */ function updateLastBaseURI(string memory _baseURI, uint256 _firstTokenIdBaseURI) external onlyOwner { uint256 currentLength = _baseURIs.length; // First tokenId must always be 0 if (currentLength > 1) { require(_firstTokenIdBaseURI > _firstTokenIdBaseURIs[currentLength - 2], "Update: TokenId must be higher"); _firstTokenIdBaseURIs[currentLength - 1] = _firstTokenIdBaseURI; } _baseURIs[currentLength - 1] = _baseURI; emit UpdateLastBaseURI(_baseURI, _firstTokenIdBaseURIs[currentLength - 1]); } /** * @notice Update token-specific royalty * @param tokenId tokenId * @param receiver address of the royalty receiver * @param feeNumerator fee percentage (e.g., 2,000 = 20%) */ function updateTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) external onlyOwner { require(_exists(tokenId), "Royalty: nonexistent token"); if (receiver == address(0) || feeNumerator == 0) { require(receiver == address(0) && feeNumerator == 0, "Royalty: Wrong parameters"); _resetTokenRoyalty(tokenId); } else { _setTokenRoyalty(tokenId, receiver, feeNumerator); } emit UpdateTokenRoyalty(tokenId, receiver, feeNumerator); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view override(ERC2981, ERC721) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view override returns (string memory tokenURI_) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); for (uint256 i; i < _firstTokenIdBaseURIs.length; i++) { if ( i + 1 == _firstTokenIdBaseURIs.length || (tokenId >= _firstTokenIdBaseURIs[i] && tokenId < _firstTokenIdBaseURIs[i + 1]) ) { tokenURI_ = string(abi.encodePacked(_baseURIs[i], tokenId.toString(), ".json")); return tokenURI_; } } } /** * @notice View baseURIs and first tokenIds * @param cursor cursor (should start at 0 for first request) * @param size size of the response (e.g., 50) */ function viewBaseURIs(uint256 cursor, uint256 size) public view returns ( string[] memory, uint256[] memory, uint256 ) { uint256 length = size; if (length > _baseURIs.length - cursor) { length = _baseURIs.length - cursor; } string[] memory baseURIs = new string[](length); uint256[] memory firstTokenIdBaseURIs = new uint256[](length); for (uint256 i; i < length; i++) { baseURIs[i] = _baseURIs[cursor + i]; firstTokenIdBaseURIs[i] = _firstTokenIdBaseURIs[cursor + i]; } return (baseURIs, firstTokenIdBaseURIs, cursor + length); } /** * @notice View number of distinct baseURIs */ function viewCountBaseURIs() public view returns (uint256) { return _baseURIs.length; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: * * - `tokenId` must be already minted. * - `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 pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/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. */ abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256) public view virtual override returns (string memory); /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } }
// 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.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 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) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
{ "optimizer": { "enabled": true, "runs": 888888 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_royaltyRecipient","type":"address"},{"internalType":"uint96","name":"_feeNumerator","type":"uint96"}],"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":false,"internalType":"string","name":"baseURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"}],"name":"NewBaseURI","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"UpdateDefaultRoyalty","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"}],"name":"UpdateLastBaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"UpdateTokenRoyalty","type":"event"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"addBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"batchMint","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":"to","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"tokenURI_","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"updateDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256","name":"_firstTokenIdBaseURI","type":"uint256"}],"name":"updateLastBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"updateTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cursor","type":"uint256"},{"internalType":"uint256","name":"size","type":"uint256"}],"name":"viewBaseURIs","outputs":[{"internalType":"string[]","name":"","type":"string[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewCountBaseURIs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200398a3803806200398a83398101604081905262000034916200037e565b60408051808201825260128152714661636573206f66204c6f6f6b735261726560701b60208083019182528351808501909452600384526223262960e91b9084015281519192916200008991600091620002a3565b5080516200009f906001906020840190620002a3565b505050620000bc620000b66200014860201b60201c565b6200014c565b600954600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80191909155600b80549182018155600052835162000132917f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db901906020860190620002a3565b506200013f82826200019e565b505050620004d4565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b0382161115620002125760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b0382166200026a5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162000209565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b828054620002b19062000481565b90600052602060002090601f016020900481019282620002d5576000855562000320565b82601f10620002f057805160ff191683800117855562000320565b8280016001018555821562000320579182015b828111156200032057825182559160200191906001019062000303565b506200032e92915062000332565b5090565b5b808211156200032e576000815560010162000333565b80516001600160a01b03811681146200036157600080fd5b919050565b80516001600160601b03811681146200036157600080fd5b6000806000606084860312156200039457600080fd5b83516001600160401b0380821115620003ac57600080fd5b818601915086601f830112620003c157600080fd5b815181811115620003d657620003d6620004be565b604051601f8201601f19908116603f01168101908382118183101715620004015762000401620004be565b816040528281526020935089848487010111156200041e57600080fd5b600091505b8282101562000442578482018401518183018501529083019062000423565b82821115620004545760008484830101525b96506200046691505086820162000349565b93505050620004786040850162000366565b90509250925092565b600181811c908216806200049657607f821691505b60208210811415620004b857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6134a680620004e46000396000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c806370a08231116100ee578063b88d4fde11610097578063d691e43c11610071578063d691e43c146103b8578063e2b1923b146103cb578063e985e9c5146103de578063f2fde38b1461042757600080fd5b8063b88d4fde1461037f578063c87b56dd14610392578063d67b06c1146103a557600080fd5b80638da5cb5b116100c85780638da5cb5b1461034657806395d89b4114610364578063a22cb4651461036c57600080fd5b806370a0823114610318578063715018a61461032b57806386e228d51461033357600080fd5b806323b872dd1161015b5780633c76622f116101355780633c76622f146102bd57806342842e0e146102df5780636352211e146102f25780636a6278421461030557600080fd5b806323b872dd1461025857806327cfa7d21461026b5780632a55205a1461027e57600080fd5b8063095ea7b31161018c578063095ea7b3146102285780631351ed731461023d57806318160ddd1461024f57600080fd5b806301ffc9a7146101b357806306fdde03146101db578063081812fc146101f0575b600080fd5b6101c66101c1366004612e16565b61043a565b60405190151581526020015b60405180910390f35b6101e361044b565b6040516101d291906131bb565b6102036101fe366004612eca565b6104dd565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d2565b61023b610236366004612d0e565b6105bc565b005b600b545b6040519081526020016101d2565b61024160095481565b61023b610266366004612c1a565b610749565b61023b610279366004612e50565b6107ea565b61029161028c366004612f1f565b6109b4565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016101d2565b6102d06102cb366004612f1f565b610aab565b6040516101d2939291906130fa565b61023b6102ed366004612c1a565b610cbd565b610203610300366004612eca565b610cd8565b61023b610313366004612bcc565b610d8a565b610241610326366004612bcc565b610e2d565b61023b610efb565b61023b610341366004612ee3565b610f88565b60085473ffffffffffffffffffffffffffffffffffffffff16610203565b6101e36111e9565b61023b61037a366004612cd2565b6111f8565b61023b61038d366004612c56565b611207565b6101e36103a0366004612eca565b6112af565b61023b6103b3366004612d62565b611443565b61023b6103c6366004612d38565b611596565b61023b6103d9366004612e85565b61175a565b6101c66103ec366004612be7565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b61023b610435366004612bcc565b611936565b600061044582611a63565b92915050565b60606000805461045a906132eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610486906132eb565b80156104d35780601f106104a8576101008083540402835291602001916104d3565b820191906000526020600020905b8154815290600101906020018083116104b657829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006105c782610cd8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161058a565b3373ffffffffffffffffffffffffffffffffffffffff821614806106ae57506106ae81336103ec565b61073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161058a565b6107448383611ab9565b505050565b6107533382611b59565b6107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161058a565b610744838383611cc9565b60085473ffffffffffffffffffffffffffffffffffffffff16331461086b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b600954600a805461087e906001906132a8565b8154811061088e5761088e6133e4565b90600052602060002001541415610901576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f776e65723a2043616e6e6f7420646f75626c65207075736800000000000000604482015260640161058a565b600954600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80191909155600b805491820181556000528151610975917f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db901906020840190612a51565b507fd587678e7c411598e9880645446de8d95a60b00aea16c7b8938cb3eef1a93dac816009546040516109a99291906131ce565b60405180910390a150565b600082815260076020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610a6f57506040805180820190915260065473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610a93906bffffffffffffffffffffffff168761326b565b610a9d9190613257565b915196919550909350505050565b600b5460609081906000908490610ac39087906132a8565b811115610adb57600b54610ad89087906132a8565b90505b60008167ffffffffffffffff811115610af657610af6613413565b604051908082528060200260200182016040528015610b2957816020015b6060815260200190600190039081610b145790505b50905060008267ffffffffffffffff811115610b4757610b47613413565b604051908082528060200260200182016040528015610b70578160200160208202803683370190505b50905060005b83811015610ca057600b610b8a828b61323f565b81548110610b9a57610b9a6133e4565b906000526020600020018054610baf906132eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdb906132eb565b8015610c285780601f10610bfd57610100808354040283529160200191610c28565b820191906000526020600020905b815481529060010190602001808311610c0b57829003601f168201915b5050505050838281518110610c3f57610c3f6133e4565b6020908102919091010152600a610c56828b61323f565b81548110610c6657610c666133e4565b9060005260206000200154828281518110610c8357610c836133e4565b602090810291909101015280610c9881613339565b915050610b76565b508181610cad858b61323f565b9550955095505050509250925092565b61074483838360405180602001604052806000815250611207565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161058a565b60085473ffffffffffffffffffffffffffffffffffffffff163314610e0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b60098054610e2a918391906000610e2183613339565b91905055611f30565b50565b600073ffffffffffffffffffffffffffffffffffffffff8216610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161058a565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60085473ffffffffffffffffffffffffffffffffffffffff163314610f7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b610f8660006120f2565b565b60085473ffffffffffffffffffffffffffffffffffffffff163314611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b60008381526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f526f79616c74793a206e6f6e6578697374656e7420746f6b656e000000000000604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff821615806110c357506bffffffffffffffffffffffff8116155b156111725773ffffffffffffffffffffffffffffffffffffffff82161580156110f857506bffffffffffffffffffffffff8116155b61115e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f526f79616c74793a2057726f6e6720706172616d657465727300000000000000604482015260640161058a565b60008381526007602052604081205561117d565b61117d838383612169565b6040805184815273ffffffffffffffffffffffffffffffffffffffff841660208201526bffffffffffffffffffffffff8316918101919091527f8219bae90c1815288c07ea441a930eb14c911bcee209d79219ff8098e9b243a2906060015b60405180910390a1505050565b60606001805461045a906132eb565b6112033383836122f3565b5050565b6112113383611b59565b61129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161058a565b6112a984848484612421565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611363576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161058a565b60005b600a5481101561143d57600a5461137e82600161323f565b14806113d85750600a8181548110611398576113986133e4565b906000526020600020015483101580156113d85750600a6113ba82600161323f565b815481106113ca576113ca6133e4565b906000526020600020015483105b1561142b57600b81815481106113f0576113f06133e4565b90600052602060002001611403846124c4565b604051602001611414929190612fa7565b604051602081830303815290604052915050919050565b8061143581613339565b915050611366565b50919050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146114c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b80518061152d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4261746368206d696e743a204c656e677468206d757374206265203e20300000604482015260640161058a565b60005b8181101561157a5761156883828151811061154d5761154d6133e4565b602002602001015182600954611563919061323f565b611f30565b8061157281613339565b915050611530565b50806009600082825461158d919061323f565b90915550505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff8216158061164657506bffffffffffffffffffffffff8116155b156116f05773ffffffffffffffffffffffffffffffffffffffff821615801561167b57506bffffffffffffffffffffffff8116155b6116e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f526f79616c74793a2057726f6e6720706172616d657465727300000000000000604482015260640161058a565b6116eb6000600655565b6116fa565b6116fa82826125f6565b6040805173ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff831660208201527fe643f702c57582349cab681dcd381d92c6afdb21ad79bbb906f76aa0cd37bc7b910160405180910390a15050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b600b5460018111156118a257600a6117f46002836132a8565b81548110611804576118046133e4565b90600052602060002001548211611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5570646174653a20546f6b656e4964206d757374206265206869676865720000604482015260640161058a565b81600a6118856001846132a8565b81548110611895576118956133e4565b6000918252602090912001555b82600b6118b06001846132a8565b815481106118c0576118c06133e4565b9060005260206000200190805190602001906118dd929190612a51565b507f473e7be9ecd19f773229aa2c0794969c27d08a8580f3adb8b00893ed32aa4a4a83600a61190d6001856132a8565b8154811061191d5761191d6133e4565b90600052602060002001546040516111dc9291906131ce565b60085473ffffffffffffffffffffffffffffffffffffffff1633146119b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff8116611a5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161058a565b610e2a816120f2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061044557506104458261276f565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190611b1382610cd8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161058a565b6000611c1583610cd8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c83575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b80611cc157508373ffffffffffffffffffffffffffffffffffffffff16611ca9846104dd565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16611ce982610cd8565b73ffffffffffffffffffffffffffffffffffffffff1614611d8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161058a565b73ffffffffffffffffffffffffffffffffffffffff8216611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161058a565b611e39600082611ab9565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290611e6f9084906132a8565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290611eaa90849061323f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff8216611fad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161058a565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061206f90849061323f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106bffffffffffffffffffffffff82161115612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c65507269636500000000000000000000000000000000000000000000606482015260840161058a565b73ffffffffffffffffffffffffffffffffffffffff8216612286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d65746572730000000000604482015260640161058a565b60408051808201825273ffffffffffffffffffffffffffffffffffffffff93841681526bffffffffffffffffffffffff9283166020808301918252600096875260079052919094209351905190911674010000000000000000000000000000000000000000029116179055565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61242c848484611cc9565b61243884848484612852565b6112a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161058a565b60608161250457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561252e578061251881613339565b91506125279050600a83613257565b9150612508565b60008167ffffffffffffffff81111561254957612549613413565b6040519080825280601f01601f191660200182016040528015612573576020820181803683370190505b5090505b8415611cc1576125886001836132a8565b9150612595600a86613372565b6125a090603061323f565b60f81b8183815181106125b5576125b56133e4565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506125ef600a86613257565b9450612577565b6127106bffffffffffffffffffffffff82161115612696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c65507269636500000000000000000000000000000000000000000000606482015260840161058a565b73ffffffffffffffffffffffffffffffffffffffff8216612713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161058a565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600655565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061280257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061044557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610445565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612a46576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906128c99033908990889088906004016130b1565b602060405180830381600087803b1580156128e357600080fd5b505af1925050508015612931575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261292e91810190612e33565b60015b6129fb573d80801561295f576040519150601f19603f3d011682016040523d82523d6000602084013e612964565b606091505b5080516129f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161058a565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611cc1565b506001949350505050565b828054612a5d906132eb565b90600052602060002090601f016020900481019282612a7f5760008555612ac5565b82601f10612a9857805160ff1916838001178555612ac5565b82800160010185558215612ac5579182015b82811115612ac5578251825591602001919060010190612aaa565b50612ad1929150612ad5565b5090565b5b80821115612ad15760008155600101612ad6565b600067ffffffffffffffff831115612b0457612b04613413565b612b3560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016131f0565b9050828152838383011115612b4957600080fd5b828260208301376000602084830101529392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612b8457600080fd5b919050565b600082601f830112612b9a57600080fd5b612ba983833560208501612aea565b9392505050565b80356bffffffffffffffffffffffff81168114612b8457600080fd5b600060208284031215612bde57600080fd5b612ba982612b60565b60008060408385031215612bfa57600080fd5b612c0383612b60565b9150612c1160208401612b60565b90509250929050565b600080600060608486031215612c2f57600080fd5b612c3884612b60565b9250612c4660208501612b60565b9150604084013590509250925092565b60008060008060808587031215612c6c57600080fd5b612c7585612b60565b9350612c8360208601612b60565b925060408501359150606085013567ffffffffffffffff811115612ca657600080fd5b8501601f81018713612cb757600080fd5b612cc687823560208401612aea565b91505092959194509250565b60008060408385031215612ce557600080fd5b612cee83612b60565b915060208301358015158114612d0357600080fd5b809150509250929050565b60008060408385031215612d2157600080fd5b612d2a83612b60565b946020939093013593505050565b60008060408385031215612d4b57600080fd5b612d5483612b60565b9150612c1160208401612bb0565b60006020808385031215612d7557600080fd5b823567ffffffffffffffff80821115612d8d57600080fd5b818501915085601f830112612da157600080fd5b813581811115612db357612db3613413565b8060051b9150612dc48483016131f0565b8181528481019084860184860187018a1015612ddf57600080fd5b600095505b83861015612e0957612df581612b60565b835260019590950194918601918601612de4565b5098975050505050505050565b600060208284031215612e2857600080fd5b8135612ba981613442565b600060208284031215612e4557600080fd5b8151612ba981613442565b600060208284031215612e6257600080fd5b813567ffffffffffffffff811115612e7957600080fd5b611cc184828501612b89565b60008060408385031215612e9857600080fd5b823567ffffffffffffffff811115612eaf57600080fd5b612ebb85828601612b89565b95602094909401359450505050565b600060208284031215612edc57600080fd5b5035919050565b600080600060608486031215612ef857600080fd5b83359250612f0860208501612b60565b9150612f1660408501612bb0565b90509250925092565b60008060408385031215612f3257600080fd5b50508035926020909101359150565b60008151808452612f598160208601602086016132bf565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008151612f9d8185602086016132bf565b9290920192915050565b600080845481600182811c915080831680612fc357607f831692505b6020808410821415612ffc577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613010576001811461303f5761306c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952848901965061306c565b60008b81526020902060005b868110156130645781548b82015290850190830161304b565b505084890196505b5050505050506130a861307f8286612f8b565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526130f06080830184612f41565b9695505050505050565b6000606082016060835280865180835260808501915060808160051b8601019250602080890160005b8381101561316f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8088870301855261315d868351612f41565b95509382019390820190600101613123565b50508584038187015287518085528882019482019350915060005b828110156131a65784518452938101939281019260010161318a565b50505060409390930193909352509392505050565b602081526000612ba96020830184612f41565b6040815260006131e16040830185612f41565b90508260208301529392505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561323757613237613413565b604052919050565b6000821982111561325257613252613386565b500190565b600082613266576132666133b5565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132a3576132a3613386565b500290565b6000828210156132ba576132ba613386565b500390565b60005b838110156132da5781810151838201526020016132c2565b838111156112a95750506000910152565b600181811c908216806132ff57607f821691505b6020821081141561143d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561336b5761336b613386565b5060010190565b600082613381576133816133b5565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610e2a57600080fdfea2646970667358221220750283177c75406a848a723283ae1e0e4816d9999ad79b751859c0ebe1e3bcf564736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000014a71154dbf968d0e01342e76b6c44e8dbd62cbc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6165475a675461584e53507468716a786e4d4a76473761756b467044357a423271636843596f57696d5754322f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c806370a08231116100ee578063b88d4fde11610097578063d691e43c11610071578063d691e43c146103b8578063e2b1923b146103cb578063e985e9c5146103de578063f2fde38b1461042757600080fd5b8063b88d4fde1461037f578063c87b56dd14610392578063d67b06c1146103a557600080fd5b80638da5cb5b116100c85780638da5cb5b1461034657806395d89b4114610364578063a22cb4651461036c57600080fd5b806370a0823114610318578063715018a61461032b57806386e228d51461033357600080fd5b806323b872dd1161015b5780633c76622f116101355780633c76622f146102bd57806342842e0e146102df5780636352211e146102f25780636a6278421461030557600080fd5b806323b872dd1461025857806327cfa7d21461026b5780632a55205a1461027e57600080fd5b8063095ea7b31161018c578063095ea7b3146102285780631351ed731461023d57806318160ddd1461024f57600080fd5b806301ffc9a7146101b357806306fdde03146101db578063081812fc146101f0575b600080fd5b6101c66101c1366004612e16565b61043a565b60405190151581526020015b60405180910390f35b6101e361044b565b6040516101d291906131bb565b6102036101fe366004612eca565b6104dd565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d2565b61023b610236366004612d0e565b6105bc565b005b600b545b6040519081526020016101d2565b61024160095481565b61023b610266366004612c1a565b610749565b61023b610279366004612e50565b6107ea565b61029161028c366004612f1f565b6109b4565b6040805173ffffffffffffffffffffffffffffffffffffffff90931683526020830191909152016101d2565b6102d06102cb366004612f1f565b610aab565b6040516101d2939291906130fa565b61023b6102ed366004612c1a565b610cbd565b610203610300366004612eca565b610cd8565b61023b610313366004612bcc565b610d8a565b610241610326366004612bcc565b610e2d565b61023b610efb565b61023b610341366004612ee3565b610f88565b60085473ffffffffffffffffffffffffffffffffffffffff16610203565b6101e36111e9565b61023b61037a366004612cd2565b6111f8565b61023b61038d366004612c56565b611207565b6101e36103a0366004612eca565b6112af565b61023b6103b3366004612d62565b611443565b61023b6103c6366004612d38565b611596565b61023b6103d9366004612e85565b61175a565b6101c66103ec366004612be7565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b61023b610435366004612bcc565b611936565b600061044582611a63565b92915050565b60606000805461045a906132eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610486906132eb565b80156104d35780601f106104a8576101008083540402835291602001916104d3565b820191906000526020600020905b8154815290600101906020018083116104b657829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610593576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006105c782610cd8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610685576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015260840161058a565b3373ffffffffffffffffffffffffffffffffffffffff821614806106ae57506106ae81336103ec565b61073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161058a565b6107448383611ab9565b505050565b6107533382611b59565b6107df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161058a565b610744838383611cc9565b60085473ffffffffffffffffffffffffffffffffffffffff16331461086b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b600954600a805461087e906001906132a8565b8154811061088e5761088e6133e4565b90600052602060002001541415610901576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4f776e65723a2043616e6e6f7420646f75626c65207075736800000000000000604482015260640161058a565b600954600a805460018181019092557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a80191909155600b805491820181556000528151610975917f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db901906020840190612a51565b507fd587678e7c411598e9880645446de8d95a60b00aea16c7b8938cb3eef1a93dac816009546040516109a99291906131ce565b60405180910390a150565b600082815260076020908152604080832081518083019092525473ffffffffffffffffffffffffffffffffffffffff8116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610a6f57506040805180820190915260065473ffffffffffffffffffffffffffffffffffffffff811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610a93906bffffffffffffffffffffffff168761326b565b610a9d9190613257565b915196919550909350505050565b600b5460609081906000908490610ac39087906132a8565b811115610adb57600b54610ad89087906132a8565b90505b60008167ffffffffffffffff811115610af657610af6613413565b604051908082528060200260200182016040528015610b2957816020015b6060815260200190600190039081610b145790505b50905060008267ffffffffffffffff811115610b4757610b47613413565b604051908082528060200260200182016040528015610b70578160200160208202803683370190505b50905060005b83811015610ca057600b610b8a828b61323f565b81548110610b9a57610b9a6133e4565b906000526020600020018054610baf906132eb565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdb906132eb565b8015610c285780601f10610bfd57610100808354040283529160200191610c28565b820191906000526020600020905b815481529060010190602001808311610c0b57829003601f168201915b5050505050838281518110610c3f57610c3f6133e4565b6020908102919091010152600a610c56828b61323f565b81548110610c6657610c666133e4565b9060005260206000200154828281518110610c8357610c836133e4565b602090810291909101015280610c9881613339565b915050610b76565b508181610cad858b61323f565b9550955095505050509250925092565b61074483838360405180602001604052806000815250611207565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610445576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e0000000000000000000000000000000000000000000000606482015260840161058a565b60085473ffffffffffffffffffffffffffffffffffffffff163314610e0b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b60098054610e2a918391906000610e2183613339565b91905055611f30565b50565b600073ffffffffffffffffffffffffffffffffffffffff8216610ed2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f206164647265737300000000000000000000000000000000000000000000606482015260840161058a565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60085473ffffffffffffffffffffffffffffffffffffffff163314610f7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b610f8660006120f2565b565b60085473ffffffffffffffffffffffffffffffffffffffff163314611009576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b60008381526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16611094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f526f79616c74793a206e6f6e6578697374656e7420746f6b656e000000000000604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff821615806110c357506bffffffffffffffffffffffff8116155b156111725773ffffffffffffffffffffffffffffffffffffffff82161580156110f857506bffffffffffffffffffffffff8116155b61115e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f526f79616c74793a2057726f6e6720706172616d657465727300000000000000604482015260640161058a565b60008381526007602052604081205561117d565b61117d838383612169565b6040805184815273ffffffffffffffffffffffffffffffffffffffff841660208201526bffffffffffffffffffffffff8316918101919091527f8219bae90c1815288c07ea441a930eb14c911bcee209d79219ff8098e9b243a2906060015b60405180910390a1505050565b60606001805461045a906132eb565b6112033383836122f3565b5050565b6112113383611b59565b61129d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606482015260840161058a565b6112a984848484612421565b50505050565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611363576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161058a565b60005b600a5481101561143d57600a5461137e82600161323f565b14806113d85750600a8181548110611398576113986133e4565b906000526020600020015483101580156113d85750600a6113ba82600161323f565b815481106113ca576113ca6133e4565b906000526020600020015483105b1561142b57600b81815481106113f0576113f06133e4565b90600052602060002001611403846124c4565b604051602001611414929190612fa7565b604051602081830303815290604052915050919050565b8061143581613339565b915050611366565b50919050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146114c4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b80518061152d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4261746368206d696e743a204c656e677468206d757374206265203e20300000604482015260640161058a565b60005b8181101561157a5761156883828151811061154d5761154d6133e4565b602002602001015182600954611563919061323f565b611f30565b8061157281613339565b915050611530565b50806009600082825461158d919061323f565b90915550505050565b60085473ffffffffffffffffffffffffffffffffffffffff163314611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff8216158061164657506bffffffffffffffffffffffff8116155b156116f05773ffffffffffffffffffffffffffffffffffffffff821615801561167b57506bffffffffffffffffffffffff8116155b6116e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f526f79616c74793a2057726f6e6720706172616d657465727300000000000000604482015260640161058a565b6116eb6000600655565b6116fa565b6116fa82826125f6565b6040805173ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff831660208201527fe643f702c57582349cab681dcd381d92c6afdb21ad79bbb906f76aa0cd37bc7b910160405180910390a15050565b60085473ffffffffffffffffffffffffffffffffffffffff1633146117db576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b600b5460018111156118a257600a6117f46002836132a8565b81548110611804576118046133e4565b90600052602060002001548211611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f5570646174653a20546f6b656e4964206d757374206265206869676865720000604482015260640161058a565b81600a6118856001846132a8565b81548110611895576118956133e4565b6000918252602090912001555b82600b6118b06001846132a8565b815481106118c0576118c06133e4565b9060005260206000200190805190602001906118dd929190612a51565b507f473e7be9ecd19f773229aa2c0794969c27d08a8580f3adb8b00893ed32aa4a4a83600a61190d6001856132a8565b8154811061191d5761191d6133e4565b90600052602060002001546040516111dc9291906131ce565b60085473ffffffffffffffffffffffffffffffffffffffff1633146119b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff8116611a5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161058a565b610e2a816120f2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a00000000000000000000000000000000000000000000000000000000148061044557506104458261276f565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190611b1382610cd8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16611c0a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e0000000000000000000000000000000000000000606482015260840161058a565b6000611c1583610cd8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611c83575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b80611cc157508373ffffffffffffffffffffffffffffffffffffffff16611ca9846104dd565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff16611ce982610cd8565b73ffffffffffffffffffffffffffffffffffffffff1614611d8c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e6572000000000000000000000000000000000000000000000000000000606482015260840161058a565b73ffffffffffffffffffffffffffffffffffffffff8216611e2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161058a565b611e39600082611ab9565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290611e6f9084906132a8565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290611eaa90849061323f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b73ffffffffffffffffffffffffffffffffffffffff8216611fad576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161058a565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1615612039576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020526040812080546001929061206f90849061323f565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6008805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106bffffffffffffffffffffffff82161115612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c65507269636500000000000000000000000000000000000000000000606482015260840161058a565b73ffffffffffffffffffffffffffffffffffffffff8216612286576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d65746572730000000000604482015260640161058a565b60408051808201825273ffffffffffffffffffffffffffffffffffffffff93841681526bffffffffffffffffffffffff9283166020808301918252600096875260079052919094209351905190911674010000000000000000000000000000000000000000029116179055565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612389576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161058a565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61242c848484611cc9565b61243884848484612852565b6112a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161058a565b60608161250457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561252e578061251881613339565b91506125279050600a83613257565b9150612508565b60008167ffffffffffffffff81111561254957612549613413565b6040519080825280601f01601f191660200182016040528015612573576020820181803683370190505b5090505b8415611cc1576125886001836132a8565b9150612595600a86613372565b6125a090603061323f565b60f81b8183815181106125b5576125b56133e4565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506125ef600a86613257565b9450612577565b6127106bffffffffffffffffffffffff82161115612696576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c65507269636500000000000000000000000000000000000000000000606482015260840161058a565b73ffffffffffffffffffffffffffffffffffffffff8216612713576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161058a565b6040805180820190915273ffffffffffffffffffffffffffffffffffffffff9092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600655565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061280257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061044557507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610445565b600073ffffffffffffffffffffffffffffffffffffffff84163b15612a46576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a02906128c99033908990889088906004016130b1565b602060405180830381600087803b1580156128e357600080fd5b505af1925050508015612931575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261292e91810190612e33565b60015b6129fb573d80801561295f576040519150601f19603f3d011682016040523d82523d6000602084013e612964565b606091505b5080516129f3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161058a565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611cc1565b506001949350505050565b828054612a5d906132eb565b90600052602060002090601f016020900481019282612a7f5760008555612ac5565b82601f10612a9857805160ff1916838001178555612ac5565b82800160010185558215612ac5579182015b82811115612ac5578251825591602001919060010190612aaa565b50612ad1929150612ad5565b5090565b5b80821115612ad15760008155600101612ad6565b600067ffffffffffffffff831115612b0457612b04613413565b612b3560207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016131f0565b9050828152838383011115612b4957600080fd5b828260208301376000602084830101529392505050565b803573ffffffffffffffffffffffffffffffffffffffff81168114612b8457600080fd5b919050565b600082601f830112612b9a57600080fd5b612ba983833560208501612aea565b9392505050565b80356bffffffffffffffffffffffff81168114612b8457600080fd5b600060208284031215612bde57600080fd5b612ba982612b60565b60008060408385031215612bfa57600080fd5b612c0383612b60565b9150612c1160208401612b60565b90509250929050565b600080600060608486031215612c2f57600080fd5b612c3884612b60565b9250612c4660208501612b60565b9150604084013590509250925092565b60008060008060808587031215612c6c57600080fd5b612c7585612b60565b9350612c8360208601612b60565b925060408501359150606085013567ffffffffffffffff811115612ca657600080fd5b8501601f81018713612cb757600080fd5b612cc687823560208401612aea565b91505092959194509250565b60008060408385031215612ce557600080fd5b612cee83612b60565b915060208301358015158114612d0357600080fd5b809150509250929050565b60008060408385031215612d2157600080fd5b612d2a83612b60565b946020939093013593505050565b60008060408385031215612d4b57600080fd5b612d5483612b60565b9150612c1160208401612bb0565b60006020808385031215612d7557600080fd5b823567ffffffffffffffff80821115612d8d57600080fd5b818501915085601f830112612da157600080fd5b813581811115612db357612db3613413565b8060051b9150612dc48483016131f0565b8181528481019084860184860187018a1015612ddf57600080fd5b600095505b83861015612e0957612df581612b60565b835260019590950194918601918601612de4565b5098975050505050505050565b600060208284031215612e2857600080fd5b8135612ba981613442565b600060208284031215612e4557600080fd5b8151612ba981613442565b600060208284031215612e6257600080fd5b813567ffffffffffffffff811115612e7957600080fd5b611cc184828501612b89565b60008060408385031215612e9857600080fd5b823567ffffffffffffffff811115612eaf57600080fd5b612ebb85828601612b89565b95602094909401359450505050565b600060208284031215612edc57600080fd5b5035919050565b600080600060608486031215612ef857600080fd5b83359250612f0860208501612b60565b9150612f1660408501612bb0565b90509250925092565b60008060408385031215612f3257600080fd5b50508035926020909101359150565b60008151808452612f598160208601602086016132bf565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b60008151612f9d8185602086016132bf565b9290920192915050565b600080845481600182811c915080831680612fc357607f831692505b6020808410821415612ffc577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613010576001811461303f5761306c565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0086168952848901965061306c565b60008b81526020902060005b868110156130645781548b82015290850190830161304b565b505084890196505b5050505050506130a861307f8286612f8b565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526130f06080830184612f41565b9695505050505050565b6000606082016060835280865180835260808501915060808160051b8601019250602080890160005b8381101561316f577fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8088870301855261315d868351612f41565b95509382019390820190600101613123565b50508584038187015287518085528882019482019350915060005b828110156131a65784518452938101939281019260010161318a565b50505060409390930193909352509392505050565b602081526000612ba96020830184612f41565b6040815260006131e16040830185612f41565b90508260208301529392505050565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561323757613237613413565b604052919050565b6000821982111561325257613252613386565b500190565b600082613266576132666133b5565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156132a3576132a3613386565b500290565b6000828210156132ba576132ba613386565b500390565b60005b838110156132da5781810151838201526020016132c2565b838111156112a95750506000910152565b600181811c908216806132ff57607f821691505b6020821081141561143d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561336b5761336b613386565b5060010190565b600082613381576133816133b5565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610e2a57600080fdfea2646970667358221220750283177c75406a848a723283ae1e0e4816d9999ad79b751859c0ebe1e3bcf564736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000014a71154dbf968d0e01342e76b6c44e8dbd62cbc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6165475a675461584e53507468716a786e4d4a76473761756b467044357a423271636843596f57696d5754322f00000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): ipfs://QmaeGZgTaXNSPthqjxnMJvG7aukFpD5zB2qchCYoWimWT2/
Arg [1] : _royaltyRecipient (address): 0x14a71154dBf968D0e01342e76B6c44e8dBd62CBc
Arg [2] : _feeNumerator (uint96): 0
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000014a71154dbf968d0e01342e76b6c44e8dbd62cbc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [4] : 697066733a2f2f516d6165475a675461584e53507468716a786e4d4a76473761
Arg [5] : 756b467044357a423271636843596f57696d5754322f00000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.