ERC-721
Overview
Max Total Supply
1,098 MUSIX
Holders
674
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MUSIXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PowerMusixClub
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-02-24 */ // 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 IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 whiteed 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 whiteed 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; } pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ 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 Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be 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 = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { 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 whiteed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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 = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer 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(ERC721.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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @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` cannot be the zero address. * - `to` cannot be the zero address. * * 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 override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this whites for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } } pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _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); } } pragma solidity ^0.8.7; contract PowerMusixClub is ERC721("Power Musix Club", "MUSIX"), ERC721Enumerable, Ownable { using SafeMath for uint256; using Strings for uint256; string private baseURI; bool public isPreReveal; mapping(address => bool) private whiteList; address mint1155Address; /* * Function to set Base URI */ function setURI(string memory _URI) external onlyOwner { baseURI = _URI; } /* * Function togglePreReveal to activate/desactivate pre-reveal option */ function togglePreReveal() external onlyOwner { isPreReveal = !isPreReveal; } /* * Function to set the ERC1155 address contract */ function setMint1155Address(address _contractAddress) external onlyOwner { mint1155Address = _contractAddress; } /* * Function addToWhiteList to add whitelisted addresses to prereveal */ function addToWhiteList( address[] memory _addresses ) external onlyOwner { for (uint256 i = 0; i < _addresses.length; i++) { require(_addresses[i] != address(0), "Cannot add the null address"); whiteList[_addresses[i]] = true; } } /* * Function to mint the ERC-721 NFT (reveal function) */ function mintReveal(address _to) external returns(uint256) { require(msg.sender == mint1155Address, "Not authorized"); if(isPreReveal) { require(whiteList[_to], 'You are not on the Pre Reveal List'); } _safeMint(_to, totalSupply()); return totalSupply(); } /* * Mint for giveways. */ function giveawayMint(address _to) public onlyOwner { _safeMint(_to, totalSupply()); } /* * Function to get token URI of given token ID */ function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString())) : ""; } function supportsInterface(bytes4 _interfaceId) public view override (ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(_interfaceId); } /* * Standard functions to be overridden */ function _beforeTokenTransfer(address _from, address _to, uint256 _tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(_from, _to, _tokenId); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"addToWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"giveawayMint","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":[],"name":"isPreReveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"mintReveal","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"setMint1155Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setURI","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":[],"name":"togglePreReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252601081526f2837bbb2b91026bab9b4bc1021b63ab160811b60208083019182528351808501909452600584526409aaaa692b60db1b9084015281519192916200006791600091620000f6565b5080516200007d906001906020840190620000f6565b5050506200009a62000094620000a060201b60201c565b620000a4565b620001d9565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805462000104906200019c565b90600052602060002090601f01602090048101928262000128576000855562000173565b82601f106200014357805160ff191683800117855562000173565b8280016001018555821562000173579182015b828111156200017357825182559160200191906001019062000156565b506200018192915062000185565b5090565b5b8082111562000181576000815560010162000186565b600181811c90821680620001b157607f821691505b60208210811415620001d357634e487b7160e01b600052602260045260246000fd5b50919050565b611fd780620001e96000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063b88d4fde11610097578063c87b56dd11610071578063c87b56dd1461033c578063e3b0115f1461034f578063e985e9c514610362578063f2fde38b1461039e57600080fd5b8063b88d4fde14610309578063b936eae91461031c578063c50d0b631461032957600080fd5b806370a08231146102af578063715018a6146102c2578063740d73f3146102ca5780638da5cb5b146102dd57806395d89b41146102ee578063a22cb465146102f657600080fd5b806323b872dd1161014b57806336f23f1c1161012557806336f23f1c1461026e57806342842e0e146102765780634f6ccce7146102895780636352211e1461029c57600080fd5b806323b872dd146102355780632f745c59146102485780633534b0031461025b57600080fd5b806301ffc9a71461019357806302fe5305146101bb57806306fdde03146101d0578063081812fc146101e5578063095ea7b31461021057806318160ddd14610223575b600080fd5b6101a66101a1366004611b60565b6103b1565b60405190151581526020015b60405180910390f35b6101ce6101c9366004611b9a565b6103c2565b005b6101d861040c565b6040516101b29190611d28565b6101f86101f3366004611be3565b61049e565b6040516001600160a01b0390911681526020016101b2565b6101ce61021e366004611a82565b610533565b6008545b6040519081526020016101b2565b6101ce61024336600461198e565b610649565b610227610256366004611a82565b61067a565b610227610269366004611939565b610710565b6101ce6107f6565b6101ce61028436600461198e565b610834565b610227610297366004611be3565b61084f565b6101f86102aa366004611be3565b6108e2565b6102276102bd366004611939565b610959565b6101ce6109e0565b6101ce6102d8366004611aac565b610a16565b600a546001600160a01b03166101f8565b6101d8610b24565b6101ce610304366004611a46565b610b33565b6101ce6103173660046119ca565b610bf8565b600c546101a69060ff1681565b6101ce610337366004611939565b610c30565b6101d861034a366004611be3565b610c6a565b6101ce61035d366004611939565b610d45565b6101a661037036600461195b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101ce6103ac366004611939565b610d91565b60006103bc82610e29565b92915050565b600a546001600160a01b031633146103f55760405162461bcd60e51b81526004016103ec90611d8d565b60405180910390fd5b805161040890600b90602084019061182c565b5050565b60606000805461041b90611eb3565b80601f016020809104026020016040519081016040528092919081815260200182805461044790611eb3565b80156104945780601f1061046957610100808354040283529160200191610494565b820191906000526020600020905b81548152906001019060200180831161047757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105175760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016103ec565b506000908152600460205260409020546001600160a01b031690565b600061053e826108e2565b9050806001600160a01b0316836001600160a01b031614156105ac5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016103ec565b336001600160a01b03821614806105c857506105c88133610370565b61063a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016103ec565b6106448383610e4e565b505050565b6106533382610ebc565b61066f5760405162461bcd60e51b81526004016103ec90611dc2565b610644838383610fb3565b600061068583610959565b82106106e75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016103ec565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600e546000906001600160a01b0316331461075e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016103ec565b600c5460ff16156107dc576001600160a01b0382166000908152600d602052604090205460ff166107dc5760405162461bcd60e51b815260206004820152602260248201527f596f7520617265206e6f74206f6e20746865205072652052657665616c204c696044820152611cdd60f21b60648201526084016103ec565b6107ee826107e960085490565b61115e565b6008546103bc565b600a546001600160a01b031633146108205760405162461bcd60e51b81526004016103ec90611d8d565b600c805460ff19811660ff90911615179055565b61064483838360405180602001604052806000815250610bf8565b600061085a60085490565b82106108bd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016103ec565b600882815481106108d0576108d0611f5f565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016103ec565b60006001600160a01b0382166109c45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016103ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a0a5760405162461bcd60e51b81526004016103ec90611d8d565b610a146000611178565b565b600a546001600160a01b03163314610a405760405162461bcd60e51b81526004016103ec90611d8d565b60005b81518110156104085760006001600160a01b0316828281518110610a6957610a69611f5f565b60200260200101516001600160a01b03161415610ac85760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742061646420746865206e756c6c2061646472657373000000000060448201526064016103ec565b6001600d6000848481518110610ae057610ae0611f5f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b1c81611eee565b915050610a43565b60606001805461041b90611eb3565b6001600160a01b038216331415610b8c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016103ec565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c023383610ebc565b610c1e5760405162461bcd60e51b81526004016103ec90611dc2565b610c2a848484846111ca565b50505050565b600a546001600160a01b03163314610c5a5760405162461bcd60e51b81526004016103ec90611d8d565b610c67816107e960085490565b50565b6000818152600260205260409020546060906001600160a01b0316610ce95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016103ec565b6000600b8054610cf890611eb3565b905011610d1457604051806020016040528060008152506103bc565b600b610d1f836111fd565b604051602001610d30929190611c44565b60405160208183030381529060405292915050565b600a546001600160a01b03163314610d6f5760405162461bcd60e51b81526004016103ec90611d8d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b03163314610dbb5760405162461bcd60e51b81526004016103ec90611d8d565b6001600160a01b038116610e205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ec565b610c6781611178565b60006001600160e01b0319821663780e9d6360e01b14806103bc57506103bc826112fb565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e83826108e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f355760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016103ec565b6000610f40836108e2565b9050806001600160a01b0316846001600160a01b03161480610f7b5750836001600160a01b0316610f708461049e565b6001600160a01b0316145b80610fab57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610fc6826108e2565b6001600160a01b03161461102e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016103ec565b6001600160a01b0382166110905760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103ec565b61109b83838361134b565b6110a6600082610e4e565b6001600160a01b03831660009081526003602052604081208054600192906110cf908490611e70565b90915550506001600160a01b03821660009081526003602052604081208054600192906110fd908490611e44565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610408828260405180602001604052806000815250611356565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111d5848484610fb3565b6111e184848484611389565b610c2a5760405162461bcd60e51b81526004016103ec90611d3b565b6060816112215750506040805180820190915260018152600360fc1b602082015290565b8160005b811561124b578061123581611eee565b91506112449050600a83611e5c565b9150611225565b60008167ffffffffffffffff81111561126657611266611f75565b6040519080825280601f01601f191660200182016040528015611290576020820181803683370190505b5090505b8415610fab576112a5600183611e70565b91506112b2600a86611f09565b6112bd906030611e44565b60f81b8183815181106112d2576112d2611f5f565b60200101906001600160f81b031916908160001a9053506112f4600a86611e5c565b9450611294565b60006001600160e01b031982166380ac58cd60e01b148061132c57506001600160e01b03198216635b5e139f60e01b145b806103bc57506301ffc9a760e01b6001600160e01b03198316146103bc565b610644838383611496565b611360838361154e565b61136d6000848484611389565b6106445760405162461bcd60e51b81526004016103ec90611d3b565b60006001600160a01b0384163b1561148b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113cd903390899088908890600401611ceb565b602060405180830381600087803b1580156113e757600080fd5b505af1925050508015611417575060408051601f3d908101601f1916820190925261141491810190611b7d565b60015b611471573d808015611445576040519150601f19603f3d011682016040523d82523d6000602084013e61144a565b606091505b5080516114695760405162461bcd60e51b81526004016103ec90611d3b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fab565b506001949350505050565b6001600160a01b0383166114f1576114ec81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611514565b816001600160a01b0316836001600160a01b03161461151457611514838261169c565b6001600160a01b03821661152b5761064481611739565b826001600160a01b0316826001600160a01b0316146106445761064482826117e8565b6001600160a01b0382166115a45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016103ec565b6000818152600260205260409020546001600160a01b0316156116095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016103ec565b6116156000838361134b565b6001600160a01b038216600090815260036020526040812080546001929061163e908490611e44565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016116a984610959565b6116b39190611e70565b600083815260076020526040902054909150808214611706576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061174b90600190611e70565b6000838152600960205260408120546008805493945090928490811061177357611773611f5f565b90600052602060002001549050806008838154811061179457611794611f5f565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806117cc576117cc611f49565b6001900381819060005260206000200160009055905550505050565b60006117f383610959565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461183890611eb3565b90600052602060002090601f01602090048101928261185a57600085556118a0565b82601f1061187357805160ff19168380011785556118a0565b828001600101855582156118a0579182015b828111156118a0578251825591602001919060010190611885565b506118ac9291506118b0565b5090565b5b808211156118ac57600081556001016118b1565b600067ffffffffffffffff8311156118df576118df611f75565b6118f2601f8401601f1916602001611e13565b905082815283838301111561190657600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461193457600080fd5b919050565b60006020828403121561194b57600080fd5b6119548261191d565b9392505050565b6000806040838503121561196e57600080fd5b6119778361191d565b91506119856020840161191d565b90509250929050565b6000806000606084860312156119a357600080fd5b6119ac8461191d565b92506119ba6020850161191d565b9150604084013590509250925092565b600080600080608085870312156119e057600080fd5b6119e98561191d565b93506119f76020860161191d565b925060408501359150606085013567ffffffffffffffff811115611a1a57600080fd5b8501601f81018713611a2b57600080fd5b611a3a878235602084016118c5565b91505092959194509250565b60008060408385031215611a5957600080fd5b611a628361191d565b915060208301358015158114611a7757600080fd5b809150509250929050565b60008060408385031215611a9557600080fd5b611a9e8361191d565b946020939093013593505050565b60006020808385031215611abf57600080fd5b823567ffffffffffffffff80821115611ad757600080fd5b818501915085601f830112611aeb57600080fd5b813581811115611afd57611afd611f75565b8060051b9150611b0e848301611e13565b8181528481019084860184860187018a1015611b2957600080fd5b600095505b83861015611b5357611b3f8161191d565b835260019590950194918601918601611b2e565b5098975050505050505050565b600060208284031215611b7257600080fd5b813561195481611f8b565b600060208284031215611b8f57600080fd5b815161195481611f8b565b600060208284031215611bac57600080fd5b813567ffffffffffffffff811115611bc357600080fd5b8201601f81018413611bd457600080fd5b610fab848235602084016118c5565b600060208284031215611bf557600080fd5b5035919050565b60008151808452611c14816020860160208601611e87565b601f01601f19169290920160200192915050565b60008151611c3a818560208601611e87565b9290920192915050565b600080845481600182811c915080831680611c6057607f831692505b6020808410821415611c8057634e487b7160e01b86526022600452602486fd5b818015611c945760018114611ca557611cd2565b60ff19861689528489019650611cd2565b60008b81526020902060005b86811015611cca5781548b820152908501908301611cb1565b505084890196505b505050505050611ce28185611c28565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d1e90830184611bfc565b9695505050505050565b6020815260006119546020830184611bfc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611e3c57611e3c611f75565b604052919050565b60008219821115611e5757611e57611f1d565b500190565b600082611e6b57611e6b611f33565b500490565b600082821015611e8257611e82611f1d565b500390565b60005b83811015611ea2578181015183820152602001611e8a565b83811115610c2a5750506000910152565b600181811c90821680611ec757607f821691505b60208210811415611ee857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f0257611f02611f1d565b5060010190565b600082611f1857611f18611f33565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c6757600080fdfea2646970667358221220f3fb34999f39d10c0811d7a9e768aa9e289fd621995b387e49588f19a444531364736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806370a08231116100de578063b88d4fde11610097578063c87b56dd11610071578063c87b56dd1461033c578063e3b0115f1461034f578063e985e9c514610362578063f2fde38b1461039e57600080fd5b8063b88d4fde14610309578063b936eae91461031c578063c50d0b631461032957600080fd5b806370a08231146102af578063715018a6146102c2578063740d73f3146102ca5780638da5cb5b146102dd57806395d89b41146102ee578063a22cb465146102f657600080fd5b806323b872dd1161014b57806336f23f1c1161012557806336f23f1c1461026e57806342842e0e146102765780634f6ccce7146102895780636352211e1461029c57600080fd5b806323b872dd146102355780632f745c59146102485780633534b0031461025b57600080fd5b806301ffc9a71461019357806302fe5305146101bb57806306fdde03146101d0578063081812fc146101e5578063095ea7b31461021057806318160ddd14610223575b600080fd5b6101a66101a1366004611b60565b6103b1565b60405190151581526020015b60405180910390f35b6101ce6101c9366004611b9a565b6103c2565b005b6101d861040c565b6040516101b29190611d28565b6101f86101f3366004611be3565b61049e565b6040516001600160a01b0390911681526020016101b2565b6101ce61021e366004611a82565b610533565b6008545b6040519081526020016101b2565b6101ce61024336600461198e565b610649565b610227610256366004611a82565b61067a565b610227610269366004611939565b610710565b6101ce6107f6565b6101ce61028436600461198e565b610834565b610227610297366004611be3565b61084f565b6101f86102aa366004611be3565b6108e2565b6102276102bd366004611939565b610959565b6101ce6109e0565b6101ce6102d8366004611aac565b610a16565b600a546001600160a01b03166101f8565b6101d8610b24565b6101ce610304366004611a46565b610b33565b6101ce6103173660046119ca565b610bf8565b600c546101a69060ff1681565b6101ce610337366004611939565b610c30565b6101d861034a366004611be3565b610c6a565b6101ce61035d366004611939565b610d45565b6101a661037036600461195b565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101ce6103ac366004611939565b610d91565b60006103bc82610e29565b92915050565b600a546001600160a01b031633146103f55760405162461bcd60e51b81526004016103ec90611d8d565b60405180910390fd5b805161040890600b90602084019061182c565b5050565b60606000805461041b90611eb3565b80601f016020809104026020016040519081016040528092919081815260200182805461044790611eb3565b80156104945780601f1061046957610100808354040283529160200191610494565b820191906000526020600020905b81548152906001019060200180831161047757829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105175760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016103ec565b506000908152600460205260409020546001600160a01b031690565b600061053e826108e2565b9050806001600160a01b0316836001600160a01b031614156105ac5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016103ec565b336001600160a01b03821614806105c857506105c88133610370565b61063a5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016103ec565b6106448383610e4e565b505050565b6106533382610ebc565b61066f5760405162461bcd60e51b81526004016103ec90611dc2565b610644838383610fb3565b600061068583610959565b82106106e75760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016103ec565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600e546000906001600160a01b0316331461075e5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08185d5d1a1bdc9a5e995960921b60448201526064016103ec565b600c5460ff16156107dc576001600160a01b0382166000908152600d602052604090205460ff166107dc5760405162461bcd60e51b815260206004820152602260248201527f596f7520617265206e6f74206f6e20746865205072652052657665616c204c696044820152611cdd60f21b60648201526084016103ec565b6107ee826107e960085490565b61115e565b6008546103bc565b600a546001600160a01b031633146108205760405162461bcd60e51b81526004016103ec90611d8d565b600c805460ff19811660ff90911615179055565b61064483838360405180602001604052806000815250610bf8565b600061085a60085490565b82106108bd5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016103ec565b600882815481106108d0576108d0611f5f565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103bc5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016103ec565b60006001600160a01b0382166109c45760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016103ec565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314610a0a5760405162461bcd60e51b81526004016103ec90611d8d565b610a146000611178565b565b600a546001600160a01b03163314610a405760405162461bcd60e51b81526004016103ec90611d8d565b60005b81518110156104085760006001600160a01b0316828281518110610a6957610a69611f5f565b60200260200101516001600160a01b03161415610ac85760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f742061646420746865206e756c6c2061646472657373000000000060448201526064016103ec565b6001600d6000848481518110610ae057610ae0611f5f565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610b1c81611eee565b915050610a43565b60606001805461041b90611eb3565b6001600160a01b038216331415610b8c5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016103ec565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c023383610ebc565b610c1e5760405162461bcd60e51b81526004016103ec90611dc2565b610c2a848484846111ca565b50505050565b600a546001600160a01b03163314610c5a5760405162461bcd60e51b81526004016103ec90611d8d565b610c67816107e960085490565b50565b6000818152600260205260409020546060906001600160a01b0316610ce95760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016103ec565b6000600b8054610cf890611eb3565b905011610d1457604051806020016040528060008152506103bc565b600b610d1f836111fd565b604051602001610d30929190611c44565b60405160208183030381529060405292915050565b600a546001600160a01b03163314610d6f5760405162461bcd60e51b81526004016103ec90611d8d565b600e80546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b03163314610dbb5760405162461bcd60e51b81526004016103ec90611d8d565b6001600160a01b038116610e205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103ec565b610c6781611178565b60006001600160e01b0319821663780e9d6360e01b14806103bc57506103bc826112fb565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e83826108e2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610f355760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016103ec565b6000610f40836108e2565b9050806001600160a01b0316846001600160a01b03161480610f7b5750836001600160a01b0316610f708461049e565b6001600160a01b0316145b80610fab57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610fc6826108e2565b6001600160a01b03161461102e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016103ec565b6001600160a01b0382166110905760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016103ec565b61109b83838361134b565b6110a6600082610e4e565b6001600160a01b03831660009081526003602052604081208054600192906110cf908490611e70565b90915550506001600160a01b03821660009081526003602052604081208054600192906110fd908490611e44565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610408828260405180602001604052806000815250611356565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6111d5848484610fb3565b6111e184848484611389565b610c2a5760405162461bcd60e51b81526004016103ec90611d3b565b6060816112215750506040805180820190915260018152600360fc1b602082015290565b8160005b811561124b578061123581611eee565b91506112449050600a83611e5c565b9150611225565b60008167ffffffffffffffff81111561126657611266611f75565b6040519080825280601f01601f191660200182016040528015611290576020820181803683370190505b5090505b8415610fab576112a5600183611e70565b91506112b2600a86611f09565b6112bd906030611e44565b60f81b8183815181106112d2576112d2611f5f565b60200101906001600160f81b031916908160001a9053506112f4600a86611e5c565b9450611294565b60006001600160e01b031982166380ac58cd60e01b148061132c57506001600160e01b03198216635b5e139f60e01b145b806103bc57506301ffc9a760e01b6001600160e01b03198316146103bc565b610644838383611496565b611360838361154e565b61136d6000848484611389565b6106445760405162461bcd60e51b81526004016103ec90611d3b565b60006001600160a01b0384163b1561148b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113cd903390899088908890600401611ceb565b602060405180830381600087803b1580156113e757600080fd5b505af1925050508015611417575060408051601f3d908101601f1916820190925261141491810190611b7d565b60015b611471573d808015611445576040519150601f19603f3d011682016040523d82523d6000602084013e61144a565b606091505b5080516114695760405162461bcd60e51b81526004016103ec90611d3b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fab565b506001949350505050565b6001600160a01b0383166114f1576114ec81600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611514565b816001600160a01b0316836001600160a01b03161461151457611514838261169c565b6001600160a01b03821661152b5761064481611739565b826001600160a01b0316826001600160a01b0316146106445761064482826117e8565b6001600160a01b0382166115a45760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016103ec565b6000818152600260205260409020546001600160a01b0316156116095760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016103ec565b6116156000838361134b565b6001600160a01b038216600090815260036020526040812080546001929061163e908490611e44565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600060016116a984610959565b6116b39190611e70565b600083815260076020526040902054909150808214611706576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061174b90600190611e70565b6000838152600960205260408120546008805493945090928490811061177357611773611f5f565b90600052602060002001549050806008838154811061179457611794611f5f565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806117cc576117cc611f49565b6001900381819060005260206000200160009055905550505050565b60006117f383610959565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461183890611eb3565b90600052602060002090601f01602090048101928261185a57600085556118a0565b82601f1061187357805160ff19168380011785556118a0565b828001600101855582156118a0579182015b828111156118a0578251825591602001919060010190611885565b506118ac9291506118b0565b5090565b5b808211156118ac57600081556001016118b1565b600067ffffffffffffffff8311156118df576118df611f75565b6118f2601f8401601f1916602001611e13565b905082815283838301111561190657600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b038116811461193457600080fd5b919050565b60006020828403121561194b57600080fd5b6119548261191d565b9392505050565b6000806040838503121561196e57600080fd5b6119778361191d565b91506119856020840161191d565b90509250929050565b6000806000606084860312156119a357600080fd5b6119ac8461191d565b92506119ba6020850161191d565b9150604084013590509250925092565b600080600080608085870312156119e057600080fd5b6119e98561191d565b93506119f76020860161191d565b925060408501359150606085013567ffffffffffffffff811115611a1a57600080fd5b8501601f81018713611a2b57600080fd5b611a3a878235602084016118c5565b91505092959194509250565b60008060408385031215611a5957600080fd5b611a628361191d565b915060208301358015158114611a7757600080fd5b809150509250929050565b60008060408385031215611a9557600080fd5b611a9e8361191d565b946020939093013593505050565b60006020808385031215611abf57600080fd5b823567ffffffffffffffff80821115611ad757600080fd5b818501915085601f830112611aeb57600080fd5b813581811115611afd57611afd611f75565b8060051b9150611b0e848301611e13565b8181528481019084860184860187018a1015611b2957600080fd5b600095505b83861015611b5357611b3f8161191d565b835260019590950194918601918601611b2e565b5098975050505050505050565b600060208284031215611b7257600080fd5b813561195481611f8b565b600060208284031215611b8f57600080fd5b815161195481611f8b565b600060208284031215611bac57600080fd5b813567ffffffffffffffff811115611bc357600080fd5b8201601f81018413611bd457600080fd5b610fab848235602084016118c5565b600060208284031215611bf557600080fd5b5035919050565b60008151808452611c14816020860160208601611e87565b601f01601f19169290920160200192915050565b60008151611c3a818560208601611e87565b9290920192915050565b600080845481600182811c915080831680611c6057607f831692505b6020808410821415611c8057634e487b7160e01b86526022600452602486fd5b818015611c945760018114611ca557611cd2565b60ff19861689528489019650611cd2565b60008b81526020902060005b86811015611cca5781548b820152908501908301611cb1565b505084890196505b505050505050611ce28185611c28565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d1e90830184611bfc565b9695505050505050565b6020815260006119546020830184611bfc565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611e3c57611e3c611f75565b604052919050565b60008219821115611e5757611e57611f1d565b500190565b600082611e6b57611e6b611f33565b500490565b600082821015611e8257611e82611f1d565b500390565b60005b83811015611ea2578181015183820152602001611e8a565b83811115610c2a5750506000910152565b600181811c90821680611ec757607f821691505b60208210811415611ee857634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f0257611f02611f1d565b5060010190565b600082611f1857611f18611f33565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610c6757600080fdfea2646970667358221220f3fb34999f39d10c0811d7a9e768aa9e289fd621995b387e49588f19a444531364736f6c63430008070033
Deployed Bytecode Sourcemap
49209:2639:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51416:174;;;;;;:::i;:::-;;:::i;:::-;;;7283:14:1;;7276:22;7258:41;;7246:2;7231:18;51416:174:0;;;;;;;;49562:88;;;;;;:::i;:::-;;:::i;:::-;;21002:100;;;:::i;:::-;;;;;;;:::i;22561:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6581:32:1;;;6563:51;;6551:2;6536:18;22561:221:0;6417:203:1;22084:411:0;;;;;;:::i;:::-;;:::i;34564:113::-;34652:10;:17;34564:113;;;15989:25:1;;;15977:2;15962:18;34564:113:0;15843:177:1;23451:339:0;;;;;;:::i;:::-;;:::i;34232:256::-;;;;;;:::i;:::-;;:::i;50541:323::-;;;;;;:::i;:::-;;:::i;49749:91::-;;;:::i;23861:185::-;;;;;;:::i;:::-;;:::i;34754:233::-;;;;;;:::i;:::-;;:::i;20696:239::-;;;;;;:::i;:::-;;:::i;20426:208::-;;;;;;:::i;:::-;;:::i;48553:94::-;;;:::i;50141:317::-;;;;;;:::i;:::-;;:::i;47902:87::-;47975:6;;-1:-1:-1;;;;;47975:6:0;47902:87;;21171:104;;;:::i;22854:295::-;;;;;;:::i;:::-;;:::i;24117:328::-;;;;;;:::i;:::-;;:::i;49402:23::-;;;;;;;;;50914:100;;;;;;:::i;:::-;;:::i;51090:318::-;;;;;;:::i;:::-;;:::i;49917:126::-;;;;;;:::i;:::-;;:::i;23220:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;23341:25:0;;;23317:4;23341:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23220:164;48802:192;;;;;;:::i;:::-;;:::i;51416:174::-;51521:4;51545:37;51569:12;51545:23;:37::i;:::-;51538:44;51416:174;-1:-1:-1;;51416:174:0:o;49562:88::-;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;;;;;;;;;49628:14;;::::1;::::0;:7:::1;::::0;:14:::1;::::0;::::1;::::0;::::1;:::i;:::-;;49562:88:::0;:::o;21002:100::-;21056:13;21089:5;21082:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21002:100;:::o;22561:221::-;22637:7;26044:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26044:16:0;22657:73;;;;-1:-1:-1;;;22657:73:0;;12466:2:1;22657:73:0;;;12448:21:1;12505:2;12485:18;;;12478:30;12544:34;12524:18;;;12517:62;-1:-1:-1;;;12595:18:1;;;12588:42;12647:19;;22657:73:0;12264:408:1;22657:73:0;-1:-1:-1;22750:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;22750:24:0;;22561:221::o;22084:411::-;22165:13;22181:23;22196:7;22181:14;:23::i;:::-;22165:39;;22229:5;-1:-1:-1;;;;;22223:11:0;:2;-1:-1:-1;;;;;22223:11:0;;;22215:57;;;;-1:-1:-1;;;22215:57:0;;14066:2:1;22215:57:0;;;14048:21:1;14105:2;14085:18;;;14078:30;14144:34;14124:18;;;14117:62;-1:-1:-1;;;14195:18:1;;;14188:31;14236:19;;22215:57:0;13864:397:1;22215:57:0;15768:10;-1:-1:-1;;;;;22307:21:0;;;;:62;;-1:-1:-1;22332:37:0;22349:5;15768:10;23220:164;:::i;22332:37::-;22285:168;;;;-1:-1:-1;;;22285:168:0;;10859:2:1;22285:168:0;;;10841:21:1;10898:2;10878:18;;;10871:30;10937:34;10917:18;;;10910:62;11008:26;10988:18;;;10981:54;11052:19;;22285:168:0;10657:420:1;22285:168:0;22466:21;22475:2;22479:7;22466:8;:21::i;:::-;22154:341;22084:411;;:::o;23451:339::-;23646:41;15768:10;23679:7;23646:18;:41::i;:::-;23638:103;;;;-1:-1:-1;;;23638:103:0;;;;;;;:::i;:::-;23754:28;23764:4;23770:2;23774:7;23754:9;:28::i;34232:256::-;34329:7;34365:23;34382:5;34365:16;:23::i;:::-;34357:5;:31;34349:87;;;;-1:-1:-1;;;34349:87:0;;7736:2:1;34349:87:0;;;7718:21:1;7775:2;7755:18;;;7748:30;7814:34;7794:18;;;7787:62;-1:-1:-1;;;7865:18:1;;;7858:41;7916:19;;34349:87:0;7534:407:1;34349:87:0;-1:-1:-1;;;;;;34454:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;34232:256::o;50541:323::-;50633:15;;50591:7;;-1:-1:-1;;;;;50633:15:0;50619:10;:29;50611:56;;;;-1:-1:-1;;;50611:56:0;;15702:2:1;50611:56:0;;;15684:21:1;15741:2;15721:18;;;15714:30;-1:-1:-1;;;15760:18:1;;;15753:44;15814:18;;50611:56:0;15500:338:1;50611:56:0;50683:11;;;;50680:104;;;-1:-1:-1;;;;;50719:14:0;;;;;;:9;:14;;;;;;;;50711:61;;;;-1:-1:-1;;;50711:61:0;;14468:2:1;50711:61:0;;;14450:21:1;14507:2;14487:18;;;14480:30;14546:34;14526:18;;;14519:62;-1:-1:-1;;;14597:18:1;;;14590:32;14639:19;;50711:61:0;14266:398:1;50711:61:0;50796:29;50806:3;50811:13;34652:10;:17;;34564:113;50811:13;50796:9;:29::i;:::-;34652:10;:17;50843:13;34564:113;49749:91;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;49821:11:::1;::::0;;-1:-1:-1;;49806:26:0;::::1;49821:11;::::0;;::::1;49820:12;49806:26;::::0;;49749:91::o;23861:185::-;23999:39;24016:4;24022:2;24026:7;23999:39;;;;;;;;;;;;:16;:39::i;34754:233::-;34829:7;34865:30;34652:10;:17;;34564:113;34865:30;34857:5;:38;34849:95;;;;-1:-1:-1;;;34849:95:0;;15289:2:1;34849:95:0;;;15271:21:1;15328:2;15308:18;;;15301:30;15367:34;15347:18;;;15340:62;-1:-1:-1;;;15418:18:1;;;15411:42;15470:19;;34849:95:0;15087:408:1;34849:95:0;34962:10;34973:5;34962:17;;;;;;;;:::i;:::-;;;;;;;;;34955:24;;34754:233;;;:::o;20696:239::-;20768:7;20804:16;;;:7;:16;;;;;;-1:-1:-1;;;;;20804:16:0;20839:19;20831:73;;;;-1:-1:-1;;;20831:73:0;;11695:2:1;20831:73:0;;;11677:21:1;11734:2;11714:18;;;11707:30;11773:34;11753:18;;;11746:62;-1:-1:-1;;;11824:18:1;;;11817:39;11873:19;;20831:73:0;11493:405:1;20426:208:0;20498:7;-1:-1:-1;;;;;20526:19:0;;20518:74;;;;-1:-1:-1;;;20518:74:0;;11284:2:1;20518:74:0;;;11266:21:1;11323:2;11303:18;;;11296:30;11362:34;11342:18;;;11335:62;-1:-1:-1;;;11413:18:1;;;11406:40;11463:19;;20518:74:0;11082:406:1;20518:74:0;-1:-1:-1;;;;;;20610:16:0;;;;;:9;:16;;;;;;;20426:208::o;48553:94::-;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;48618:21:::1;48636:1;48618:9;:21::i;:::-;48553:94::o:0;50141:317::-;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;50268:9:::1;50263:188;50287:10;:17;50283:1;:21;50263:188;;;50359:1;-1:-1:-1::0;;;;;50334:27:0::1;:10;50345:1;50334:13;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;50334:27:0::1;;;50326:67;;;::::0;-1:-1:-1;;;50326:67:0;;10503:2:1;50326:67:0::1;::::0;::::1;10485:21:1::0;10542:2;10522:18;;;10515:30;10581:29;10561:18;;;10554:57;10628:18;;50326:67:0::1;10301:351:1::0;50326:67:0::1;50435:4;50408:9;:24;50418:10;50429:1;50418:13;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;50408:24:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;50408:24:0;:31;;-1:-1:-1;;50408:31:0::1;::::0;::::1;;::::0;;;::::1;::::0;;50306:3;::::1;::::0;::::1;:::i;:::-;;;;50263:188;;21171:104:::0;21227:13;21260:7;21253:14;;;;;:::i;22854:295::-;-1:-1:-1;;;;;22957:24:0;;15768:10;22957:24;;22949:62;;;;-1:-1:-1;;;22949:62:0;;9736:2:1;22949:62:0;;;9718:21:1;9775:2;9755:18;;;9748:30;9814:27;9794:18;;;9787:55;9859:18;;22949:62:0;9534:349:1;22949:62:0;15768:10;23024:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;23024:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;23024:53:0;;;;;;;;;;23093:48;;7258:41:1;;;23024:42:0;;15768:10;23093:48;;7231:18:1;23093:48:0;;;;;;;22854:295;;:::o;24117:328::-;24292:41;15768:10;24325:7;24292:18;:41::i;:::-;24284:103;;;;-1:-1:-1;;;24284:103:0;;;;;;;:::i;:::-;24398:39;24412:4;24418:2;24422:7;24431:5;24398:13;:39::i;:::-;24117:328;;;;:::o;50914:100::-;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;50977:29:::1;50987:3;50992:13;34652:10:::0;:17;;34564:113;50977:29:::1;50914:100:::0;:::o;51090:318::-;26020:4;26044:16;;;:7;:16;;;;;;51164:13;;-1:-1:-1;;;;;26044:16:0;51190:77;;;;-1:-1:-1;;;51190:77:0;;13650:2:1;51190:77:0;;;13632:21:1;13689:2;13669:18;;;13662:30;13728:34;13708:18;;;13701:62;-1:-1:-1;;;13779:18:1;;;13772:45;13834:19;;51190:77:0;13448:411:1;51190:77:0;51311:1;51293:7;51287:21;;;;;:::i;:::-;;;:25;:113;;;;;;;;;;;;;;;;;51352:7;51361:19;:8;:17;:19::i;:::-;51335:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;51280:120;51090:318;-1:-1:-1;;51090:318:0:o;49917:126::-;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;50001:15:::1;:34:::0;;-1:-1:-1;;;;;;50001:34:0::1;-1:-1:-1::0;;;;;50001:34:0;;;::::1;::::0;;;::::1;::::0;;49917:126::o;48802:192::-;47975:6;;-1:-1:-1;;;;;47975:6:0;15768:10;48122:23;48114:68;;;;-1:-1:-1;;;48114:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;48891:22:0;::::1;48883:73;;;::::0;-1:-1:-1;;;48883:73:0;;8567:2:1;48883:73:0::1;::::0;::::1;8549:21:1::0;8606:2;8586:18;;;8579:30;8645:34;8625:18;;;8618:62;-1:-1:-1;;;8696:18:1;;;8689:36;8742:19;;48883:73:0::1;8365:402:1::0;48883:73:0::1;48967:19;48977:8;48967:9;:19::i;33924:224::-:0;34026:4;-1:-1:-1;;;;;;34050:50:0;;-1:-1:-1;;;34050:50:0;;:90;;;34104:36;34128:11;34104:23;:36::i;29937:174::-;30012:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;30012:29:0;-1:-1:-1;;;;;30012:29:0;;;;;;;;:24;;30066:23;30012:24;30066:14;:23::i;:::-;-1:-1:-1;;;;;30057:46:0;;;;;;;;;;;29937:174;;:::o;26249:348::-;26342:4;26044:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26044:16:0;26359:73;;;;-1:-1:-1;;;26359:73:0;;10090:2:1;26359:73:0;;;10072:21:1;10129:2;10109:18;;;10102:30;10168:34;10148:18;;;10141:62;-1:-1:-1;;;10219:18:1;;;10212:42;10271:19;;26359:73:0;9888:408:1;26359:73:0;26443:13;26459:23;26474:7;26459:14;:23::i;:::-;26443:39;;26512:5;-1:-1:-1;;;;;26501:16:0;:7;-1:-1:-1;;;;;26501:16:0;;:51;;;;26545:7;-1:-1:-1;;;;;26521:31:0;:20;26533:7;26521:11;:20::i;:::-;-1:-1:-1;;;;;26521:31:0;;26501:51;:87;;;-1:-1:-1;;;;;;23341:25:0;;;23317:4;23341:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;26556:32;26493:96;26249:348;-1:-1:-1;;;;26249:348:0:o;29241:578::-;29400:4;-1:-1:-1;;;;;29373:31:0;:23;29388:7;29373:14;:23::i;:::-;-1:-1:-1;;;;;29373:31:0;;29365:85;;;;-1:-1:-1;;;29365:85:0;;13240:2:1;29365:85:0;;;13222:21:1;13279:2;13259:18;;;13252:30;13318:34;13298:18;;;13291:62;-1:-1:-1;;;13369:18:1;;;13362:39;13418:19;;29365:85:0;13038:405:1;29365:85:0;-1:-1:-1;;;;;29469:16:0;;29461:65;;;;-1:-1:-1;;;29461:65:0;;9331:2:1;29461:65:0;;;9313:21:1;9370:2;9350:18;;;9343:30;9409:34;9389:18;;;9382:62;-1:-1:-1;;;9460:18:1;;;9453:34;9504:19;;29461:65:0;9129:400:1;29461:65:0;29539:39;29560:4;29566:2;29570:7;29539:20;:39::i;:::-;29643:29;29660:1;29664:7;29643:8;:29::i;:::-;-1:-1:-1;;;;;29685:15:0;;;;;;:9;:15;;;;;:20;;29704:1;;29685:15;:20;;29704:1;;29685:20;:::i;:::-;;;;-1:-1:-1;;;;;;;29716:13:0;;;;;;:9;:13;;;;;:18;;29733:1;;29716:13;:18;;29733:1;;29716:18;:::i;:::-;;;;-1:-1:-1;;29745:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29745:21:0;-1:-1:-1;;;;;29745:21:0;;;;;;;;;29784:27;;29745:16;;29784:27;;;;;;;29241:578;;;:::o;26939:110::-;27015:26;27025:2;27029:7;27015:26;;;;;;;;;;;;:9;:26::i;49002:173::-;49077:6;;;-1:-1:-1;;;;;49094:17:0;;;-1:-1:-1;;;;;;49094:17:0;;;;;;;49127:40;;49077:6;;;49094:17;49077:6;;49127:40;;49058:16;;49127:40;49047:128;49002:173;:::o;25327:315::-;25484:28;25494:4;25500:2;25504:7;25484:9;:28::i;:::-;25531:48;25554:4;25560:2;25564:7;25573:5;25531:22;:48::i;:::-;25523:111;;;;-1:-1:-1;;;25523:111:0;;;;;;;:::i;16155:723::-;16211:13;16432:10;16428:53;;-1:-1:-1;;16459:10:0;;;;;;;;;;;;-1:-1:-1;;;16459:10:0;;;;;16155:723::o;16428:53::-;16506:5;16491:12;16547:78;16554:9;;16547:78;;16580:8;;;;:::i;:::-;;-1:-1:-1;16603:10:0;;-1:-1:-1;16611:2:0;16603:10;;:::i;:::-;;;16547:78;;;16635:19;16667:6;16657:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16657:17:0;;16635:39;;16685:154;16692:10;;16685:154;;16719:11;16729:1;16719:11;;:::i;:::-;;-1:-1:-1;16788:10:0;16796:2;16788:5;:10;:::i;:::-;16775:24;;:2;:24;:::i;:::-;16762:39;;16745:6;16752;16745:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;16745:56:0;;;;;;;;-1:-1:-1;16816:11:0;16825:2;16816:11;;:::i;:::-;;;16685:154;;20057:305;20159:4;-1:-1:-1;;;;;;20196:40:0;;-1:-1:-1;;;20196:40:0;;:105;;-1:-1:-1;;;;;;;20253:48:0;;-1:-1:-1;;;20253:48:0;20196:105;:158;;;-1:-1:-1;;;;;;;;;;18748:40:0;;;20318:36;18639:157;51658:187;51789:48;51816:5;51823:3;51828:8;51789:26;:48::i;27276:321::-;27406:18;27412:2;27416:7;27406:5;:18::i;:::-;27457:54;27488:1;27492:2;27496:7;27505:5;27457:22;:54::i;:::-;27435:154;;;;-1:-1:-1;;;27435:154:0;;;;;;;:::i;30676:799::-;30831:4;-1:-1:-1;;;;;30852:13:0;;8113:20;8161:8;30848:620;;30888:72;;-1:-1:-1;;;30888:72:0;;-1:-1:-1;;;;;30888:36:0;;;;;:72;;15768:10;;30939:4;;30945:7;;30954:5;;30888:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30888:72:0;;;;;;;;-1:-1:-1;;30888:72:0;;;;;;;;;;;;:::i;:::-;;;30884:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31130:13:0;;31126:272;;31173:60;;-1:-1:-1;;;31173:60:0;;;;;;;:::i;31126:272::-;31348:6;31342:13;31333:6;31329:2;31325:15;31318:38;30884:529;-1:-1:-1;;;;;;31011:51:0;-1:-1:-1;;;31011:51:0;;-1:-1:-1;31004:58:0;;30848:620;-1:-1:-1;31452:4:0;30676:799;;;;;;:::o;35600:589::-;-1:-1:-1;;;;;35806:18:0;;35802:187;;35841:40;35873:7;37016:10;:17;;36989:24;;;;:15;:24;;;;;:44;;;37044:24;;;;;;;;;;;;36912:164;35841:40;35802:187;;;35911:2;-1:-1:-1;;;;;35903:10:0;:4;-1:-1:-1;;;;;35903:10:0;;35899:90;;35930:47;35963:4;35969:7;35930:32;:47::i;:::-;-1:-1:-1;;;;;36003:16:0;;35999:183;;36036:45;36073:7;36036:36;:45::i;35999:183::-;36109:4;-1:-1:-1;;;;;36103:10:0;:2;-1:-1:-1;;;;;36103:10:0;;36099:83;;36130:40;36158:2;36162:7;36130:27;:40::i;27933:382::-;-1:-1:-1;;;;;28013:16:0;;28005:61;;;;-1:-1:-1;;;28005:61:0;;12105:2:1;28005:61:0;;;12087:21:1;;;12124:18;;;12117:30;12183:34;12163:18;;;12156:62;12235:18;;28005:61:0;11903:356:1;28005:61:0;26020:4;26044:16;;;:7;:16;;;;;;-1:-1:-1;;;;;26044:16:0;:30;28077:58;;;;-1:-1:-1;;;28077:58:0;;8974:2:1;28077:58:0;;;8956:21:1;9013:2;8993:18;;;8986:30;9052;9032:18;;;9025:58;9100:18;;28077:58:0;8772:352:1;28077:58:0;28148:45;28177:1;28181:2;28185:7;28148:20;:45::i;:::-;-1:-1:-1;;;;;28206:13:0;;;;;;:9;:13;;;;;:18;;28223:1;;28206:13;:18;;28223:1;;28206:18;:::i;:::-;;;;-1:-1:-1;;28235:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;28235:21:0;-1:-1:-1;;;;;28235:21:0;;;;;;;;28274:33;;28235:16;;;28274:33;;28235:16;;28274:33;27933:382;;:::o;37703:988::-;37969:22;38019:1;37994:22;38011:4;37994:16;:22::i;:::-;:26;;;;:::i;:::-;38031:18;38052:26;;;:17;:26;;;;;;37969:51;;-1:-1:-1;38185:28:0;;;38181:328;;-1:-1:-1;;;;;38252:18:0;;38230:19;38252:18;;;:12;:18;;;;;;;;:34;;;;;;;;;38303:30;;;;;;:44;;;38420:30;;:17;:30;;;;;:43;;;38181:328;-1:-1:-1;38605:26:0;;;;:17;:26;;;;;;;;38598:33;;;-1:-1:-1;;;;;38649:18:0;;;;;:12;:18;;;;;:34;;;;;;;38642:41;37703:988::o;38986:1079::-;39264:10;:17;39239:22;;39264:21;;39284:1;;39264:21;:::i;:::-;39296:18;39317:24;;;:15;:24;;;;;;39690:10;:26;;39239:46;;-1:-1:-1;39317:24:0;;39239:46;;39690:26;;;;;;:::i;:::-;;;;;;;;;39668:48;;39754:11;39729:10;39740;39729:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;39834:28;;;:15;:28;;;;;;;:41;;;40006:24;;;;;39999:31;40041:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;39057:1008;;;38986:1079;:::o;36490:221::-;36575:14;36592:20;36609:2;36592:16;:20::i;:::-;-1:-1:-1;;;;;36623:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;36668:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;36490:221:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:406:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;172:57;217:2;196:15;;-1:-1:-1;;192:29:1;223:4;188:40;172:57;:::i;:::-;163:66;;252:6;245:5;238:21;292:3;283:6;278:3;274:16;271:25;268:45;;;309:1;306;299:12;268:45;358:6;353:3;346:4;339:5;335:16;322:43;412:1;405:4;396:6;389:5;385:18;381:29;374:40;14:406;;;;;:::o;425:173::-;493:20;;-1:-1:-1;;;;;542:31:1;;532:42;;522:70;;588:1;585;578:12;522:70;425:173;;;:::o;603:186::-;662:6;715:2;703:9;694:7;690:23;686:32;683:52;;;731:1;728;721:12;683:52;754:29;773:9;754:29;:::i;:::-;744:39;603:186;-1:-1:-1;;;603:186:1:o;794:260::-;862:6;870;923:2;911:9;902:7;898:23;894:32;891:52;;;939:1;936;929:12;891:52;962:29;981:9;962:29;:::i;:::-;952:39;;1010:38;1044:2;1033:9;1029:18;1010:38;:::i;:::-;1000:48;;794:260;;;;;:::o;1059:328::-;1136:6;1144;1152;1205:2;1193:9;1184:7;1180:23;1176:32;1173:52;;;1221:1;1218;1211:12;1173:52;1244:29;1263:9;1244:29;:::i;:::-;1234:39;;1292:38;1326:2;1315:9;1311:18;1292:38;:::i;:::-;1282:48;;1377:2;1366:9;1362:18;1349:32;1339:42;;1059:328;;;;;:::o;1392:666::-;1487:6;1495;1503;1511;1564:3;1552:9;1543:7;1539:23;1535:33;1532:53;;;1581:1;1578;1571:12;1532:53;1604:29;1623:9;1604:29;:::i;:::-;1594:39;;1652:38;1686:2;1675:9;1671:18;1652:38;:::i;:::-;1642:48;;1737:2;1726:9;1722:18;1709:32;1699:42;;1792:2;1781:9;1777:18;1764:32;1819:18;1811:6;1808:30;1805:50;;;1851:1;1848;1841:12;1805:50;1874:22;;1927:4;1919:13;;1915:27;-1:-1:-1;1905:55:1;;1956:1;1953;1946:12;1905:55;1979:73;2044:7;2039:2;2026:16;2021:2;2017;2013:11;1979:73;:::i;:::-;1969:83;;;1392:666;;;;;;;:::o;2063:347::-;2128:6;2136;2189:2;2177:9;2168:7;2164:23;2160:32;2157:52;;;2205:1;2202;2195:12;2157:52;2228:29;2247:9;2228:29;:::i;:::-;2218:39;;2307:2;2296:9;2292:18;2279:32;2354:5;2347:13;2340:21;2333:5;2330:32;2320:60;;2376:1;2373;2366:12;2320:60;2399:5;2389:15;;;2063:347;;;;;:::o;2415:254::-;2483:6;2491;2544:2;2532:9;2523:7;2519:23;2515:32;2512:52;;;2560:1;2557;2550:12;2512:52;2583:29;2602:9;2583:29;:::i;:::-;2573:39;2659:2;2644:18;;;;2631:32;;-1:-1:-1;;;2415:254:1:o;2674:963::-;2758:6;2789:2;2832;2820:9;2811:7;2807:23;2803:32;2800:52;;;2848:1;2845;2838:12;2800:52;2888:9;2875:23;2917:18;2958:2;2950:6;2947:14;2944:34;;;2974:1;2971;2964:12;2944:34;3012:6;3001:9;2997:22;2987:32;;3057:7;3050:4;3046:2;3042:13;3038:27;3028:55;;3079:1;3076;3069:12;3028:55;3115:2;3102:16;3137:2;3133;3130:10;3127:36;;;3143:18;;:::i;:::-;3189:2;3186:1;3182:10;3172:20;;3212:28;3236:2;3232;3228:11;3212:28;:::i;:::-;3274:15;;;3305:12;;;;3337:11;;;3367;;;3363:20;;3360:33;-1:-1:-1;3357:53:1;;;3406:1;3403;3396:12;3357:53;3428:1;3419:10;;3438:169;3452:2;3449:1;3446:9;3438:169;;;3509:23;3528:3;3509:23;:::i;:::-;3497:36;;3470:1;3463:9;;;;;3553:12;;;;3585;;3438:169;;;-1:-1:-1;3626:5:1;2674:963;-1:-1:-1;;;;;;;;2674:963:1:o;3642:245::-;3700:6;3753:2;3741:9;3732:7;3728:23;3724:32;3721:52;;;3769:1;3766;3759:12;3721:52;3808:9;3795:23;3827:30;3851:5;3827:30;:::i;3892:249::-;3961:6;4014:2;4002:9;3993:7;3989:23;3985:32;3982:52;;;4030:1;4027;4020:12;3982:52;4062:9;4056:16;4081:30;4105:5;4081:30;:::i;4146:450::-;4215:6;4268:2;4256:9;4247:7;4243:23;4239:32;4236:52;;;4284:1;4281;4274:12;4236:52;4324:9;4311:23;4357:18;4349:6;4346:30;4343:50;;;4389:1;4386;4379:12;4343:50;4412:22;;4465:4;4457:13;;4453:27;-1:-1:-1;4443:55:1;;4494:1;4491;4484:12;4443:55;4517:73;4582:7;4577:2;4564:16;4559:2;4555;4551:11;4517:73;:::i;4601:180::-;4660:6;4713:2;4701:9;4692:7;4688:23;4684:32;4681:52;;;4729:1;4726;4719:12;4681:52;-1:-1:-1;4752:23:1;;4601:180;-1:-1:-1;4601:180:1:o;4786:257::-;4827:3;4865:5;4859:12;4892:6;4887:3;4880:19;4908:63;4964:6;4957:4;4952:3;4948:14;4941:4;4934:5;4930:16;4908:63;:::i;:::-;5025:2;5004:15;-1:-1:-1;;5000:29:1;4991:39;;;;5032:4;4987:50;;4786:257;-1:-1:-1;;4786:257:1:o;5048:185::-;5090:3;5128:5;5122:12;5143:52;5188:6;5183:3;5176:4;5169:5;5165:16;5143:52;:::i;:::-;5211:16;;;;;5048:185;-1:-1:-1;;5048:185:1:o;5238:1174::-;5414:3;5443:1;5476:6;5470:13;5506:3;5528:1;5556:9;5552:2;5548:18;5538:28;;5616:2;5605:9;5601:18;5638;5628:61;;5682:4;5674:6;5670:17;5660:27;;5628:61;5708:2;5756;5748:6;5745:14;5725:18;5722:38;5719:165;;;-1:-1:-1;;;5783:33:1;;5839:4;5836:1;5829:15;5869:4;5790:3;5857:17;5719:165;5900:18;5927:104;;;;6045:1;6040:320;;;;5893:467;;5927:104;-1:-1:-1;;5960:24:1;;5948:37;;6005:16;;;;-1:-1:-1;5927:104:1;;6040:320;16378:1;16371:14;;;16415:4;16402:18;;6135:1;6149:165;6163:6;6160:1;6157:13;6149:165;;;6241:14;;6228:11;;;6221:35;6284:16;;;;6178:10;;6149:165;;;6153:3;;6343:6;6338:3;6334:16;6327:23;;5893:467;;;;;;;6376:30;6402:3;6394:6;6376:30;:::i;:::-;6369:37;5238:1174;-1:-1:-1;;;;;5238:1174:1:o;6625:488::-;-1:-1:-1;;;;;6894:15:1;;;6876:34;;6946:15;;6941:2;6926:18;;6919:43;6993:2;6978:18;;6971:34;;;7041:3;7036:2;7021:18;;7014:31;;;6819:4;;7062:45;;7087:19;;7079:6;7062:45;:::i;:::-;7054:53;6625:488;-1:-1:-1;;;;;;6625:488:1:o;7310:219::-;7459:2;7448:9;7441:21;7422:4;7479:44;7519:2;7508:9;7504:18;7496:6;7479:44;:::i;7946:414::-;8148:2;8130:21;;;8187:2;8167:18;;;8160:30;8226:34;8221:2;8206:18;;8199:62;-1:-1:-1;;;8292:2:1;8277:18;;8270:48;8350:3;8335:19;;7946:414::o;12677:356::-;12879:2;12861:21;;;12898:18;;;12891:30;12957:34;12952:2;12937:18;;12930:62;13024:2;13009:18;;12677:356::o;14669:413::-;14871:2;14853:21;;;14910:2;14890:18;;;14883:30;14949:34;14944:2;14929:18;;14922:62;-1:-1:-1;;;15015:2:1;15000:18;;14993:47;15072:3;15057:19;;14669:413::o;16025:275::-;16096:2;16090:9;16161:2;16142:13;;-1:-1:-1;;16138:27:1;16126:40;;16196:18;16181:34;;16217:22;;;16178:62;16175:88;;;16243:18;;:::i;:::-;16279:2;16272:22;16025:275;;-1:-1:-1;16025:275:1:o;16431:128::-;16471:3;16502:1;16498:6;16495:1;16492:13;16489:39;;;16508:18;;:::i;:::-;-1:-1:-1;16544:9:1;;16431:128::o;16564:120::-;16604:1;16630;16620:35;;16635:18;;:::i;:::-;-1:-1:-1;16669:9:1;;16564:120::o;16689:125::-;16729:4;16757:1;16754;16751:8;16748:34;;;16762:18;;:::i;:::-;-1:-1:-1;16799:9:1;;16689:125::o;16819:258::-;16891:1;16901:113;16915:6;16912:1;16909:13;16901:113;;;16991:11;;;16985:18;16972:11;;;16965:39;16937:2;16930:10;16901:113;;;17032:6;17029:1;17026:13;17023:48;;;-1:-1:-1;;17067:1:1;17049:16;;17042:27;16819:258::o;17082:380::-;17161:1;17157:12;;;;17204;;;17225:61;;17279:4;17271:6;17267:17;17257:27;;17225:61;17332:2;17324:6;17321:14;17301:18;17298:38;17295:161;;;17378:10;17373:3;17369:20;17366:1;17359:31;17413:4;17410:1;17403:15;17441:4;17438:1;17431:15;17295:161;;17082:380;;;:::o;17467:135::-;17506:3;-1:-1:-1;;17527:17:1;;17524:43;;;17547:18;;:::i;:::-;-1:-1:-1;17594:1:1;17583:13;;17467:135::o;17607:112::-;17639:1;17665;17655:35;;17670:18;;:::i;:::-;-1:-1:-1;17704:9:1;;17607:112::o;17724:127::-;17785:10;17780:3;17776:20;17773:1;17766:31;17816:4;17813:1;17806:15;17840:4;17837:1;17830:15;17856:127;17917:10;17912:3;17908:20;17905:1;17898:31;17948:4;17945:1;17938:15;17972:4;17969:1;17962:15;17988:127;18049:10;18044:3;18040:20;18037:1;18030:31;18080:4;18077:1;18070:15;18104:4;18101:1;18094:15;18120:127;18181:10;18176:3;18172:20;18169:1;18162:31;18212:4;18209:1;18202:15;18236:4;18233:1;18226:15;18252:127;18313:10;18308:3;18304:20;18301:1;18294:31;18344:4;18341:1;18334:15;18368:4;18365:1;18358:15;18384:131;-1:-1:-1;;;;;;18458:32:1;;18448:43;;18438:71;;18505:1;18502;18495:12
Swarm Source
ipfs://f3fb34999f39d10c0811d7a9e768aa9e289fd621995b387e49588f19a4445313
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.