Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
SingleEditionMintable
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: GPL-3.0 /** █▄░█ █▀▀ ▀█▀ █▀▀ █▀▄ █ ▀█▀ █ █▀█ █▄░█ █▀ █░▀█ █▀░ ░█░ ██▄ █▄▀ █ ░█░ █ █▄█ █░▀█ ▄█ ▀█ █▀█ █▀█ ▄▀█ █▄ █▄█ █▀▄ █▀█ */ pragma solidity 0.8.6; import {ERC721Upgradeable} from "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol"; import {IERC2981Upgradeable, IERC165Upgradeable} from "@openzeppelin/contracts-upgradeable/interfaces/IERC2981Upgradeable.sol"; import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import {CountersUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol"; import {SharedNFTLogic} from "./SharedNFTLogic.sol"; import {IEditionSingleMintable} from "./IEditionSingleMintable.sol"; /** This is a smart contract for handling dynamic contract minting. @dev This allows creators to mint a unique serial edition of the same media within a custom contract @author iain nash Repository: https://github.com/ourzora/nft-editions */ contract SingleEditionMintable is ERC721Upgradeable, IEditionSingleMintable, IERC2981Upgradeable, OwnableUpgradeable { using CountersUpgradeable for CountersUpgradeable.Counter; event PriceChanged(uint256 amount); event EditionSold(uint256 price, address owner); // metadata string private description; // Media Urls // animation_url field in the metadata string private animationUrl; // Hash for the associated animation bytes32 private animationHash; // Image in the metadata string private imageUrl; // Hash for the associated image bytes32 private imageHash; // Total size of edition that can be minted uint256 public editionSize; // Current token id minted CountersUpgradeable.Counter private atEditionId; // Royalty amount in bps uint256 royaltyBPS; // Addresses allowed to mint edition mapping(address => bool) allowedMinters; // Price for sale uint256 public salePrice; // NFT rendering logic contract SharedNFTLogic private immutable sharedNFTLogic; // Global constructor for factory constructor(SharedNFTLogic _sharedNFTLogic) { sharedNFTLogic = _sharedNFTLogic; } /** @param _owner User that owns and can mint the edition, gets royalty and sales payouts and can update the base url if needed. @param _name Name of edition, used in the title as "$NAME NUMBER/TOTAL" @param _symbol Symbol of the new token contract @param _description Description of edition, used in the description field of the NFT @param _imageUrl Image URL of the edition. Strongly encouraged to be used, if necessary, only animation URL can be used. One of animation and image url need to exist in a edition to render the NFT. @param _imageHash SHA256 of the given image in bytes32 format (0xHASH). If no image is included, the hash can be zero. @param _animationUrl Animation URL of the edition. Not required, but if omitted image URL needs to be included. This follows the opensea spec for NFTs @param _animationHash The associated hash of the animation in sha-256 bytes32 format. If animation is omitted the hash can be zero. @param _editionSize Number of editions that can be minted in total. If 0, unlimited editions can be minted. @param _royaltyBPS BPS of the royalty set on the contract. Can be 0 for no royalty. @dev Function to create a new edition. Can only be called by the allowed creator Sets the only allowed minter to the address that creates/owns the edition. This can be re-assigned or updated later */ function initialize( address _owner, string memory _name, string memory _symbol, string memory _description, string memory _animationUrl, bytes32 _animationHash, string memory _imageUrl, bytes32 _imageHash, uint256 _editionSize, uint256 _royaltyBPS ) public initializer { __ERC721_init(_name, _symbol); __Ownable_init(); // Set ownership to original sender of contract call transferOwnership(_owner); description = _description; animationUrl = _animationUrl; animationHash = _animationHash; imageUrl = _imageUrl; imageHash = _imageHash; editionSize = _editionSize; royaltyBPS = _royaltyBPS; // Set edition id start to be 1 not 0 atEditionId.increment(); } /// @dev returns the number of minted tokens within the edition function totalSupply() public view returns (uint256) { return atEditionId.current() - 1; } /** Simple eth-based sales function More complex sales functions can be implemented through ISingleEditionMintable interface */ /** @dev This allows the user to purchase a edition edition at the given price in the contract. */ function purchase() external payable returns (uint256) { require(salePrice > 0, "Not for sale"); require(msg.value == salePrice, "Wrong price"); address[] memory toMint = new address[](1); toMint[0] = msg.sender; emit EditionSold(salePrice, msg.sender); return _mintEditions(toMint); } /** @param _salePrice if sale price is 0 sale is stopped, otherwise that amount of ETH is needed to start the sale. @dev This sets a simple ETH sales price Setting a sales price allows users to mint the edition until it sells out. For more granular sales, use an external sales contract. */ function setSalePrice(uint256 _salePrice) external onlyOwner { salePrice = _salePrice; emit PriceChanged(salePrice); } /** @dev This withdraws ETH from the contract to the contract owner. */ function withdraw() external onlyOwner { (bool sent, ) = owner().call{value: address(this).balance, gas: 34_000}( "" ); require(sent, "Failed to send ETH"); } /** @dev This helper function checks if the msg.sender is allowed to mint the given edition id. */ function _isAllowedToMint() internal view returns (bool) { if (owner() == msg.sender) { return true; } if (allowedMinters[address(0x0)]) { return true; } return allowedMinters[msg.sender]; } /** @param to address to send the newly minted edition to @dev This mints one edition to the given address by an allowed minter on the edition instance. */ function mintEdition(address to) external override returns (uint256) { require(_isAllowedToMint(), "Needs to be an allowed minter"); address[] memory toMint = new address[](1); toMint[0] = to; return _mintEditions(toMint); } /** @param recipients list of addresses to send the newly minted editions to @dev This mints multiple editions to the given list of addresses. */ function mintEditions(address[] memory recipients) external override returns (uint256) { require(_isAllowedToMint(), "Needs to be an allowed minter"); return _mintEditions(recipients); } /** Simple override for owner interface. */ function owner() public view override(OwnableUpgradeable, IEditionSingleMintable) returns (address) { return super.owner(); } /** @param minter address to set approved minting status for @param allowed boolean if that address is allowed to mint @dev Sets the approved minting status of the given address. This requires that msg.sender is the owner of the given edition id. If the ZeroAddress (address(0x0)) is set as a minter, anyone will be allowed to mint. This setup is similar to setApprovalForAll in the ERC721 spec. */ function setApprovedMinter(address minter, bool allowed) public onlyOwner { allowedMinters[minter] = allowed; } /** @dev Allows for updates of edition urls by the owner of the edition. Only URLs can be updated (data-uris are supported), hashes cannot be updated. */ function updateEditionURLs( string memory _imageUrl, string memory _animationUrl ) public onlyOwner { imageUrl = _imageUrl; animationUrl = _animationUrl; } /// Returns the number of editions allowed to mint (max_uint256 when open edition) function numberCanMint() public view override returns (uint256) { // Return max int if open edition if (editionSize == 0) { return type(uint256).max; } // atEditionId is one-indexed hence the need to remove one here return editionSize + 1 - atEditionId.current(); } /** @param tokenId Token ID to burn User burn function for token id */ function burn(uint256 tokenId) public { require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved"); _burn(tokenId); } /** @dev Private function to mint als without any access checks. Called by the public edition minting functions. */ function _mintEditions(address[] memory recipients) internal returns (uint256) { uint256 startAt = atEditionId.current(); uint256 endAt = startAt + recipients.length - 1; require(editionSize == 0 || endAt <= editionSize, "Sold out"); while (atEditionId.current() <= endAt) { _mint( recipients[atEditionId.current() - startAt], atEditionId.current() ); atEditionId.increment(); } return atEditionId.current(); } /** @dev Get URIs for edition NFT @return imageUrl, imageHash, animationUrl, animationHash */ function getURIs() public view returns ( string memory, bytes32, string memory, bytes32 ) { return (imageUrl, imageHash, animationUrl, animationHash); } /** @dev Get royalty information for token @param _salePrice Sale price for the token */ function royaltyInfo(uint256, uint256 _salePrice) external view override returns (address receiver, uint256 royaltyAmount) { if (owner() == address(0x0)) { return (owner(), 0); } return (owner(), (_salePrice * royaltyBPS) / 10_000); } /** @dev Get URI for given token id @param tokenId token id to get uri for @return base64-encoded json metadata object */ function tokenURI(uint256 tokenId) public view override returns (string memory) { require(_exists(tokenId), "No token"); return sharedNFTLogic.createMetadataEdition( name(), description, imageUrl, animationUrl, tokenId, editionSize ); } function supportsInterface(bytes4 interfaceId) public view override(ERC721Upgradeable, IERC165Upgradeable) returns (bool) { return type(IERC2981Upgradeable).interfaceId == interfaceId || ERC721Upgradeable.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; interface IEditionSingleMintable { function mintEdition(address to) external returns (uint256); function mintEditions(address[] memory to) external returns (uint256); function numberCanMint() external view returns (uint256); function owner() external view returns (address); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721Upgradeable.sol"; import "./IERC721ReceiverUpgradeable.sol"; import "./extensions/IERC721MetadataUpgradeable.sol"; import "../../utils/AddressUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../utils/StringsUpgradeable.sol"; import "../../utils/introspection/ERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC721Upgradeable is Initializable, ContextUpgradeable, ERC165Upgradeable, IERC721Upgradeable, IERC721MetadataUpgradeable { using AddressUpgradeable for address; using StringsUpgradeable 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. */ function __ERC721_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC165_init_unchained(); __ERC721_init_unchained(name_, symbol_); } function __ERC721_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165Upgradeable, IERC165Upgradeable) returns (bool) { return interfaceId == type(IERC721Upgradeable).interfaceId || interfaceId == type(IERC721MetadataUpgradeable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721Upgradeable.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_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 = ERC721Upgradeable.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, 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); } /** * @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 = ERC721Upgradeable.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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(ERC721Upgradeable.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Upgradeable.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721ReceiverUpgradeable(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721ReceiverUpgradeable.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 {} uint256[44] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; /** * @dev Interface for the NFT Royalty Standard */ interface IERC2981Upgradeable is IERC165Upgradeable { /** * @dev Called with the sale price to determine how much royalty is owed and to whom. * @param tokenId - the NFT asset queried for royalty information * @param salePrice - the sale price of the NFT asset specified by `tokenId` * @return receiver - address of who should be sent the royalty payment * @return royaltyAmount - the royalty payment amount for `salePrice` */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * 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 { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library CountersUpgradeable { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; import {StringsUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/StringsUpgradeable.sol"; import {Base64} from "base64-sol/base64.sol"; import {IPublicSharedMetadata} from "./IPublicSharedMetadata.sol"; /// Shared NFT logic for rendering metadata associated with editions /// @dev Can safely be used for generic base64Encode and numberToString functions contract SharedNFTLogic is IPublicSharedMetadata { /// @param unencoded bytes to base64-encode function base64Encode(bytes memory unencoded) public pure override returns (string memory) { return Base64.encode(unencoded); } /// Proxy to openzeppelin's toString function /// @param value number to return as a string function numberToString(uint256 value) public pure override returns (string memory) { return StringsUpgradeable.toString(value); } /// Generate edition metadata from storage information as base64-json blob /// Combines the media data and metadata /// @param name Name of NFT in metadata /// @param description Description of NFT in metadata /// @param imageUrl URL of image to render for edition /// @param animationUrl URL of animation to render for edition /// @param tokenOfEdition Token ID for specific token /// @param editionSize Size of entire edition to show function createMetadataEdition( string memory name, string memory description, string memory imageUrl, string memory animationUrl, uint256 tokenOfEdition, uint256 editionSize ) external pure returns (string memory) { string memory _tokenMediaData = tokenMediaData( imageUrl, animationUrl, tokenOfEdition ); bytes memory json = createMetadataJSON( name, description, _tokenMediaData, tokenOfEdition, editionSize ); return encodeMetadataJSON(json); } /// Function to create the metadata json string for the nft edition /// @param name Name of NFT in metadata /// @param description Description of NFT in metadata /// @param mediaData Data for media to include in json object /// @param tokenOfEdition Token ID for specific token /// @param editionSize Size of entire edition to show function createMetadataJSON( string memory name, string memory description, string memory mediaData, uint256 tokenOfEdition, uint256 editionSize ) public pure returns (bytes memory) { bytes memory editionSizeText; if (editionSize > 0) { editionSizeText = abi.encodePacked( "/", numberToString(editionSize) ); } return abi.encodePacked( '{"name": "', name, " ", numberToString(tokenOfEdition), editionSizeText, '", "', 'description": "', description, '", "', mediaData, 'properties": {"number": ', numberToString(tokenOfEdition), ', "name": "', name, '"}}' ); } /// Encodes the argument json bytes into base64-data uri format /// @param json Raw json to base64 and turn into a data-uri function encodeMetadataJSON(bytes memory json) public pure override returns (string memory) { return string( abi.encodePacked( "data:application/json;base64,", base64Encode(json) ) ); } /// Generates edition metadata from storage information as base64-json blob /// Combines the media data and metadata /// @param imageUrl URL of image to render for edition /// @param animationUrl URL of animation to render for edition function tokenMediaData( string memory imageUrl, string memory animationUrl, uint256 tokenOfEdition ) public pure returns (string memory) { bool hasImage = bytes(imageUrl).length > 0; bool hasAnimation = bytes(animationUrl).length > 0; if (hasImage && hasAnimation) { return string( abi.encodePacked( 'image": "', imageUrl, "?id=", numberToString(tokenOfEdition), '", "animation_url": "', animationUrl, "?id=", numberToString(tokenOfEdition), '", "' ) ); } if (hasImage) { return string( abi.encodePacked( 'image": "', imageUrl, "?id=", numberToString(tokenOfEdition), '", "' ) ); } if (hasAnimation) { return string( abi.encodePacked( 'animation_url": "', animationUrl, "?id=", numberToString(tokenOfEdition), '", "' ) ); } return ""; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165Upgradeable.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721Upgradeable is IERC165Upgradeable { /** * @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`, 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 Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; }
// SPDX-License-Identifier: MIT 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 IERC721ReceiverUpgradeable { /** * @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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721Upgradeable.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721MetadataUpgradeable is IERC721Upgradeable { /** * @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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * 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 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 pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library StringsUpgradeable { 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 pragma solidity ^0.8.0; import "./IERC165Upgradeable.sol"; import "../../proxy/utils/Initializable.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 ERC165Upgradeable is Initializable, IERC165Upgradeable { function __ERC165_init() internal initializer { __ERC165_init_unchained(); } function __ERC165_init_unchained() internal initializer { } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165Upgradeable).interfaceId; } uint256[50] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT 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 IERC165Upgradeable { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/introspection/IERC165Upgradeable.sol";
// SPDX-License-Identifier: MIT /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides a function for encoding some bytes in base64 library Base64 { string internal constant TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { dataPtr := add(dataPtr, 3) // read 3 bytes let input := mload(dataPtr) // write 4 characters mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(18, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr(12, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and(shr( 6, input), 0x3F))))) resultPtr := add(resultPtr, 1) mstore(resultPtr, shl(248, mload(add(tablePtr, and( input, 0x3F))))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } }
// SPDX-License-Identifier: GPL-3.0 pragma solidity 0.8.6; /// Shared public library for on-chain NFT functions interface IPublicSharedMetadata { /// @param unencoded bytes to base64-encode function base64Encode(bytes memory unencoded) external pure returns (string memory); /// Encodes the argument json bytes into base64-data uri format /// @param json Raw json to base64 and turn into a data-uri function encodeMetadataJSON(bytes memory json) external pure returns (string memory); /// Proxy to openzeppelin's toString function /// @param value number to return as a string function numberToString(uint256 value) external pure returns (string memory); }
// SPDX-License-Identifier: GPL-3.0 /** █▄░█ █▀▀ ▀█▀ █▀▀ █▀▄ █ ▀█▀ █ █▀█ █▄░█ █▀ █░▀█ █▀░ ░█░ ██▄ █▄▀ █ ░█░ █ █▄█ █░▀█ ▄█ ▀█ █▀█ █▀█ ▄▀█ █▄ █▄█ █▀▄ █▀█ */ pragma solidity 0.8.6; import {ClonesUpgradeable} from "@openzeppelin/contracts-upgradeable/proxy/ClonesUpgradeable.sol"; import {CountersUpgradeable} from "@openzeppelin/contracts-upgradeable/utils/CountersUpgradeable.sol"; import "./SingleEditionMintable.sol"; contract SingleEditionMintableCreator { using CountersUpgradeable for CountersUpgradeable.Counter; /// Counter for current contract id upgraded CountersUpgradeable.Counter private atContract; /// Address for implementation of SingleEditionMintable to clone address public implementation; /// Initializes factory with address of implementation logic /// @param _implementation SingleEditionMintable logic implementation contract to clone constructor(address _implementation) { implementation = _implementation; } /// Creates a new edition contract as a factory with a deterministic address /// Important: None of these fields (except the Url fields with the same hash) can be changed after calling /// @param _name Name of the edition contract /// @param _symbol Symbol of the edition contract /// @param _description Metadata: Description of the edition entry /// @param _animationUrl Metadata: Animation url (optional) of the edition entry /// @param _animationHash Metadata: SHA-256 Hash of the animation (if no animation url, can be 0x0) /// @param _imageUrl Metadata: Image url (semi-required) of the edition entry /// @param _imageHash Metadata: SHA-256 hash of the Image of the edition entry (if not image, can be 0x0) /// @param _editionSize Total size of the edition (number of possible editions) /// @param _royaltyBPS BPS amount of royalty function createEdition( string memory _name, string memory _symbol, string memory _description, string memory _animationUrl, bytes32 _animationHash, string memory _imageUrl, bytes32 _imageHash, uint256 _editionSize, uint256 _royaltyBPS ) external returns (uint256) { uint256 newId = atContract.current(); address newContract = ClonesUpgradeable.cloneDeterministic( implementation, bytes32(abi.encodePacked(newId)) ); SingleEditionMintable(newContract).initialize( msg.sender, _name, _symbol, _description, _animationUrl, _animationHash, _imageUrl, _imageHash, _editionSize, _royaltyBPS ); emit CreatedEdition(newId, msg.sender, _editionSize, newContract); // Returns the ID of the recently created minting contract // Also increments for the next contract creation call atContract.increment(); return newId; } /// Get edition given the created ID /// @param editionId id of edition to get contract for /// @return SingleEditionMintable Edition NFT contract function getEditionAtId(uint256 editionId) external view returns (SingleEditionMintable) { return SingleEditionMintable( ClonesUpgradeable.predictDeterministicAddress( implementation, bytes32(abi.encodePacked(editionId)), address(this) ) ); } /// Emitted when a edition is created reserving the corresponding token IDs. /// @param editionId ID of newly created edition event CreatedEdition( uint256 indexed editionId, address indexed creator, uint256 editionSize, address editionContractAddress ); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for * deploying minimal proxy contracts, also known as "clones". * * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies * > a minimal bytecode implementation that delegates all calls to a known, fixed address. * * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2` * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the * deterministic method. * * _Available since v3.4._ */ library ClonesUpgradeable { /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create opcode, which should never revert. */ function clone(address implementation) internal returns (address instance) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create(0, ptr, 0x37) } require(instance != address(0), "ERC1167: create failed"); } /** * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`. * * This function uses the create2 opcode and a `salt` to deterministically deploy * the clone. Using the same `implementation` and `salt` multiple time will revert, since * the clones cannot be deployed twice at the same address. */ function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000) instance := create2(0, ptr, 0x37, salt) } require(instance != address(0), "ERC1167: create2 failed"); } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress( address implementation, bytes32 salt, address deployer ) internal pure returns (address predicted) { assembly { let ptr := mload(0x40) mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000) mstore(add(ptr, 0x14), shl(0x60, implementation)) mstore(add(ptr, 0x28), 0x5af43d82803e903d91602b57fd5bf3ff00000000000000000000000000000000) mstore(add(ptr, 0x38), shl(0x60, deployer)) mstore(add(ptr, 0x4c), salt) mstore(add(ptr, 0x6c), keccak256(ptr, 0x37)) predicted := keccak256(add(ptr, 0x37), 0x55) } } /** * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}. */ function predictDeterministicAddress(address implementation, bytes32 salt) internal view returns (address predicted) { return predictDeterministicAddress(implementation, salt, address(this)); } }
{ "optimizer": { "enabled": true, "runs": 100 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract SharedNFTLogic","name":"_sharedNFTLogic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"EditionSold","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":"amount","type":"uint256"}],"name":"PriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"editionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getURIs","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"string","name":"","type":"string"},{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_description","type":"string"},{"internalType":"string","name":"_animationUrl","type":"string"},{"internalType":"bytes32","name":"_animationHash","type":"bytes32"},{"internalType":"string","name":"_imageUrl","type":"string"},{"internalType":"bytes32","name":"_imageHash","type":"bytes32"},{"internalType":"uint256","name":"_editionSize","type":"uint256"},{"internalType":"uint256","name":"_royaltyBPS","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"mintEdition","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"mintEditions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberCanMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"purchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","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":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"bool","name":"allowed","type":"bool"}],"name":"setApprovedMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_imageUrl","type":"string"},{"internalType":"string","name":"_animationUrl","type":"string"}],"name":"updateEditionURLs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200283a3803806200283a83398101604081905262000034916200004a565b60601b6001600160601b0319166080526200007c565b6000602082840312156200005d57600080fd5b81516001600160a01b03811681146200007557600080fd5b9392505050565b60805160601c61279f6200009b6000396000611134015261279f6000f3fe6080604052600436106101985760003560e01c806342966c68116100e2578063a66ff0af11610085578063a66ff0af14610486578063b88d4fde146104a6578063c87b56dd146104c6578063e444bfcc146104e6578063e985e9c514610506578063f2fde38b14610526578063f4ed0f4614610546578063f51f96dd1461055c57600080fd5b806342966c68146103bf5780636352211e146103df57806364edfbf0146103ff57806370a0823114610407578063715018a6146104275780638da5cb5b1461043c57806395d89b4114610451578063a22cb4651461046657600080fd5b80631919fed71161014a5780631919fed7146102a657806323b872dd146102c657806325f0ea90146102e657806328c5440f1461030657806329ec16dd1461032b5780632a55205a1461034b5780633ccfd60b1461038a57806342842e0e1461039f57600080fd5b806301ffc9a71461019d57806306fdde03146101d2578063081812fc146101f4578063095ea7b31461022c5780630b65b6e71461024e5780630f6a93491461027157806318160ddd14610291575b600080fd5b3480156101a957600080fd5b506101bd6101b836600461215c565b610572565b60405190151581526020015b60405180910390f35b3480156101de57600080fd5b506101e761059d565b6040516101c991906123b3565b34801561020057600080fd5b5061021461020f36600461226f565b61062f565b6040516001600160a01b0390911681526020016101c9565b34801561023857600080fd5b5061024c61024736600461207f565b6106bc565b005b34801561025a57600080fd5b506102636107cd565b6040519081526020016101c9565b34801561027d57600080fd5b5061026361028c3660046120a9565b610801565b34801561029d57600080fd5b50610263610830565b3480156102b257600080fd5b5061024c6102c136600461226f565b61083d565b3480156102d257600080fd5b5061024c6102e1366004611e82565b6108a7565b3480156102f257600080fd5b5061024c610301366004611f75565b6108d9565b34801561031257600080fd5b5061031b6109c8565b6040516101c994939291906123c6565b34801561033757600080fd5b5061024c610346366004611f39565b610b00565b34801561035757600080fd5b5061036b610366366004612288565b610b5a565b604080516001600160a01b0390931683526020830191909152016101c9565b34801561039657600080fd5b5061024c610bb7565b3480156103ab57600080fd5b5061024c6103ba366004611e82565b610c8d565b3480156103cb57600080fd5b5061024c6103da36600461226f565b610ca8565b3480156103eb57600080fd5b506102146103fa36600461226f565b610cf5565b610263610d6c565b34801561041357600080fd5b50610263610422366004611e34565b610e86565b34801561043357600080fd5b5061024c610f0d565b34801561044857600080fd5b50610214610f48565b34801561045d57600080fd5b506101e7610f5c565b34801561047257600080fd5b5061024c610481366004611f39565b610f6b565b34801561049257600080fd5b506102636104a1366004611e34565b61102c565b3480156104b257600080fd5b5061024c6104c1366004611ebe565b6110b8565b3480156104d257600080fd5b506101e76104e136600461226f565b6110f0565b3480156104f257600080fd5b5061024c61050136600461220c565b6111e8565b34801561051257600080fd5b506101bd610521366004611e4f565b61123e565b34801561053257600080fd5b5061024c610541366004611e34565b61126c565b34801561055257600080fd5b5061026360ce5481565b34801561056857600080fd5b5061026360d25481565b600063152a902d60e11b6001600160e01b031983161480610597575061059782611309565b92915050565b6060606580546105ac906126b6565b80601f01602080910402602001604051908101604052809291908181526020018280546105d8906126b6565b80156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061063a82611359565b6106a05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152606960205260409020546001600160a01b031690565b60006106c782610cf5565b9050806001600160a01b0316836001600160a01b031614156107355760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610697565b336001600160a01b03821614806107515750610751813361123e565b6107be5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610697565b6107c88383611376565b505050565b600060ce54600014156107e1575060001990565b60cf5460ce546107f290600161261a565b6107fc9190612673565b905090565b600061080b6113e4565b6108275760405162461bcd60e51b81526004016106979061253b565b61059782611453565b600060016107f260cf5490565b33610846610f48565b6001600160a01b03161461086c5760405162461bcd60e51b815260040161069790612506565b60d28190556040518181527fa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d6229060200160405180910390a150565b6108b2335b82611534565b6108ce5760405162461bcd60e51b815260040161069790612572565b6107c88383836115f6565b600054610100900460ff16806108f2575060005460ff16155b61090e5760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015610930576000805461ffff19166101011790555b61093a8a8a611784565b61094261180b565b61094b8b61126c565b875161095e9060c99060208b0190611d21565b5086516109729060ca9060208a0190611d21565b5060cb869055845161098b9060cc906020880190611d21565b5060cd84905560ce83905560d08290556109a960cf80546001019055565b80156109bb576000805461ff00191690555b5050505050505050505050565b606060006060600060cc60cd5460ca60cb548380546109e6906126b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a12906126b6565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b50505050509350818054610a72906126b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9e906126b6565b8015610aeb5780601f10610ac057610100808354040283529160200191610aeb565b820191906000526020600020905b815481529060010190602001808311610ace57829003601f168201915b50505050509150935093509350935090919293565b33610b09610f48565b6001600160a01b031614610b2f5760405162461bcd60e51b815260040161069790612506565b6001600160a01b0391909116600090815260d160205260409020805460ff1916911515919091179055565b60008080610b66610f48565b6001600160a01b03161415610b8857610b7d610f48565b600091509150610bb0565b610b90610f48565b61271060d05485610ba19190612654565b610bab9190612632565b915091505b9250929050565b33610bc0610f48565b6001600160a01b031614610be65760405162461bcd60e51b815260040161069790612506565b6000610bf0610f48565b6001600160a01b0316476184d090604051600060405180830381858888f193505050503d8060008114610c3f576040519150601f19603f3d011682016040523d82523d6000602084013e610c44565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610697565b50565b6107c8838383604051806020016040528060008152506110b8565b610cb1336108ac565b610cec5760405162461bcd60e51b815260206004820152600c60248201526b139bdd08185c1c1c9bdd995960a21b6044820152606401610697565b610c8a81611886565b6000818152606760205260408120546001600160a01b0316806105975760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610697565b60008060d25411610dae5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420666f722073616c6560a01b6044820152606401610697565b60d2543414610ded5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b6044820152606401610697565b604080516001808252818301909252600091602080830190803683370190505090503381600081518110610e2357610e23612707565b6001600160a01b0390921660209283029190910182015260d2546040805191825233928201929092527f60a6c75698fadb72223808131f9f9bb9db3afa32122db6d94fb8fc985a504baa910160405180910390a1610e8081611453565b91505090565b60006001600160a01b038216610ef15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610697565b506001600160a01b031660009081526068602052604090205490565b33610f16610f48565b6001600160a01b031614610f3c5760405162461bcd60e51b815260040161069790612506565b610f46600061190f565b565b60006107fc6097546001600160a01b031690565b6060606680546105ac906126b6565b6001600160a01b038216331415610fc05760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610697565b336000818152606a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006110366113e4565b6110525760405162461bcd60e51b81526004016106979061253b565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061108857611088612707565b60200260200101906001600160a01b031690816001600160a01b0316815250506110b181611453565b9392505050565b6110c23383611534565b6110de5760405162461bcd60e51b815260040161069790612572565b6110ea84848484611961565b50505050565b60606110fb82611359565b6111325760405162461bcd60e51b81526020600482015260086024820152672737903a37b5b2b760c11b6044820152606401610697565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663df30dba061116961059d565b60c960cc60ca8760ce546040518763ffffffff1660e01b815260040161119496959493929190612403565b60006040518083038186803b1580156111ac57600080fd5b505afa1580156111c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105979190810190612196565b336111f1610f48565b6001600160a01b0316146112175760405162461bcd60e51b815260040161069790612506565b815161122a9060cc906020850190611d21565b5080516107c89060ca906020840190611d21565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b33611275610f48565b6001600160a01b03161461129b5760405162461bcd60e51b815260040161069790612506565b6001600160a01b0381166113005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b610c8a8161190f565b60006001600160e01b031982166380ac58cd60e01b148061133a57506001600160e01b03198216635b5e139f60e01b145b8061059757506301ffc9a760e01b6001600160e01b0319831614610597565b6000908152606760205260409020546001600160a01b0316151590565b600081815260696020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113ab82610cf5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000336113ef610f48565b6001600160a01b031614156114045750600190565b6000805260d16020527efa5413e7b01fc543d01f0911de573ace463b956369df4472f39030e8d98b775460ff161561143c5750600190565b5033600090815260d1602052604090205460ff1690565b60008061145f60cf5490565b905060006001845183611472919061261a565b61147c9190612673565b905060ce5460001480611491575060ce548111155b6114c85760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610697565b806114d260cf5490565b116115285761151584836114e560cf5490565b6114ef9190612673565b815181106114ff576114ff612707565b602002602001015161151060cf5490565b611994565b61152360cf80546001019055565b6114c8565b60cf545b949350505050565b600061153f82611359565b6115a05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610697565b60006115ab83610cf5565b9050806001600160a01b0316846001600160a01b031614806115e65750836001600160a01b03166115db8461062f565b6001600160a01b0316145b8061152c575061152c818561123e565b826001600160a01b031661160982610cf5565b6001600160a01b0316146116715760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610697565b6001600160a01b0382166116d35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610697565b6116de600082611376565b6001600160a01b0383166000908152606860205260408120805460019290611707908490612673565b90915550506001600160a01b038216600090815260686020526040812080546001929061173590849061261a565b909155505060008181526067602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061274a83398151915291a4505050565b600054610100900460ff168061179d575060005460ff16155b6117b95760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff161580156117db576000805461ffff19166101011790555b6117e3611ab5565b6117eb611ab5565b6117f58383611b1f565b80156107c8576000805461ff0019169055505050565b600054610100900460ff1680611824575060005460ff16155b6118405760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611862576000805461ffff19166101011790555b61186a611ab5565b611872611bb4565b8015610c8a576000805461ff001916905550565b600061189182610cf5565b905061189e600083611376565b6001600160a01b03811660009081526068602052604081208054600192906118c7908490612673565b909155505060008281526067602052604080822080546001600160a01b0319169055518391906001600160a01b0384169060008051602061274a833981519152908390a45050565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61196c8484846115f6565b61197884848484611c14565b6110ea5760405162461bcd60e51b815260040161069790612466565b6001600160a01b0382166119ea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610697565b6119f381611359565b15611a405760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b6001600160a01b0382166000908152606860205260408120805460019290611a6990849061261a565b909155505060008181526067602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061274a833981519152908290a45050565b600054610100900460ff1680611ace575060005460ff16155b611aea5760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611872576000805461ffff19166101011790558015610c8a576000805461ff001916905550565b600054610100900460ff1680611b38575060005460ff16155b611b545760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611b76576000805461ffff19166101011790555b8251611b89906065906020860190611d21565b508151611b9d906066906020850190611d21565b5080156107c8576000805461ff0019169055505050565b600054610100900460ff1680611bcd575060005460ff16155b611be95760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611c0b576000805461ffff19166101011790555b6118723361190f565b60006001600160a01b0384163b15611d1657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c58903390899088908890600401612376565b602060405180830381600087803b158015611c7257600080fd5b505af1925050508015611ca2575060408051601f3d908101601f19168201909252611c9f91810190612179565b60015b611cfc573d808015611cd0576040519150601f19603f3d011682016040523d82523d6000602084013e611cd5565b606091505b508051611cf45760405162461bcd60e51b815260040161069790612466565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061152c565b506001949350505050565b828054611d2d906126b6565b90600052602060002090601f016020900481019282611d4f5760008555611d95565b82601f10611d6857805160ff1916838001178555611d95565b82800160010185558215611d95579182015b82811115611d95578251825591602001919060010190611d7a565b50611da1929150611da5565b5090565b5b80821115611da15760008155600101611da6565b6000611dcd611dc8846125f3565b6125c3565b9050828152838383011115611de157600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611e0f57600080fd5b919050565b600082601f830112611e2557600080fd5b6110b183833560208501611dba565b600060208284031215611e4657600080fd5b6110b182611df8565b60008060408385031215611e6257600080fd5b611e6b83611df8565b9150611e7960208401611df8565b90509250929050565b600080600060608486031215611e9757600080fd5b611ea084611df8565b9250611eae60208501611df8565b9150604084013590509250925092565b60008060008060808587031215611ed457600080fd5b611edd85611df8565b9350611eeb60208601611df8565b92506040850135915060608501356001600160401b03811115611f0d57600080fd5b8501601f81018713611f1e57600080fd5b611f2d87823560208401611dba565b91505092959194509250565b60008060408385031215611f4c57600080fd5b611f5583611df8565b915060208301358015158114611f6a57600080fd5b809150509250929050565b6000806000806000806000806000806101408b8d031215611f9557600080fd5b611f9e8b611df8565b995060208b01356001600160401b0380821115611fba57600080fd5b611fc68e838f01611e14565b9a5060408d0135915080821115611fdc57600080fd5b611fe88e838f01611e14565b995060608d0135915080821115611ffe57600080fd5b61200a8e838f01611e14565b985060808d013591508082111561202057600080fd5b61202c8e838f01611e14565b975060a08d0135965060c08d013591508082111561204957600080fd5b506120568d828e01611e14565b94505060e08b013592506101008b013591506101208b013590509295989b9194979a5092959850565b6000806040838503121561209257600080fd5b61209b83611df8565b946020939093013593505050565b600060208083850312156120bc57600080fd5b82356001600160401b03808211156120d357600080fd5b818501915085601f8301126120e757600080fd5b8135818111156120f9576120f961271d565b8060051b915061210a8483016125c3565b8181528481019084860184860187018a101561212557600080fd5b600095505b8386101561214f5761213b81611df8565b83526001959095019491860191860161212a565b5098975050505050505050565b60006020828403121561216e57600080fd5b81356110b181612733565b60006020828403121561218b57600080fd5b81516110b181612733565b6000602082840312156121a857600080fd5b81516001600160401b038111156121be57600080fd5b8201601f810184136121cf57600080fd5b80516121dd611dc8826125f3565b8181528560208385010111156121f257600080fd5b61220382602083016020860161268a565b95945050505050565b6000806040838503121561221f57600080fd5b82356001600160401b038082111561223657600080fd5b61224286838701611e14565b9350602085013591508082111561225857600080fd5b5061226585828601611e14565b9150509250929050565b60006020828403121561228157600080fd5b5035919050565b6000806040838503121561229b57600080fd5b50508035926020909101359150565b600081518084526122c281602086016020860161268a565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806122f057607f831692505b602080841082141561231257634e487b7160e01b600052602260045260246000fd5b8388526020880182801561232d576001811461233e57612369565b60ff19871682528282019750612369565b60008981526020902060005b878110156123635781548482015290860190840161234a565b83019850505b5050505050505092915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123a9908301846122aa565b9695505050505050565b6020815260006110b160208301846122aa565b6080815260006123d960808301876122aa565b85602084015282810360408401526123f181866122aa565b91505082606083015295945050505050565b60c08152600061241660c08301896122aa565b828103602084015261242881896122d6565b9050828103604084015261243c81886122d6565b9050828103606084015261245081876122d6565b6080840195909552505060a00152949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f4e6565647320746f20626520616e20616c6c6f776564206d696e746572000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b03811182821017156125eb576125eb61271d565b604052919050565b60006001600160401b0382111561260c5761260c61271d565b50601f01601f191660200190565b6000821982111561262d5761262d6126f1565b500190565b60008261264f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561266e5761266e6126f1565b500290565b600082821015612685576126856126f1565b500390565b60005b838110156126a557818101518382015260200161268d565b838111156110ea5750506000910152565b600181811c908216806126ca57607f821691505b602082108114156126eb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c8a57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201c3205caba4a18f216451f351bef92e94fa6ee4892e692f03883c6afb0bb215364736f6c634300080600330000000000000000000000003f4701c912e8c1fe71ffae0b9eabff40dce8e4f6
Deployed Bytecode
0x6080604052600436106101985760003560e01c806342966c68116100e2578063a66ff0af11610085578063a66ff0af14610486578063b88d4fde146104a6578063c87b56dd146104c6578063e444bfcc146104e6578063e985e9c514610506578063f2fde38b14610526578063f4ed0f4614610546578063f51f96dd1461055c57600080fd5b806342966c68146103bf5780636352211e146103df57806364edfbf0146103ff57806370a0823114610407578063715018a6146104275780638da5cb5b1461043c57806395d89b4114610451578063a22cb4651461046657600080fd5b80631919fed71161014a5780631919fed7146102a657806323b872dd146102c657806325f0ea90146102e657806328c5440f1461030657806329ec16dd1461032b5780632a55205a1461034b5780633ccfd60b1461038a57806342842e0e1461039f57600080fd5b806301ffc9a71461019d57806306fdde03146101d2578063081812fc146101f4578063095ea7b31461022c5780630b65b6e71461024e5780630f6a93491461027157806318160ddd14610291575b600080fd5b3480156101a957600080fd5b506101bd6101b836600461215c565b610572565b60405190151581526020015b60405180910390f35b3480156101de57600080fd5b506101e761059d565b6040516101c991906123b3565b34801561020057600080fd5b5061021461020f36600461226f565b61062f565b6040516001600160a01b0390911681526020016101c9565b34801561023857600080fd5b5061024c61024736600461207f565b6106bc565b005b34801561025a57600080fd5b506102636107cd565b6040519081526020016101c9565b34801561027d57600080fd5b5061026361028c3660046120a9565b610801565b34801561029d57600080fd5b50610263610830565b3480156102b257600080fd5b5061024c6102c136600461226f565b61083d565b3480156102d257600080fd5b5061024c6102e1366004611e82565b6108a7565b3480156102f257600080fd5b5061024c610301366004611f75565b6108d9565b34801561031257600080fd5b5061031b6109c8565b6040516101c994939291906123c6565b34801561033757600080fd5b5061024c610346366004611f39565b610b00565b34801561035757600080fd5b5061036b610366366004612288565b610b5a565b604080516001600160a01b0390931683526020830191909152016101c9565b34801561039657600080fd5b5061024c610bb7565b3480156103ab57600080fd5b5061024c6103ba366004611e82565b610c8d565b3480156103cb57600080fd5b5061024c6103da36600461226f565b610ca8565b3480156103eb57600080fd5b506102146103fa36600461226f565b610cf5565b610263610d6c565b34801561041357600080fd5b50610263610422366004611e34565b610e86565b34801561043357600080fd5b5061024c610f0d565b34801561044857600080fd5b50610214610f48565b34801561045d57600080fd5b506101e7610f5c565b34801561047257600080fd5b5061024c610481366004611f39565b610f6b565b34801561049257600080fd5b506102636104a1366004611e34565b61102c565b3480156104b257600080fd5b5061024c6104c1366004611ebe565b6110b8565b3480156104d257600080fd5b506101e76104e136600461226f565b6110f0565b3480156104f257600080fd5b5061024c61050136600461220c565b6111e8565b34801561051257600080fd5b506101bd610521366004611e4f565b61123e565b34801561053257600080fd5b5061024c610541366004611e34565b61126c565b34801561055257600080fd5b5061026360ce5481565b34801561056857600080fd5b5061026360d25481565b600063152a902d60e11b6001600160e01b031983161480610597575061059782611309565b92915050565b6060606580546105ac906126b6565b80601f01602080910402602001604051908101604052809291908181526020018280546105d8906126b6565b80156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b5050505050905090565b600061063a82611359565b6106a05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152606960205260409020546001600160a01b031690565b60006106c782610cf5565b9050806001600160a01b0316836001600160a01b031614156107355760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610697565b336001600160a01b03821614806107515750610751813361123e565b6107be5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610697565b6107c88383611376565b505050565b600060ce54600014156107e1575060001990565b60cf5460ce546107f290600161261a565b6107fc9190612673565b905090565b600061080b6113e4565b6108275760405162461bcd60e51b81526004016106979061253b565b61059782611453565b600060016107f260cf5490565b33610846610f48565b6001600160a01b03161461086c5760405162461bcd60e51b815260040161069790612506565b60d28190556040518181527fa6dc15bdb68da224c66db4b3838d9a2b205138e8cff6774e57d0af91e196d6229060200160405180910390a150565b6108b2335b82611534565b6108ce5760405162461bcd60e51b815260040161069790612572565b6107c88383836115f6565b600054610100900460ff16806108f2575060005460ff16155b61090e5760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015610930576000805461ffff19166101011790555b61093a8a8a611784565b61094261180b565b61094b8b61126c565b875161095e9060c99060208b0190611d21565b5086516109729060ca9060208a0190611d21565b5060cb869055845161098b9060cc906020880190611d21565b5060cd84905560ce83905560d08290556109a960cf80546001019055565b80156109bb576000805461ff00191690555b5050505050505050505050565b606060006060600060cc60cd5460ca60cb548380546109e6906126b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a12906126b6565b8015610a5f5780601f10610a3457610100808354040283529160200191610a5f565b820191906000526020600020905b815481529060010190602001808311610a4257829003601f168201915b50505050509350818054610a72906126b6565b80601f0160208091040260200160405190810160405280929190818152602001828054610a9e906126b6565b8015610aeb5780601f10610ac057610100808354040283529160200191610aeb565b820191906000526020600020905b815481529060010190602001808311610ace57829003601f168201915b50505050509150935093509350935090919293565b33610b09610f48565b6001600160a01b031614610b2f5760405162461bcd60e51b815260040161069790612506565b6001600160a01b0391909116600090815260d160205260409020805460ff1916911515919091179055565b60008080610b66610f48565b6001600160a01b03161415610b8857610b7d610f48565b600091509150610bb0565b610b90610f48565b61271060d05485610ba19190612654565b610bab9190612632565b915091505b9250929050565b33610bc0610f48565b6001600160a01b031614610be65760405162461bcd60e51b815260040161069790612506565b6000610bf0610f48565b6001600160a01b0316476184d090604051600060405180830381858888f193505050503d8060008114610c3f576040519150601f19603f3d011682016040523d82523d6000602084013e610c44565b606091505b5050905080610c8a5760405162461bcd60e51b815260206004820152601260248201527108cc2d2d8cac840e8de40e6cadcc8408aa8960731b6044820152606401610697565b50565b6107c8838383604051806020016040528060008152506110b8565b610cb1336108ac565b610cec5760405162461bcd60e51b815260206004820152600c60248201526b139bdd08185c1c1c9bdd995960a21b6044820152606401610697565b610c8a81611886565b6000818152606760205260408120546001600160a01b0316806105975760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610697565b60008060d25411610dae5760405162461bcd60e51b815260206004820152600c60248201526b4e6f7420666f722073616c6560a01b6044820152606401610697565b60d2543414610ded5760405162461bcd60e51b815260206004820152600b60248201526a57726f6e6720707269636560a81b6044820152606401610697565b604080516001808252818301909252600091602080830190803683370190505090503381600081518110610e2357610e23612707565b6001600160a01b0390921660209283029190910182015260d2546040805191825233928201929092527f60a6c75698fadb72223808131f9f9bb9db3afa32122db6d94fb8fc985a504baa910160405180910390a1610e8081611453565b91505090565b60006001600160a01b038216610ef15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610697565b506001600160a01b031660009081526068602052604090205490565b33610f16610f48565b6001600160a01b031614610f3c5760405162461bcd60e51b815260040161069790612506565b610f46600061190f565b565b60006107fc6097546001600160a01b031690565b6060606680546105ac906126b6565b6001600160a01b038216331415610fc05760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610697565b336000818152606a602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60006110366113e4565b6110525760405162461bcd60e51b81526004016106979061253b565b60408051600180825281830190925260009160208083019080368337019050509050828160008151811061108857611088612707565b60200260200101906001600160a01b031690816001600160a01b0316815250506110b181611453565b9392505050565b6110c23383611534565b6110de5760405162461bcd60e51b815260040161069790612572565b6110ea84848484611961565b50505050565b60606110fb82611359565b6111325760405162461bcd60e51b81526020600482015260086024820152672737903a37b5b2b760c11b6044820152606401610697565b7f0000000000000000000000003f4701c912e8c1fe71ffae0b9eabff40dce8e4f66001600160a01b031663df30dba061116961059d565b60c960cc60ca8760ce546040518763ffffffff1660e01b815260040161119496959493929190612403565b60006040518083038186803b1580156111ac57600080fd5b505afa1580156111c0573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105979190810190612196565b336111f1610f48565b6001600160a01b0316146112175760405162461bcd60e51b815260040161069790612506565b815161122a9060cc906020850190611d21565b5080516107c89060ca906020840190611d21565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b33611275610f48565b6001600160a01b03161461129b5760405162461bcd60e51b815260040161069790612506565b6001600160a01b0381166113005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610697565b610c8a8161190f565b60006001600160e01b031982166380ac58cd60e01b148061133a57506001600160e01b03198216635b5e139f60e01b145b8061059757506301ffc9a760e01b6001600160e01b0319831614610597565b6000908152606760205260409020546001600160a01b0316151590565b600081815260696020526040902080546001600160a01b0319166001600160a01b03841690811790915581906113ab82610cf5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000336113ef610f48565b6001600160a01b031614156114045750600190565b6000805260d16020527efa5413e7b01fc543d01f0911de573ace463b956369df4472f39030e8d98b775460ff161561143c5750600190565b5033600090815260d1602052604090205460ff1690565b60008061145f60cf5490565b905060006001845183611472919061261a565b61147c9190612673565b905060ce5460001480611491575060ce548111155b6114c85760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610697565b806114d260cf5490565b116115285761151584836114e560cf5490565b6114ef9190612673565b815181106114ff576114ff612707565b602002602001015161151060cf5490565b611994565b61152360cf80546001019055565b6114c8565b60cf545b949350505050565b600061153f82611359565b6115a05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610697565b60006115ab83610cf5565b9050806001600160a01b0316846001600160a01b031614806115e65750836001600160a01b03166115db8461062f565b6001600160a01b0316145b8061152c575061152c818561123e565b826001600160a01b031661160982610cf5565b6001600160a01b0316146116715760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610697565b6001600160a01b0382166116d35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610697565b6116de600082611376565b6001600160a01b0383166000908152606860205260408120805460019290611707908490612673565b90915550506001600160a01b038216600090815260686020526040812080546001929061173590849061261a565b909155505060008181526067602052604080822080546001600160a01b0319166001600160a01b03868116918217909255915184939187169160008051602061274a83398151915291a4505050565b600054610100900460ff168061179d575060005460ff16155b6117b95760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff161580156117db576000805461ffff19166101011790555b6117e3611ab5565b6117eb611ab5565b6117f58383611b1f565b80156107c8576000805461ff0019169055505050565b600054610100900460ff1680611824575060005460ff16155b6118405760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611862576000805461ffff19166101011790555b61186a611ab5565b611872611bb4565b8015610c8a576000805461ff001916905550565b600061189182610cf5565b905061189e600083611376565b6001600160a01b03811660009081526068602052604081208054600192906118c7908490612673565b909155505060008281526067602052604080822080546001600160a01b0319169055518391906001600160a01b0384169060008051602061274a833981519152908390a45050565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61196c8484846115f6565b61197884848484611c14565b6110ea5760405162461bcd60e51b815260040161069790612466565b6001600160a01b0382166119ea5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610697565b6119f381611359565b15611a405760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610697565b6001600160a01b0382166000908152606860205260408120805460019290611a6990849061261a565b909155505060008181526067602052604080822080546001600160a01b0319166001600160a01b038616908117909155905183929060008051602061274a833981519152908290a45050565b600054610100900460ff1680611ace575060005460ff16155b611aea5760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611872576000805461ffff19166101011790558015610c8a576000805461ff001916905550565b600054610100900460ff1680611b38575060005460ff16155b611b545760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611b76576000805461ffff19166101011790555b8251611b89906065906020860190611d21565b508151611b9d906066906020850190611d21565b5080156107c8576000805461ff0019169055505050565b600054610100900460ff1680611bcd575060005460ff16155b611be95760405162461bcd60e51b8152600401610697906124b8565b600054610100900460ff16158015611c0b576000805461ffff19166101011790555b6118723361190f565b60006001600160a01b0384163b15611d1657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611c58903390899088908890600401612376565b602060405180830381600087803b158015611c7257600080fd5b505af1925050508015611ca2575060408051601f3d908101601f19168201909252611c9f91810190612179565b60015b611cfc573d808015611cd0576040519150601f19603f3d011682016040523d82523d6000602084013e611cd5565b606091505b508051611cf45760405162461bcd60e51b815260040161069790612466565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061152c565b506001949350505050565b828054611d2d906126b6565b90600052602060002090601f016020900481019282611d4f5760008555611d95565b82601f10611d6857805160ff1916838001178555611d95565b82800160010185558215611d95579182015b82811115611d95578251825591602001919060010190611d7a565b50611da1929150611da5565b5090565b5b80821115611da15760008155600101611da6565b6000611dcd611dc8846125f3565b6125c3565b9050828152838383011115611de157600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114611e0f57600080fd5b919050565b600082601f830112611e2557600080fd5b6110b183833560208501611dba565b600060208284031215611e4657600080fd5b6110b182611df8565b60008060408385031215611e6257600080fd5b611e6b83611df8565b9150611e7960208401611df8565b90509250929050565b600080600060608486031215611e9757600080fd5b611ea084611df8565b9250611eae60208501611df8565b9150604084013590509250925092565b60008060008060808587031215611ed457600080fd5b611edd85611df8565b9350611eeb60208601611df8565b92506040850135915060608501356001600160401b03811115611f0d57600080fd5b8501601f81018713611f1e57600080fd5b611f2d87823560208401611dba565b91505092959194509250565b60008060408385031215611f4c57600080fd5b611f5583611df8565b915060208301358015158114611f6a57600080fd5b809150509250929050565b6000806000806000806000806000806101408b8d031215611f9557600080fd5b611f9e8b611df8565b995060208b01356001600160401b0380821115611fba57600080fd5b611fc68e838f01611e14565b9a5060408d0135915080821115611fdc57600080fd5b611fe88e838f01611e14565b995060608d0135915080821115611ffe57600080fd5b61200a8e838f01611e14565b985060808d013591508082111561202057600080fd5b61202c8e838f01611e14565b975060a08d0135965060c08d013591508082111561204957600080fd5b506120568d828e01611e14565b94505060e08b013592506101008b013591506101208b013590509295989b9194979a5092959850565b6000806040838503121561209257600080fd5b61209b83611df8565b946020939093013593505050565b600060208083850312156120bc57600080fd5b82356001600160401b03808211156120d357600080fd5b818501915085601f8301126120e757600080fd5b8135818111156120f9576120f961271d565b8060051b915061210a8483016125c3565b8181528481019084860184860187018a101561212557600080fd5b600095505b8386101561214f5761213b81611df8565b83526001959095019491860191860161212a565b5098975050505050505050565b60006020828403121561216e57600080fd5b81356110b181612733565b60006020828403121561218b57600080fd5b81516110b181612733565b6000602082840312156121a857600080fd5b81516001600160401b038111156121be57600080fd5b8201601f810184136121cf57600080fd5b80516121dd611dc8826125f3565b8181528560208385010111156121f257600080fd5b61220382602083016020860161268a565b95945050505050565b6000806040838503121561221f57600080fd5b82356001600160401b038082111561223657600080fd5b61224286838701611e14565b9350602085013591508082111561225857600080fd5b5061226585828601611e14565b9150509250929050565b60006020828403121561228157600080fd5b5035919050565b6000806040838503121561229b57600080fd5b50508035926020909101359150565b600081518084526122c281602086016020860161268a565b601f01601f19169290920160200192915050565b8054600090600181811c90808316806122f057607f831692505b602080841082141561231257634e487b7160e01b600052602260045260246000fd5b8388526020880182801561232d576001811461233e57612369565b60ff19871682528282019750612369565b60008981526020902060005b878110156123635781548482015290860190840161234a565b83019850505b5050505050505092915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123a9908301846122aa565b9695505050505050565b6020815260006110b160208301846122aa565b6080815260006123d960808301876122aa565b85602084015282810360408401526123f181866122aa565b91505082606083015295945050505050565b60c08152600061241660c08301896122aa565b828103602084015261242881896122d6565b9050828103604084015261243c81886122d6565b9050828103606084015261245081876122d6565b6080840195909552505060a00152949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601d908201527f4e6565647320746f20626520616e20616c6c6f776564206d696e746572000000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f191681016001600160401b03811182821017156125eb576125eb61271d565b604052919050565b60006001600160401b0382111561260c5761260c61271d565b50601f01601f191660200190565b6000821982111561262d5761262d6126f1565b500190565b60008261264f57634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561266e5761266e6126f1565b500290565b600082821015612685576126856126f1565b500390565b60005b838110156126a557818101518382015260200161268d565b838111156110ea5750506000910152565b600181811c908216806126ca57607f821691505b602082108114156126eb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c8a57600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201c3205caba4a18f216451f351bef92e94fa6ee4892e692f03883c6afb0bb215364736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003f4701c912e8c1fe71ffae0b9eabff40dce8e4f6
-----Decoded View---------------
Arg [0] : _sharedNFTLogic (address): 0x3F4701C912E8C1fE71FfAe0B9eABfF40dcE8e4f6
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003f4701c912e8c1fe71ffae0b9eabff40dce8e4f6
Deployed Bytecode Sourcemap
1230:10599:19:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11517:310;;;;;;;;;;-1:-1:-1;11517:310:19;;;;;:::i;:::-;;:::i;:::-;;;10092:14:21;;10085:22;10067:41;;10055:2;10040:18;11517:310:19;;;;;;;;2936:98:5;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;4458:217::-;;;;;;;;;;-1:-1:-1;4458:217:5;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9111:32:21;;;9093:51;;9081:2;9066:18;4458:217:5;9048:102:21;3985:412:5;;;;;;;;;;-1:-1:-1;3985:412:5;;;;;:::i;:::-;;:::i;:::-;;8872:321:19;;;;;;;;;;;;;:::i;:::-;;;20673:25:21;;;20661:2;20646:18;8872:321:19;20628:76:21;7323:234:19;;;;;;;;;;-1:-1:-1;7323:234:19;;;;;:::i;:::-;;:::i;4801:102::-;;;;;;;;;;;;;:::i;5888:138::-;;;;;;;;;;-1:-1:-1;5888:138:19;;;;;:::i;:::-;;:::i;5322:330:5:-;;;;;;;;;;-1:-1:-1;5322:330:5;;;;;:::i;:::-;;:::i;3879:847:19:-;;;;;;;;;;-1:-1:-1;3879:847:19;;;;;:::i;:::-;;:::i;10260:248::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;:::i;8275:123::-;;;;;;;;;;-1:-1:-1;8275:123:19;;;;;:::i;:::-;;:::i;10628:310::-;;;;;;;;;;-1:-1:-1;10628:310:19;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;9840:32:21;;;9822:51;;9904:2;9889:18;;9882:34;;;;9795:18;10628:310:19;9777:145:21;6119:198:19;;;;;;;;;;;;;:::i;5718:179:5:-;;;;;;;;;;-1:-1:-1;5718:179:5;;;;;:::i;:::-;;:::i;9296:145:19:-;;;;;;;;;;-1:-1:-1;9296:145:19;;;;;:::i;:::-;;:::i;2639:235:5:-;;;;;;;;;;-1:-1:-1;2639:235:5;;;;;:::i;:::-;;:::i;5187:337:19:-;;;:::i;2377:205:5:-;;;;;;;;;;-1:-1:-1;2377:205:5;;;;;:::i;:::-;;:::i;1871:92:0:-;;;;;;;;;;;;;:::i;7624:173:19:-;;;;;;;;;;;;;:::i;3098:102:5:-;;;;;;;;;;;;;:::i;4742:290::-;;;;;;;;;;-1:-1:-1;4742:290:5;;;;;:::i;:::-;;:::i;6890:260:19:-;;;;;;;;;;-1:-1:-1;6890:260:19;;;;;:::i;:::-;;:::i;5963:320:5:-;;;;;;;;;;-1:-1:-1;5963:320:5;;;;;:::i;:::-;;:::i;11098:413:19:-;;;;;;;;;;-1:-1:-1;11098:413:19;;;;;:::i;:::-;;:::i;8584:195::-;;;;;;;;;;-1:-1:-1;8584:195:19;;;;;:::i;:::-;;:::i;5098:162:5:-;;;;;;;;;;-1:-1:-1;5098:162:5;;;;;:::i;:::-;;:::i;2112:189:0:-;;;;;;;;;;-1:-1:-1;2112:189:0;;;;;:::i;:::-;;:::i;1920:26:19:-;;;;;;;;;;;;;;;;2198:24;;;;;;;;;;;;;;;;11517:310;11665:4;-1:-1:-1;;;;;;;;;11704:52:19;;;;:116;;;11772:48;11808:11;11772:35;:48::i;:::-;11685:135;11517:310;-1:-1:-1;;11517:310:19:o;2936:98:5:-;2990:13;3022:5;3015:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2936:98;:::o;4458:217::-;4534:7;4561:16;4569:7;4561;:16::i;:::-;4553:73;;;;-1:-1:-1;;;4553:73:5;;17344:2:21;4553:73:5;;;17326:21:21;17383:2;17363:18;;;17356:30;17422:34;17402:18;;;17395:62;-1:-1:-1;;;17473:18:21;;;17466:42;17525:19;;4553:73:5;;;;;;;;;-1:-1:-1;4644:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;4644:24:5;;4458:217::o;3985:412::-;4065:13;4081:34;4107:7;4081:25;:34::i;:::-;4065:50;;4139:5;-1:-1:-1;;;;;4133:11:5;:2;-1:-1:-1;;;;;4133:11:5;;;4125:57;;;;-1:-1:-1;;;4125:57:5;;19573:2:21;4125:57:5;;;19555:21:21;19612:2;19592:18;;;19585:30;19651:34;19631:18;;;19624:62;-1:-1:-1;;;19702:18:21;;;19695:31;19743:19;;4125:57:5;19545:223:21;4125:57:5;902:10:10;-1:-1:-1;;;;;4214:21:5;;;;:62;;-1:-1:-1;4239:37:5;4256:5;902:10:10;5098:162:5;:::i;4239:37::-;4193:165;;;;-1:-1:-1;;;4193:165:5;;14640:2:21;4193:165:5;;;14622:21:21;14679:2;14659:18;;;14652:30;14718:34;14698:18;;;14691:62;-1:-1:-1;;;14769:18:21;;;14762:54;14833:19;;4193:165:5;14612:246:21;4193:165:5;4369:21;4378:2;4382:7;4369:8;:21::i;:::-;4055:342;3985:412;;:::o;8872:321:19:-;8927:7;8992:11;;9007:1;8992:16;8988:71;;;-1:-1:-1;;;9031:17:19;8872:321::o;8988:71::-;9165:11;875:14:11;9147:11:19;;:15;;9161:1;9147:15;:::i;:::-;:39;;;;:::i;:::-;9140:46;;8872:321;:::o;7323:234::-;7425:7;7456:18;:16;:18::i;:::-;7448:60;;;;-1:-1:-1;;;7448:60:19;;;;;;;:::i;:::-;7525:25;7539:10;7525:13;:25::i;4801:102::-;4845:7;4895:1;4871:21;:11;875:14:11;;784:112;5888:138:19;902:10:10;1451:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1451:23:0;;1443:68;;;;-1:-1:-1;;;1443:68:0;;;;;;;:::i;:::-;5959:9:19::1;:22:::0;;;5996:23:::1;::::0;20673:25:21;;;5996:23:19::1;::::0;20661:2:21;20646:18;5996:23:19::1;;;;;;;5888:138:::0;:::o;5322:330:5:-;5511:41;902:10:10;5530:12:5;5544:7;5511:18;:41::i;:::-;5503:103;;;;-1:-1:-1;;;5503:103:5;;;;;;;:::i;:::-;5617:28;5627:4;5633:2;5637:7;5617:9;:28::i;3879:847:19:-;1409:13:4;;;;;;;;:30;;-1:-1:-1;1427:12:4;;;;1426:13;1409:30;1401:89;;;;-1:-1:-1;;;1401:89:4;;;;;;;:::i;:::-;1501:19;1524:13;;;;;;1523:14;1547:98;;;;1581:13;:20;;-1:-1:-1;;1615:19:4;;;;;1547:98;4243:29:19::1;4257:5;4264:7;4243:13;:29::i;:::-;4282:16;:14;:16::i;:::-;4369:25;4387:6;4369:17;:25::i;:::-;4404:26:::0;;::::1;::::0;:11:::1;::::0;:26:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;4440:28:19;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;4478:13:19::1;:30:::0;;;4518:20;;::::1;::::0;:8:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;4548:9:19::1;:22:::0;;;4580:11:::1;:26:::0;;;4616:10:::1;:24:::0;;;4696:23:::1;:11;989:19:11::0;;1007:1;989:19;;;902:123;4696:23:19::1;1671:14:4::0;1667:66;;;1717:5;1701:21;;-1:-1:-1;;1701:21:4;;;1667:66;1391:348;3879:847:19;;;;;;;;;;:::o;10260:248::-;10337:13;10364:7;10385:13;10412:7;10452:8;10462:9;;10473:12;10487:13;;10444:57;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10260:248;;;;:::o;8275:123::-;902:10:10;1451:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1451:23:0;;1443:68;;;;-1:-1:-1;;;1443:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;8359:22:19;;;::::1;;::::0;;;:14:::1;:22;::::0;;;;:32;;-1:-1:-1;;8359:32:19::1;::::0;::::1;;::::0;;;::::1;::::0;;8275:123::o;10628:310::-;10742:16;;;10801:7;:5;:7::i;:::-;-1:-1:-1;;;;;10801:23:19;;10797:73;;;10848:7;:5;:7::i;:::-;10857:1;10840:19;;;;;;10797:73;10887:7;:5;:7::i;:::-;10924:6;10910:10;;10897;:23;;;;:::i;:::-;10896:34;;;;:::i;:::-;10879:52;;;;10628:310;;;;;;:::o;6119:198::-;902:10:10;1451:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1451:23:0;;1443:68;;;;-1:-1:-1;;;1443:68:0;;;;;;;:::i;:::-;6169:9:19::1;6184:7;:5;:7::i;:::-;-1:-1:-1::0;;;;;6184:12:19::1;6204:21;6232:6;6184:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6168:97;;;6283:4;6275:35;;;::::0;-1:-1:-1;;;6275:35:19;;18528:2:21;6275:35:19::1;::::0;::::1;18510:21:21::0;18567:2;18547:18;;;18540:30;-1:-1:-1;;;18586:18:21;;;18579:48;18644:18;;6275:35:19::1;18500:168:21::0;6275:35:19::1;6158:159;6119:198::o:0;5718:179:5:-;5851:39;5868:4;5874:2;5878:7;5851:39;;;;;;;;;;;;:16;:39::i;9296:145:19:-;9352:41;902:10:10;9371:12:19;823:96:10;9352:41:19;9344:66;;;;-1:-1:-1;;;9344:66:19;;15065:2:21;9344:66:19;;;15047:21:21;15104:2;15084:18;;;15077:30;-1:-1:-1;;;15123:18:21;;;15116:42;15175:18;;9344:66:19;15037:162:21;9344:66:19;9420:14;9426:7;9420:5;:14::i;2639:235:5:-;2711:7;2746:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2746:16:5;2780:19;2772:73;;;;-1:-1:-1;;;2772:73:5;;15817:2:21;2772:73:5;;;15799:21:21;15856:2;15836:18;;;15829:30;15895:34;15875:18;;;15868:62;-1:-1:-1;;;15946:18:21;;;15939:39;15995:19;;2772:73:5;15789:231:21;5187:337:19;5233:7;5272:1;5260:9;;:13;5252:38;;;;-1:-1:-1;;;5252:38:19;;16642:2:21;5252:38:19;;;16624:21:21;16681:2;16661:18;;;16654:30;-1:-1:-1;;;16700:18:21;;;16693:42;16752:18;;5252:38:19;16614:162:21;5252:38:19;5321:9;;5308;:22;5300:46;;;;-1:-1:-1;;;5300:46:19;;18875:2:21;5300:46:19;;;18857:21:21;18914:2;18894:18;;;18887:30;-1:-1:-1;;;18933:18:21;;;18926:41;18984:18;;5300:46:19;18847:161:21;5300:46:19;5382:16;;;5396:1;5382:16;;;;;;;;;5356:23;;5382:16;;;;;;;;;;;-1:-1:-1;5382:16:19;5356:42;;5420:10;5408:6;5415:1;5408:9;;;;;;;;:::i;:::-;-1:-1:-1;;;;;5408:22:19;;;:9;;;;;;;;;;:22;5457:9;;5445:34;;;20883:25:21;;;5468:10:19;20924:18:21;;;20917:60;;;;5445:34:19;;20856:18:21;5445:34:19;;;;;;;5496:21;5510:6;5496:13;:21::i;:::-;5489:28;;;5187:337;:::o;2377:205:5:-;2449:7;-1:-1:-1;;;;;2476:19:5;;2468:74;;;;-1:-1:-1;;;2468:74:5;;15406:2:21;2468:74:5;;;15388:21:21;15445:2;15425:18;;;15418:30;15484:34;15464:18;;;15457:62;-1:-1:-1;;;15535:18:21;;;15528:40;15585:19;;2468:74:5;15378:232:21;2468:74:5;-1:-1:-1;;;;;;2559:16:5;;;;;:9;:16;;;;;;;2377:205::o;1871:92:0:-;902:10:10;1451:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1451:23:0;;1443:68;;;;-1:-1:-1;;;1443:68:0;;;;;;;:::i;:::-;1935:21:::1;1953:1;1935:9;:21::i;:::-;1871:92::o:0;7624:173:19:-;7747:7;7777:13;1311:6:0;;-1:-1:-1;;;;;1311:6:0;;1239:85;3098:102:5;3154:13;3186:7;3179:14;;;;;:::i;4742:290::-;-1:-1:-1;;;;;4844:24:5;;902:10:10;4844:24:5;;4836:62;;;;-1:-1:-1;;;4836:62:5;;13537:2:21;4836:62:5;;;13519:21:21;13576:2;13556:18;;;13549:30;-1:-1:-1;;;13595:18:21;;;13588:55;13660:18;;4836:62:5;13509:175:21;4836:62:5;902:10:10;4909:32:5;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4909:42:5;;;;;;;;;;;;:53;;-1:-1:-1;;4909:53:5;;;;;;;;;;4977:48;;10067:41:21;;;4909:42:5;;902:10:10;4977:48:5;;10040:18:21;4977:48:5;;;;;;;4742:290;;:::o;6890:260:19:-;6950:7;6977:18;:16;:18::i;:::-;6969:60;;;;-1:-1:-1;;;6969:60:19;;;;;;;:::i;:::-;7065:16;;;7079:1;7065:16;;;;;;;;;7039:23;;7065:16;;;;;;;;;;;-1:-1:-1;7065:16:19;7039:42;;7103:2;7091:6;7098:1;7091:9;;;;;;;;:::i;:::-;;;;;;:14;-1:-1:-1;;;;;7091:14:19;;;-1:-1:-1;;;;;7091:14:19;;;;;7122:21;7136:6;7122:13;:21::i;:::-;7115:28;6890:260;-1:-1:-1;;;6890:260:19:o;5963:320:5:-;6132:41;902:10:10;6165:7:5;6132:18;:41::i;:::-;6124:103;;;;-1:-1:-1;;;6124:103:5;;;;;;;:::i;:::-;6237:39;6251:4;6257:2;6261:7;6270:5;6237:13;:39::i;:::-;5963:320;;;;:::o;11098:413:19:-;11195:13;11232:16;11240:7;11232;:16::i;:::-;11224:37;;;;-1:-1:-1;;;11224:37:19;;14304:2:21;11224:37:19;;;14286:21:21;14343:1;14323:18;;;14316:29;-1:-1:-1;;;14361:18:21;;;14354:38;14409:18;;11224:37:19;14276:157:21;11224:37:19;11291:14;-1:-1:-1;;;;;11291:36:19;;11345:6;:4;:6::i;:::-;11369:11;11398:8;11424:12;11454:7;11479:11;;11291:213;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;11291:213:19;;;;;;;;;;;;:::i;8584:195::-;902:10:10;1451:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1451:23:0;;1443:68;;;;-1:-1:-1;;;1443:68:0;;;;;;;:::i;:::-;8714:20:19;;::::1;::::0;:8:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;8744:28:19;;::::1;::::0;:12:::1;::::0;:28:::1;::::0;::::1;::::0;::::1;:::i;5098:162:5:-:0;-1:-1:-1;;;;;5218:25:5;;;5195:4;5218:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;5098:162::o;2112:189:0:-;902:10:10;1451:7:0;:5;:7::i;:::-;-1:-1:-1;;;;;1451:23:0;;1443:68;;;;-1:-1:-1;;;1443:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2200:22:0;::::1;2192:73;;;::::0;-1:-1:-1;;;2192:73:0;;12368:2:21;2192:73:0::1;::::0;::::1;12350:21:21::0;12407:2;12387:18;;;12380:30;12446:34;12426:18;;;12419:62;-1:-1:-1;;;12497:18:21;;;12490:36;12543:19;;2192:73:0::1;12340:228:21::0;2192:73:0::1;2275:19;2285:8;2275:9;:19::i;1974:344:5:-:0;2098:4;-1:-1:-1;;;;;;2133:51:5;;-1:-1:-1;;;2133:51:5;;:126;;-1:-1:-1;;;;;;;2200:59:5;;-1:-1:-1;;;2200:59:5;2133:126;:178;;;-1:-1:-1;;;;;;;;;;1127:51:13;;;2275:36:5;1019:166:13;7755:125:5;7820:4;7843:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7843:16:5;:30;;;7755:125::o;11639:182::-;11713:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11713:29:5;-1:-1:-1;;;;;11713:29:5;;;;;;;;:24;;11766:34;11713:24;11766:25;:34::i;:::-;-1:-1:-1;;;;;11757:57:5;;;;;;;;;;;11639:182;;:::o;6449:258:19:-;6500:4;6531:10;6520:7;:5;:7::i;:::-;-1:-1:-1;;;;;6520:21:19;;6516:63;;;-1:-1:-1;6564:4:19;;6449:258::o;6516:63::-;6592:28;;;:14;:28;;;;;;6588:70;;;-1:-1:-1;6643:4:19;;6449:258::o;6588:70::-;-1:-1:-1;6689:10:19;6674:26;;;;:14;:26;;;;;;;;;6449:258::o;9589:550::-;9675:7;9698:15;9716:21;:11;875:14:11;;784:112;9716:21:19;9698:39;;9747:13;9793:1;9773:10;:17;9763:7;:27;;;;:::i;:::-;:31;;;;:::i;:::-;9747:47;;9812:11;;9827:1;9812:16;:40;;;;9841:11;;9832:5;:20;;9812:40;9804:61;;;;-1:-1:-1;;;9804:61:19;;20393:2:21;9804:61:19;;;20375:21:21;20432:1;20412:18;;;20405:29;-1:-1:-1;;;20450:18:21;;;20443:38;20498:18;;9804:61:19;20365:157:21;9804:61:19;9907:5;9882:21;:11;875:14:11;;784:112;9882:21:19;:30;9875:220;;9928:119;9951:10;9986:7;9962:21;:11;875:14:11;;784:112;9962:21:19;:31;;;;:::i;:::-;9951:43;;;;;;;;:::i;:::-;;;;;;;10012:21;:11;875:14:11;;784:112;10012:21:19;9928:5;:119::i;:::-;10061:23;:11;989:19:11;;1007:1;989:19;;;902:123;10061:23:19;9875:220;;;10111:11;875:14:11;10111:21:19;10104:28;9589:550;-1:-1:-1;;;;9589:550:19:o;8038:355:5:-;8131:4;8155:16;8163:7;8155;:16::i;:::-;8147:73;;;;-1:-1:-1;;;8147:73:5;;13891:2:21;8147:73:5;;;13873:21:21;13930:2;13910:18;;;13903:30;13969:34;13949:18;;;13942:62;-1:-1:-1;;;14020:18:21;;;14013:42;14072:19;;8147:73:5;13863:234:21;8147:73:5;8230:13;8246:34;8272:7;8246:25;:34::i;:::-;8230:50;;8309:5;-1:-1:-1;;;;;8298:16:5;:7;-1:-1:-1;;;;;8298:16:5;;:51;;;;8342:7;-1:-1:-1;;;;;8318:31:5;:20;8330:7;8318:11;:20::i;:::-;-1:-1:-1;;;;;8318:31:5;;8298:51;:87;;;;8353:32;8370:5;8377:7;8353:16;:32::i;10957:571::-;11122:4;-1:-1:-1;;;;;11084:42:5;:34;11110:7;11084:25;:34::i;:::-;-1:-1:-1;;;;;11084:42:5;;11076:96;;;;-1:-1:-1;;;11076:96:5;;18118:2:21;11076:96:5;;;18100:21:21;18157:2;18137:18;;;18130:30;18196:34;18176:18;;;18169:62;-1:-1:-1;;;18247:18:21;;;18240:39;18296:19;;11076:96:5;18090:231:21;11076:96:5;-1:-1:-1;;;;;11190:16:5;;11182:65;;;;-1:-1:-1;;;11182:65:5;;13132:2:21;11182:65:5;;;13114:21:21;13171:2;13151:18;;;13144:30;13210:34;13190:18;;;13183:62;-1:-1:-1;;;13261:18:21;;;13254:34;13305:19;;11182:65:5;13104:226:21;11182:65:5;11359:29;11376:1;11380:7;11359:8;:29::i;:::-;-1:-1:-1;;;;;11399:15:5;;;;;;:9;:15;;;;;:20;;11418:1;;11399:15;:20;;11418:1;;11399:20;:::i;:::-;;;;-1:-1:-1;;;;;;;11429:13:5;;;;;;:9;:13;;;;;:18;;11446:1;;11429:13;:18;;11446:1;;11429:18;:::i;:::-;;;;-1:-1:-1;;11457:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;11457:21:5;-1:-1:-1;;;;;11457:21:5;;;;;;;;;11494:27;;11457:16;;11494:27;;;;-1:-1:-1;;;;;;;;;;;11494:27:5;;10957:571;;;:::o;1531:215::-;1409:13:4;;;;;;;;:30;;-1:-1:-1;1427:12:4;;;;1426:13;1409:30;1401:89;;;;-1:-1:-1;;;1401:89:4;;;;;;;:::i;:::-;1501:19;1524:13;;;;;;1523:14;1547:98;;;;1581:13;:20;;-1:-1:-1;;1615:19:4;;;;;1547:98;1629:26:5::1;:24;:26::i;:::-;1665:25;:23;:25::i;:::-;1700:39;1724:5;1731:7;1700:23;:39::i;:::-;1671:14:4::0;1667:66;;;1717:5;1701:21;;-1:-1:-1;;1701:21:4;;;1391:348;1531:215:5;;:::o;934:126:0:-;1409:13:4;;;;;;;;:30;;-1:-1:-1;1427:12:4;;;;1426:13;1409:30;1401:89;;;;-1:-1:-1;;;1401:89:4;;;;;;;:::i;:::-;1501:19;1524:13;;;;;;1523:14;1547:98;;;;1581:13;:20;;-1:-1:-1;;1615:19:4;;;;;1547:98;991:26:0::1;:24;:26::i;:::-;1027;:24;:26::i;:::-;1671:14:4::0;1667:66;;;1717:5;1701:21;;-1:-1:-1;;1701:21:4;;;1391:348;934:126:0:o;10274:359:5:-;10333:13;10349:34;10375:7;10349:25;:34::i;:::-;10333:50;;10480:29;10497:1;10501:7;10480:8;:29::i;:::-;-1:-1:-1;;;;;10520:16:5;;;;;;:9;:16;;;;;:21;;10540:1;;10520:16;:21;;10540:1;;10520:21;:::i;:::-;;;;-1:-1:-1;;10558:16:5;;;;:7;:16;;;;;;10551:23;;-1:-1:-1;;;;;;10551:23:5;;;10590:36;10566:7;;10558:16;-1:-1:-1;;;;;10590:36:5;;;-1:-1:-1;;;;;;;;;;;10590:36:5;10558:16;;10590:36;10323:310;10274:359;:::o;2307:169:0:-;2381:6;;;-1:-1:-1;;;;;2397:17:0;;;-1:-1:-1;;;;;;2397:17:0;;;;;;;2429:40;;2381:6;;;2397:17;2381:6;;2429:40;;2362:16;;2429:40;2352:124;2307:169;:::o;7145:307:5:-;7296:28;7306:4;7312:2;7316:7;7296:9;:28::i;:::-;7342:48;7365:4;7371:2;7375:7;7384:5;7342:22;:48::i;:::-;7334:111;;;;-1:-1:-1;;;7334:111:5;;;;;;;:::i;9685:372::-;-1:-1:-1;;;;;9764:16:5;;9756:61;;;;-1:-1:-1;;;9756:61:5;;16983:2:21;9756:61:5;;;16965:21:21;;;17002:18;;;16995:30;17061:34;17041:18;;;17034:62;17113:18;;9756:61:5;16955:182:21;9756:61:5;9836:16;9844:7;9836;:16::i;:::-;9835:17;9827:58;;;;-1:-1:-1;;;9827:58:5;;12775:2:21;9827:58:5;;;12757:21:21;12814:2;12794:18;;;12787:30;12853;12833:18;;;12826:58;12901:18;;9827:58:5;12747:178:21;9827:58:5;-1:-1:-1;;;;;9952:13:5;;;;;;:9;:13;;;;;:18;;9969:1;;9952:13;:18;;9969:1;;9952:18;:::i;:::-;;;;-1:-1:-1;;9980:16:5;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9980:21:5;-1:-1:-1;;;;;9980:21:5;;;;;;;;10017:33;;9980:16;;;-1:-1:-1;;;;;;;;;;;10017:33:5;9980:16;;10017:33;9685:372;;:::o;754:64:10:-;1409:13:4;;;;;;;;:30;;-1:-1:-1;1427:12:4;;;;1426:13;1409:30;1401:89;;;;-1:-1:-1;;;1401:89:4;;;;;;;:::i;:::-;1501:19;1524:13;;;;;;1523:14;1547:98;;;;1581:13;:20;;-1:-1:-1;;1615:19:4;;;;;1667:66;;;;1717:5;1701:21;;-1:-1:-1;;1701:21:4;;;1391:348;754:64:10:o;1752:155:5:-;1409:13:4;;;;;;;;:30;;-1:-1:-1;1427:12:4;;;;1426:13;1409:30;1401:89;;;;-1:-1:-1;;;1401:89:4;;;;;;;:::i;:::-;1501:19;1524:13;;;;;;1523:14;1547:98;;;;1581:13;:20;;-1:-1:-1;;1615:19:4;;;;;1547:98;1860:13:5;;::::1;::::0;:5:::1;::::0;:13:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;1883:17:5;;::::1;::::0;:7:::1;::::0;:17:::1;::::0;::::1;::::0;::::1;:::i;:::-;;1671:14:4::0;1667:66;;;1717:5;1701:21;;-1:-1:-1;;1701:21:4;;;1391:348;1752:155:5;;:::o;1066:97:0:-;1409:13:4;;;;;;;;:30;;-1:-1:-1;1427:12:4;;;;1426:13;1409:30;1401:89;;;;-1:-1:-1;;;1401:89:4;;;;;;;:::i;:::-;1501:19;1524:13;;;;;;1523:14;1547:98;;;;1581:13;:20;;-1:-1:-1;;1615:19:4;;;;;1547:98;1133:23:0::1;902:10:10::0;1133:9:0::1;:23::i;12374:800:5:-:0;12524:4;-1:-1:-1;;;;;12544:13:5;;1045:20:9;1091:8;12540:628:5;;12579:83;;-1:-1:-1;;;12579:83:5;;-1:-1:-1;;;;;12579:47:5;;;;;:83;;902:10:10;;12641:4:5;;12647:7;;12656:5;;12579:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12579:83:5;;;;;;;;-1:-1:-1;;12579:83:5;;;;;;;;;;;;:::i;:::-;;;12575:541;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12840:13:5;;12836:266;;12882:60;;-1:-1:-1;;;12882:60:5;;;;;;;:::i;12836:266::-;13054:6;13048:13;13039:6;13035:2;13031:15;13024:38;12575:541;-1:-1:-1;;;;;;12712:62:5;-1:-1:-1;;;12712:62:5;;-1:-1:-1;12705:69:5;;12540:628;-1:-1:-1;13153:4:5;12374:800;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:336:21;78:5;107:52;123:35;151:6;123:35;:::i;:::-;107:52;:::i;:::-;98:61;;182:6;175:5;168:21;222:3;213:6;208:3;204:16;201:25;198:2;;;239:1;236;229:12;198:2;288:6;283:3;276:4;269:5;265:16;252:43;342:1;335:4;326:6;319:5;315:18;311:29;304:40;88:262;;;;;:::o;355:173::-;423:20;;-1:-1:-1;;;;;472:31:21;;462:42;;452:2;;518:1;515;508:12;452:2;404:124;;;:::o;533:221::-;576:5;629:3;622:4;614:6;610:17;606:27;596:2;;647:1;644;637:12;596:2;669:79;744:3;735:6;722:20;715:4;707:6;703:17;669:79;:::i;759:186::-;818:6;871:2;859:9;850:7;846:23;842:32;839:2;;;887:1;884;877:12;839:2;910:29;929:9;910:29;:::i;950:260::-;1018:6;1026;1079:2;1067:9;1058:7;1054:23;1050:32;1047:2;;;1095:1;1092;1085:12;1047:2;1118:29;1137:9;1118:29;:::i;:::-;1108:39;;1166:38;1200:2;1189:9;1185:18;1166:38;:::i;:::-;1156:48;;1037:173;;;;;:::o;1215:328::-;1292:6;1300;1308;1361:2;1349:9;1340:7;1336:23;1332:32;1329:2;;;1377:1;1374;1367:12;1329:2;1400:29;1419:9;1400:29;:::i;:::-;1390:39;;1448:38;1482:2;1471:9;1467:18;1448:38;:::i;:::-;1438:48;;1533:2;1522:9;1518:18;1505:32;1495:42;;1319:224;;;;;:::o;1548:666::-;1643:6;1651;1659;1667;1720:3;1708:9;1699:7;1695:23;1691:33;1688:2;;;1737:1;1734;1727:12;1688:2;1760:29;1779:9;1760:29;:::i;:::-;1750:39;;1808:38;1842:2;1831:9;1827:18;1808:38;:::i;:::-;1798:48;;1893:2;1882:9;1878:18;1865:32;1855:42;;1948:2;1937:9;1933:18;1920:32;-1:-1:-1;;;;;1967:6:21;1964:30;1961:2;;;2007:1;2004;1997:12;1961:2;2030:22;;2083:4;2075:13;;2071:27;-1:-1:-1;2061:2:21;;2112:1;2109;2102:12;2061:2;2135:73;2200:7;2195:2;2182:16;2177:2;2173;2169:11;2135:73;:::i;:::-;2125:83;;;1678:536;;;;;;;:::o;2219:347::-;2284:6;2292;2345:2;2333:9;2324:7;2320:23;2316:32;2313:2;;;2361:1;2358;2351:12;2313:2;2384:29;2403:9;2384:29;:::i;:::-;2374:39;;2463:2;2452:9;2448:18;2435:32;2510:5;2503:13;2496:21;2489:5;2486:32;2476:2;;2532:1;2529;2522:12;2476:2;2555:5;2545:15;;;2303:263;;;;;:::o;2571:1496::-;2761:6;2769;2777;2785;2793;2801;2809;2817;2825;2833;2886:3;2874:9;2865:7;2861:23;2857:33;2854:2;;;2903:1;2900;2893:12;2854:2;2926:29;2945:9;2926:29;:::i;:::-;2916:39;;3006:2;2995:9;2991:18;2978:32;-1:-1:-1;;;;;3070:2:21;3062:6;3059:14;3056:2;;;3086:1;3083;3076:12;3056:2;3109:50;3151:7;3142:6;3131:9;3127:22;3109:50;:::i;:::-;3099:60;;3212:2;3201:9;3197:18;3184:32;3168:48;;3241:2;3231:8;3228:16;3225:2;;;3257:1;3254;3247:12;3225:2;3280:52;3324:7;3313:8;3302:9;3298:24;3280:52;:::i;:::-;3270:62;;3385:2;3374:9;3370:18;3357:32;3341:48;;3414:2;3404:8;3401:16;3398:2;;;3430:1;3427;3420:12;3398:2;3453:52;3497:7;3486:8;3475:9;3471:24;3453:52;:::i;:::-;3443:62;;3558:3;3547:9;3543:19;3530:33;3514:49;;3588:2;3578:8;3575:16;3572:2;;;3604:1;3601;3594:12;3572:2;3627:52;3671:7;3660:8;3649:9;3645:24;3627:52;:::i;:::-;3617:62;;3726:3;3715:9;3711:19;3698:33;3688:43;;3784:3;3773:9;3769:19;3756:33;3740:49;;3814:2;3804:8;3801:16;3798:2;;;3830:1;3827;3820:12;3798:2;;3853:52;3897:7;3886:8;3875:9;3871:24;3853:52;:::i;:::-;3843:62;;;3952:3;3941:9;3937:19;3924:33;3914:43;;4004:3;3993:9;3989:19;3976:33;3966:43;;4056:3;4045:9;4041:19;4028:33;4018:43;;2844:1223;;;;;;;;;;;;;:::o;4072:254::-;4140:6;4148;4201:2;4189:9;4180:7;4176:23;4172:32;4169:2;;;4217:1;4214;4207:12;4169:2;4240:29;4259:9;4240:29;:::i;:::-;4230:39;4316:2;4301:18;;;;4288:32;;-1:-1:-1;;;4159:167:21:o;4331:963::-;4415:6;4446:2;4489;4477:9;4468:7;4464:23;4460:32;4457:2;;;4505:1;4502;4495:12;4457:2;4545:9;4532:23;-1:-1:-1;;;;;4615:2:21;4607:6;4604:14;4601:2;;;4631:1;4628;4621:12;4601:2;4669:6;4658:9;4654:22;4644:32;;4714:7;4707:4;4703:2;4699:13;4695:27;4685:2;;4736:1;4733;4726:12;4685:2;4772;4759:16;4794:2;4790;4787:10;4784:2;;;4800:18;;:::i;:::-;4846:2;4843:1;4839:10;4829:20;;4869:28;4893:2;4889;4885:11;4869:28;:::i;:::-;4931:15;;;4962:12;;;;4994:11;;;5024;;;5020:20;;5017:33;-1:-1:-1;5014:2:21;;;5063:1;5060;5053:12;5014:2;5085:1;5076:10;;5095:169;5109:2;5106:1;5103:9;5095:169;;;5166:23;5185:3;5166:23;:::i;:::-;5154:36;;5127:1;5120:9;;;;;5210:12;;;;5242;;5095:169;;;-1:-1:-1;5283:5:21;4426:868;-1:-1:-1;;;;;;;;4426:868:21:o;5299:245::-;5357:6;5410:2;5398:9;5389:7;5385:23;5381:32;5378:2;;;5426:1;5423;5416:12;5378:2;5465:9;5452:23;5484:30;5508:5;5484:30;:::i;5549:249::-;5618:6;5671:2;5659:9;5650:7;5646:23;5642:32;5639:2;;;5687:1;5684;5677:12;5639:2;5719:9;5713:16;5738:30;5762:5;5738:30;:::i;5803:635::-;5883:6;5936:2;5924:9;5915:7;5911:23;5907:32;5904:2;;;5952:1;5949;5942:12;5904:2;5985:9;5979:16;-1:-1:-1;;;;;6010:6:21;6007:30;6004:2;;;6050:1;6047;6040:12;6004:2;6073:22;;6126:4;6118:13;;6114:27;-1:-1:-1;6104:2:21;;6155:1;6152;6145:12;6104:2;6184;6178:9;6209:48;6225:31;6253:2;6225:31;:::i;6209:48::-;6280:2;6273:5;6266:17;6320:7;6315:2;6310;6306;6302:11;6298:20;6295:33;6292:2;;;6341:1;6338;6331:12;6292:2;6354:54;6405:2;6400;6393:5;6389:14;6384:2;6380;6376:11;6354:54;:::i;:::-;6427:5;5894:544;-1:-1:-1;;;;;5894:544:21:o;6443:543::-;6531:6;6539;6592:2;6580:9;6571:7;6567:23;6563:32;6560:2;;;6608:1;6605;6598:12;6560:2;6648:9;6635:23;-1:-1:-1;;;;;6718:2:21;6710:6;6707:14;6704:2;;;6734:1;6731;6724:12;6704:2;6757:50;6799:7;6790:6;6779:9;6775:22;6757:50;:::i;:::-;6747:60;;6860:2;6849:9;6845:18;6832:32;6816:48;;6889:2;6879:8;6876:16;6873:2;;;6905:1;6902;6895:12;6873:2;;6928:52;6972:7;6961:8;6950:9;6946:24;6928:52;:::i;:::-;6918:62;;;6550:436;;;;;:::o;6991:180::-;7050:6;7103:2;7091:9;7082:7;7078:23;7074:32;7071:2;;;7119:1;7116;7109:12;7071:2;-1:-1:-1;7142:23:21;;7061:110;-1:-1:-1;7061:110:21:o;7176:248::-;7244:6;7252;7305:2;7293:9;7284:7;7280:23;7276:32;7273:2;;;7321:1;7318;7311:12;7273:2;-1:-1:-1;;7344:23:21;;;7414:2;7399:18;;;7386:32;;-1:-1:-1;7263:161:21:o;7429:257::-;7470:3;7508:5;7502:12;7535:6;7530:3;7523:19;7551:63;7607:6;7600:4;7595:3;7591:14;7584:4;7577:5;7573:16;7551:63;:::i;:::-;7668:2;7647:15;-1:-1:-1;;7643:29:21;7634:39;;;;7675:4;7630:50;;7478:208;-1:-1:-1;;7478:208:21:o;7691:1041::-;7776:12;;7741:3;;7831:1;7851:18;;;;7904;;;;7931:2;;7985:4;7977:6;7973:17;7963:27;;7931:2;8011;8059;8051:6;8048:14;8028:18;8025:38;8022:2;;;8105:10;8100:3;8096:20;8093:1;8086:31;8140:4;8137:1;8130:15;8168:4;8165:1;8158:15;8022:2;21671:19;;;21723:4;21714:14;;8268:18;8295:104;;;;8413:1;8408:318;;;;8261:465;;8295:104;-1:-1:-1;;8330:24:21;;8316:39;;8375:14;;;;-1:-1:-1;8295:104:21;;8408:318;21532:1;21525:14;;;21569:4;21556:18;;8502:1;8516:167;8530:6;8527:1;8524:13;8516:167;;;8610:14;;8595:13;;;8588:37;8653:16;;;;8545:10;;8516:167;;;8703:13;;;-1:-1:-1;;8261:465:21;;;;;;;;7749:983;;;;:::o;9155:488::-;-1:-1:-1;;;;;9424:15:21;;;9406:34;;9476:15;;9471:2;9456:18;;9449:43;9523:2;9508:18;;9501:34;;;9571:3;9566:2;9551:18;;9544:31;;;9349:4;;9592:45;;9617:19;;9609:6;9592:45;:::i;:::-;9584:53;9358:285;-1:-1:-1;;;;;;9358:285:21:o;10119:219::-;10268:2;10257:9;10250:21;10231:4;10288:44;10328:2;10317:9;10313:18;10305:6;10288:44;:::i;10343:525::-;10596:3;10585:9;10578:22;10559:4;10623:45;10663:3;10652:9;10648:19;10640:6;10623:45;:::i;:::-;10704:6;10699:2;10688:9;10684:18;10677:34;10759:9;10751:6;10747:22;10742:2;10731:9;10727:18;10720:50;10787:32;10812:6;10804;10787:32;:::i;:::-;10779:40;;;10855:6;10850:2;10839:9;10835:18;10828:34;10568:300;;;;;;;:::o;10873:869::-;11213:3;11202:9;11195:22;11176:4;11240:45;11280:3;11269:9;11265:19;11257:6;11240:45;:::i;:::-;11333:9;11325:6;11321:22;11316:2;11305:9;11301:18;11294:50;11367:41;11401:6;11393;11367:41;:::i;:::-;11353:55;;11456:9;11448:6;11444:22;11439:2;11428:9;11424:18;11417:50;11490:41;11524:6;11516;11490:41;:::i;:::-;11476:55;;11579:9;11571:6;11567:22;11562:2;11551:9;11547:18;11540:50;11607:41;11641:6;11633;11607:41;:::i;:::-;11679:3;11664:19;;11657:35;;;;-1:-1:-1;;11723:3:21;11708:19;11701:35;11599:49;11185:557;-1:-1:-1;;;;11185:557:21:o;11747:414::-;11949:2;11931:21;;;11988:2;11968:18;;;11961:30;12027:34;12022:2;12007:18;;12000:62;-1:-1:-1;;;12093:2:21;12078:18;;12071:48;12151:3;12136:19;;11921:240::o;16025:410::-;16227:2;16209:21;;;16266:2;16246:18;;;16239:30;16305:34;16300:2;16285:18;;16278:62;-1:-1:-1;;;16371:2:21;16356:18;;16349:44;16425:3;16410:19;;16199:236::o;17555:356::-;17757:2;17739:21;;;17776:18;;;17769:30;17835:34;17830:2;17815:18;;17808:62;17902:2;17887:18;;17729:182::o;19013:353::-;19215:2;19197:21;;;19254:2;19234:18;;;19227:30;19293:31;19288:2;19273:18;;19266:59;19357:2;19342:18;;19187:179::o;19773:413::-;19975:2;19957:21;;;20014:2;19994:18;;;19987:30;20053:34;20048:2;20033:18;;20026:62;-1:-1:-1;;;20119:2:21;20104:18;;20097:47;20176:3;20161:19;;19947:239::o;20988:275::-;21059:2;21053:9;21124:2;21105:13;;-1:-1:-1;;21101:27:21;21089:40;;-1:-1:-1;;;;;21144:34:21;;21180:22;;;21141:62;21138:2;;;21206:18;;:::i;:::-;21242:2;21235:22;21033:230;;-1:-1:-1;21033:230:21:o;21268:186::-;21316:4;-1:-1:-1;;;;;21341:6:21;21338:30;21335:2;;;21371:18;;:::i;:::-;-1:-1:-1;21437:2:21;21416:15;-1:-1:-1;;21412:29:21;21443:4;21408:40;;21325:129::o;21739:128::-;21779:3;21810:1;21806:6;21803:1;21800:13;21797:2;;;21816:18;;:::i;:::-;-1:-1:-1;21852:9:21;;21787:80::o;21872:217::-;21912:1;21938;21928:2;;21982:10;21977:3;21973:20;21970:1;21963:31;22017:4;22014:1;22007:15;22045:4;22042:1;22035:15;21928:2;-1:-1:-1;22074:9:21;;21918:171::o;22094:168::-;22134:7;22200:1;22196;22192:6;22188:14;22185:1;22182:21;22177:1;22170:9;22163:17;22159:45;22156:2;;;22207:18;;:::i;:::-;-1:-1:-1;22247:9:21;;22146:116::o;22267:125::-;22307:4;22335:1;22332;22329:8;22326:2;;;22340:18;;:::i;:::-;-1:-1:-1;22377:9:21;;22316:76::o;22397:258::-;22469:1;22479:113;22493:6;22490:1;22487:13;22479:113;;;22569:11;;;22563:18;22550:11;;;22543:39;22515:2;22508:10;22479:113;;;22610:6;22607:1;22604:13;22601:2;;;-1:-1:-1;;22645:1:21;22627:16;;22620:27;22450:205::o;22660:380::-;22739:1;22735:12;;;;22782;;;22803:2;;22857:4;22849:6;22845:17;22835:27;;22803:2;22910;22902:6;22899:14;22879:18;22876:38;22873:2;;;22956:10;22951:3;22947:20;22944:1;22937:31;22991:4;22988:1;22981:15;23019:4;23016:1;23009:15;22873:2;;22715:325;;;:::o;23045:127::-;23106:10;23101:3;23097:20;23094:1;23087:31;23137:4;23134:1;23127:15;23161:4;23158:1;23151:15;23177:127;23238:10;23233:3;23229:20;23226:1;23219:31;23269:4;23266:1;23259:15;23293:4;23290:1;23283:15;23309:127;23370:10;23365:3;23361:20;23358:1;23351:31;23401:4;23398:1;23391:15;23425:4;23422:1;23415:15;23441:131;-1:-1:-1;;;;;;23515:32:21;;23505:43;;23495:2;;23562:1;23559;23552:12
Swarm Source
ipfs://1c3205caba4a18f216451f351bef92e94fa6ee4892e692f03883c6afb0bb2153
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.