Polygon Sponsored slots available. Book your slot here!
ERC-721
Overview
Max Total Supply
1,106 IRENEDAO
Holders
137
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 IRENEDAOLoading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
IreneDAO
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; // import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; // import "@openzeppelin/contracts/access/Ownable.sol"; // import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "./ERC721Enumerable.sol"; import "./ReentrancyGuard.sol"; import "./Ownable.sol"; import "./SafeERC20.sol"; contract IreneDAO is ERC721Enumerable, ReentrancyGuard, Ownable { constructor() ERC721("IreneDAO", "IRENEDAO") Ownable() {} function random(string memory input) internal pure returns (uint256) { return uint256(keccak256(abi.encodePacked(input))); } function mint() public payable nonReentrant { uint256 latestId = totalSupply(); _safeMint(_msgSender(), latestId); // Magic number :) require(totalSupply() < 1107, "Max mint amount"); } function tokenURI(uint256 tokenId) public pure override returns (string memory) { string memory output = string( abi.encodePacked( "https://gateway.pinata.cloud/ipfs/QmW9xCDXnZFS1eZJj2VkBb5amCXcMcfcttXLo9SddAwzZc/", Utils.toString(tokenId), ".png" ) ); string memory json = Base64.encode( bytes( string( abi.encodePacked( '{"name": "IreneDAO Pass #', Utils.toString(tokenId + 1), '", "description": "IreneDAO is a global grassroots movement aimed at disrupting the creator economy. IreneDAO is for the people, by the people. Our core values are: Sincerity, Integrity, Meaning, and Purpose.", "image": "', output, '"}' ) ) ) ); output = string( abi.encodePacked("data:application/json;base64,", json) ); return output; } } library Utils { function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT license // 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); } } /// [MIT License] /// @title Base64 /// @notice Provides a function for encoding some bytes in base64 /// @author Brecht Devos <[email protected]> library Base64 { bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /// @notice Encodes some bytes to the base64 representation function encode(bytes memory data) internal pure returns (string memory) { uint256 len = data.length; if (len == 0) return ""; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((len + 2) / 3); // Add some extra buffer at the end bytes memory result = new bytes(encodedLen + 32); bytes memory table = TABLE; assembly { let tablePtr := add(table, 1) let resultPtr := add(result, 32) for { let i := 0 } lt(i, len) { } { i := add(i, 3) let input := and(mload(add(data, i)), 0xffffff) let out := mload(add(tablePtr, and(shr(18, input), 0x3F))) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF) ) out := shl(8, out) out := add( out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF) ) out := shl(224, out) mstore(resultPtr, out) resultPtr := add(resultPtr, 4) } switch mod(len, 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } mstore(result, encodedLen) } return string(result); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; // import "./IERC721.sol"; // import "./IERC721Receiver.sol"; // import "./extensions/IERC721Metadata.sol"; // import "../../utils/Address.sol"; // import "../../utils/Context.sol"; // import "../../utils/Strings.sol"; // import "../../utils/introspection/ERC165.sol"; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be 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 { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "./ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @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 allows 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(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"pure","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
60806040523480156200001157600080fd5b50604051806040016040528060088152602001674972656e6544414f60c01b815250604051806040016040528060088152602001674952454e4544414f60c01b81525081600090805190602001906200006c929190620000ed565b50805162000082906001906020840190620000ed565b50506001600a555062000095336200009b565b620001d0565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000fb9062000193565b90600052602060002090601f0160209004810192826200011f57600085556200016a565b82601f106200013a57805160ff19168380011785556200016a565b828001600101855582156200016a579182015b828111156200016a5782518255916020019190600101906200014d565b50620001789291506200017c565b5090565b5b808211156200017857600081556001016200017d565b600181811c90821680620001a857607f821691505b60208210811415620001ca57634e487b7160e01b600052602260045260246000fd5b50919050565b611f2680620001e06000396000f3fe60806040526004361061011f5760003560e01c80636352211e116100a0578063a22cb46511610064578063a22cb46514610304578063b88d4fde14610324578063c87b56dd14610344578063e985e9c514610364578063f2fde38b146103ad57600080fd5b80636352211e1461027c57806370a082311461029c578063715018a6146102bc5780638da5cb5b146102d157806395d89b41146102ef57600080fd5b806318160ddd116100e757806318160ddd146101dd57806323b872dd146101fc5780632f745c591461021c57806342842e0e1461023c5780634f6ccce71461025c57600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b35780631249c58b146101d5575b600080fd5b34801561013057600080fd5b5061014461013f36600461179d565b6103cd565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103f8565b6040516101509190611819565b34801561018757600080fd5b5061019b61019636600461182c565b61048a565b6040516001600160a01b039091168152602001610150565b3480156101bf57600080fd5b506101d36101ce366004611861565b610524565b005b6101d361063a565b3480156101e957600080fd5b506008545b604051908152602001610150565b34801561020857600080fd5b506101d361021736600461188b565b6106fc565b34801561022857600080fd5b506101ee610237366004611861565b61072d565b34801561024857600080fd5b506101d361025736600461188b565b6107c3565b34801561026857600080fd5b506101ee61027736600461182c565b6107de565b34801561028857600080fd5b5061019b61029736600461182c565b610871565b3480156102a857600080fd5b506101ee6102b73660046118c7565b6108e8565b3480156102c857600080fd5b506101d361096f565b3480156102dd57600080fd5b50600b546001600160a01b031661019b565b3480156102fb57600080fd5b5061016e6109d5565b34801561031057600080fd5b506101d361031f3660046118e2565b6109e4565b34801561033057600080fd5b506101d361033f366004611934565b6109f3565b34801561035057600080fd5b5061016e61035f36600461182c565b610a2b565b34801561037057600080fd5b5061014461037f366004611a10565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156103b957600080fd5b506101d36103c83660046118c7565b610ac3565b60006001600160e01b0319821663780e9d6360e01b14806103f257506103f282610b8e565b92915050565b60606000805461040790611a43565b80601f016020809104026020016040519081016040528092919081815260200182805461043390611a43565b80156104805780601f1061045557610100808354040283529160200191610480565b820191906000526020600020905b81548152906001019060200180831161046357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061052f82610871565b9050806001600160a01b0316836001600160a01b0316141561059d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104ff565b336001600160a01b03821614806105b957506105b9813361037f565b61062b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104ff565b6106358383610bde565b505050565b6002600a54141561068d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104ff565b6002600a55600061069d60085490565b90506106a93382610c4c565b6104536106b560085490565b106106f45760405162461bcd60e51b815260206004820152600f60248201526e13585e081b5a5b9d08185b5bdd5b9d608a1b60448201526064016104ff565b506001600a55565b6107063382610c66565b6107225760405162461bcd60e51b81526004016104ff90611a7e565b610635838383610d5d565b6000610738836108e8565b821061079a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104ff565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610635838383604051806020016040528060008152506109f3565b60006107e960085490565b821061084c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104ff565b6008828154811061085f5761085f611acf565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103f25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016104ff565b60006001600160a01b0382166109535760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104ff565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146109c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ff565b6109d36000610f08565b565b60606001805461040790611a43565b6109ef338383610f5a565b5050565b6109fd3383610c66565b610a195760405162461bcd60e51b81526004016104ff90611a7e565b610a2584848484611029565b50505050565b60606000610a388361105c565b604051602001610a489190611ae5565b60408051601f1981840301815291905290506000610a98610a72610a6d866001611b8e565b61105c565b83604051602001610a84929190611ba6565b60405160208183030381529060405261115a565b905080604051602001610aab9190611d1a565b60408051601f19818403018152919052949350505050565b600b546001600160a01b03163314610b1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ff565b6001600160a01b038116610b825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ff565b610b8b81610f08565b50565b60006001600160e01b031982166380ac58cd60e01b1480610bbf57506001600160e01b03198216635b5e139f60e01b145b806103f257506301ffc9a760e01b6001600160e01b03198316146103f2565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c1382610871565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6109ef8282604051806020016040528060008152506112c0565b6000818152600260205260408120546001600160a01b0316610cdf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104ff565b6000610cea83610871565b9050806001600160a01b0316846001600160a01b03161480610d255750836001600160a01b0316610d1a8461048a565b6001600160a01b0316145b80610d5557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d7082610871565b6001600160a01b031614610dd85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104ff565b6001600160a01b038216610e3a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104ff565b610e458383836112f3565b610e50600082610bde565b6001600160a01b0383166000908152600360205260408120805460019290610e79908490611d5f565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ea7908490611b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415610fbc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104ff565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611034848484610d5d565b611040848484846113ab565b610a255760405162461bcd60e51b81526004016104ff90611d76565b6060816110805750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110aa578061109481611dc8565b91506110a39050600a83611df9565b9150611084565b60008167ffffffffffffffff8111156110c5576110c561191e565b6040519080825280601f01601f1916602001820160405280156110ef576020820181803683370190505b5090505b8415610d5557611104600183611d5f565b9150611111600a86611e0d565b61111c906030611b8e565b60f81b81838151811061113157611131611acf565b60200101906001600160f81b031916908160001a905350611153600a86611df9565b94506110f3565b80516060908061117a575050604080516020810190915260008152919050565b60006003611189836002611b8e565b6111939190611df9565b61119e906004611e21565b905060006111ad826020611b8e565b67ffffffffffffffff8111156111c5576111c561191e565b6040519080825280601f01601f1916602001820160405280156111ef576020820181803683370190505b5090506000604051806060016040528060408152602001611eb1604091399050600181016020830160005b8681101561127b576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161121a565b50600386066001811461129557600281146112a6576112b2565b613d3d60f01b6001198301526112b2565b603d60f81b6000198301525b505050918152949350505050565b6112ca83836114a9565b6112d760008484846113ab565b6106355760405162461bcd60e51b81526004016104ff90611d76565b6001600160a01b03831661134e5761134981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611371565b816001600160a01b0316836001600160a01b0316146113715761137183826115f7565b6001600160a01b0382166113885761063581611694565b826001600160a01b0316826001600160a01b031614610635576106358282611743565b60006001600160a01b0384163b1561149e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113ef903390899088908890600401611e40565b6020604051808303816000875af192505050801561142a575060408051601f3d908101601f1916820190925261142791810190611e7d565b60015b611484573d808015611458576040519150601f19603f3d011682016040523d82523d6000602084013e61145d565b606091505b50805161147c5760405162461bcd60e51b81526004016104ff90611d76565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d55565b506001949350505050565b6001600160a01b0382166114ff5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104ff565b6000818152600260205260409020546001600160a01b0316156115645760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104ff565b611570600083836112f3565b6001600160a01b0382166000908152600360205260408120805460019290611599908490611b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611604846108e8565b61160e9190611d5f565b600083815260076020526040902054909150808214611661576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906116a690600190611d5f565b600083815260096020526040812054600880549394509092849081106116ce576116ce611acf565b9060005260206000200154905080600883815481106116ef576116ef611acf565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061172757611727611e9a565b6001900381819060005260206000200160009055905550505050565b600061174e836108e8565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610b8b57600080fd5b6000602082840312156117af57600080fd5b81356117ba81611787565b9392505050565b60005b838110156117dc5781810151838201526020016117c4565b83811115610a255750506000910152565b600081518084526118058160208601602086016117c1565b601f01601f19169290920160200192915050565b6020815260006117ba60208301846117ed565b60006020828403121561183e57600080fd5b5035919050565b80356001600160a01b038116811461185c57600080fd5b919050565b6000806040838503121561187457600080fd5b61187d83611845565b946020939093013593505050565b6000806000606084860312156118a057600080fd5b6118a984611845565b92506118b760208501611845565b9150604084013590509250925092565b6000602082840312156118d957600080fd5b6117ba82611845565b600080604083850312156118f557600080fd5b6118fe83611845565b91506020830135801515811461191357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561194a57600080fd5b61195385611845565b935061196160208601611845565b925060408501359150606085013567ffffffffffffffff8082111561198557600080fd5b818701915087601f83011261199957600080fd5b8135818111156119ab576119ab61191e565b604051601f8201601f19908116603f011681019083821181831017156119d3576119d361191e565b816040528281528a60208487010111156119ec57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611a2357600080fd5b611a2c83611845565b9150611a3a60208401611845565b90509250929050565b600181811c90821680611a5757607f821691505b60208210811415611a7857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b7f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f69706681527f732f516d5739784344586e5a465331655a4a6a32566b426235616d4358634d6360208201527066637474584c6f3953646441777a5a632f60781b604082015260008251611b5d8160518501602087016117c1565b632e706e6760e01b6051939091019283015250605501919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ba157611ba1611b78565b500190565b7f7b226e616d65223a20224972656e6544414f2050617373202300000000000000815260008351611bde8160198501602088016117c1565b7f222c20226465736372697074696f6e223a20224972656e6544414f20697320616019918401918201527f20676c6f62616c206772617373726f6f7473206d6f76656d656e742061696d6560398201527f642061742064697372757074696e67207468652063726561746f722065636f6e60598201527f6f6d792e204972656e6544414f20697320666f72207468652070656f706c652c60798201527f206279207468652070656f706c652e204f757220636f72652076616c7565732060998201527f6172653a2053696e6365726974792c20496e746567726974792c204d65616e6960b98201527f6e672c20616e6420507572706f73652e222c2022696d616765223a202200000060d98201528351611cff8160f68401602088016117c1565b61227d60f01b60f6929091019182015260f801949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611d5281601d8501602087016117c1565b91909101601d0192915050565b600082821015611d7157611d71611b78565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600019821415611ddc57611ddc611b78565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611e0857611e08611de3565b500490565b600082611e1c57611e1c611de3565b500690565b6000816000190483118215151615611e3b57611e3b611b78565b500290565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e73908301846117ed565b9695505050505050565b600060208284031215611e8f57600080fd5b81516117ba81611787565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212202d2afdb567823c311b1c915afdc7d7cf834d5e91fdaed89810515b369c0c5c5664736f6c634300080b0033
Deployed Bytecode
0x60806040526004361061011f5760003560e01c80636352211e116100a0578063a22cb46511610064578063a22cb46514610304578063b88d4fde14610324578063c87b56dd14610344578063e985e9c514610364578063f2fde38b146103ad57600080fd5b80636352211e1461027c57806370a082311461029c578063715018a6146102bc5780638da5cb5b146102d157806395d89b41146102ef57600080fd5b806318160ddd116100e757806318160ddd146101dd57806323b872dd146101fc5780632f745c591461021c57806342842e0e1461023c5780634f6ccce71461025c57600080fd5b806301ffc9a71461012457806306fdde0314610159578063081812fc1461017b578063095ea7b3146101b35780631249c58b146101d5575b600080fd5b34801561013057600080fd5b5061014461013f36600461179d565b6103cd565b60405190151581526020015b60405180910390f35b34801561016557600080fd5b5061016e6103f8565b6040516101509190611819565b34801561018757600080fd5b5061019b61019636600461182c565b61048a565b6040516001600160a01b039091168152602001610150565b3480156101bf57600080fd5b506101d36101ce366004611861565b610524565b005b6101d361063a565b3480156101e957600080fd5b506008545b604051908152602001610150565b34801561020857600080fd5b506101d361021736600461188b565b6106fc565b34801561022857600080fd5b506101ee610237366004611861565b61072d565b34801561024857600080fd5b506101d361025736600461188b565b6107c3565b34801561026857600080fd5b506101ee61027736600461182c565b6107de565b34801561028857600080fd5b5061019b61029736600461182c565b610871565b3480156102a857600080fd5b506101ee6102b73660046118c7565b6108e8565b3480156102c857600080fd5b506101d361096f565b3480156102dd57600080fd5b50600b546001600160a01b031661019b565b3480156102fb57600080fd5b5061016e6109d5565b34801561031057600080fd5b506101d361031f3660046118e2565b6109e4565b34801561033057600080fd5b506101d361033f366004611934565b6109f3565b34801561035057600080fd5b5061016e61035f36600461182c565b610a2b565b34801561037057600080fd5b5061014461037f366004611a10565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156103b957600080fd5b506101d36103c83660046118c7565b610ac3565b60006001600160e01b0319821663780e9d6360e01b14806103f257506103f282610b8e565b92915050565b60606000805461040790611a43565b80601f016020809104026020016040519081016040528092919081815260200182805461043390611a43565b80156104805780601f1061045557610100808354040283529160200191610480565b820191906000526020600020905b81548152906001019060200180831161046357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166105085760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061052f82610871565b9050806001600160a01b0316836001600160a01b0316141561059d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016104ff565b336001600160a01b03821614806105b957506105b9813361037f565b61062b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016104ff565b6106358383610bde565b505050565b6002600a54141561068d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016104ff565b6002600a55600061069d60085490565b90506106a93382610c4c565b6104536106b560085490565b106106f45760405162461bcd60e51b815260206004820152600f60248201526e13585e081b5a5b9d08185b5bdd5b9d608a1b60448201526064016104ff565b506001600a55565b6107063382610c66565b6107225760405162461bcd60e51b81526004016104ff90611a7e565b610635838383610d5d565b6000610738836108e8565b821061079a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016104ff565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b610635838383604051806020016040528060008152506109f3565b60006107e960085490565b821061084c5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016104ff565b6008828154811061085f5761085f611acf565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b0316806103f25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016104ff565b60006001600160a01b0382166109535760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016104ff565b506001600160a01b031660009081526003602052604090205490565b600b546001600160a01b031633146109c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ff565b6109d36000610f08565b565b60606001805461040790611a43565b6109ef338383610f5a565b5050565b6109fd3383610c66565b610a195760405162461bcd60e51b81526004016104ff90611a7e565b610a2584848484611029565b50505050565b60606000610a388361105c565b604051602001610a489190611ae5565b60408051601f1981840301815291905290506000610a98610a72610a6d866001611b8e565b61105c565b83604051602001610a84929190611ba6565b60405160208183030381529060405261115a565b905080604051602001610aab9190611d1a565b60408051601f19818403018152919052949350505050565b600b546001600160a01b03163314610b1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104ff565b6001600160a01b038116610b825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104ff565b610b8b81610f08565b50565b60006001600160e01b031982166380ac58cd60e01b1480610bbf57506001600160e01b03198216635b5e139f60e01b145b806103f257506301ffc9a760e01b6001600160e01b03198316146103f2565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610c1382610871565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6109ef8282604051806020016040528060008152506112c0565b6000818152600260205260408120546001600160a01b0316610cdf5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016104ff565b6000610cea83610871565b9050806001600160a01b0316846001600160a01b03161480610d255750836001600160a01b0316610d1a8461048a565b6001600160a01b0316145b80610d5557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d7082610871565b6001600160a01b031614610dd85760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016104ff565b6001600160a01b038216610e3a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016104ff565b610e458383836112f3565b610e50600082610bde565b6001600160a01b0383166000908152600360205260408120805460019290610e79908490611d5f565b90915550506001600160a01b0382166000908152600360205260408120805460019290610ea7908490611b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600b80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415610fbc5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016104ff565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611034848484610d5d565b611040848484846113ab565b610a255760405162461bcd60e51b81526004016104ff90611d76565b6060816110805750506040805180820190915260018152600360fc1b602082015290565b8160005b81156110aa578061109481611dc8565b91506110a39050600a83611df9565b9150611084565b60008167ffffffffffffffff8111156110c5576110c561191e565b6040519080825280601f01601f1916602001820160405280156110ef576020820181803683370190505b5090505b8415610d5557611104600183611d5f565b9150611111600a86611e0d565b61111c906030611b8e565b60f81b81838151811061113157611131611acf565b60200101906001600160f81b031916908160001a905350611153600a86611df9565b94506110f3565b80516060908061117a575050604080516020810190915260008152919050565b60006003611189836002611b8e565b6111939190611df9565b61119e906004611e21565b905060006111ad826020611b8e565b67ffffffffffffffff8111156111c5576111c561191e565b6040519080825280601f01601f1916602001820160405280156111ef576020820181803683370190505b5090506000604051806060016040528060408152602001611eb1604091399050600181016020830160005b8681101561127b576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b83526004909201910161121a565b50600386066001811461129557600281146112a6576112b2565b613d3d60f01b6001198301526112b2565b603d60f81b6000198301525b505050918152949350505050565b6112ca83836114a9565b6112d760008484846113ab565b6106355760405162461bcd60e51b81526004016104ff90611d76565b6001600160a01b03831661134e5761134981600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611371565b816001600160a01b0316836001600160a01b0316146113715761137183826115f7565b6001600160a01b0382166113885761063581611694565b826001600160a01b0316826001600160a01b031614610635576106358282611743565b60006001600160a01b0384163b1561149e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906113ef903390899088908890600401611e40565b6020604051808303816000875af192505050801561142a575060408051601f3d908101601f1916820190925261142791810190611e7d565b60015b611484573d808015611458576040519150601f19603f3d011682016040523d82523d6000602084013e61145d565b606091505b50805161147c5760405162461bcd60e51b81526004016104ff90611d76565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d55565b506001949350505050565b6001600160a01b0382166114ff5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016104ff565b6000818152600260205260409020546001600160a01b0316156115645760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016104ff565b611570600083836112f3565b6001600160a01b0382166000908152600360205260408120805460019290611599908490611b8e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611604846108e8565b61160e9190611d5f565b600083815260076020526040902054909150808214611661576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906116a690600190611d5f565b600083815260096020526040812054600880549394509092849081106116ce576116ce611acf565b9060005260206000200154905080600883815481106116ef576116ef611acf565b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061172757611727611e9a565b6001900381819060005260206000200160009055905550505050565b600061174e836108e8565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160e01b031981168114610b8b57600080fd5b6000602082840312156117af57600080fd5b81356117ba81611787565b9392505050565b60005b838110156117dc5781810151838201526020016117c4565b83811115610a255750506000910152565b600081518084526118058160208601602086016117c1565b601f01601f19169290920160200192915050565b6020815260006117ba60208301846117ed565b60006020828403121561183e57600080fd5b5035919050565b80356001600160a01b038116811461185c57600080fd5b919050565b6000806040838503121561187457600080fd5b61187d83611845565b946020939093013593505050565b6000806000606084860312156118a057600080fd5b6118a984611845565b92506118b760208501611845565b9150604084013590509250925092565b6000602082840312156118d957600080fd5b6117ba82611845565b600080604083850312156118f557600080fd5b6118fe83611845565b91506020830135801515811461191357600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b6000806000806080858703121561194a57600080fd5b61195385611845565b935061196160208601611845565b925060408501359150606085013567ffffffffffffffff8082111561198557600080fd5b818701915087601f83011261199957600080fd5b8135818111156119ab576119ab61191e565b604051601f8201601f19908116603f011681019083821181831017156119d3576119d361191e565b816040528281528a60208487010111156119ec57600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b60008060408385031215611a2357600080fd5b611a2c83611845565b9150611a3a60208401611845565b90509250929050565b600181811c90821680611a5757607f821691505b60208210811415611a7857634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b7f68747470733a2f2f676174657761792e70696e6174612e636c6f75642f69706681527f732f516d5739784344586e5a465331655a4a6a32566b426235616d4358634d6360208201527066637474584c6f3953646441777a5a632f60781b604082015260008251611b5d8160518501602087016117c1565b632e706e6760e01b6051939091019283015250605501919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115611ba157611ba1611b78565b500190565b7f7b226e616d65223a20224972656e6544414f2050617373202300000000000000815260008351611bde8160198501602088016117c1565b7f222c20226465736372697074696f6e223a20224972656e6544414f20697320616019918401918201527f20676c6f62616c206772617373726f6f7473206d6f76656d656e742061696d6560398201527f642061742064697372757074696e67207468652063726561746f722065636f6e60598201527f6f6d792e204972656e6544414f20697320666f72207468652070656f706c652c60798201527f206279207468652070656f706c652e204f757220636f72652076616c7565732060998201527f6172653a2053696e6365726974792c20496e746567726974792c204d65616e6960b98201527f6e672c20616e6420507572706f73652e222c2022696d616765223a202200000060d98201528351611cff8160f68401602088016117c1565b61227d60f01b60f6929091019182015260f801949350505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000815260008251611d5281601d8501602087016117c1565b91909101601d0192915050565b600082821015611d7157611d71611b78565b500390565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6000600019821415611ddc57611ddc611b78565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082611e0857611e08611de3565b500490565b600082611e1c57611e1c611de3565b500690565b6000816000190483118215151615611e3b57611e3b611b78565b500290565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611e73908301846117ed565b9695505050505050565b600060208284031215611e8f57600080fd5b81516117ba81611787565b634e487b7160e01b600052603160045260246000fdfe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212202d2afdb567823c311b1c915afdc7d7cf834d5e91fdaed89810515b369c0c5c5664736f6c634300080b0033
Deployed Bytecode Sourcemap
462:1672:11:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1018:224:4;;;;;;;;;;-1:-1:-1;1018:224:4;;;;;:::i;:::-;;:::i;:::-;;;565:14:16;;558:22;540:41;;528:2;513:18;1018:224:4;;;;;;;;2762:100:3;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;4321:221::-;;;;;;;;;;-1:-1:-1;4321:221:3;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:16;;;1674:51;;1662:2;1647:18;4321:221:3;1528:203:16;3844:411:3;;;;;;;;;;-1:-1:-1;3844:411:3;;;;;:::i;:::-;;:::i;:::-;;744:228:11;;;:::i;1658:113:4:-;;;;;;;;;;-1:-1:-1;1746:10:4;:17;1658:113;;;2319:25:16;;;2307:2;2292:18;1658:113:4;2173:177:16;5071:339:3;;;;;;;;;;-1:-1:-1;5071:339:3;;;;;:::i;:::-;;:::i;1326:256:4:-;;;;;;;;;;-1:-1:-1;1326:256:4;;;;;:::i;:::-;;:::i;5481:185:3:-;;;;;;;;;;-1:-1:-1;5481:185:3;;;;;:::i;:::-;;:::i;1848:233:4:-;;;;;;;;;;-1:-1:-1;1848:233:4;;;;;:::i;:::-;;:::i;2456:239:3:-;;;;;;;;;;-1:-1:-1;2456:239:3;;;;;:::i;:::-;;:::i;2186:208::-;;;;;;;;;;-1:-1:-1;2186:208:3;;;;;:::i;:::-;;:::i;1714:103:12:-;;;;;;;;;;;;;:::i;1063:87::-;;;;;;;;;;-1:-1:-1;1136:6:12;;-1:-1:-1;;;;;1136:6:12;1063:87;;2931:104:3;;;;;;;;;;;;;:::i;4614:155::-;;;;;;;;;;-1:-1:-1;4614:155:3;;;;;:::i;:::-;;:::i;5737:328::-;;;;;;;;;;-1:-1:-1;5737:328:3;;;;;:::i;:::-;;:::i;980:1151:11:-;;;;;;;;;;-1:-1:-1;980:1151:11;;;;;:::i;:::-;;:::i;4840:164:3:-;;;;;;;;;;-1:-1:-1;4840:164:3;;;;;:::i;:::-;-1:-1:-1;;;;;4961:25:3;;;4937:4;4961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4840:164;1972:201:12;;;;;;;;;;-1:-1:-1;1972:201:12;;;;;:::i;:::-;;:::i;1018:224:4:-;1120:4;-1:-1:-1;;;;;;1144:50:4;;-1:-1:-1;;;1144:50:4;;:90;;;1198:36;1222:11;1198:23;:36::i;:::-;1137:97;1018:224;-1:-1:-1;;1018:224:4:o;2762:100:3:-;2816:13;2849:5;2842:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2762:100;:::o;4321:221::-;4397:7;7664:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7664:16:3;4417:73;;;;-1:-1:-1;;;4417:73:3;;5358:2:16;4417:73:3;;;5340:21:16;5397:2;5377:18;;;5370:30;5436:34;5416:18;;;5409:62;-1:-1:-1;;;5487:18:16;;;5480:42;5539:19;;4417:73:3;;;;;;;;;-1:-1:-1;4510:24:3;;;;:15;:24;;;;;;-1:-1:-1;;;;;4510:24:3;;4321:221::o;3844:411::-;3925:13;3941:23;3956:7;3941:14;:23::i;:::-;3925:39;;3989:5;-1:-1:-1;;;;;3983:11:3;:2;-1:-1:-1;;;;;3983:11:3;;;3975:57;;;;-1:-1:-1;;;3975:57:3;;5771:2:16;3975:57:3;;;5753:21:16;5810:2;5790:18;;;5783:30;5849:34;5829:18;;;5822:62;-1:-1:-1;;;5900:18:16;;;5893:31;5941:19;;3975:57:3;5569:397:16;3975:57:3;736:10:1;-1:-1:-1;;;;;4067:21:3;;;;:62;;-1:-1:-1;4092:37:3;4109:5;736:10:1;4840:164:3;:::i;4092:37::-;4045:168;;;;-1:-1:-1;;;4045:168:3;;6173:2:16;4045:168:3;;;6155:21:16;6212:2;6192:18;;;6185:30;6251:34;6231:18;;;6224:62;6322:26;6302:18;;;6295:54;6366:19;;4045:168:3;5971:420:16;4045:168:3;4226:21;4235:2;4239:7;4226:8;:21::i;:::-;3914:341;3844:411;;:::o;744:228:11:-;1778:1:13;2376:7;;:19;;2368:63;;;;-1:-1:-1;;;2368:63:13;;6598:2:16;2368:63:13;;;6580:21:16;6637:2;6617:18;;;6610:30;6676:33;6656:18;;;6649:61;6727:18;;2368:63:13;6396:355:16;2368:63:13;1778:1;2509:7;:18;799:16:11::1;818:13;1746:10:4::0;:17;;1658:113;818:13:11::1;799:32:::0;-1:-1:-1;842:33:11::1;736:10:1::0;866:8:11::1;842:9;:33::i;:::-;940:4;924:13;1746:10:4::0;:17;;1658:113;924:13:11::1;:20;916:48;;;::::0;-1:-1:-1;;;916:48:11;;6958:2:16;916:48:11::1;::::0;::::1;6940:21:16::0;6997:2;6977:18;;;6970:30;-1:-1:-1;;;7016:18:16;;;7009:45;7071:18;;916:48:11::1;6756:339:16::0;916:48:11::1;-1:-1:-1::0;1734:1:13;2688:7;:22;744:228:11:o;5071:339:3:-;5266:41;736:10:1;5299:7:3;5266:18;:41::i;:::-;5258:103;;;;-1:-1:-1;;;5258:103:3;;;;;;;:::i;:::-;5374:28;5384:4;5390:2;5394:7;5374:9;:28::i;1326:256:4:-;1423:7;1459:23;1476:5;1459:16;:23::i;:::-;1451:5;:31;1443:87;;;;-1:-1:-1;;;1443:87:4;;7720:2:16;1443:87:4;;;7702:21:16;7759:2;7739:18;;;7732:30;7798:34;7778:18;;;7771:62;-1:-1:-1;;;7849:18:16;;;7842:41;7900:19;;1443:87:4;7518:407:16;1443:87:4;-1:-1:-1;;;;;;1548:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1326:256::o;5481:185:3:-;5619:39;5636:4;5642:2;5646:7;5619:39;;;;;;;;;;;;:16;:39::i;1848:233:4:-;1923:7;1959:30;1746:10;:17;;1658:113;1959:30;1951:5;:38;1943:95;;;;-1:-1:-1;;;1943:95:4;;8132:2:16;1943:95:4;;;8114:21:16;8171:2;8151:18;;;8144:30;8210:34;8190:18;;;8183:62;-1:-1:-1;;;8261:18:16;;;8254:42;8313:19;;1943:95:4;7930:408:16;1943:95:4;2056:10;2067:5;2056:17;;;;;;;;:::i;:::-;;;;;;;;;2049:24;;1848:233;;;:::o;2456:239:3:-;2528:7;2564:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2564:16:3;2599:19;2591:73;;;;-1:-1:-1;;;2591:73:3;;8677:2:16;2591:73:3;;;8659:21:16;8716:2;8696:18;;;8689:30;8755:34;8735:18;;;8728:62;-1:-1:-1;;;8806:18:16;;;8799:39;8855:19;;2591:73:3;8475:405:16;2186:208:3;2258:7;-1:-1:-1;;;;;2286:19:3;;2278:74;;;;-1:-1:-1;;;2278:74:3;;9087:2:16;2278:74:3;;;9069:21:16;9126:2;9106:18;;;9099:30;9165:34;9145:18;;;9138:62;-1:-1:-1;;;9216:18:16;;;9209:40;9266:19;;2278:74:3;8885:406:16;2278:74:3;-1:-1:-1;;;;;;2370:16:3;;;;;:9;:16;;;;;;;2186:208::o;1714:103:12:-;1136:6;;-1:-1:-1;;;;;1136:6:12;736:10:1;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;9498:2:16;1275:68:12;;;9480:21:16;;;9517:18;;;9510:30;9576:34;9556:18;;;9549:62;9628:18;;1275:68:12;9296:356:16;1275:68:12;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;2931:104:3:-;2987:13;3020:7;3013:14;;;;;:::i;4614:155::-;4709:52;736:10:1;4742:8:3;4752;4709:18;:52::i;:::-;4614:155;;:::o;5737:328::-;5912:41;736:10:1;5945:7:3;5912:18;:41::i;:::-;5904:103;;;;-1:-1:-1;;;5904:103:3;;;;;;;:::i;:::-;6018:39;6032:4;6038:2;6042:7;6051:5;6018:13;:39::i;:::-;5737:328;;;;:::o;980:1151:11:-;1081:13;1112:20;1293:23;1308:7;1293:14;:23::i;:::-;1156:200;;;;;;;;:::i;:::-;;;;-1:-1:-1;;1156:200:11;;;;;;;;;;-1:-1:-1;1380:18:11;1401:587;1579:27;1594:11;:7;1604:1;1594:11;:::i;:::-;1579:14;:27::i;:::-;1883:6;1482:461;;;;;;;;;:::i;:::-;;;;;;;;;;;;;1401:13;:587::i;:::-;1380:608;;2081:4;2031:55;;;;;;;;:::i;:::-;;;;-1:-1:-1;;2031:55:11;;;;;;;;;;980:1151;-1:-1:-1;;;;980:1151:11:o;1972:201:12:-;1136:6;;-1:-1:-1;;;;;1136:6:12;736:10:1;1283:23:12;1275:68;;;;-1:-1:-1;;;1275:68:12;;9498:2:16;1275:68:12;;;9480:21:16;;;9517:18;;;9510:30;9576:34;9556:18;;;9549:62;9628:18;;1275:68:12;9296:356:16;1275:68:12;-1:-1:-1;;;;;2061:22:12;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:12;;12772:2:16;2053:73:12::1;::::0;::::1;12754:21:16::0;12811:2;12791:18;;;12784:30;12850:34;12830:18;;;12823:62;-1:-1:-1;;;12901:18:16;;;12894:36;12947:19;;2053:73:12::1;12570:402:16::0;2053:73:12::1;2137:28;2156:8;2137:18;:28::i;:::-;1972:201:::0;:::o;1817:305:3:-;1919:4;-1:-1:-1;;;;;;1956:40:3;;-1:-1:-1;;;1956:40:3;;:105;;-1:-1:-1;;;;;;;2013:48:3;;-1:-1:-1;;;2013:48:3;1956:105;:158;;;-1:-1:-1;;;;;;;;;;963:40:2;;;2078:36:3;854:157:2;11557:174:3;11632:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11632:29:3;-1:-1:-1;;;;;11632:29:3;;;;;;;;:24;;11686:23;11632:24;11686:14;:23::i;:::-;-1:-1:-1;;;;;11677:46:3;;;;;;;;;;;11557:174;;:::o;8559:110::-;8635:26;8645:2;8649:7;8635:26;;;;;;;;;;;;:9;:26::i;7869:348::-;7962:4;7664:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7664:16:3;7979:73;;;;-1:-1:-1;;;7979:73:3;;13179:2:16;7979:73:3;;;13161:21:16;13218:2;13198:18;;;13191:30;13257:34;13237:18;;;13230:62;-1:-1:-1;;;13308:18:16;;;13301:42;13360:19;;7979:73:3;12977:408:16;7979:73:3;8063:13;8079:23;8094:7;8079:14;:23::i;:::-;8063:39;;8132:5;-1:-1:-1;;;;;8121:16:3;:7;-1:-1:-1;;;;;8121:16:3;;:51;;;;8165:7;-1:-1:-1;;;;;8141:31:3;:20;8153:7;8141:11;:20::i;:::-;-1:-1:-1;;;;;8141:31:3;;8121:51;:87;;;-1:-1:-1;;;;;;4961:25:3;;;4937:4;4961:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;8176:32;8113:96;7869:348;-1:-1:-1;;;;7869:348:3:o;10861:578::-;11020:4;-1:-1:-1;;;;;10993:31:3;:23;11008:7;10993:14;:23::i;:::-;-1:-1:-1;;;;;10993:31:3;;10985:85;;;;-1:-1:-1;;;10985:85:3;;13592:2:16;10985:85:3;;;13574:21:16;13631:2;13611:18;;;13604:30;13670:34;13650:18;;;13643:62;-1:-1:-1;;;13721:18:16;;;13714:39;13770:19;;10985:85:3;13390:405:16;10985:85:3;-1:-1:-1;;;;;11089:16:3;;11081:65;;;;-1:-1:-1;;;11081:65:3;;14002:2:16;11081:65:3;;;13984:21:16;14041:2;14021:18;;;14014:30;14080:34;14060:18;;;14053:62;-1:-1:-1;;;14131:18:16;;;14124:34;14175:19;;11081:65:3;13800:400:16;11081:65:3;11159:39;11180:4;11186:2;11190:7;11159:20;:39::i;:::-;11263:29;11280:1;11284:7;11263:8;:29::i;:::-;-1:-1:-1;;;;;11305:15:3;;;;;;:9;:15;;;;;:20;;11324:1;;11305:15;:20;;11324:1;;11305:20;:::i;:::-;;;;-1:-1:-1;;;;;;;11336:13:3;;;;;;:9;:13;;;;;:18;;11353:1;;11336:13;:18;;11353:1;;11336:18;:::i;:::-;;;;-1:-1:-1;;11365:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;11365:21:3;-1:-1:-1;;;;;11365:21:3;;;;;;;;;11404:27;;11365:16;;11404:27;;;;;;;10861:578;;;:::o;2333:191:12:-;2426:6;;;-1:-1:-1;;;;;2443:17:12;;;-1:-1:-1;;;;;;2443:17:12;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;11873:315:3:-;12028:8;-1:-1:-1;;;;;12019:17:3;:5;-1:-1:-1;;;;;12019:17:3;;;12011:55;;;;-1:-1:-1;;;12011:55:3;;14537:2:16;12011:55:3;;;14519:21:16;14576:2;14556:18;;;14549:30;14615:27;14595:18;;;14588:55;14660:18;;12011:55:3;14335:349:16;12011:55:3;-1:-1:-1;;;;;12077:25:3;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;12077:46:3;;;;;;;;;;12139:41;;540::16;;;12139::3;;513:18:16;12139:41:3;;;;;;;11873:315;;;:::o;6947:::-;7104:28;7114:4;7120:2;7124:7;7104:9;:28::i;:::-;7151:48;7174:4;7180:2;7184:7;7193:5;7151:22;:48::i;:::-;7143:111;;;;-1:-1:-1;;;7143:111:3;;;;;;;:::i;2159:723:11:-;2215:13;2436:10;2432:53;;-1:-1:-1;;2463:10:11;;;;;;;;;;;;-1:-1:-1;;;2463:10:11;;;;;2159:723::o;2432:53::-;2510:5;2495:12;2551:78;2558:9;;2551:78;;2584:8;;;;:::i;:::-;;-1:-1:-1;2607:10:11;;-1:-1:-1;2615:2:11;2607:10;;:::i;:::-;;;2551:78;;;2639:19;2671:6;2661:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2661:17:11;;2639:39;;2689:154;2696:10;;2689:154;;2723:11;2733:1;2723:11;;:::i;:::-;;-1:-1:-1;2792:10:11;2800:2;2792:5;:10;:::i;:::-;2779:24;;:2;:24;:::i;:::-;2766:39;;2749:6;2756;2749:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;2749:56:11;;;;;;;;-1:-1:-1;2820:11:11;2829:2;2820:11;;:::i;:::-;;;2689:154;;3245:1790;3343:11;;3303:13;;3369:8;3365:23;;-1:-1:-1;;3379:9:11;;;;;;;;;-1:-1:-1;3379:9:11;;;3245:1790;-1:-1:-1;3245:1790:11:o;3365:23::-;3440:18;3478:1;3467:7;:3;3473:1;3467:7;:::i;:::-;3466:13;;;;:::i;:::-;3461:19;;:1;:19;:::i;:::-;3440:40;-1:-1:-1;3538:19:11;3570:15;3440:40;3583:2;3570:15;:::i;:::-;3560:26;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3560:26:11;;3538:48;;3599:18;3620:5;;;;;;;;;;;;;;;;;3599:26;;3689:1;3682:5;3678:13;3734:2;3726:6;3722:15;3785:1;3753:960;3808:3;3805:1;3802:10;3753:960;;;3863:1;3906:12;;;;;3900:19;4001:4;3989:2;3985:14;;;;;3967:40;;3961:47;4153:2;4149:14;;;4145:25;;4131:40;;4125:47;4343:1;4339:13;;;4335:24;;4321:39;;4315:46;4524:16;;;;4510:31;;4504:38;4037:1;4033:11;;;4174:4;4121:58;;;4069:129;4223:11;;4311:57;;;4259:128;;;;4412:11;;4500:49;;4448:120;4597:3;4593:13;4626:22;;4696:1;4681:17;;;;3856:9;3753:960;;;3757:44;4745:1;4740:3;4736:11;4766:1;4761:84;;;;4864:1;4859:82;;;;4729:212;;4761:84;-1:-1:-1;;;;;4794:17:11;;4787:43;4761:84;;4859:82;-1:-1:-1;;;;;4892:17:11;;4885:41;4729:212;-1:-1:-1;;;4957:26:11;;;4964:6;3245:1790;-1:-1:-1;;;;3245:1790:11:o;8896:321:3:-;9026:18;9032:2;9036:7;9026:5;:18::i;:::-;9077:54;9108:1;9112:2;9116:7;9125:5;9077:22;:54::i;:::-;9055:154;;;;-1:-1:-1;;;9055:154:3;;;;;;;:::i;2694:589:4:-;-1:-1:-1;;;;;2900:18:4;;2896:187;;2935:40;2967:7;4110:10;:17;;4083:24;;;;:15;:24;;;;;:44;;;4138:24;;;;;;;;;;;;4006:164;2935:40;2896:187;;;3005:2;-1:-1:-1;;;;;2997:10:4;:4;-1:-1:-1;;;;;2997:10:4;;2993:90;;3024:47;3057:4;3063:7;3024:32;:47::i;:::-;-1:-1:-1;;;;;3097:16:4;;3093:183;;3130:45;3167:7;3130:36;:45::i;3093:183::-;3203:4;-1:-1:-1;;;;;3197:10:4;:2;-1:-1:-1;;;;;3197:10:4;;3193:83;;3224:40;3252:2;3256:7;3224:27;:40::i;12753:799:3:-;12908:4;-1:-1:-1;;;;;12929:13:3;;1120:20:0;1168:8;12925:620:3;;12965:72;;-1:-1:-1;;;12965:72:3;;-1:-1:-1;;;;;12965:36:3;;;;;:72;;736:10:1;;13016:4:3;;13022:7;;13031:5;;12965:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12965:72:3;;;;;;;;-1:-1:-1;;12965:72:3;;;;;;;;;;;;:::i;:::-;;;12961:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;13207:13:3;;13203:272;;13250:60;;-1:-1:-1;;;13250:60:3;;;;;;;:::i;13203:272::-;13425:6;13419:13;13410:6;13406:2;13402:15;13395:38;12961:529;-1:-1:-1;;;;;;13088:51:3;-1:-1:-1;;;13088:51:3;;-1:-1:-1;13081:58:3;;12925:620;-1:-1:-1;13529:4:3;12753:799;;;;;;:::o;9553:382::-;-1:-1:-1;;;;;9633:16:3;;9625:61;;;;-1:-1:-1;;;9625:61:3;;16745:2:16;9625:61:3;;;16727:21:16;;;16764:18;;;16757:30;16823:34;16803:18;;;16796:62;16875:18;;9625:61:3;16543:356:16;9625:61:3;7640:4;7664:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7664:16:3;:30;9697:58;;;;-1:-1:-1;;;9697:58:3;;17106:2:16;9697:58:3;;;17088:21:16;17145:2;17125:18;;;17118:30;17184;17164:18;;;17157:58;17232:18;;9697:58:3;16904:352:16;9697:58:3;9768:45;9797:1;9801:2;9805:7;9768:20;:45::i;:::-;-1:-1:-1;;;;;9826:13:3;;;;;;:9;:13;;;;;:18;;9843:1;;9826:13;:18;;9843:1;;9826:18;:::i;:::-;;;;-1:-1:-1;;9855:16:3;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9855:21:3;-1:-1:-1;;;;;9855:21:3;;;;;;;;9894:33;;9855:16;;;9894:33;;9855:16;;9894:33;9553:382;;:::o;4797:988:4:-;5063:22;5113:1;5088:22;5105:4;5088:16;:22::i;:::-;:26;;;;:::i;:::-;5125:18;5146:26;;;:17;:26;;;;;;5063:51;;-1:-1:-1;5279:28:4;;;5275:328;;-1:-1:-1;;;;;5346:18:4;;5324:19;5346:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5397:30;;;;;;:44;;;5514:30;;:17;:30;;;;;:43;;;5275:328;-1:-1:-1;5699:26:4;;;;:17;:26;;;;;;;;5692:33;;;-1:-1:-1;;;;;5743:18:4;;;;;:12;:18;;;;;:34;;;;;;;5736:41;4797:988::o;6080:1079::-;6358:10;:17;6333:22;;6358:21;;6378:1;;6358:21;:::i;:::-;6390:18;6411:24;;;:15;:24;;;;;;6784:10;:26;;6333:46;;-1:-1:-1;6411:24:4;;6333:46;;6784:26;;;;;;:::i;:::-;;;;;;;;;6762:48;;6848:11;6823:10;6834;6823:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6928:28;;;:15;:28;;;;;;;:41;;;7100:24;;;;;7093:31;7135:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;6151:1008;;;6080:1079;:::o;3584:221::-;3669:14;3686:20;3703:2;3686:16;:20::i;:::-;-1:-1:-1;;;;;3717:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3762:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3584:221:4:o;14:131:16:-;-1:-1:-1;;;;;;88:32:16;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;:::-;384:5;150:245;-1:-1:-1;;;150:245:16:o;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:16;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:16;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:16:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:16;;1343:180;-1:-1:-1;1343:180:16:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:16;;1843:42;;1833:70;;1899:1;1896;1889:12;1833:70;1736:173;;;:::o;1914:254::-;1982:6;1990;2043:2;2031:9;2022:7;2018:23;2014:32;2011:52;;;2059:1;2056;2049:12;2011:52;2082:29;2101:9;2082:29;:::i;:::-;2072:39;2158:2;2143:18;;;;2130:32;;-1:-1:-1;;;1914:254:16:o;2355:328::-;2432:6;2440;2448;2501:2;2489:9;2480:7;2476:23;2472:32;2469:52;;;2517:1;2514;2507:12;2469:52;2540:29;2559:9;2540:29;:::i;:::-;2530:39;;2588:38;2622:2;2611:9;2607:18;2588:38;:::i;:::-;2578:48;;2673:2;2662:9;2658:18;2645:32;2635:42;;2355:328;;;;;:::o;2688:186::-;2747:6;2800:2;2788:9;2779:7;2775:23;2771:32;2768:52;;;2816:1;2813;2806:12;2768:52;2839:29;2858:9;2839:29;:::i;2879:347::-;2944:6;2952;3005:2;2993:9;2984:7;2980:23;2976:32;2973:52;;;3021:1;3018;3011:12;2973:52;3044:29;3063:9;3044:29;:::i;:::-;3034:39;;3123:2;3112:9;3108:18;3095:32;3170:5;3163:13;3156:21;3149:5;3146:32;3136:60;;3192:1;3189;3182:12;3136:60;3215:5;3205:15;;;2879:347;;;;;:::o;3231:127::-;3292:10;3287:3;3283:20;3280:1;3273:31;3323:4;3320:1;3313:15;3347:4;3344:1;3337:15;3363:1138;3458:6;3466;3474;3482;3535:3;3523:9;3514:7;3510:23;3506:33;3503:53;;;3552:1;3549;3542:12;3503:53;3575:29;3594:9;3575:29;:::i;:::-;3565:39;;3623:38;3657:2;3646:9;3642:18;3623:38;:::i;:::-;3613:48;;3708:2;3697:9;3693:18;3680:32;3670:42;;3763:2;3752:9;3748:18;3735:32;3786:18;3827:2;3819:6;3816:14;3813:34;;;3843:1;3840;3833:12;3813:34;3881:6;3870:9;3866:22;3856:32;;3926:7;3919:4;3915:2;3911:13;3907:27;3897:55;;3948:1;3945;3938:12;3897:55;3984:2;3971:16;4006:2;4002;3999:10;3996:36;;;4012:18;;:::i;:::-;4087:2;4081:9;4055:2;4141:13;;-1:-1:-1;;4137:22:16;;;4161:2;4133:31;4129:40;4117:53;;;4185:18;;;4205:22;;;4182:46;4179:72;;;4231:18;;:::i;:::-;4271:10;4267:2;4260:22;4306:2;4298:6;4291:18;4346:7;4341:2;4336;4332;4328:11;4324:20;4321:33;4318:53;;;4367:1;4364;4357:12;4318:53;4423:2;4418;4414;4410:11;4405:2;4397:6;4393:15;4380:46;4468:1;4463:2;4458;4450:6;4446:15;4442:24;4435:35;4489:6;4479:16;;;;;;;3363:1138;;;;;;;:::o;4506:260::-;4574:6;4582;4635:2;4623:9;4614:7;4610:23;4606:32;4603:52;;;4651:1;4648;4641:12;4603:52;4674:29;4693:9;4674:29;:::i;:::-;4664:39;;4722:38;4756:2;4745:9;4741:18;4722:38;:::i;:::-;4712:48;;4506:260;;;;;:::o;4771:380::-;4850:1;4846:12;;;;4893;;;4914:61;;4968:4;4960:6;4956:17;4946:27;;4914:61;5021:2;5013:6;5010:14;4990:18;4987:38;4984:161;;;5067:10;5062:3;5058:20;5055:1;5048:31;5102:4;5099:1;5092:15;5130:4;5127:1;5120:15;4984:161;;4771:380;;;:::o;7100:413::-;7302:2;7284:21;;;7341:2;7321:18;;;7314:30;7380:34;7375:2;7360:18;;7353:62;-1:-1:-1;;;7446:2:16;7431:18;;7424:47;7503:3;7488:19;;7100:413::o;8343:127::-;8404:10;8399:3;8395:20;8392:1;8385:31;8435:4;8432:1;8425:15;8459:4;8456:1;8449:15;9657:722;10020:34;10015:3;10008:47;10085:34;10080:2;10075:3;10071:12;10064:56;-1:-1:-1;;;10145:2:16;10140:3;10136:12;10129:41;9990:3;10199:6;10193:13;10215:60;10268:6;10263:2;10258:3;10254:12;10249:2;10241:6;10237:15;10215:60;:::i;:::-;-1:-1:-1;;;10334:2:16;10294:16;;;;10326:11;;;10319:27;-1:-1:-1;10370:2:16;10362:11;;9657:722;-1:-1:-1;9657:722:16:o;10384:127::-;10445:10;10440:3;10436:20;10433:1;10426:31;10476:4;10473:1;10466:15;10500:4;10497:1;10490:15;10516:128;10556:3;10587:1;10583:6;10580:1;10577:13;10574:39;;;10593:18;;:::i;:::-;-1:-1:-1;10629:9:16;;10516:128::o;10649:1463::-;11161:66;11156:3;11149:79;11131:3;11257:6;11251:13;11273:62;11328:6;11323:2;11318:3;11314:12;11307:4;11299:6;11295:17;11273:62;:::i;:::-;11399:66;11394:2;11354:16;;;11386:11;;;11379:87;11495:34;11490:2;11482:11;;11475:55;11559:34;11554:2;11546:11;;11539:55;11624:34;11618:3;11610:12;;11603:56;11689:34;11683:3;11675:12;;11668:56;11754:34;11748:3;11740:12;;11733:56;11819:66;11813:3;11805:12;;11798:88;11911:13;;11933:64;11911:13;11982:3;11974:12;;11967:4;11955:17;;11933:64;:::i;:::-;-1:-1:-1;;;12057:3:16;12016:17;;;;12049:12;;;12042:36;12102:3;12094:12;;10649:1463;-1:-1:-1;;;;10649:1463:16:o;12117:448::-;12379:31;12374:3;12367:44;12349:3;12440:6;12434:13;12456:62;12511:6;12506:2;12501:3;12497:12;12490:4;12482:6;12478:17;12456:62;:::i;:::-;12538:16;;;;12556:2;12534:25;;12117:448;-1:-1:-1;;12117:448:16:o;14205:125::-;14245:4;14273:1;14270;14267:8;14264:34;;;14278:18;;:::i;:::-;-1:-1:-1;14315:9:16;;14205:125::o;14689:414::-;14891:2;14873:21;;;14930:2;14910:18;;;14903:30;14969:34;14964:2;14949:18;;14942:62;-1:-1:-1;;;15035:2:16;15020:18;;15013:48;15093:3;15078:19;;14689:414::o;15108:135::-;15147:3;-1:-1:-1;;15168:17:16;;15165:43;;;15188:18;;:::i;:::-;-1:-1:-1;15235:1:16;15224:13;;15108:135::o;15248:127::-;15309:10;15304:3;15300:20;15297:1;15290:31;15340:4;15337:1;15330:15;15364:4;15361:1;15354:15;15380:120;15420:1;15446;15436:35;;15451:18;;:::i;:::-;-1:-1:-1;15485:9:16;;15380:120::o;15505:112::-;15537:1;15563;15553:35;;15568:18;;:::i;:::-;-1:-1:-1;15602:9:16;;15505:112::o;15622:168::-;15662:7;15728:1;15724;15720:6;15716:14;15713:1;15710:21;15705:1;15698:9;15691:17;15687:45;15684:71;;;15735:18;;:::i;:::-;-1:-1:-1;15775:9:16;;15622:168::o;15795:489::-;-1:-1:-1;;;;;16064:15:16;;;16046:34;;16116:15;;16111:2;16096:18;;16089:43;16163:2;16148:18;;16141:34;;;16211:3;16206:2;16191:18;;16184:31;;;15989:4;;16232:46;;16258:19;;16250:6;16232:46;:::i;:::-;16224:54;15795:489;-1:-1:-1;;;;;;15795:489:16:o;16289:249::-;16358:6;16411:2;16399:9;16390:7;16386:23;16382:32;16379:52;;;16427:1;16424;16417:12;16379:52;16459:9;16453:16;16478:30;16502:5;16478:30;:::i;17261:127::-;17322:10;17317:3;17313:20;17310:1;17303:31;17353:4;17350:1;17343:15;17377:4;17374:1;17367:15
Swarm Source
ipfs://2d2afdb567823c311b1c915afdc7d7cf834d5e91fdaed89810515b369c0c5c56
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.