Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 5 from a total of 5 transactions
Loading...
Loading
Contract Name:
ERC721EPV2
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; /********************************************************************************************************************************************* _______ _______ _______ ___ ___ _______ ______ __ _ _______ _______ __ __ _______ ___ _ _______ ______ | || || || | | | | _ || _ | | | | || || | | |_| || _ || | | || || _ | | _____||_ _|| ___|| | | | | |_| || | || | |_| || ___||_ _| | || |_| || |_| || ___|| | || | |_____ | | | |___ | | | | | || |_||_ | || |___ | | | || || _|| |___ | |_||_ |_____ | | | | ___|| |___ | |___ | || __ | | _ || ___| | | | || || |_ | ___|| __ | _____| | | | | |___ | || || _ || | | | | | | || | | | | ||_|| || _ || _ || |___ | | | | |_______| |___| |_______||_______||_______||__| |__||___| |_| |_| |__||___| |___| |_| |_||__| |__||___| |_||_______||___| |_| ____ ____ ___ ____ ____ __ ____ ____ _ _ ____ ( __)( _ \ / __)___(__ )(___ \ / \( __)( _ \ / )( \(___ \ ) _) ) /( (__(___) / / / __/(_/ / ) _) ) __/ \ \/ / / __/ (____)(__\_) \___) (_/ (____) (__)(____)(__) \__/ (____) Special thanks to MEGAMI Team ( https://www.megami.io/ ) ForgottenRunesWarriorsGuild ( https://www.forgottenrunes.com/ ) Chuck K. *********************************************************************************************************************************************/ import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./rarible/royalties/contracts/LibPart.sol"; import "./rarible/royalties/contracts/LibRoyaltiesV2.sol"; import "./rarible/royalties/contracts/RoyaltiesV2.sol"; contract ERC721EPV2 is ERC721, ERC721URIStorage, Ownable, RoyaltiesV2 { using Strings for uint256; // SNM Finalaize flag bool private _final = false; // SNM Freez flag mapping(uint256 => bool) private _freez; // SNM Mint Fee uint256 private _mintFee = 0.03 ether; // SNM automatic freezing flag bool private _autoFreeze = true; // Mint upper limit uint256 private _maxSupply = 10000; // SNM Emergency Mode Flag bool private _emergencyLock = false; // SNM Multi supporter Addresses address[] private supporterAddresses = [ 0xCF9542a8522E685a46007319Af9C39F4Fde9d88a, // SNM Superuser 0x2fa56A56aB5f3447752fF8D0FcbC88bf2e58B3B6 ]; // Total Supply uint256 public totalSupply = 0; // Royality management bytes4 public constant _INTERFACE_ID_ERC2981 = 0x2a55205a; address payable public defaultRoyaltiesReceipientAddress; // This will be set in the constructor uint96 public defaultPercentageBasisPoints = 1000; // 10% // Finalizing event event ContractFinalize(address indexed sender); // Constract constructor(string memory name, string memory symbol, uint96 royalty, uint256 mintFee) ERC721(name, symbol) { _mintFee = mintFee; defaultRoyaltiesReceipientAddress = payable(address(this)); defaultPercentageBasisPoints = royalty; } /** * @dev check supporter for modifier, */ function checkSupporter() private view returns(bool) { uint256 matchSupporter = 0; for (uint i = 0; i < supporterAddresses.length; i++) { if(supporterAddresses[i] == msg.sender){ matchSupporter++; } } return(matchSupporter > 0); } /** * @dev check owner or supporter for modifier, */ function checkAdmin() private view returns(bool) { return(checkSupporter() || msg.sender == owner()); } /** * @dev onlyAdmin modifier */ modifier onlyAdmin() { require(checkAdmin(), "Ownable: caller is not the Owner or Supporter"); _; } /** * @dev OnlySupporter modifier */ modifier onlySupporter() { require(checkSupporter(), "Supportable: caller is not the Supporter"); _; } /** * @dev EmergencyMode modifier */ modifier emergencyMode() { require(!_emergencyLock, "Contract Locked"); _; } /** * @dev append supporter */ function setSupporter(address supporter_) public onlySupporter { supporterAddresses.push(supporter_); } /** * @dev change supporter by index */ function setSupporter(address supporter_, uint256 index) public onlySupporter { supporterAddresses[index] = supporter_; } /** * @dev get super supporter */ function supporter() public view returns(address) { return(supporterAddresses[0]); } /** * @dev get supporter by index */ function supporter(uint256 index) public view returns(address) { return(supporterAddresses[index]); } /** * @dev disable Ownerble renounceOwnership */ function renounceOwnership() public onlyAdmin override {} /** * @dev ERC721 beforeTokenTransfer */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override emergencyMode { super._beforeTokenTransfer(from, to, tokenId); } /** * @dev ERC721 transferFrom */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override(ERC721) emergencyMode { super.safeTransferFrom(from, to, tokenId); } /** * @dev ERC721 safeTransferFrom */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override(ERC721) emergencyMode { super.safeTransferFrom(from, to, tokenId); } /** * @dev ERC721 safeTransferFrom */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override(ERC721) emergencyMode { super.safeTransferFrom(from, to, tokenId, _data); } /** * @dev getting latest owner fee. */ function getOwnerFee() public view returns(uint256) { return address(this).balance; } /** * @dev do withdraw eth. */ function withdrawETH() external virtual onlyAdmin emergencyMode { uint256 royalty = address(this).balance; Address.sendValue(payable(owner()), royalty); } /** * @dev checking a self-owned token. * @param tokenId token ID */ function tokenOwnerIsCreator(uint256 tokenId) internal view returns (bool) { return ownerOf(tokenId) == owner(); } /** * @dev can change URI of token. * @param tokenId token ID * @param itemName URI */ function _setTokenURI(uint256 tokenId, string memory itemName) internal override emergencyMode { super._setTokenURI(tokenId, itemName); } /** * @dev can change URI of token if SuperSupporter. * @param tokenId token ID * @param uri URI */ function putTokenURI(uint256 tokenId, string memory uri) external onlySupporter { require(!_final, "Already Finalized"); require(tokenOwnerIsCreator(tokenId), "Can not write"); _setTokenURI(tokenId, uri); } /** * @dev enable automatic freezing. */ function enableAutoFreez() public virtual onlySupporter { _autoFreeze = true; } /** * @dev disable automatic freezing. */ function disableAutoFreez() public virtual onlySupporter { _autoFreeze = false; } /** * @dev set SNM plan fee. */ function setMintFee(uint256 fee) public onlySupporter { _mintFee = fee; } /** * @dev SNM plan fee. */ function getMintFee() external view returns(uint256) { return _mintFee; } /** * @dev do minting token [only owner]. * @param uri URI */ function mint(string memory uri) public payable onlyOwner emergencyMode { require(msg.value >= _mintFee, "Need to send ETH"); require(!_final, "Already Finalized"); uint256 currentNumber = totalSupply + 1; _safeMint(_msgSender(), currentNumber); _setTokenURI(currentNumber, uri); Address.sendValue(payable(supporterAddresses[0]), msg.value); if(_autoFreeze){ freezing(currentNumber); } totalSupply = currentNumber; } /** * @dev do token burn. * @param tokenId token ID */ function burn(uint256 tokenId) external onlyAdmin emergencyMode { _burn(tokenId); } /** * @dev get token URI. * @param tokenId token ID */ function tokenURI(uint256 tokenId) public view virtual override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } /** * @dev do emergency lock. */ function emergencyLock() public virtual onlyAdmin { _emergencyLock = true; _transferOwnership(supporterAddresses[0]); } /** * @dev unlocked emergency lock. */ function emergencyUnLock() external onlyAdmin { _emergencyLock = false; } /** * @dev call by burn */ function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } /** * @dev do contract finalizing. */ function finalize() public virtual onlySupporter { _final = true; emit ContractFinalize(_msgSender()); } /** * @dev do token freezing. * @param tokenId token ID */ function freezing(uint256 tokenId) public onlyAdmin emergencyMode { _freez[tokenId] = true; } /** * @dev can not change contract if finalizing. */ function isFinalize() external view returns( bool ) { return _final; } /** * @dev can not change token if freezing. * @param tokenId token ID */ function isFreezing(uint256 tokenId) external view returns( bool ) { return _freez[tokenId]; } // Copied from ForgottenRunesWarriorsGuild. Thank you dotta ;) /** * @dev ERC20s should not be sent to this contract, but if someone * does, it's nice to be able to recover them * @param token IERC20 the token address * @param amount uint256 the amount to send */ function forwardERC20s(IERC20 token, uint256 amount) public onlyAdmin { require(address(msg.sender) != address(0)); token.transfer(msg.sender, amount); } // Royality management /** * @dev set defaultRoyaltiesReceipientAddress * @param _defaultRoyaltiesReceipientAddress address New royality receipient address */ function setDefaultRoyaltiesReceipientAddress(address payable _defaultRoyaltiesReceipientAddress) public onlyAdmin { defaultRoyaltiesReceipientAddress = _defaultRoyaltiesReceipientAddress; } /** * @dev set defaultPercentageBasisPoints * @param _defaultPercentageBasisPoints uint96 New royality percentagy basis points */ function setDefaultPercentageBasisPoints(uint96 _defaultPercentageBasisPoints) public onlyAdmin { defaultPercentageBasisPoints = _defaultPercentageBasisPoints; } /** * @dev return royality for Rarible */ function getRaribleV2Royalties(uint256) external view override returns (LibPart.Part[] memory) { LibPart.Part[] memory _royalties = new LibPart.Part[](1); _royalties[0].value = defaultPercentageBasisPoints; _royalties[0].account = defaultRoyaltiesReceipientAddress; return _royalties; } /** * @dev return royality in EIP-2981 standard * @param _salePrice uint256 sales price of the token royality is calculated */ function royaltyInfo(uint256, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { return (defaultRoyaltiesReceipientAddress, (_salePrice * defaultPercentageBasisPoints) / 10000); } /** * @dev Interface */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { if (interfaceId == LibRoyaltiesV2._INTERFACE_ID_ROYALTIES) { return true; } if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibPart { bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)"); struct Part { address payable account; uint96 value; } function hash(Part memory part) internal pure returns (bytes32){ return keccak256(abi.encode(TYPE_HASH, part.account, part.value)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; library LibRoyaltiesV2 { /* * bytes4(keccak256('getRoyalties(LibAsset.AssetType)')) == 0xcad96cca */ bytes4 constant _INTERFACE_ID_ROYALTIES = 0xcad96cca; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./LibPart.sol"; interface RoyaltiesV2 { event RoyaltiesSet(uint256 tokenId, LibPart.Part[] royalties); function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint96","name":"royalty","type":"uint96"},{"internalType":"uint256","name":"mintFee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"ContractFinalize","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"indexed":false,"internalType":"struct LibPart.Part[]","name":"royalties","type":"tuple[]"}],"name":"RoyaltiesSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_INTERFACE_ID_ERC2981","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultPercentageBasisPoints","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultRoyaltiesReceipientAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableAutoFreez","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyUnLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableAutoFreez","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finalize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"forwardERC20s","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"freezing","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":[],"name":"getMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwnerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFinalize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isFreezing","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"uri","type":"string"}],"name":"putTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint96","name":"_defaultPercentageBasisPoints","type":"uint96"}],"name":"setDefaultPercentageBasisPoints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_defaultRoyaltiesReceipientAddress","type":"address"}],"name":"setDefaultRoyaltiesReceipientAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setMintFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"supporter_","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"setSupporter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"supporter_","type":"address"}],"name":"setSupporter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supporter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"supporter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6007805460ff60a01b19169055666a94d74f430000600955600a805460ff19908116600117909155612710600b55600c8054909116905560c060405273cf9542a8522e685a46007319af9c39f4fde9d88a6080908152732fa56a56ab5f3447752ff8d0fcbc88bf2e58b3b660a0526200007d90600d9060026200018a565b506000600e55600f80546001600160a01b0316607d60a31b179055348015620000a557600080fd5b506040516200309538038062003095833981016040819052620000c8916200033f565b835184908490620000e1906000906020850190620001f4565b508051620000f7906001906020840190620001f4565b505050620001146200010e6200013460201b60201c565b62000138565b6009556001600160601b0316600160a01b023017600f5550620004259050565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054828255906000526020600020908101928215620001e2579160200282015b82811115620001e257825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001ab565b50620001f092915062000271565b5090565b8280546200020290620003d2565b90600052602060002090601f016020900481019282620002265760008555620001e2565b82601f106200024157805160ff1916838001178555620001e2565b82800160010185558215620001e2579182015b82811115620001e257825182559160200191906001019062000254565b5b80821115620001f0576000815560010162000272565b600082601f8301126200029a57600080fd5b81516001600160401b0380821115620002b757620002b76200040f565b604051601f8301601f19908116603f01168101908282118183101715620002e257620002e26200040f565b81604052838152602092508683858801011115620002ff57600080fd5b600091505b8382101562000323578582018301518183018401529082019062000304565b83821115620003355760008385830101525b9695505050505050565b600080600080608085870312156200035657600080fd5b84516001600160401b03808211156200036e57600080fd5b6200037c8883890162000288565b955060208701519150808211156200039357600080fd5b50620003a28782880162000288565b604087015190945090506001600160601b0381168114620003c257600080fd5b6060959095015193969295505050565b600181811c90821680620003e757607f821691505b602082108114156200040957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612c6080620004356000396000f3fe6080604052600436106102675760003560e01c80638da5cb5b11610144578063cd3a8e27116100b6578063e541046c1161007a578063e541046c14610732578063e985e9c514610745578063ed00c02d1461078e578063eddd0d9c146107ae578063f1e030da146107ce578063f2fde38b146107ee57600080fd5b8063cd3a8e27146106b5578063ce7b9c18146106d5578063d85d3d27146106f5578063d9c693cb14610708578063e086e5ec1461071d57600080fd5b8063a22cb46511610108578063a22cb465146105f3578063a3c1954e14610613578063abcc6f6e14610628578063b88d4fde14610648578063c87b56dd14610668578063cad96cca1461068857600080fd5b80638da5cb5b1461052d57806395d89b411461054b5780639727151a1461056057806397a6a8ed146105805780639a6a9670146105b457600080fd5b80634bb278f3116101dd57806370a08231116101a157806370a082311461047e578063715018a61461049e578063741f7605146104b357806374d47044146104c85780637a5caab3146104f85780638cffd16a1461050d57600080fd5b80634bb278f3146103ea5780636352211e146103ff578063671e44051461041f5780636cf0b4ec1461043e5780636e9cf2da1461045e57600080fd5b806318160ddd1161022f57806318160ddd1461033257806323b872dd146103565780632a55205a1461037657806342842e0e1461035657806342966c68146103b557806345f78158146103d557600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb578063180e7f471461031d575b600080fd5b34801561027857600080fd5b5061028c61028736600461276b565b61080e565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610861565b604051610298919061297e565b3480156102cf57600080fd5b506102e36102de3660046127da565b6108f3565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061031b610316366004612722565b610980565b005b34801561032957600080fd5b5061031b610a96565b34801561033e57600080fd5b50610348600e5481565b604051908152602001610298565b34801561036257600080fd5b5061031b610371366004612633565b610ac6565b34801561038257600080fd5b5061039661039136600461283a565b610af4565b604080516001600160a01b039093168352602083019190915201610298565b3480156103c157600080fd5b5061031b6103d03660046127da565b610b3a565b3480156103e157600080fd5b5061031b610b8d565b3480156103f657600080fd5b5061031b610bbd565b34801561040b57600080fd5b506102e361041a3660046127da565b610c32565b34801561042b57600080fd5b50600754600160a01b900460ff1661028c565b34801561044a57600080fd5b5061031b610459366004612722565b610ca9565b34801561046a57600080fd5b5061031b6104793660046125dd565b610d13565b34801561048a57600080fd5b506103486104993660046125dd565b610d89565b3480156104aa57600080fd5b5061031b610e10565b3480156104bf57600080fd5b5061031b610e36565b3480156104d457600080fd5b5061028c6104e33660046127da565b60009081526008602052604090205460ff1690565b34801561050457600080fd5b50600954610348565b34801561051957600080fd5b5061031b6105283660046125dd565b610e69565b34801561053957600080fd5b506007546001600160a01b03166102e3565b34801561055757600080fd5b506102b6610eaf565b34801561056c57600080fd5b5061031b61057b366004612722565b610ebe565b34801561058c57600080fd5b5061059b63152a902d60e11b81565b6040516001600160e01b03199091168152602001610298565b3480156105c057600080fd5b50600f546105db90600160a01b90046001600160601b031681565b6040516001600160601b039091168152602001610298565b3480156105ff57600080fd5b5061031b61060e3660046126f4565b610f6c565b34801561061f57600080fd5b506102e3610f7b565b34801561063457600080fd5b506102e36106433660046127da565b610fab565b34801561065457600080fd5b5061031b610663366004612674565b610fdb565b34801561067457600080fd5b506102b66106833660046127da565b611010565b34801561069457600080fd5b506106a86106a33660046127da565b61101b565b604051610298919061291d565b3480156106c157600080fd5b50600f546102e3906001600160a01b031681565b3480156106e157600080fd5b5061031b6106f03660046127f3565b6110e2565b61031b6107033660046127a5565b6111a3565b34801561071457600080fd5b5061031b611326565b34801561072957600080fd5b5061031b611389565b34801561073e57600080fd5b5047610348565b34801561075157600080fd5b5061028c6107603660046125fa565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561079a57600080fd5b5061031b6107a936600461285c565b6113ec565b3480156107ba57600080fd5b5061031b6107c93660046127da565b611438565b3480156107da57600080fd5b5061031b6107e93660046127da565b611461565b3480156107fa57600080fd5b5061031b6108093660046125dd565b6114c3565b60006001600160e01b0319821663656cb66560e11b141561083157506001919050565b6001600160e01b0319821663152a902d60e11b141561085257506001919050565b61085b8261158b565b92915050565b60606000805461087090612b2f565b80601f016020809104026020016040519081016040528092919081815260200182805461089c90612b2f565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b60006108fe826115db565b6109645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061098b82610c32565b9050806001600160a01b0316836001600160a01b031614156109f95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161095b565b336001600160a01b0382161480610a155750610a158133610760565b610a875760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161095b565b610a9183836115f8565b505050565b610a9e611666565b610aba5760405162461bcd60e51b815260040161095b906129e3565b600a805460ff19169055565b600c5460ff1615610ae95760405162461bcd60e51b815260040161095b90612a78565b610a918383836116d5565b600f5460009081906001600160a01b0381169061271090610b2590600160a01b90046001600160601b031686612acd565b610b2f9190612ab9565b915091509250929050565b610b426116f0565b610b5e5760405162461bcd60e51b815260040161095b90612a2b565b600c5460ff1615610b815760405162461bcd60e51b815260040161095b90612a78565b610b8a81611714565b50565b610b956116f0565b610bb15760405162461bcd60e51b815260040161095b90612a2b565b600c805460ff19169055565b610bc5611666565b610be15760405162461bcd60e51b815260040161095b906129e3565b6007805460ff60a01b1916600160a01b179055610bfb3390565b6001600160a01b03167f215fc4b87c592fbc409dba46dec6c6d8fc5bf0145eded9711aeee3ca4199796460405160405180910390a2565b6000818152600260205260408120546001600160a01b03168061085b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161095b565b610cb1611666565b610ccd5760405162461bcd60e51b815260040161095b906129e3565b81600d8281548110610ce157610ce1612bc5565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b610d1b611666565b610d375760405162461bcd60e51b815260040161095b906129e3565b600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610df45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161095b565b506001600160a01b031660009081526003602052604090205490565b610e186116f0565b610e345760405162461bcd60e51b815260040161095b90612a2b565b565b610e3e611666565b610e5a5760405162461bcd60e51b815260040161095b906129e3565b600a805460ff19166001179055565b610e716116f0565b610e8d5760405162461bcd60e51b815260040161095b90612a2b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60606001805461087090612b2f565b610ec66116f0565b610ee25760405162461bcd60e51b815260040161095b90612a2b565b33610eec57600080fd5b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610f3457600080fd5b505af1158015610f48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a91919061274e565b610f7733838361171d565b5050565b6000600d600081548110610f9157610f91612bc5565b6000918252602090912001546001600160a01b0316919050565b6000600d8281548110610fc057610fc0612bc5565b6000918252602090912001546001600160a01b031692915050565b600c5460ff1615610ffe5760405162461bcd60e51b815260040161095b90612a78565b61100a848484846117ec565b50505050565b606061085b82611868565b60408051600180825281830190925260609160009190816020015b6040805180820190915260008082526020820152815260200190600190039081611036579050509050600f60149054906101000a90046001600160601b03168160008151811061108857611088612bc5565b6020908102919091018101516001600160601b03909216910152600f5481516001600160a01b039091169082906000906110c4576110c4612bc5565b60209081029190910101516001600160a01b03909116905292915050565b6110ea611666565b6111065760405162461bcd60e51b815260040161095b906129e3565b600754600160a01b900460ff16156111545760405162461bcd60e51b8152602060048201526011602482015270105b1c9958591e48119a5b985b1a5e9959607a1b604482015260640161095b565b61115d826119df565b6111995760405162461bcd60e51b815260206004820152600d60248201526c43616e206e6f7420777269746560981b604482015260640161095b565b610f778282611a15565b6007546001600160a01b031633146111fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161095b565b600c5460ff16156112205760405162461bcd60e51b815260040161095b90612a78565b6009543410156112655760405162461bcd60e51b815260206004820152601060248201526f09ccacac840e8de40e6cadcc8408aa8960831b604482015260640161095b565b600754600160a01b900460ff16156112b35760405162461bcd60e51b8152602060048201526011602482015270105b1c9958591e48119a5b985b1a5e9959607a1b604482015260640161095b565b6000600e5460016112c49190612aa1565b90506112d03382611a42565b6112da8183611a15565b61130c600d6000815481106112f1576112f1612bc5565b6000918252602090912001546001600160a01b031634611a5c565b600a5460ff16156113205761132081611461565b600e5550565b61132e6116f0565b61134a5760405162461bcd60e51b815260040161095b90612a2b565b600c805460ff19166001179055600d8054610e34919060009061136f5761136f612bc5565b6000918252602090912001546001600160a01b0316611b75565b6113916116f0565b6113ad5760405162461bcd60e51b815260040161095b90612a2b565b600c5460ff16156113d05760405162461bcd60e51b815260040161095b90612a78565b47610b8a6113e66007546001600160a01b031690565b82611a5c565b6113f46116f0565b6114105760405162461bcd60e51b815260040161095b90612a2b565b600f80546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b611440611666565b61145c5760405162461bcd60e51b815260040161095b906129e3565b600955565b6114696116f0565b6114855760405162461bcd60e51b815260040161095b90612a2b565b600c5460ff16156114a85760405162461bcd60e51b815260040161095b90612a78565b6000908152600860205260409020805460ff19166001179055565b6007546001600160a01b0316331461151d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161095b565b6001600160a01b0381166115825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161095b565b610b8a81611b75565b60006001600160e01b031982166380ac58cd60e01b14806115bc57506001600160e01b03198216635b5e139f60e01b145b8061085b57506301ffc9a760e01b6001600160e01b031983161461085b565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061162d82610c32565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080805b600d548110156116cd57336001600160a01b0316600d828154811061169257611692612bc5565b6000918252602090912001546001600160a01b031614156116bb57816116b781612b6a565b9250505b806116c581612b6a565b91505061166b565b501515919050565b610a9183838360405180602001604052806000815250610fdb565b60006116fa611666565b8061170f57506007546001600160a01b031633145b905090565b610b8a81611bc7565b816001600160a01b0316836001600160a01b0316141561177f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161095b565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117f63383611c07565b61185c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606482015260840161095b565b61100a84848484611cf0565b6060611873826115db565b6118d95760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161095b565b600082815260066020526040812080546118f290612b2f565b80601f016020809104026020016040519081016040528092919081815260200182805461191e90612b2f565b801561196b5780601f106119405761010080835404028352916020019161196b565b820191906000526020600020905b81548152906001019060200180831161194e57829003601f168201915b50505050509050600061198960408051602081019091526000815290565b905080516000141561199c575092915050565b8151156119ce5780826040516020016119b69291906128b1565b60405160208183030381529060405292505050919050565b6119d784611d23565b949350505050565b60006119f36007546001600160a01b031690565b6001600160a01b0316611a0583610c32565b6001600160a01b03161492915050565b600c5460ff1615611a385760405162461bcd60e51b815260040161095b90612a78565b610f778282611dfb565b610f77828260405180602001604052806000815250611e86565b80471015611aac5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161095b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611af9576040519150601f19603f3d011682016040523d82523d6000602084013e611afe565b606091505b5050905080610a915760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161095b565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611bd081611eb9565b60008181526006602052604090208054611be990612b2f565b159050610b8a576000818152600660205260408120610b8a91612474565b6000611c12826115db565b611c735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161095b565b6000611c7e83610c32565b9050806001600160a01b0316846001600160a01b03161480611cc557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806119d75750836001600160a01b0316611cde846108f3565b6001600160a01b031614949350505050565b611cfb848484611f60565b611d0784848484612107565b61100a5760405162461bcd60e51b815260040161095b90612991565b6060611d2e826115db565b611d925760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161095b565b6000611da960408051602081019091526000815290565b90506000815111611dc95760405180602001604052806000815250611df4565b80611dd384612214565b604051602001611de49291906128b1565b6040516020818303038152906040525b9392505050565b611e04826115db565b611e675760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161095b565b60008281526006602090815260409091208251610a91928401906124ae565b611e908383612312565b611e9d6000848484612107565b610a915760405162461bcd60e51b815260040161095b90612991565b6000611ec482610c32565b9050611ed281600084612451565b611edd6000836115f8565b6001600160a01b0381166000908152600360205260408120805460019290611f06908490612aec565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b826001600160a01b0316611f7382610c32565b6001600160a01b031614611fd75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161095b565b6001600160a01b0382166120395760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161095b565b612044838383612451565b61204f6000826115f8565b6001600160a01b0383166000908152600360205260408120805460019290612078908490612aec565b90915550506001600160a01b03821660009081526003602052604081208054600192906120a6908490612aa1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b0384163b1561220957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061214b9033908990889088906004016128e0565b602060405180830381600087803b15801561216557600080fd5b505af1925050508015612195575060408051601f3d908101601f1916820190925261219291810190612788565b60015b6121ef573d8080156121c3576040519150601f19603f3d011682016040523d82523d6000602084013e6121c8565b606091505b5080516121e75760405162461bcd60e51b815260040161095b90612991565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119d7565b506001949350505050565b6060816122385750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612262578061224c81612b6a565b915061225b9050600a83612ab9565b915061223c565b60008167ffffffffffffffff81111561227d5761227d612bdb565b6040519080825280601f01601f1916602001820160405280156122a7576020820181803683370190505b5090505b84156119d7576122bc600183612aec565b91506122c9600a86612b85565b6122d4906030612aa1565b60f81b8183815181106122e9576122e9612bc5565b60200101906001600160f81b031916908160001a90535061230b600a86612ab9565b94506122ab565b6001600160a01b0382166123685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161095b565b612371816115db565b156123be5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161095b565b6123ca60008383612451565b6001600160a01b03821660009081526003602052604081208054600192906123f3908490612aa1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600c5460ff1615610a915760405162461bcd60e51b815260040161095b90612a78565b50805461248090612b2f565b6000825580601f10612490575050565b601f016020900490600052602060002090810190610b8a9190612532565b8280546124ba90612b2f565b90600052602060002090601f0160209004810192826124dc5760008555612522565b82601f106124f557805160ff1916838001178555612522565b82800160010185558215612522579182015b82811115612522578251825591602001919060010190612507565b5061252e929150612532565b5090565b5b8082111561252e5760008155600101612533565b600067ffffffffffffffff8084111561256257612562612bdb565b604051601f8501601f19908116603f0116810190828211818310171561258a5761258a612bdb565b816040528093508581528686860111156125a357600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126125ce57600080fd5b611df483833560208501612547565b6000602082840312156125ef57600080fd5b8135611df481612bf1565b6000806040838503121561260d57600080fd5b823561261881612bf1565b9150602083013561262881612bf1565b809150509250929050565b60008060006060848603121561264857600080fd5b833561265381612bf1565b9250602084013561266381612bf1565b929592945050506040919091013590565b6000806000806080858703121561268a57600080fd5b843561269581612bf1565b935060208501356126a581612bf1565b925060408501359150606085013567ffffffffffffffff8111156126c857600080fd5b8501601f810187136126d957600080fd5b6126e887823560208401612547565b91505092959194509250565b6000806040838503121561270757600080fd5b823561271281612bf1565b9150602083013561262881612c06565b6000806040838503121561273557600080fd5b823561274081612bf1565b946020939093013593505050565b60006020828403121561276057600080fd5b8151611df481612c06565b60006020828403121561277d57600080fd5b8135611df481612c14565b60006020828403121561279a57600080fd5b8151611df481612c14565b6000602082840312156127b757600080fd5b813567ffffffffffffffff8111156127ce57600080fd5b6119d7848285016125bd565b6000602082840312156127ec57600080fd5b5035919050565b6000806040838503121561280657600080fd5b82359150602083013567ffffffffffffffff81111561282457600080fd5b612830858286016125bd565b9150509250929050565b6000806040838503121561284d57600080fd5b50508035926020909101359150565b60006020828403121561286e57600080fd5b81356001600160601b0381168114611df457600080fd5b6000815180845261289d816020860160208601612b03565b601f01601f19169290920160200192915050565b600083516128c3818460208801612b03565b8351908301906128d7818360208801612b03565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061291390830184612885565b9695505050505050565b602080825282518282018190526000919060409081850190868401855b8281101561297157815180516001600160a01b031685528601516001600160601b031686850152928401929085019060010161293a565b5091979650505050505050565b602081526000611df46020830184612885565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526028908201527f537570706f727461626c653a2063616c6c6572206973206e6f742074686520536040820152673ab83837b93a32b960c11b606082015260800190565b6020808252602d908201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865204f776e657260408201526c1037b91029bab83837b93a32b960991b606082015260800190565b6020808252600f908201526e10dbdb9d1c9858dd08131bd8dad959608a1b604082015260600190565b60008219821115612ab457612ab4612b99565b500190565b600082612ac857612ac8612baf565b500490565b6000816000190483118215151615612ae757612ae7612b99565b500290565b600082821015612afe57612afe612b99565b500390565b60005b83811015612b1e578181015183820152602001612b06565b8381111561100a5750506000910152565b600181811c90821680612b4357607f821691505b60208210811415612b6457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b7e57612b7e612b99565b5060010190565b600082612b9457612b94612baf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b8a57600080fd5b8015158114610b8a57600080fd5b6001600160e01b031981168114610b8a57600080fdfea26469706673582212200490003f22bcde35a2438c649b92c0c384849fa9723ab8d8dffa35feded1251364736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000000f5374656c6c61724e46544d616b657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003534e4d0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c80638da5cb5b11610144578063cd3a8e27116100b6578063e541046c1161007a578063e541046c14610732578063e985e9c514610745578063ed00c02d1461078e578063eddd0d9c146107ae578063f1e030da146107ce578063f2fde38b146107ee57600080fd5b8063cd3a8e27146106b5578063ce7b9c18146106d5578063d85d3d27146106f5578063d9c693cb14610708578063e086e5ec1461071d57600080fd5b8063a22cb46511610108578063a22cb465146105f3578063a3c1954e14610613578063abcc6f6e14610628578063b88d4fde14610648578063c87b56dd14610668578063cad96cca1461068857600080fd5b80638da5cb5b1461052d57806395d89b411461054b5780639727151a1461056057806397a6a8ed146105805780639a6a9670146105b457600080fd5b80634bb278f3116101dd57806370a08231116101a157806370a082311461047e578063715018a61461049e578063741f7605146104b357806374d47044146104c85780637a5caab3146104f85780638cffd16a1461050d57600080fd5b80634bb278f3146103ea5780636352211e146103ff578063671e44051461041f5780636cf0b4ec1461043e5780636e9cf2da1461045e57600080fd5b806318160ddd1161022f57806318160ddd1461033257806323b872dd146103565780632a55205a1461037657806342842e0e1461035657806342966c68146103b557806345f78158146103d557600080fd5b806301ffc9a71461026c57806306fdde03146102a1578063081812fc146102c3578063095ea7b3146102fb578063180e7f471461031d575b600080fd5b34801561027857600080fd5b5061028c61028736600461276b565b61080e565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102b6610861565b604051610298919061297e565b3480156102cf57600080fd5b506102e36102de3660046127da565b6108f3565b6040516001600160a01b039091168152602001610298565b34801561030757600080fd5b5061031b610316366004612722565b610980565b005b34801561032957600080fd5b5061031b610a96565b34801561033e57600080fd5b50610348600e5481565b604051908152602001610298565b34801561036257600080fd5b5061031b610371366004612633565b610ac6565b34801561038257600080fd5b5061039661039136600461283a565b610af4565b604080516001600160a01b039093168352602083019190915201610298565b3480156103c157600080fd5b5061031b6103d03660046127da565b610b3a565b3480156103e157600080fd5b5061031b610b8d565b3480156103f657600080fd5b5061031b610bbd565b34801561040b57600080fd5b506102e361041a3660046127da565b610c32565b34801561042b57600080fd5b50600754600160a01b900460ff1661028c565b34801561044a57600080fd5b5061031b610459366004612722565b610ca9565b34801561046a57600080fd5b5061031b6104793660046125dd565b610d13565b34801561048a57600080fd5b506103486104993660046125dd565b610d89565b3480156104aa57600080fd5b5061031b610e10565b3480156104bf57600080fd5b5061031b610e36565b3480156104d457600080fd5b5061028c6104e33660046127da565b60009081526008602052604090205460ff1690565b34801561050457600080fd5b50600954610348565b34801561051957600080fd5b5061031b6105283660046125dd565b610e69565b34801561053957600080fd5b506007546001600160a01b03166102e3565b34801561055757600080fd5b506102b6610eaf565b34801561056c57600080fd5b5061031b61057b366004612722565b610ebe565b34801561058c57600080fd5b5061059b63152a902d60e11b81565b6040516001600160e01b03199091168152602001610298565b3480156105c057600080fd5b50600f546105db90600160a01b90046001600160601b031681565b6040516001600160601b039091168152602001610298565b3480156105ff57600080fd5b5061031b61060e3660046126f4565b610f6c565b34801561061f57600080fd5b506102e3610f7b565b34801561063457600080fd5b506102e36106433660046127da565b610fab565b34801561065457600080fd5b5061031b610663366004612674565b610fdb565b34801561067457600080fd5b506102b66106833660046127da565b611010565b34801561069457600080fd5b506106a86106a33660046127da565b61101b565b604051610298919061291d565b3480156106c157600080fd5b50600f546102e3906001600160a01b031681565b3480156106e157600080fd5b5061031b6106f03660046127f3565b6110e2565b61031b6107033660046127a5565b6111a3565b34801561071457600080fd5b5061031b611326565b34801561072957600080fd5b5061031b611389565b34801561073e57600080fd5b5047610348565b34801561075157600080fd5b5061028c6107603660046125fa565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561079a57600080fd5b5061031b6107a936600461285c565b6113ec565b3480156107ba57600080fd5b5061031b6107c93660046127da565b611438565b3480156107da57600080fd5b5061031b6107e93660046127da565b611461565b3480156107fa57600080fd5b5061031b6108093660046125dd565b6114c3565b60006001600160e01b0319821663656cb66560e11b141561083157506001919050565b6001600160e01b0319821663152a902d60e11b141561085257506001919050565b61085b8261158b565b92915050565b60606000805461087090612b2f565b80601f016020809104026020016040519081016040528092919081815260200182805461089c90612b2f565b80156108e95780601f106108be576101008083540402835291602001916108e9565b820191906000526020600020905b8154815290600101906020018083116108cc57829003601f168201915b5050505050905090565b60006108fe826115db565b6109645760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061098b82610c32565b9050806001600160a01b0316836001600160a01b031614156109f95760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b606482015260840161095b565b336001600160a01b0382161480610a155750610a158133610760565b610a875760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606482015260840161095b565b610a9183836115f8565b505050565b610a9e611666565b610aba5760405162461bcd60e51b815260040161095b906129e3565b600a805460ff19169055565b600c5460ff1615610ae95760405162461bcd60e51b815260040161095b90612a78565b610a918383836116d5565b600f5460009081906001600160a01b0381169061271090610b2590600160a01b90046001600160601b031686612acd565b610b2f9190612ab9565b915091509250929050565b610b426116f0565b610b5e5760405162461bcd60e51b815260040161095b90612a2b565b600c5460ff1615610b815760405162461bcd60e51b815260040161095b90612a78565b610b8a81611714565b50565b610b956116f0565b610bb15760405162461bcd60e51b815260040161095b90612a2b565b600c805460ff19169055565b610bc5611666565b610be15760405162461bcd60e51b815260040161095b906129e3565b6007805460ff60a01b1916600160a01b179055610bfb3390565b6001600160a01b03167f215fc4b87c592fbc409dba46dec6c6d8fc5bf0145eded9711aeee3ca4199796460405160405180910390a2565b6000818152600260205260408120546001600160a01b03168061085b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b606482015260840161095b565b610cb1611666565b610ccd5760405162461bcd60e51b815260040161095b906129e3565b81600d8281548110610ce157610ce1612bc5565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b031602179055505050565b610d1b611666565b610d375760405162461bcd60e51b815260040161095b906129e3565b600d80546001810182556000919091527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb50180546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610df45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b606482015260840161095b565b506001600160a01b031660009081526003602052604090205490565b610e186116f0565b610e345760405162461bcd60e51b815260040161095b90612a2b565b565b610e3e611666565b610e5a5760405162461bcd60e51b815260040161095b906129e3565b600a805460ff19166001179055565b610e716116f0565b610e8d5760405162461bcd60e51b815260040161095b90612a2b565b600f80546001600160a01b0319166001600160a01b0392909216919091179055565b60606001805461087090612b2f565b610ec66116f0565b610ee25760405162461bcd60e51b815260040161095b90612a2b565b33610eec57600080fd5b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b158015610f3457600080fd5b505af1158015610f48573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a91919061274e565b610f7733838361171d565b5050565b6000600d600081548110610f9157610f91612bc5565b6000918252602090912001546001600160a01b0316919050565b6000600d8281548110610fc057610fc0612bc5565b6000918252602090912001546001600160a01b031692915050565b600c5460ff1615610ffe5760405162461bcd60e51b815260040161095b90612a78565b61100a848484846117ec565b50505050565b606061085b82611868565b60408051600180825281830190925260609160009190816020015b6040805180820190915260008082526020820152815260200190600190039081611036579050509050600f60149054906101000a90046001600160601b03168160008151811061108857611088612bc5565b6020908102919091018101516001600160601b03909216910152600f5481516001600160a01b039091169082906000906110c4576110c4612bc5565b60209081029190910101516001600160a01b03909116905292915050565b6110ea611666565b6111065760405162461bcd60e51b815260040161095b906129e3565b600754600160a01b900460ff16156111545760405162461bcd60e51b8152602060048201526011602482015270105b1c9958591e48119a5b985b1a5e9959607a1b604482015260640161095b565b61115d826119df565b6111995760405162461bcd60e51b815260206004820152600d60248201526c43616e206e6f7420777269746560981b604482015260640161095b565b610f778282611a15565b6007546001600160a01b031633146111fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161095b565b600c5460ff16156112205760405162461bcd60e51b815260040161095b90612a78565b6009543410156112655760405162461bcd60e51b815260206004820152601060248201526f09ccacac840e8de40e6cadcc8408aa8960831b604482015260640161095b565b600754600160a01b900460ff16156112b35760405162461bcd60e51b8152602060048201526011602482015270105b1c9958591e48119a5b985b1a5e9959607a1b604482015260640161095b565b6000600e5460016112c49190612aa1565b90506112d03382611a42565b6112da8183611a15565b61130c600d6000815481106112f1576112f1612bc5565b6000918252602090912001546001600160a01b031634611a5c565b600a5460ff16156113205761132081611461565b600e5550565b61132e6116f0565b61134a5760405162461bcd60e51b815260040161095b90612a2b565b600c805460ff19166001179055600d8054610e34919060009061136f5761136f612bc5565b6000918252602090912001546001600160a01b0316611b75565b6113916116f0565b6113ad5760405162461bcd60e51b815260040161095b90612a2b565b600c5460ff16156113d05760405162461bcd60e51b815260040161095b90612a78565b47610b8a6113e66007546001600160a01b031690565b82611a5c565b6113f46116f0565b6114105760405162461bcd60e51b815260040161095b90612a2b565b600f80546001600160601b03909216600160a01b026001600160a01b03909216919091179055565b611440611666565b61145c5760405162461bcd60e51b815260040161095b906129e3565b600955565b6114696116f0565b6114855760405162461bcd60e51b815260040161095b90612a2b565b600c5460ff16156114a85760405162461bcd60e51b815260040161095b90612a78565b6000908152600860205260409020805460ff19166001179055565b6007546001600160a01b0316331461151d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161095b565b6001600160a01b0381166115825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161095b565b610b8a81611b75565b60006001600160e01b031982166380ac58cd60e01b14806115bc57506001600160e01b03198216635b5e139f60e01b145b8061085b57506301ffc9a760e01b6001600160e01b031983161461085b565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061162d82610c32565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080805b600d548110156116cd57336001600160a01b0316600d828154811061169257611692612bc5565b6000918252602090912001546001600160a01b031614156116bb57816116b781612b6a565b9250505b806116c581612b6a565b91505061166b565b501515919050565b610a9183838360405180602001604052806000815250610fdb565b60006116fa611666565b8061170f57506007546001600160a01b031633145b905090565b610b8a81611bc7565b816001600160a01b0316836001600160a01b0316141561177f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161095b565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6117f63383611c07565b61185c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606482015260840161095b565b61100a84848484611cf0565b6060611873826115db565b6118d95760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b606482015260840161095b565b600082815260066020526040812080546118f290612b2f565b80601f016020809104026020016040519081016040528092919081815260200182805461191e90612b2f565b801561196b5780601f106119405761010080835404028352916020019161196b565b820191906000526020600020905b81548152906001019060200180831161194e57829003601f168201915b50505050509050600061198960408051602081019091526000815290565b905080516000141561199c575092915050565b8151156119ce5780826040516020016119b69291906128b1565b60405160208183030381529060405292505050919050565b6119d784611d23565b949350505050565b60006119f36007546001600160a01b031690565b6001600160a01b0316611a0583610c32565b6001600160a01b03161492915050565b600c5460ff1615611a385760405162461bcd60e51b815260040161095b90612a78565b610f778282611dfb565b610f77828260405180602001604052806000815250611e86565b80471015611aac5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161095b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611af9576040519150601f19603f3d011682016040523d82523d6000602084013e611afe565b606091505b5050905080610a915760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161095b565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611bd081611eb9565b60008181526006602052604090208054611be990612b2f565b159050610b8a576000818152600660205260408120610b8a91612474565b6000611c12826115db565b611c735760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b606482015260840161095b565b6000611c7e83610c32565b9050806001600160a01b0316846001600160a01b03161480611cc557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806119d75750836001600160a01b0316611cde846108f3565b6001600160a01b031614949350505050565b611cfb848484611f60565b611d0784848484612107565b61100a5760405162461bcd60e51b815260040161095b90612991565b6060611d2e826115db565b611d925760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b606482015260840161095b565b6000611da960408051602081019091526000815290565b90506000815111611dc95760405180602001604052806000815250611df4565b80611dd384612214565b604051602001611de49291906128b1565b6040516020818303038152906040525b9392505050565b611e04826115db565b611e675760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161095b565b60008281526006602090815260409091208251610a91928401906124ae565b611e908383612312565b611e9d6000848484612107565b610a915760405162461bcd60e51b815260040161095b90612991565b6000611ec482610c32565b9050611ed281600084612451565b611edd6000836115f8565b6001600160a01b0381166000908152600360205260408120805460019290611f06908490612aec565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b826001600160a01b0316611f7382610c32565b6001600160a01b031614611fd75760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161095b565b6001600160a01b0382166120395760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161095b565b612044838383612451565b61204f6000826115f8565b6001600160a01b0383166000908152600360205260408120805460019290612078908490612aec565b90915550506001600160a01b03821660009081526003602052604081208054600192906120a6908490612aa1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006001600160a01b0384163b1561220957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061214b9033908990889088906004016128e0565b602060405180830381600087803b15801561216557600080fd5b505af1925050508015612195575060408051601f3d908101601f1916820190925261219291810190612788565b60015b6121ef573d8080156121c3576040519150601f19603f3d011682016040523d82523d6000602084013e6121c8565b606091505b5080516121e75760405162461bcd60e51b815260040161095b90612991565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506119d7565b506001949350505050565b6060816122385750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612262578061224c81612b6a565b915061225b9050600a83612ab9565b915061223c565b60008167ffffffffffffffff81111561227d5761227d612bdb565b6040519080825280601f01601f1916602001820160405280156122a7576020820181803683370190505b5090505b84156119d7576122bc600183612aec565b91506122c9600a86612b85565b6122d4906030612aa1565b60f81b8183815181106122e9576122e9612bc5565b60200101906001600160f81b031916908160001a90535061230b600a86612ab9565b94506122ab565b6001600160a01b0382166123685760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161095b565b612371816115db565b156123be5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161095b565b6123ca60008383612451565b6001600160a01b03821660009081526003602052604081208054600192906123f3908490612aa1565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600c5460ff1615610a915760405162461bcd60e51b815260040161095b90612a78565b50805461248090612b2f565b6000825580601f10612490575050565b601f016020900490600052602060002090810190610b8a9190612532565b8280546124ba90612b2f565b90600052602060002090601f0160209004810192826124dc5760008555612522565b82601f106124f557805160ff1916838001178555612522565b82800160010185558215612522579182015b82811115612522578251825591602001919060010190612507565b5061252e929150612532565b5090565b5b8082111561252e5760008155600101612533565b600067ffffffffffffffff8084111561256257612562612bdb565b604051601f8501601f19908116603f0116810190828211818310171561258a5761258a612bdb565b816040528093508581528686860111156125a357600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126125ce57600080fd5b611df483833560208501612547565b6000602082840312156125ef57600080fd5b8135611df481612bf1565b6000806040838503121561260d57600080fd5b823561261881612bf1565b9150602083013561262881612bf1565b809150509250929050565b60008060006060848603121561264857600080fd5b833561265381612bf1565b9250602084013561266381612bf1565b929592945050506040919091013590565b6000806000806080858703121561268a57600080fd5b843561269581612bf1565b935060208501356126a581612bf1565b925060408501359150606085013567ffffffffffffffff8111156126c857600080fd5b8501601f810187136126d957600080fd5b6126e887823560208401612547565b91505092959194509250565b6000806040838503121561270757600080fd5b823561271281612bf1565b9150602083013561262881612c06565b6000806040838503121561273557600080fd5b823561274081612bf1565b946020939093013593505050565b60006020828403121561276057600080fd5b8151611df481612c06565b60006020828403121561277d57600080fd5b8135611df481612c14565b60006020828403121561279a57600080fd5b8151611df481612c14565b6000602082840312156127b757600080fd5b813567ffffffffffffffff8111156127ce57600080fd5b6119d7848285016125bd565b6000602082840312156127ec57600080fd5b5035919050565b6000806040838503121561280657600080fd5b82359150602083013567ffffffffffffffff81111561282457600080fd5b612830858286016125bd565b9150509250929050565b6000806040838503121561284d57600080fd5b50508035926020909101359150565b60006020828403121561286e57600080fd5b81356001600160601b0381168114611df457600080fd5b6000815180845261289d816020860160208601612b03565b601f01601f19169290920160200192915050565b600083516128c3818460208801612b03565b8351908301906128d7818360208801612b03565b01949350505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061291390830184612885565b9695505050505050565b602080825282518282018190526000919060409081850190868401855b8281101561297157815180516001600160a01b031685528601516001600160601b031686850152928401929085019060010161293a565b5091979650505050505050565b602081526000611df46020830184612885565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526028908201527f537570706f727461626c653a2063616c6c6572206973206e6f742074686520536040820152673ab83837b93a32b960c11b606082015260800190565b6020808252602d908201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865204f776e657260408201526c1037b91029bab83837b93a32b960991b606082015260800190565b6020808252600f908201526e10dbdb9d1c9858dd08131bd8dad959608a1b604082015260600190565b60008219821115612ab457612ab4612b99565b500190565b600082612ac857612ac8612baf565b500490565b6000816000190483118215151615612ae757612ae7612b99565b500290565b600082821015612afe57612afe612b99565b500390565b60005b83811015612b1e578181015183820152602001612b06565b8381111561100a5750506000910152565b600181811c90821680612b4357607f821691505b60208210811415612b6457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b7e57612b7e612b99565b5060010190565b600082612b9457612b94612baf565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610b8a57600080fd5b8015158114610b8a57600080fd5b6001600160e01b031981168114610b8a57600080fdfea26469706673582212200490003f22bcde35a2438c649b92c0c384849fa9723ab8d8dffa35feded1251364736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000038d7ea4c68000000000000000000000000000000000000000000000000000000000000000000f5374656c6c61724e46544d616b657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003534e4d0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): StellarNFTMaker
Arg [1] : symbol (string): SNM
Arg [2] : royalty (uint96): 1000
Arg [3] : mintFee (uint256): 1000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 00000000000000000000000000000000000000000000000000038d7ea4c68000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 5374656c6c61724e46544d616b65720000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 534e4d0000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.