Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
133
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
UplandBlockExplorers
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-06-08 */ // Sources flattened with hardhat v2.9.9 https://hardhat.org // File @openzeppelin/contracts/utils/introspection/[email protected] // 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); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); } // File @openzeppelin/contracts/utils/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File @openzeppelin/contracts/utils/[email protected] // 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; } } // File @openzeppelin/contracts/utils/[email protected] // 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); } } // File @openzeppelin/contracts/utils/introspection/[email protected] // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } } // File @openzeppelin/contracts/token/ERC721/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @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); } // File @openzeppelin/contracts/token/ERC721/extensions/[email protected] // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this 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(); } } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol) pragma solidity ^0.8.0; /** * @dev External interface of AccessControl declared to support ERC165 detection. */ interface IAccessControl { /** * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole` * * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite * {RoleAdminChanged} not being emitted signaling this. * * _Available since v3.1._ */ event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole); /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) external view returns (bool); /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {AccessControl-_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) external view returns (bytes32); /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) external; /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) external; /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been granted `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) external; } // File @openzeppelin/contracts/access/[email protected] // OpenZeppelin Contracts (last updated v4.6.0) (access/AccessControl.sol) pragma solidity ^0.8.0; /** * @dev Contract module that allows children to implement role-based access * control mechanisms. This is a lightweight version that doesn't allow enumerating role * members except through off-chain means by accessing the contract event logs. Some * applications may benefit from on-chain enumerability, for those cases see * {AccessControlEnumerable}. * * Roles are referred to by their `bytes32` identifier. These should be exposed * in the external API and be unique. The best way to achieve this is by * using `public constant` hash digests: * * ``` * bytes32 public constant MY_ROLE = keccak256("MY_ROLE"); * ``` * * Roles can be used to represent a set of permissions. To restrict access to a * function call, use {hasRole}: * * ``` * function foo() public { * require(hasRole(MY_ROLE, msg.sender)); * ... * } * ``` * * Roles can be granted and revoked dynamically via the {grantRole} and * {revokeRole} functions. Each role has an associated admin role, and only * accounts that have a role's admin role can call {grantRole} and {revokeRole}. * * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means * that only accounts with this role will be able to grant or revoke other * roles. More complex role relationships can be created by using * {_setRoleAdmin}. * * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to * grant and revoke this role. Extra precautions should be taken to secure * accounts that have been granted it. */ abstract contract AccessControl is Context, IAccessControl, ERC165 { struct RoleData { mapping(address => bool) members; bytes32 adminRole; } mapping(bytes32 => RoleData) private _roles; bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00; /** * @dev Modifier that checks that an account has a specific role. Reverts * with a standardized message including the required role. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ * * _Available since v4.1._ */ modifier onlyRole(bytes32 role) { _checkRole(role); _; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId); } /** * @dev Returns `true` if `account` has been granted `role`. */ function hasRole(bytes32 role, address account) public view virtual override returns (bool) { return _roles[role].members[account]; } /** * @dev Revert with a standard message if `_msgSender()` is missing `role`. * Overriding this function changes the behavior of the {onlyRole} modifier. * * Format of the revert message is described in {_checkRole}. * * _Available since v4.6._ */ function _checkRole(bytes32 role) internal view virtual { _checkRole(role, _msgSender()); } /** * @dev Revert with a standard message if `account` is missing `role`. * * The format of the revert reason is given by the following regular expression: * * /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/ */ function _checkRole(bytes32 role, address account) internal view virtual { if (!hasRole(role, account)) { revert( string( abi.encodePacked( "AccessControl: account ", Strings.toHexString(uint160(account), 20), " is missing role ", Strings.toHexString(uint256(role), 32) ) ) ); } } /** * @dev Returns the admin role that controls `role`. See {grantRole} and * {revokeRole}. * * To change a role's admin, use {_setRoleAdmin}. */ function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) { return _roles[role].adminRole; } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _grantRole(role, account); } /** * @dev Revokes `role` from `account`. * * If `account` had been granted `role`, emits a {RoleRevoked} event. * * Requirements: * * - the caller must have ``role``'s admin role. */ function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) { _revokeRole(role, account); } /** * @dev Revokes `role` from the calling account. * * Roles are often managed via {grantRole} and {revokeRole}: this function's * purpose is to provide a mechanism for accounts to lose their privileges * if they are compromised (such as when a trusted device is misplaced). * * If the calling account had been revoked `role`, emits a {RoleRevoked} * event. * * Requirements: * * - the caller must be `account`. */ function renounceRole(bytes32 role, address account) public virtual override { require(account == _msgSender(), "AccessControl: can only renounce roles for self"); _revokeRole(role, account); } /** * @dev Grants `role` to `account`. * * If `account` had not been already granted `role`, emits a {RoleGranted} * event. Note that unlike {grantRole}, this function doesn't perform any * checks on the calling account. * * [WARNING] * ==== * This function should only be called from the constructor when setting * up the initial roles for the system. * * Using this function in any other way is effectively circumventing the admin * system imposed by {AccessControl}. * ==== * * NOTE: This function is deprecated in favor of {_grantRole}. */ function _setupRole(bytes32 role, address account) internal virtual { _grantRole(role, account); } /** * @dev Sets `adminRole` as ``role``'s admin role. * * Emits a {RoleAdminChanged} event. */ function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual { bytes32 previousAdminRole = getRoleAdmin(role); _roles[role].adminRole = adminRole; emit RoleAdminChanged(role, previousAdminRole, adminRole); } /** * @dev Grants `role` to `account`. * * Internal function without access restriction. */ function _grantRole(bytes32 role, address account) internal virtual { if (!hasRole(role, account)) { _roles[role].members[account] = true; emit RoleGranted(role, account, _msgSender()); } } /** * @dev Revokes `role` from `account`. * * Internal function without access restriction. */ function _revokeRole(bytes32 role, address account) internal virtual { if (hasRole(role, account)) { _roles[role].members[account] = false; emit RoleRevoked(role, account, _msgSender()); } } } // File contracts/interfaces/IWrappedNFT.sol pragma solidity 0.8.13; /** * @dev {IWrappedNFT} has a function signature from UplandNFT contract. */ interface IWrappedNFT is IERC721 { event EscrowSet(address escrow); event Mint( uint256 indexed tokenId, address owner, string uplandId, string ipfsHash ); event TransferredToEscrow(uint256 indexed tokenId, address owner); event Burn( uint256 indexed tokenId, address owner, string uplandId, string ipfsHash ); function finalizeBurnByEscrow(uint256 tokenId) external; } // File contracts/WrappedNFT.sol pragma solidity 0.8.13; error EscrowAlreadySet(); error InvalidTokenId(uint256 tokenId); error InvalidOwner(address owner, uint256 tokenId); error OnlyEscrow(); error ZeroAddressRecipient(); error MissingUplandId(); error MissingIpfsHash(); /** * @dev {WrappedNFT} smart contract is a wrapper NFT contract that * represents NFTs teleported from EOS chain. An authorized address * is allowed to mint the NFTs on the contract by specifying recipient * and the owners of NFTs can reclaim their tokens to teleport them back * to EOS. * * Reclaim of NFT involves two steps of initiating reclaim by the user which * transfers the NFT to {Escrow} contract and then the escrow later performs * the actual burning of the NFT. */ contract UplandBlockExplorers is IWrappedNFT, AccessControl, ERC721Enumerable { /* ========== STATE VARIABLES ========== */ // @notice 32-bytes hash of the minter role bytes32 public constant MINTER_ROLE = bytes32("MINTER"); // @notice Increasing counter for the tokens that represent token id uint256 public nextId = 1; // @notice {TokenInfo} contains data for each NFT token struct TokenInfo { string uplandId; string ipfsHash; } // @notice Mapping from token id to token data mapping(uint256 => TokenInfo) public tokensInfo; // @notice Address of {Escrow} contract. address public escrow; /* ========== CONSTRUCTOR ========== */ /** * @notice Constructor of the contract * @dev Sets name and symbol of the wrapper NFT contract and * assigns ADMIN and MINTER role to deployer. * @param name The name of wrapped NFT token. * @param symbol The symbol of wrapped NFT token. */ constructor(string memory name, string memory symbol) ERC721(name, symbol) { _grantRole(DEFAULT_ADMIN_ROLE, msg.sender); _grantRole(MINTER_ROLE, msg.sender); } /* ========== VIEWS ========== */ /** * @notice Returns a bool value indicating if a given {interfaceId} is supported * by the contract or not. * @dev The function implements the {ERC165} standard. * @param interfaceId The id of interface to check if it is supported by the contract. * @return A boolean value indicating if {interfaceId} is supported by the contract or not. */ function supportsInterface(bytes4 interfaceId) public view override(IERC165, AccessControl, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId) || AccessControl.supportsInterface(interfaceId) || ERC721Enumerable.supportsInterface(interfaceId); } /** * @notice Return the complete URI for a given {tokenId}. * @dev Public facing function that returns URL for metadata of * NFT token for which the id is provided as parameter {tokenId}. * * Requirements: * - The NFT against {tokenId} must exist. * @param tokenId The id of the token to get URI for. * @return The token URI for the given {tokenId} */ function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) { if (!_exists(tokenId)) revert InvalidTokenId(tokenId); string memory baseURI = _baseURI(); return string(abi.encodePacked(baseURI, tokensInfo[tokenId].ipfsHash)); } /* ========== MUTATIVE FUNCTIONS ========== */ /** * @notice Burns the wrapped NFT. * @dev Initiates the burning of NFT against id of {tokenId}. * It transfers the NFT to {Escrow} contract. * * Requirements: * - caller must be the owner of NFT having {tokenId} as its id. * - {tokenId} must not be zero. * @param tokenId The id of the wrapped NFT to reclaim. */ function reclaim(uint256 tokenId) external { if (tokenId == 0) revert InvalidTokenId(tokenId); address owner = ownerOf(tokenId); if (owner != msg.sender) revert InvalidOwner(owner, tokenId); _safeTransfer(owner, escrow, tokenId, ""); emit TransferredToEscrow(tokenId, owner); } /* ========== RESTRICTED FUNCTIONS ========== */ /** * @notice Sets {Escrow} contract's address. * @dev Escrow contract's address can only be set once. * * Requirements: * - only an address with {DEFAULT_ADMIN_ROLE} can call the function. * @param _escrow The address of {Escrow} contract. */ function setEscrow(address _escrow) external onlyRole(DEFAULT_ADMIN_ROLE) { if (escrow != address(0)) revert EscrowAlreadySet(); escrow = _escrow; emit EscrowSet(_escrow); } /** * @notice Mints new Wrapped NFT. * @dev Mints a new wrapped NFT token to the {to} address and saves { uplandId } and * {ipfsHash} against it in the mapping {tokensInfo}. * It internally calls `_mint(address,string,string)` function. * * Requirements: * - Can only be called by an address having MINTER role. * @param to The address to mint the Wrapped NFT to. * @param uplandId The id of the native NFT on Upland. * @param ipfsHash The IPFS hash of the native NFT. */ function mint( address to, string calldata uplandId, string calldata ipfsHash ) external onlyRole(MINTER_ROLE) { _mint(to, uplandId, ipfsHash); } /** * @notice Completes the NFT burning by {Escrow}. * @dev Completes the burning of token by deleting its entry * in the contract and corresponding data. * * Requirements: * - Can only be called the {Escrow} contract. * @param tokenId The id of the wrapped NFT to burn. */ function finalizeBurnByEscrow(uint256 tokenId) external { if (msg.sender != escrow) revert OnlyEscrow(); TokenInfo memory tokenInfo = tokensInfo[tokenId]; delete tokensInfo[tokenId]; _burn(tokenId); emit Burn(tokenId, msg.sender, tokenInfo.uplandId, tokenInfo.ipfsHash); } /* ========== INTERNAL FUNCTIONS ========== */ /** * @notice An internal function to mint wrapped NFT * @dev Internal function that performs the minting of wrapped NFT token * add sets the token info against token id. * * Requirements: * - {to} must not be a zero address * - {uplandId} and {ipfsHash} must not be empty. * @param to Recipient of the minted wrapped NFT. * @param uplandId The id of the native NFT on Upland. * @param ipfsHash The IPFS hash of the native NFT. */ function _mint( address to, string calldata uplandId, string calldata ipfsHash ) internal { if (to == address(0)) revert ZeroAddressRecipient(); if (bytes(uplandId).length == 0) revert MissingUplandId(); if (bytes(ipfsHash).length == 0) revert MissingIpfsHash(); uint256 tokenId = nextId++; _mint(to, tokenId); tokensInfo[tokenId] = TokenInfo(uplandId, ipfsHash); emit Mint(tokenId, to, uplandId, ipfsHash); } /** * @notice Returns base URI of the contract. * @dev Internal function that returns base uri for the tokens' metadata * @return Base URI of the contract. */ function _baseURI() internal pure override(ERC721) returns (string memory) { return "https://ipfs.io/ipfs/"; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"EscrowAlreadySet","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"InvalidOwner","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"InvalidTokenId","type":"error"},{"inputs":[],"name":"MissingIpfsHash","type":"error"},{"inputs":[],"name":"MissingUplandId","type":"error"},{"inputs":[],"name":"OnlyEscrow","type":"error"},{"inputs":[],"name":"ZeroAddressRecipient","type":"error"},{"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":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"uplandId","type":"string"},{"indexed":false,"internalType":"string","name":"ipfsHash","type":"string"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"escrow","type":"address"}],"name":"EscrowSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"string","name":"uplandId","type":"string"},{"indexed":false,"internalType":"string","name":"ipfsHash","type":"string"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"TransferredToEscrow","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"escrow","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"finalizeBurnByEscrow","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"uplandId","type":"string"},{"internalType":"string","name":"ipfsHash","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"reclaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_escrow","type":"address"}],"name":"setEscrow","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":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensInfo","outputs":[{"internalType":"string","name":"uplandId","type":"string"},{"internalType":"string","name":"ipfsHash","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526001600b553480156200001657600080fd5b5060405162002a3938038062002a398339810160408190526200003991620002ab565b8151829082906200005290600190602085019062000138565b5080516200006890600290602084019062000138565b506200007a9150600090503362000097565b6200008f6526a4a72a22a960d11b3362000097565b505062000351565b6000828152602081815260408083206001600160a01b038516845290915290205460ff1662000134576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055620000f33390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b828054620001469062000315565b90600052602060002090601f0160209004810192826200016a5760008555620001b5565b82601f106200018557805160ff1916838001178555620001b5565b82800160010185558215620001b5579182015b82811115620001b557825182559160200191906001019062000198565b50620001c3929150620001c7565b5090565b5b80821115620001c35760008155600101620001c8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200020657600080fd5b81516001600160401b0380821115620002235762000223620001de565b604051601f8301601f19908116603f011681019082821181831017156200024e576200024e620001de565b816040528381526020925086838588010111156200026b57600080fd5b600091505b838210156200028f578582018301518183018401529082019062000270565b83821115620002a15760008385830101525b9695505050505050565b60008060408385031215620002bf57600080fd5b82516001600160401b0380821115620002d757600080fd5b620002e586838701620001f4565b93506020850151915080821115620002fc57600080fd5b506200030b85828601620001f4565b9150509250929050565b600181811c908216806200032a57607f821691505b6020821081036200034b57634e487b7160e01b600052602260045260246000fd5b50919050565b6126d880620003616000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806369448b6d11610104578063b88d4fde116100a2578063d539139311610071578063d5391393146103fb578063d547741f1461040b578063e2fdcc171461041e578063e985e9c51461043157600080fd5b8063b88d4fde146103af578063c10c3546146103c2578063c87b56dd146103d5578063d3af94ae146103e857600080fd5b806395d89b41116100de57806395d89b41146103795780639907119014610381578063a217fddf14610394578063a22cb4651461039c57600080fd5b806369448b6d1461033257806370a082311461035357806391d148541461036657600080fd5b80632dabbeed1161017c57806342842e0e1161014b57806342842e0e146102f05780634f6ccce71461030357806361b8ce8c146103165780636352211e1461031f57600080fd5b80632dabbeed146102a45780632f2ff15d146102b75780632f745c59146102ca57806336568abe146102dd57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461026e578063248a9ca31461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611f29565b61046d565b60405190151581526020015b60405180910390f35b61020f61049c565b6040516101fe9190611f9e565b61022f61022a366004611fb1565b61052e565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611fe6565b6105c8565b005b6009545b6040519081526020016101fe565b61025a61027c366004612010565b6106dd565b61026061028f366004611fb1565b60009081526020819052604090206001015490565b61025a6102b2366004611fb1565b61070e565b61025a6102c536600461204c565b6107e8565b6102606102d8366004611fe6565b61080d565b61025a6102eb36600461204c565b6108a3565b61025a6102fe366004612010565b610921565b610260610311366004611fb1565b61093c565b610260600b5481565b61022f61032d366004611fb1565b6109cf565b610345610340366004611fb1565b610a46565b6040516101fe929190612078565b6102606103613660046120a6565b610b72565b6101f261037436600461204c565b610bf9565b61020f610c22565b61025a61038f36600461210a565b610c31565b610260600081565b61025a6103aa36600461218b565b610c59565b61025a6103bd3660046121dd565b610c64565b61025a6103d03660046120a6565b610c9c565b61020f6103e3366004611fb1565b610d26565b61025a6103f6366004611fb1565b610dd6565b6102606526a4a72a22a960d11b81565b61025a61041936600461204c565b610fac565b600d5461022f906001600160a01b031681565b6101f261043f3660046122b9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600061047882610fd1565b80610487575061048782610ff6565b80610496575061049682610fd1565b92915050565b6060600180546104ab906122e3565b80601f01602080910402602001604051908101604052809291908181526020018280546104d7906122e3565b80156105245780601f106104f957610100808354040283529160200191610524565b820191906000526020600020905b81548152906001019060200180831161050757829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166105ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105d3826109cf565b9050806001600160a01b0316836001600160a01b0316036106405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105a3565b336001600160a01b038216148061065c575061065c813361043f565b6106ce5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105a3565b6106d8838361102b565b505050565b6106e73382611099565b6107035760405162461bcd60e51b81526004016105a39061231d565b6106d8838383611190565b806000036107325760405163ed15e6cf60e01b8152600481018290526024016105a3565b600061073d826109cf565b90506001600160a01b038116331461077a57604051636a16d40f60e01b81526001600160a01b0382166004820152602481018390526044016105a3565b600d546040805160208101909152600081526107a59183916001600160a01b03909116908590611337565b6040516001600160a01b038216815282907f195c5ef9b2ecef6cabb84820b83c8972210d47108a9304be4082f6b3b12308ac906020015b60405180910390a25050565b6000828152602081905260409020600101546108038161136a565b6106d88383611377565b600061081883610b72565b821061087a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a3565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b03811633146109135760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105a3565b61091d82826113fb565b5050565b6106d883838360405180602001604052806000815250610c64565b600061094760095490565b82106109aa5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a3565b600982815481106109bd576109bd61236e565b90600052602060002001549050919050565b6000818152600360205260408120546001600160a01b0316806104965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105a3565b600c60205260009081526040902080548190610a61906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d906122e3565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b505050505090806001018054610aef906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b906122e3565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b5050505050905082565b60006001600160a01b038216610bdd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105a3565b506001600160a01b031660009081526004602052604090205490565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600280546104ab906122e3565b6526a4a72a22a960d11b610c448161136a565b610c518686868686611460565b505050505050565b61091d3383836115ed565b610c6e3383611099565b610c8a5760405162461bcd60e51b81526004016105a39061231d565b610c9684848484611337565b50505050565b6000610ca78161136a565b600d546001600160a01b031615610cd15760405163023b82b360e61b815260040160405180910390fd5b600d80546001600160a01b0319166001600160a01b0384169081179091556040519081527fa585aec3a6cb0e1a084ed18c7638024e40cc3e3ea815166e2cb6fc17d7f1392b9060200160405180910390a15050565b6000818152600360205260409020546060906001600160a01b0316610d615760405163ed15e6cf60e01b8152600481018390526024016105a3565b6000610d9560408051808201909152601581527468747470733a2f2f697066732e696f2f697066732f60581b602082015290565b905080600c6000858152602001908152602001600020600101604051602001610dbf929190612384565b604051602081830303815290604052915050919050565b600d546001600160a01b03163314610e0157604051630d0418ed60e11b815260040160405180910390fd5b6000818152600c60205260408082208151808301909252805482908290610e27906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e53906122e3565b8015610ea05780601f10610e7557610100808354040283529160200191610ea0565b820191906000526020600020905b815481529060010190602001808311610e8357829003601f168201915b50505050508152602001600182018054610eb9906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee5906122e3565b8015610f325780601f10610f0757610100808354040283529160200191610f32565b820191906000526020600020905b815481529060010190602001808311610f1557829003601f168201915b505050919092525050506000838152600c60205260408120919250610f578282611e40565b610f65600183016000611e40565b5050610f70826116bb565b817f873b10ef25042d423ba2feb2f6196b6ee9493fcdef5677a630483a96c7db41f433836000015184602001516040516107dc93929190612434565b600082815260208190526040902060010154610fc78161136a565b6106d883836113fb565b60006001600160e01b0319821663780e9d6360e01b1480610496575061049682611762565b60006001600160e01b03198216637965db0b60e01b148061049657506301ffc9a760e01b6001600160e01b0319831614610496565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611060826109cf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166111125760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105a3565b600061111d836109cf565b9050806001600160a01b0316846001600160a01b0316148061116457506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806111885750836001600160a01b031661117d8461052e565b6001600160a01b0316145b949350505050565b826001600160a01b03166111a3826109cf565b6001600160a01b0316146112075760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105a3565b6001600160a01b0382166112695760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a3565b6112748383836117a2565b61127f60008261102b565b6001600160a01b03831660009081526004602052604081208054600192906112a890849061248a565b90915550506001600160a01b03821660009081526004602052604081208054600192906112d69084906124a1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611342848484611190565b61134e8484848461185a565b610c965760405162461bcd60e51b81526004016105a3906124b9565b611374813361195b565b50565b6113818282610bf9565b61091d576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556113b73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114058282610bf9565b1561091d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038516611487576040516308c9926560e31b815260040160405180910390fd5b60008390036114a95760405163e007fe9160e01b815260040160405180910390fd5b60008190036114cb576040516334eab45360e11b815260040160405180910390fd5b600b8054600091826114dc8361250b565b9190505590506114ec86826119bf565b6040805160606020601f88018190040282018101835291810186815290918291908890889081908501838280828437600092019190915250505090825250604080516020601f8701819004810282018101909252858152918101919086908690819084018382808284376000920182905250939094525050838152600c6020908152604090912083518051919350611588928492910190611e7a565b5060208281015180516115a19260018501920190611e7a565b50905050807fd113c872a0d148e963f842767b1f364bf6d826e6cbbc9917c498a9b94f9c728087878787876040516115dd95949392919061254d565b60405180910390a2505050505050565b816001600160a01b0316836001600160a01b03160361164e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a3565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006116c6826109cf565b90506116d4816000846117a2565b6116df60008361102b565b6001600160a01b038116600090815260046020526040812080546001929061170890849061248a565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b148061179357506001600160e01b03198216635b5e139f60e01b145b80610496575061049682610ff6565b6001600160a01b0383166117fd576117f881600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611820565b816001600160a01b0316836001600160a01b031614611820576118208382611b0d565b6001600160a01b038216611837576106d881611baa565b826001600160a01b0316826001600160a01b0316146106d8576106d88282611c59565b60006001600160a01b0384163b1561195057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061189e903390899088908890600401612591565b6020604051808303816000875af19250505080156118d9575060408051601f3d908101601f191682019092526118d6918101906125c4565b60015b611936573d808015611907576040519150601f19603f3d011682016040523d82523d6000602084013e61190c565b606091505b50805160000361192e5760405162461bcd60e51b81526004016105a3906124b9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611188565b506001949350505050565b6119658282610bf9565b61091d5761197d816001600160a01b03166014611c9d565b611988836020611c9d565b6040516020016119999291906125e1565b60408051601f198184030181529082905262461bcd60e51b82526105a391600401611f9e565b6001600160a01b038216611a155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a3565b6000818152600360205260409020546001600160a01b031615611a7a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a3565b611a86600083836117a2565b6001600160a01b0382166000908152600460205260408120805460019290611aaf9084906124a1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611b1a84610b72565b611b24919061248a565b600083815260086020526040902054909150808214611b77576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611bbc9060019061248a565b6000838152600a602052604081205460098054939450909284908110611be457611be461236e565b906000526020600020015490508060098381548110611c0557611c0561236e565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611c3d57611c3d612656565b6001900381819060005260206000200160009055905550505050565b6000611c6483610b72565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60606000611cac83600261266c565b611cb79060026124a1565b67ffffffffffffffff811115611ccf57611ccf6121c7565b6040519080825280601f01601f191660200182016040528015611cf9576020820181803683370190505b509050600360fc1b81600081518110611d1457611d1461236e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d4357611d4361236e565b60200101906001600160f81b031916908160001a9053506000611d6784600261266c565b611d729060016124a1565b90505b6001811115611dea576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611da657611da661236e565b1a60f81b828281518110611dbc57611dbc61236e565b60200101906001600160f81b031916908160001a90535060049490941c93611de38161268b565b9050611d75565b508315611e395760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105a3565b9392505050565b508054611e4c906122e3565b6000825580601f10611e5c575050565b601f0160209004906000526020600020908101906113749190611efe565b828054611e86906122e3565b90600052602060002090601f016020900481019282611ea85760008555611eee565b82601f10611ec157805160ff1916838001178555611eee565b82800160010185558215611eee579182015b82811115611eee578251825591602001919060010190611ed3565b50611efa929150611efe565b5090565b5b80821115611efa5760008155600101611eff565b6001600160e01b03198116811461137457600080fd5b600060208284031215611f3b57600080fd5b8135611e3981611f13565b60005b83811015611f61578181015183820152602001611f49565b83811115610c965750506000910152565b60008151808452611f8a816020860160208601611f46565b601f01601f19169290920160200192915050565b602081526000611e396020830184611f72565b600060208284031215611fc357600080fd5b5035919050565b80356001600160a01b0381168114611fe157600080fd5b919050565b60008060408385031215611ff957600080fd5b61200283611fca565b946020939093013593505050565b60008060006060848603121561202557600080fd5b61202e84611fca565b925061203c60208501611fca565b9150604084013590509250925092565b6000806040838503121561205f57600080fd5b8235915061206f60208401611fca565b90509250929050565b60408152600061208b6040830185611f72565b828103602084015261209d8185611f72565b95945050505050565b6000602082840312156120b857600080fd5b611e3982611fca565b60008083601f8401126120d357600080fd5b50813567ffffffffffffffff8111156120eb57600080fd5b60208301915083602082850101111561210357600080fd5b9250929050565b60008060008060006060868803121561212257600080fd5b61212b86611fca565b9450602086013567ffffffffffffffff8082111561214857600080fd5b61215489838a016120c1565b9096509450604088013591508082111561216d57600080fd5b5061217a888289016120c1565b969995985093965092949392505050565b6000806040838503121561219e57600080fd5b6121a783611fca565b9150602083013580151581146121bc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156121f357600080fd5b6121fc85611fca565b935061220a60208601611fca565b925060408501359150606085013567ffffffffffffffff8082111561222e57600080fd5b818701915087601f83011261224257600080fd5b813581811115612254576122546121c7565b604051601f8201601f19908116603f0116810190838211818310171561227c5761227c6121c7565b816040528281528a602084870101111561229557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156122cc57600080fd5b6122d583611fca565b915061206f60208401611fca565b600181811c908216806122f757607f821691505b60208210810361231757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000835160206123978285838901611f46565b845491840191600090600181811c90808316806123b557607f831692505b85831081036123d257634e487b7160e01b85526022600452602485fd5b8080156123e657600181146123f757612424565b60ff19851688528388019550612424565b60008b81526020902060005b8581101561241c5781548a820152908401908801612403565b505083880195505b50939a9950505050505050505050565b6001600160a01b038416815260606020820181905260009061245890830185611f72565b828103604084015261246a8185611f72565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561249c5761249c612474565b500390565b600082198211156124b4576124b4612474565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001820161251d5761251d612474565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b03861681526060602082018190526000906125729083018688612524565b8281036040840152612585818587612524565b98975050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061246a90830184611f72565b6000602082840312156125d657600080fd5b8151611e3981611f13565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612619816017850160208801611f46565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161264a816028840160208801611f46565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b600081600019048311821515161561268657612686612474565b500290565b60008161269a5761269a612474565b50600019019056fea26469706673582212203f2e4e111ebb14fcfd48ed3bd43792e9c4741b8397a395e4ca24c266823abf8864736f6c634300080d003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000955706c616e644e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004554e465400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806369448b6d11610104578063b88d4fde116100a2578063d539139311610071578063d5391393146103fb578063d547741f1461040b578063e2fdcc171461041e578063e985e9c51461043157600080fd5b8063b88d4fde146103af578063c10c3546146103c2578063c87b56dd146103d5578063d3af94ae146103e857600080fd5b806395d89b41116100de57806395d89b41146103795780639907119014610381578063a217fddf14610394578063a22cb4651461039c57600080fd5b806369448b6d1461033257806370a082311461035357806391d148541461036657600080fd5b80632dabbeed1161017c57806342842e0e1161014b57806342842e0e146102f05780634f6ccce71461030357806361b8ce8c146103165780636352211e1461031f57600080fd5b80632dabbeed146102a45780632f2ff15d146102b75780632f745c59146102ca57806336568abe146102dd57600080fd5b8063095ea7b3116101b8578063095ea7b31461024757806318160ddd1461025c57806323b872dd1461026e578063248a9ca31461028157600080fd5b806301ffc9a7146101df57806306fdde0314610207578063081812fc1461021c575b600080fd5b6101f26101ed366004611f29565b61046d565b60405190151581526020015b60405180910390f35b61020f61049c565b6040516101fe9190611f9e565b61022f61022a366004611fb1565b61052e565b6040516001600160a01b0390911681526020016101fe565b61025a610255366004611fe6565b6105c8565b005b6009545b6040519081526020016101fe565b61025a61027c366004612010565b6106dd565b61026061028f366004611fb1565b60009081526020819052604090206001015490565b61025a6102b2366004611fb1565b61070e565b61025a6102c536600461204c565b6107e8565b6102606102d8366004611fe6565b61080d565b61025a6102eb36600461204c565b6108a3565b61025a6102fe366004612010565b610921565b610260610311366004611fb1565b61093c565b610260600b5481565b61022f61032d366004611fb1565b6109cf565b610345610340366004611fb1565b610a46565b6040516101fe929190612078565b6102606103613660046120a6565b610b72565b6101f261037436600461204c565b610bf9565b61020f610c22565b61025a61038f36600461210a565b610c31565b610260600081565b61025a6103aa36600461218b565b610c59565b61025a6103bd3660046121dd565b610c64565b61025a6103d03660046120a6565b610c9c565b61020f6103e3366004611fb1565b610d26565b61025a6103f6366004611fb1565b610dd6565b6102606526a4a72a22a960d11b81565b61025a61041936600461204c565b610fac565b600d5461022f906001600160a01b031681565b6101f261043f3660046122b9565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b600061047882610fd1565b80610487575061048782610ff6565b80610496575061049682610fd1565b92915050565b6060600180546104ab906122e3565b80601f01602080910402602001604051908101604052809291908181526020018280546104d7906122e3565b80156105245780601f106104f957610100808354040283529160200191610524565b820191906000526020600020905b81548152906001019060200180831161050757829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b03166105ac5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b60006105d3826109cf565b9050806001600160a01b0316836001600160a01b0316036106405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016105a3565b336001600160a01b038216148061065c575061065c813361043f565b6106ce5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105a3565b6106d8838361102b565b505050565b6106e73382611099565b6107035760405162461bcd60e51b81526004016105a39061231d565b6106d8838383611190565b806000036107325760405163ed15e6cf60e01b8152600481018290526024016105a3565b600061073d826109cf565b90506001600160a01b038116331461077a57604051636a16d40f60e01b81526001600160a01b0382166004820152602481018390526044016105a3565b600d546040805160208101909152600081526107a59183916001600160a01b03909116908590611337565b6040516001600160a01b038216815282907f195c5ef9b2ecef6cabb84820b83c8972210d47108a9304be4082f6b3b12308ac906020015b60405180910390a25050565b6000828152602081905260409020600101546108038161136a565b6106d88383611377565b600061081883610b72565b821061087a5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016105a3565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b6001600160a01b03811633146109135760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016105a3565b61091d82826113fb565b5050565b6106d883838360405180602001604052806000815250610c64565b600061094760095490565b82106109aa5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016105a3565b600982815481106109bd576109bd61236e565b90600052602060002001549050919050565b6000818152600360205260408120546001600160a01b0316806104965760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016105a3565b600c60205260009081526040902080548190610a61906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a8d906122e3565b8015610ada5780601f10610aaf57610100808354040283529160200191610ada565b820191906000526020600020905b815481529060010190602001808311610abd57829003601f168201915b505050505090806001018054610aef906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1b906122e3565b8015610b685780601f10610b3d57610100808354040283529160200191610b68565b820191906000526020600020905b815481529060010190602001808311610b4b57829003601f168201915b5050505050905082565b60006001600160a01b038216610bdd5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016105a3565b506001600160a01b031660009081526004602052604090205490565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600280546104ab906122e3565b6526a4a72a22a960d11b610c448161136a565b610c518686868686611460565b505050505050565b61091d3383836115ed565b610c6e3383611099565b610c8a5760405162461bcd60e51b81526004016105a39061231d565b610c9684848484611337565b50505050565b6000610ca78161136a565b600d546001600160a01b031615610cd15760405163023b82b360e61b815260040160405180910390fd5b600d80546001600160a01b0319166001600160a01b0384169081179091556040519081527fa585aec3a6cb0e1a084ed18c7638024e40cc3e3ea815166e2cb6fc17d7f1392b9060200160405180910390a15050565b6000818152600360205260409020546060906001600160a01b0316610d615760405163ed15e6cf60e01b8152600481018390526024016105a3565b6000610d9560408051808201909152601581527468747470733a2f2f697066732e696f2f697066732f60581b602082015290565b905080600c6000858152602001908152602001600020600101604051602001610dbf929190612384565b604051602081830303815290604052915050919050565b600d546001600160a01b03163314610e0157604051630d0418ed60e11b815260040160405180910390fd5b6000818152600c60205260408082208151808301909252805482908290610e27906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610e53906122e3565b8015610ea05780601f10610e7557610100808354040283529160200191610ea0565b820191906000526020600020905b815481529060010190602001808311610e8357829003601f168201915b50505050508152602001600182018054610eb9906122e3565b80601f0160208091040260200160405190810160405280929190818152602001828054610ee5906122e3565b8015610f325780601f10610f0757610100808354040283529160200191610f32565b820191906000526020600020905b815481529060010190602001808311610f1557829003601f168201915b505050919092525050506000838152600c60205260408120919250610f578282611e40565b610f65600183016000611e40565b5050610f70826116bb565b817f873b10ef25042d423ba2feb2f6196b6ee9493fcdef5677a630483a96c7db41f433836000015184602001516040516107dc93929190612434565b600082815260208190526040902060010154610fc78161136a565b6106d883836113fb565b60006001600160e01b0319821663780e9d6360e01b1480610496575061049682611762565b60006001600160e01b03198216637965db0b60e01b148061049657506301ffc9a760e01b6001600160e01b0319831614610496565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611060826109cf565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b03166111125760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016105a3565b600061111d836109cf565b9050806001600160a01b0316846001600160a01b0316148061116457506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b806111885750836001600160a01b031661117d8461052e565b6001600160a01b0316145b949350505050565b826001600160a01b03166111a3826109cf565b6001600160a01b0316146112075760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016105a3565b6001600160a01b0382166112695760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016105a3565b6112748383836117a2565b61127f60008261102b565b6001600160a01b03831660009081526004602052604081208054600192906112a890849061248a565b90915550506001600160a01b03821660009081526004602052604081208054600192906112d69084906124a1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b611342848484611190565b61134e8484848461185a565b610c965760405162461bcd60e51b81526004016105a3906124b9565b611374813361195b565b50565b6113818282610bf9565b61091d576000828152602081815260408083206001600160a01b03851684529091529020805460ff191660011790556113b73390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6114058282610bf9565b1561091d576000828152602081815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6001600160a01b038516611487576040516308c9926560e31b815260040160405180910390fd5b60008390036114a95760405163e007fe9160e01b815260040160405180910390fd5b60008190036114cb576040516334eab45360e11b815260040160405180910390fd5b600b8054600091826114dc8361250b565b9190505590506114ec86826119bf565b6040805160606020601f88018190040282018101835291810186815290918291908890889081908501838280828437600092019190915250505090825250604080516020601f8701819004810282018101909252858152918101919086908690819084018382808284376000920182905250939094525050838152600c6020908152604090912083518051919350611588928492910190611e7a565b5060208281015180516115a19260018501920190611e7a565b50905050807fd113c872a0d148e963f842767b1f364bf6d826e6cbbc9917c498a9b94f9c728087878787876040516115dd95949392919061254d565b60405180910390a2505050505050565b816001600160a01b0316836001600160a01b03160361164e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105a3565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006116c6826109cf565b90506116d4816000846117a2565b6116df60008361102b565b6001600160a01b038116600090815260046020526040812080546001929061170890849061248a565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60006001600160e01b031982166380ac58cd60e01b148061179357506001600160e01b03198216635b5e139f60e01b145b80610496575061049682610ff6565b6001600160a01b0383166117fd576117f881600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b611820565b816001600160a01b0316836001600160a01b031614611820576118208382611b0d565b6001600160a01b038216611837576106d881611baa565b826001600160a01b0316826001600160a01b0316146106d8576106d88282611c59565b60006001600160a01b0384163b1561195057604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061189e903390899088908890600401612591565b6020604051808303816000875af19250505080156118d9575060408051601f3d908101601f191682019092526118d6918101906125c4565b60015b611936573d808015611907576040519150601f19603f3d011682016040523d82523d6000602084013e61190c565b606091505b50805160000361192e5760405162461bcd60e51b81526004016105a3906124b9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611188565b506001949350505050565b6119658282610bf9565b61091d5761197d816001600160a01b03166014611c9d565b611988836020611c9d565b6040516020016119999291906125e1565b60408051601f198184030181529082905262461bcd60e51b82526105a391600401611f9e565b6001600160a01b038216611a155760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105a3565b6000818152600360205260409020546001600160a01b031615611a7a5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105a3565b611a86600083836117a2565b6001600160a01b0382166000908152600460205260408120805460019290611aaf9084906124a1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001611b1a84610b72565b611b24919061248a565b600083815260086020526040902054909150808214611b77576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611bbc9060019061248a565b6000838152600a602052604081205460098054939450909284908110611be457611be461236e565b906000526020600020015490508060098381548110611c0557611c0561236e565b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611c3d57611c3d612656565b6001900381819060005260206000200160009055905550505050565b6000611c6483610b72565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b60606000611cac83600261266c565b611cb79060026124a1565b67ffffffffffffffff811115611ccf57611ccf6121c7565b6040519080825280601f01601f191660200182016040528015611cf9576020820181803683370190505b509050600360fc1b81600081518110611d1457611d1461236e565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611d4357611d4361236e565b60200101906001600160f81b031916908160001a9053506000611d6784600261266c565b611d729060016124a1565b90505b6001811115611dea576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611da657611da661236e565b1a60f81b828281518110611dbc57611dbc61236e565b60200101906001600160f81b031916908160001a90535060049490941c93611de38161268b565b9050611d75565b508315611e395760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016105a3565b9392505050565b508054611e4c906122e3565b6000825580601f10611e5c575050565b601f0160209004906000526020600020908101906113749190611efe565b828054611e86906122e3565b90600052602060002090601f016020900481019282611ea85760008555611eee565b82601f10611ec157805160ff1916838001178555611eee565b82800160010185558215611eee579182015b82811115611eee578251825591602001919060010190611ed3565b50611efa929150611efe565b5090565b5b80821115611efa5760008155600101611eff565b6001600160e01b03198116811461137457600080fd5b600060208284031215611f3b57600080fd5b8135611e3981611f13565b60005b83811015611f61578181015183820152602001611f49565b83811115610c965750506000910152565b60008151808452611f8a816020860160208601611f46565b601f01601f19169290920160200192915050565b602081526000611e396020830184611f72565b600060208284031215611fc357600080fd5b5035919050565b80356001600160a01b0381168114611fe157600080fd5b919050565b60008060408385031215611ff957600080fd5b61200283611fca565b946020939093013593505050565b60008060006060848603121561202557600080fd5b61202e84611fca565b925061203c60208501611fca565b9150604084013590509250925092565b6000806040838503121561205f57600080fd5b8235915061206f60208401611fca565b90509250929050565b60408152600061208b6040830185611f72565b828103602084015261209d8185611f72565b95945050505050565b6000602082840312156120b857600080fd5b611e3982611fca565b60008083601f8401126120d357600080fd5b50813567ffffffffffffffff8111156120eb57600080fd5b60208301915083602082850101111561210357600080fd5b9250929050565b60008060008060006060868803121561212257600080fd5b61212b86611fca565b9450602086013567ffffffffffffffff8082111561214857600080fd5b61215489838a016120c1565b9096509450604088013591508082111561216d57600080fd5b5061217a888289016120c1565b969995985093965092949392505050565b6000806040838503121561219e57600080fd5b6121a783611fca565b9150602083013580151581146121bc57600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156121f357600080fd5b6121fc85611fca565b935061220a60208601611fca565b925060408501359150606085013567ffffffffffffffff8082111561222e57600080fd5b818701915087601f83011261224257600080fd5b813581811115612254576122546121c7565b604051601f8201601f19908116603f0116810190838211818310171561227c5761227c6121c7565b816040528281528a602084870101111561229557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156122cc57600080fd5b6122d583611fca565b915061206f60208401611fca565b600181811c908216806122f757607f821691505b60208210810361231757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000835160206123978285838901611f46565b845491840191600090600181811c90808316806123b557607f831692505b85831081036123d257634e487b7160e01b85526022600452602485fd5b8080156123e657600181146123f757612424565b60ff19851688528388019550612424565b60008b81526020902060005b8581101561241c5781548a820152908401908801612403565b505083880195505b50939a9950505050505050505050565b6001600160a01b038416815260606020820181905260009061245890830185611f72565b828103604084015261246a8185611f72565b9695505050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561249c5761249c612474565b500390565b600082198211156124b4576124b4612474565b500190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006001820161251d5761251d612474565b5060010190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6001600160a01b03861681526060602082018190526000906125729083018688612524565b8281036040840152612585818587612524565b98975050505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061246a90830184611f72565b6000602082840312156125d657600080fd5b8151611e3981611f13565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612619816017850160208801611f46565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161264a816028840160208801611f46565b01602801949350505050565b634e487b7160e01b600052603160045260246000fd5b600081600019048311821515161561268657612686612474565b500290565b60008161269a5761269a612474565b50600019019056fea26469706673582212203f2e4e111ebb14fcfd48ed3bd43792e9c4741b8397a395e4ca24c266823abf8864736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000955706c616e644e465400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004554e465400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): UplandNFT
Arg [1] : symbol (string): UNFT
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 55706c616e644e46540000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 554e465400000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
55614:6894:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57249:366;;;;;;:::i;:::-;;:::i;:::-;;;565:14:1;;558:22;540:41;;528:2;513:18;57249:366:0;;;;;;;;22719:100;;;:::i;:::-;;;;;;;:::i;24279:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:1;;;1674:51;;1662:2;1647:18;24279:221:0;1528:203:1;23802:411:0;;;;;;:::i;:::-;;:::i;:::-;;37632:113;37720:10;:17;37632:113;;;2319:25:1;;;2307:2;2292:18;37632:113:0;2173:177:1;25029:339:0;;;;;;:::i;:::-;;:::i;50608:131::-;;;;;;:::i;:::-;50682:7;50709:12;;;;;;;;;;:22;;;;50608:131;58802:333;;;;;;:::i;:::-;;:::i;51001:147::-;;;;;;:::i;:::-;;:::i;37300:256::-;;;;;;:::i;:::-;;:::i;52049:218::-;;;;;;:::i;:::-;;:::i;25439:185::-;;;;;;:::i;:::-;;:::i;37822:233::-;;;;;;:::i;:::-;;:::i;55937:25::-;;;;;;22413:239;;;;;;:::i;:::-;;:::i;56169:47::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;22143:208::-;;;;;;:::i;:::-;;:::i;49068:147::-;;;;;;:::i;:::-;;:::i;22888:104::-;;;:::i;60248:191::-;;;;;;:::i;:::-;;:::i;48173:49::-;;48218:4;48173:49;;24572:155;;;;;;:::i;:::-;;:::i;25695:328::-;;;;;;:::i;:::-;;:::i;59490:207::-;;;;;;:::i;:::-;;:::i;58035:331::-;;;;;;:::i;:::-;;:::i;60774:328::-;;;;;;:::i;:::-;;:::i;55799:55::-;;-1:-1:-1;;;55799:55:0;;51393:149;;;;;;:::i;:::-;;:::i;56271:21::-;;;;;-1:-1:-1;;;;;56271:21:0;;;24798:164;;;;;;:::i;:::-;-1:-1:-1;;;;;24919:25:0;;;24895:4;24919:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;24798:164;57249:366;57404:4;57446:36;57470:11;57446:23;:36::i;:::-;:97;;;;57499:44;57531:11;57499:31;:44::i;:::-;57446:161;;;;57560:47;57595:11;57560:34;:47::i;:::-;57426:181;57249:366;-1:-1:-1;;57249:366:0:o;22719:100::-;22773:13;22806:5;22799:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22719:100;:::o;24279:221::-;24355:7;27622:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27622:16:0;24375:73;;;;-1:-1:-1;;;24375:73:0;;7525:2:1;24375:73:0;;;7507:21:1;7564:2;7544:18;;;7537:30;7603:34;7583:18;;;7576:62;-1:-1:-1;;;7654:18:1;;;7647:42;7706:19;;24375:73:0;;;;;;;;;-1:-1:-1;24468:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;24468:24:0;;24279:221::o;23802:411::-;23883:13;23899:23;23914:7;23899:14;:23::i;:::-;23883:39;;23947:5;-1:-1:-1;;;;;23941:11:0;:2;-1:-1:-1;;;;;23941:11:0;;23933:57;;;;-1:-1:-1;;;23933:57:0;;7938:2:1;23933:57:0;;;7920:21:1;7977:2;7957:18;;;7950:30;8016:34;7996:18;;;7989:62;-1:-1:-1;;;8067:18:1;;;8060:31;8108:19;;23933:57:0;7736:397:1;23933:57:0;17060:10;-1:-1:-1;;;;;24025:21:0;;;;:62;;-1:-1:-1;24050:37:0;24067:5;17060:10;24798:164;:::i;24050:37::-;24003:168;;;;-1:-1:-1;;;24003:168:0;;8340:2:1;24003:168:0;;;8322:21:1;8379:2;8359:18;;;8352:30;8418:34;8398:18;;;8391:62;8489:26;8469:18;;;8462:54;8533:19;;24003:168:0;8138:420:1;24003:168:0;24184:21;24193:2;24197:7;24184:8;:21::i;:::-;23872:341;23802:411;;:::o;25029:339::-;25224:41;17060:10;25257:7;25224:18;:41::i;:::-;25216:103;;;;-1:-1:-1;;;25216:103:0;;;;;;;:::i;:::-;25332:28;25342:4;25348:2;25352:7;25332:9;:28::i;58802:333::-;58860:7;58871:1;58860:12;58856:48;;58881:23;;-1:-1:-1;;;58881:23:0;;;;;2319:25:1;;;2292:18;;58881:23:0;2173:177:1;58856:48:0;58917:13;58933:16;58941:7;58933;:16::i;:::-;58917:32;-1:-1:-1;;;;;;58964:19:0;;58973:10;58964:19;58960:60;;58992:28;;-1:-1:-1;;;58992:28:0;;-1:-1:-1;;;;;9173:32:1;;58992:28:0;;;9155:51:1;9222:18;;;9215:34;;;9128:18;;58992:28:0;8981:274:1;58960:60:0;59054:6;;59033:41;;;;;;;;;59054:6;59033:41;;;;59047:5;;-1:-1:-1;;;;;59054:6:0;;;;59062:7;;59033:13;:41::i;:::-;59092:35;;-1:-1:-1;;;;;1692:32:1;;1674:51;;59112:7:0;;59092:35;;1662:2:1;1647:18;59092:35:0;;;;;;;;58845:290;58802:333;:::o;51001:147::-;50682:7;50709:12;;;;;;;;;;:22;;;48664:16;48675:4;48664:10;:16::i;:::-;51115:25:::1;51126:4;51132:7;51115:10;:25::i;37300:256::-:0;37397:7;37433:23;37450:5;37433:16;:23::i;:::-;37425:5;:31;37417:87;;;;-1:-1:-1;;;37417:87:0;;9462:2:1;37417:87:0;;;9444:21:1;9501:2;9481:18;;;9474:30;9540:34;9520:18;;;9513:62;-1:-1:-1;;;9591:18:1;;;9584:41;9642:19;;37417:87:0;9260:407:1;37417:87:0;-1:-1:-1;;;;;;37522:19:0;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;37300:256::o;52049:218::-;-1:-1:-1;;;;;52145:23:0;;17060:10;52145:23;52137:83;;;;-1:-1:-1;;;52137:83:0;;9874:2:1;52137:83:0;;;9856:21:1;9913:2;9893:18;;;9886:30;9952:34;9932:18;;;9925:62;-1:-1:-1;;;10003:18:1;;;9996:45;10058:19;;52137:83:0;9672:411:1;52137:83:0;52233:26;52245:4;52251:7;52233:11;:26::i;:::-;52049:218;;:::o;25439:185::-;25577:39;25594:4;25600:2;25604:7;25577:39;;;;;;;;;;;;:16;:39::i;37822:233::-;37897:7;37933:30;37720:10;:17;;37632:113;37933:30;37925:5;:38;37917:95;;;;-1:-1:-1;;;37917:95:0;;10290:2:1;37917:95:0;;;10272:21:1;10329:2;10309:18;;;10302:30;10368:34;10348:18;;;10341:62;-1:-1:-1;;;10419:18:1;;;10412:42;10471:19;;37917:95:0;10088:408:1;37917:95:0;38030:10;38041:5;38030:17;;;;;;;;:::i;:::-;;;;;;;;;38023:24;;37822:233;;;:::o;22413:239::-;22485:7;22521:16;;;:7;:16;;;;;;-1:-1:-1;;;;;22521:16:0;;22548:73;;;;-1:-1:-1;;;22548:73:0;;10835:2:1;22548:73:0;;;10817:21:1;10874:2;10854:18;;;10847:30;10913:34;10893:18;;;10886:62;-1:-1:-1;;;10964:18:1;;;10957:39;11013:19;;22548:73:0;10633:405:1;56169:47:0;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22143:208::-;22215:7;-1:-1:-1;;;;;22243:19:0;;22235:74;;;;-1:-1:-1;;;22235:74:0;;11245:2:1;22235:74:0;;;11227:21:1;11284:2;11264:18;;;11257:30;11323:34;11303:18;;;11296:62;-1:-1:-1;;;11374:18:1;;;11367:40;11424:19;;22235:74:0;11043:406:1;22235:74:0;-1:-1:-1;;;;;;22327:16:0;;;;;:9;:16;;;;;;;22143:208::o;49068:147::-;49154:4;49178:12;;;;;;;;;;;-1:-1:-1;;;;;49178:29:0;;;;;;;;;;;;;;;49068:147::o;22888:104::-;22944:13;22977:7;22970:14;;;;;:::i;60248:191::-;-1:-1:-1;;;48664:16:0;48675:4;48664:10;:16::i;:::-;60402:29:::1;60408:2;60412:8;;60422;;60402:5;:29::i;:::-;60248:191:::0;;;;;;:::o;24572:155::-;24667:52;17060:10;24700:8;24710;24667:18;:52::i;25695:328::-;25870:41;17060:10;25903:7;25870:18;:41::i;:::-;25862:103;;;;-1:-1:-1;;;25862:103:0;;;;;;;:::i;:::-;25976:39;25990:4;25996:2;26000:7;26009:5;25976:13;:39::i;:::-;25695:328;;;;:::o;59490:207::-;48218:4;48664:16;48218:4;48664:10;:16::i;:::-;59579:6:::1;::::0;-1:-1:-1;;;;;59579:6:0::1;:20:::0;59575:51:::1;;59608:18;;-1:-1:-1::0;;;59608:18:0::1;;;;;;;;;;;59575:51;59639:6;:16:::0;;-1:-1:-1;;;;;;59639:16:0::1;-1:-1:-1::0;;;;;59639:16:0;::::1;::::0;;::::1;::::0;;;59671:18:::1;::::0;1674:51:1;;;59671:18:0::1;::::0;1662:2:1;1647:18;59671::0::1;;;;;;;59490:207:::0;;:::o;58035:331::-;27598:4;27622:16;;;:7;:16;;;;;;58144:13;;-1:-1:-1;;;;;27622:16:0;58175:53;;58205:23;;-1:-1:-1;;;58205:23:0;;;;;2319:25:1;;;2292:18;;58205:23:0;2173:177:1;58175:53:0;58241:21;58265:10;62467:30;;;;;;;;;;;;-1:-1:-1;;;62467:30:0;;;;;62381:124;58265:10;58241:34;;58319:7;58328:10;:19;58339:7;58328:19;;;;;;;;;;;:28;;58302:55;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58288:70;;;58035:331;;;:::o;60774:328::-;60859:6;;-1:-1:-1;;;;;60859:6:0;60845:10;:20;60841:45;;60874:12;;-1:-1:-1;;;60874:12:0;;;;;;;;;;;60841:45;60899:26;60928:19;;;:10;:19;;;;;;60899:48;;;;;;;;;;;;60928:19;;60899:48;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;60899:48:0;;;;-1:-1:-1;;;60965:19:0;;;;:10;:19;;;;;60899:48;;-1:-1:-1;60958:26:0;60965:19;;60958:26;:::i;:::-;;;;;;;:::i;:::-;;;60997:14;61003:7;60997:5;:14::i;:::-;61034:7;61029:65;61043:10;61055:9;:18;;;61075:9;:18;;;61029:65;;;;;;;;:::i;51393:149::-;50682:7;50709:12;;;;;;;;;;:22;;;48664:16;48675:4;48664:10;:16::i;:::-;51508:26:::1;51520:4;51526:7;51508:11;:26::i;36992:224::-:0;37094:4;-1:-1:-1;;;;;;37118:50:0;;-1:-1:-1;;;37118:50:0;;:90;;;37172:36;37196:11;37172:23;:36::i;48772:204::-;48857:4;-1:-1:-1;;;;;;48881:47:0;;-1:-1:-1;;;48881:47:0;;:87;;-1:-1:-1;;;;;;;;;;20306:40:0;;;48932:36;20197:157;31679:174;31754:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;31754:29:0;-1:-1:-1;;;;;31754:29:0;;;;;;;;:24;;31808:23;31754:24;31808:14;:23::i;:::-;-1:-1:-1;;;;;31799:46:0;;;;;;;;;;;31679:174;;:::o;27827:348::-;27920:4;27622:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27622:16:0;27937:73;;;;-1:-1:-1;;;27937:73:0;;13607:2:1;27937:73:0;;;13589:21:1;13646:2;13626:18;;;13619:30;13685:34;13665:18;;;13658:62;-1:-1:-1;;;13736:18:1;;;13729:42;13788:19;;27937:73:0;13405:408:1;27937:73:0;28021:13;28037:23;28052:7;28037:14;:23::i;:::-;28021:39;;28090:5;-1:-1:-1;;;;;28079:16:0;:7;-1:-1:-1;;;;;28079:16:0;;:52;;;-1:-1:-1;;;;;;24919:25:0;;;24895:4;24919:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;28099:32;28079:87;;;;28159:7;-1:-1:-1;;;;;28135:31:0;:20;28147:7;28135:11;:20::i;:::-;-1:-1:-1;;;;;28135:31:0;;28079:87;28071:96;27827:348;-1:-1:-1;;;;27827:348:0:o;30936:625::-;31095:4;-1:-1:-1;;;;;31068:31:0;:23;31083:7;31068:14;:23::i;:::-;-1:-1:-1;;;;;31068:31:0;;31060:81;;;;-1:-1:-1;;;31060:81:0;;14020:2:1;31060:81:0;;;14002:21:1;14059:2;14039:18;;;14032:30;14098:34;14078:18;;;14071:62;-1:-1:-1;;;14149:18:1;;;14142:35;14194:19;;31060:81:0;13818:401:1;31060:81:0;-1:-1:-1;;;;;31160:16:0;;31152:65;;;;-1:-1:-1;;;31152:65:0;;14426:2:1;31152:65:0;;;14408:21:1;14465:2;14445:18;;;14438:30;14504:34;14484:18;;;14477:62;-1:-1:-1;;;14555:18:1;;;14548:34;14599:19;;31152:65:0;14224:400:1;31152:65:0;31230:39;31251:4;31257:2;31261:7;31230:20;:39::i;:::-;31334:29;31351:1;31355:7;31334:8;:29::i;:::-;-1:-1:-1;;;;;31376:15:0;;;;;;:9;:15;;;;;:20;;31395:1;;31376:15;:20;;31395:1;;31376:20;:::i;:::-;;;;-1:-1:-1;;;;;;;31407:13:0;;;;;;:9;:13;;;;;:18;;31424:1;;31407:13;:18;;31424:1;;31407:18;:::i;:::-;;;;-1:-1:-1;;31436:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;31436:21:0;-1:-1:-1;;;;;31436:21:0;;;;;;;;;31475:27;;31436:16;;31475:27;;;;;;;23872:341;23802:411;;:::o;26905:315::-;27062:28;27072:4;27078:2;27082:7;27062:9;:28::i;:::-;27109:48;27132:4;27138:2;27142:7;27151:5;27109:22;:48::i;:::-;27101:111;;;;-1:-1:-1;;;27101:111:0;;;;;;;:::i;49519:105::-;49586:30;49597:4;17060:10;49586;:30::i;:::-;49519:105;:::o;53550:238::-;53634:22;53642:4;53648:7;53634;:22::i;:::-;53629:152;;53673:6;:12;;;;;;;;;;;-1:-1:-1;;;;;53673:29:0;;;;;;;;;:36;;-1:-1:-1;;53673:36:0;53705:4;53673:36;;;53756:12;17060:10;;16980:98;53756:12;-1:-1:-1;;;;;53729:40:0;53747:7;-1:-1:-1;;;;;53729:40:0;53741:4;53729:40;;;;;;;;;;53550:238;;:::o;53920:239::-;54004:22;54012:4;54018:7;54004;:22::i;:::-;54000:152;;;54075:5;54043:12;;;;;;;;;;;-1:-1:-1;;;;;54043:29:0;;;;;;;;;;:37;;-1:-1:-1;;54043:37:0;;;54100:40;17060:10;;54043:12;;54100:40;;54075:5;54100:40;53920:239;;:::o;61666:519::-;-1:-1:-1;;;;;61803:16:0;;61799:51;;61828:22;;-1:-1:-1;;;61828:22:0;;;;;;;;;;;61799:51;61893:1;61867:27;;;61863:57;;61903:17;;-1:-1:-1;;;61903:17:0;;;;;;;;;;;61863:57;61963:1;61937:27;;;61933:57;;61973:17;;-1:-1:-1;;;61973:17:0;;;;;;;;;;;61933:57;62021:6;:8;;62003:15;;;62021:8;;;:::i;:::-;;;;;62003:26;;62040:18;62046:2;62050:7;62040:5;:18::i;:::-;62093:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62103:8;;;;;;62093:29;;62103:8;;;;62093:29;;;;;;;;;-1:-1:-1;;;62093:29:0;;;-1:-1:-1;62093:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;62113:8;;;;;;62093:29;;62113:8;;;;62093:29;;;;;;;;-1:-1:-1;62093:29:0;;;;-1:-1:-1;;62071:19:0;;;:10;:19;;;;;;;;:51;;;;:19;;-1:-1:-1;62071:51:0;;:19;;:51;;;;:::i;:::-;-1:-1:-1;62071:51:0;;;;;;;;;;;;;;;;:::i;:::-;;;;;62145:7;62140:37;62154:2;62158:8;;62168;;62140:37;;;;;;;;;;:::i;:::-;;;;;;;;61788:397;61666:519;;;;;:::o;31995:315::-;32150:8;-1:-1:-1;;;;;32141:17:0;:5;-1:-1:-1;;;;;32141:17:0;;32133:55;;;;-1:-1:-1;;;32133:55:0;;16596:2:1;32133:55:0;;;16578:21:1;16635:2;16615:18;;;16608:30;16674:27;16654:18;;;16647:55;16719:18;;32133:55:0;16394:349:1;32133:55:0;-1:-1:-1;;;;;32199:25:0;;;;;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;:46;;-1:-1:-1;;32199:46:0;;;;;;;;;;32261:41;;540::1;;;32261::0;;513:18:1;32261:41:0;;;;;;;31995:315;;;:::o;30179:420::-;30239:13;30255:23;30270:7;30255:14;:23::i;:::-;30239:39;;30291:48;30312:5;30327:1;30331:7;30291:20;:48::i;:::-;30380:29;30397:1;30401:7;30380:8;:29::i;:::-;-1:-1:-1;;;;;30422:16:0;;;;;;:9;:16;;;;;:21;;30442:1;;30422:16;:21;;30442:1;;30422:21;:::i;:::-;;;;-1:-1:-1;;30461:16:0;;;;:7;:16;;;;;;30454:23;;-1:-1:-1;;;;;;30454:23:0;;;30495:36;30469:7;;30461:16;-1:-1:-1;;;;;30495:36:0;;;;;30461:16;;30495:36;52049:218;;:::o;21774:305::-;21876:4;-1:-1:-1;;;;;;21913:40:0;;-1:-1:-1;;;21913:40:0;;:105;;-1:-1:-1;;;;;;;21970:48:0;;-1:-1:-1;;;21970:48:0;21913:105;:158;;;;22035:36;22059:11;22035:23;:36::i;38668:589::-;-1:-1:-1;;;;;38874:18:0;;38870:187;;38909:40;38941:7;40084:10;:17;;40057:24;;;;:15;:24;;;;;:44;;;40112:24;;;;;;;;;;;;39980:164;38909:40;38870:187;;;38979:2;-1:-1:-1;;;;;38971:10:0;:4;-1:-1:-1;;;;;38971:10:0;;38967:90;;38998:47;39031:4;39037:7;38998:32;:47::i;:::-;-1:-1:-1;;;;;39071:16:0;;39067:183;;39104:45;39141:7;39104:36;:45::i;39067:183::-;39177:4;-1:-1:-1;;;;;39171:10:0;:2;-1:-1:-1;;;;;39171:10:0;;39167:83;;39198:40;39226:2;39230:7;39198:27;:40::i;32875:799::-;33030:4;-1:-1:-1;;;;;33051:13:0;;9318:19;:23;33047:620;;33087:72;;-1:-1:-1;;;33087:72:0;;-1:-1:-1;;;;;33087:36:0;;;;;:72;;17060:10;;33138:4;;33144:7;;33153:5;;33087:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33087:72:0;;;;;;;;-1:-1:-1;;33087:72:0;;;;;;;;;;;;:::i;:::-;;;33083:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33329:6;:13;33346:1;33329:18;33325:272;;33372:60;;-1:-1:-1;;;33372:60:0;;;;;;;:::i;33325:272::-;33547:6;33541:13;33532:6;33528:2;33524:15;33517:38;33083:529;-1:-1:-1;;;;;;33210:51:0;-1:-1:-1;;;33210:51:0;;-1:-1:-1;33203:58:0;;33047:620;-1:-1:-1;33651:4:0;32875:799;;;;;;:::o;49914:505::-;50003:22;50011:4;50017:7;50003;:22::i;:::-;49998:414;;50191:41;50219:7;-1:-1:-1;;;;;50191:41:0;50229:2;50191:19;:41::i;:::-;50305:38;50333:4;50340:2;50305:19;:38::i;:::-;50096:270;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;50096:270:0;;;;;;;;;;-1:-1:-1;;;50042:358:0;;;;;;;:::i;29511:439::-;-1:-1:-1;;;;;29591:16:0;;29583:61;;;;-1:-1:-1;;;29583:61:0;;18489:2:1;29583:61:0;;;18471:21:1;;;18508:18;;;18501:30;18567:34;18547:18;;;18540:62;18619:18;;29583:61:0;18287:356:1;29583:61:0;27598:4;27622:16;;;:7;:16;;;;;;-1:-1:-1;;;;;27622:16:0;:30;29655:58;;;;-1:-1:-1;;;29655:58:0;;18850:2:1;29655:58:0;;;18832:21:1;18889:2;18869:18;;;18862:30;18928;18908:18;;;18901:58;18976:18;;29655:58:0;18648:352:1;29655:58:0;29726:45;29755:1;29759:2;29763:7;29726:20;:45::i;:::-;-1:-1:-1;;;;;29784:13:0;;;;;;:9;:13;;;;;:18;;29801:1;;29784:13;:18;;29801:1;;29784:18;:::i;:::-;;;;-1:-1:-1;;29813:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;29813:21:0;-1:-1:-1;;;;;29813:21:0;;;;;;;;29852:33;;29813:16;;;29852:33;;29813:16;;29852:33;52049:218;;:::o;40771:988::-;41037:22;41087:1;41062:22;41079:4;41062:16;:22::i;:::-;:26;;;;:::i;:::-;41099:18;41120:26;;;:17;:26;;;;;;41037:51;;-1:-1:-1;41253:28:0;;;41249:328;;-1:-1:-1;;;;;41320:18:0;;41298:19;41320:18;;;:12;:18;;;;;;;;:34;;;;;;;;;41371:30;;;;;;:44;;;41488:30;;:17;:30;;;;;:43;;;41249:328;-1:-1:-1;41673:26:0;;;;:17;:26;;;;;;;;41666:33;;;-1:-1:-1;;;;;41717:18:0;;;;;:12;:18;;;;;:34;;;;;;;41710:41;40771:988::o;42054:1079::-;42332:10;:17;42307:22;;42332:21;;42352:1;;42332:21;:::i;:::-;42364:18;42385:24;;;:15;:24;;;;;;42758:10;:26;;42307:46;;-1:-1:-1;42385:24:0;;42307:46;;42758:26;;;;;;:::i;:::-;;;;;;;;;42736:48;;42822:11;42797:10;42808;42797:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;42902:28;;;:15;:28;;;;;;;:41;;;43074:24;;;;;43067:31;43109:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;42125:1008;;;42054:1079;:::o;39558:221::-;39643:14;39660:20;39677:2;39660:16;:20::i;:::-;-1:-1:-1;;;;;39691:16:0;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;39736:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;39558:221:0:o;18868:451::-;18943:13;18969:19;19001:10;19005:6;19001:1;:10;:::i;:::-;:14;;19014:1;19001:14;:::i;:::-;18991:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;18991:25:0;;18969:47;;-1:-1:-1;;;19027:6:0;19034:1;19027:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19027:15:0;;;;;;;;;-1:-1:-1;;;19053:6:0;19060:1;19053:9;;;;;;;;:::i;:::-;;;;:15;-1:-1:-1;;;;;19053:15:0;;;;;;;;-1:-1:-1;19084:9:0;19096:10;19100:6;19096:1;:10;:::i;:::-;:14;;19109:1;19096:14;:::i;:::-;19084:26;;19079:135;19116:1;19112;:5;19079:135;;;-1:-1:-1;;;19164:5:0;19172:3;19164:11;19151:25;;;;;;;:::i;:::-;;;;19139:6;19146:1;19139:9;;;;;;;;:::i;:::-;;;;:37;-1:-1:-1;;;;;19139:37:0;;;;;;;;-1:-1:-1;19201:1:0;19191:11;;;;;19119:3;;;:::i;:::-;;;19079:135;;;-1:-1:-1;19232:10:0;;19224:55;;;;-1:-1:-1;;;19224:55:0;;19653:2:1;19224:55:0;;;19635:21:1;;;19672:18;;;19665:30;19731:34;19711:18;;;19704:62;19783:18;;19224:55:0;19451:356:1;19224:55:0;19304:6;18868:451;-1:-1:-1;;;18868:451:0:o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:1;-1:-1:-1;;;;;;88:32:1;;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;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:1;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:1;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:1: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:1;;1343:180;-1:-1:-1;1343:180:1:o;1736:173::-;1804:20;;-1:-1:-1;;;;;1853:31:1;;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:1: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;3055:254::-;3123:6;3131;3184:2;3172:9;3163:7;3159:23;3155:32;3152:52;;;3200:1;3197;3190:12;3152:52;3236:9;3223:23;3213:33;;3265:38;3299:2;3288:9;3284:18;3265:38;:::i;:::-;3255:48;;3055:254;;;;;:::o;3314:383::-;3511:2;3500:9;3493:21;3474:4;3537:45;3578:2;3567:9;3563:18;3555:6;3537:45;:::i;:::-;3630:9;3622:6;3618:22;3613:2;3602:9;3598:18;3591:50;3658:33;3684:6;3676;3658:33;:::i;:::-;3650:41;3314:383;-1:-1:-1;;;;;3314:383:1:o;3702:186::-;3761:6;3814:2;3802:9;3793:7;3789:23;3785:32;3782:52;;;3830:1;3827;3820:12;3782:52;3853:29;3872:9;3853:29;:::i;3893:348::-;3945:8;3955:6;4009:3;4002:4;3994:6;3990:17;3986:27;3976:55;;4027:1;4024;4017:12;3976:55;-1:-1:-1;4050:20:1;;4093:18;4082:30;;4079:50;;;4125:1;4122;4115:12;4079:50;4162:4;4154:6;4150:17;4138:29;;4214:3;4207:4;4198:6;4190;4186:19;4182:30;4179:39;4176:59;;;4231:1;4228;4221:12;4176:59;3893:348;;;;;:::o;4246:795::-;4347:6;4355;4363;4371;4379;4432:2;4420:9;4411:7;4407:23;4403:32;4400:52;;;4448:1;4445;4438:12;4400:52;4471:29;4490:9;4471:29;:::i;:::-;4461:39;;4551:2;4540:9;4536:18;4523:32;4574:18;4615:2;4607:6;4604:14;4601:34;;;4631:1;4628;4621:12;4601:34;4670:59;4721:7;4712:6;4701:9;4697:22;4670:59;:::i;:::-;4748:8;;-1:-1:-1;4644:85:1;-1:-1:-1;4836:2:1;4821:18;;4808:32;;-1:-1:-1;4852:16:1;;;4849:36;;;4881:1;4878;4871:12;4849:36;;4920:61;4973:7;4962:8;4951:9;4947:24;4920:61;:::i;:::-;4246:795;;;;-1:-1:-1;4246:795:1;;-1:-1:-1;5000:8:1;;4894:87;4246:795;-1:-1:-1;;;4246:795:1:o;5046:347::-;5111:6;5119;5172:2;5160:9;5151:7;5147:23;5143:32;5140:52;;;5188:1;5185;5178:12;5140:52;5211:29;5230:9;5211:29;:::i;:::-;5201:39;;5290:2;5279:9;5275:18;5262:32;5337:5;5330:13;5323:21;5316:5;5313:32;5303:60;;5359:1;5356;5349:12;5303:60;5382:5;5372:15;;;5046:347;;;;;:::o;5398:127::-;5459:10;5454:3;5450:20;5447:1;5440:31;5490:4;5487:1;5480:15;5514:4;5511:1;5504:15;5530:1138;5625:6;5633;5641;5649;5702:3;5690:9;5681:7;5677:23;5673:33;5670:53;;;5719:1;5716;5709:12;5670:53;5742:29;5761:9;5742:29;:::i;:::-;5732:39;;5790:38;5824:2;5813:9;5809:18;5790:38;:::i;:::-;5780:48;;5875:2;5864:9;5860:18;5847:32;5837:42;;5930:2;5919:9;5915:18;5902:32;5953:18;5994:2;5986:6;5983:14;5980:34;;;6010:1;6007;6000:12;5980:34;6048:6;6037:9;6033:22;6023:32;;6093:7;6086:4;6082:2;6078:13;6074:27;6064:55;;6115:1;6112;6105:12;6064:55;6151:2;6138:16;6173:2;6169;6166:10;6163:36;;;6179:18;;:::i;:::-;6254:2;6248:9;6222:2;6308:13;;-1:-1:-1;;6304:22:1;;;6328:2;6300:31;6296:40;6284:53;;;6352:18;;;6372:22;;;6349:46;6346:72;;;6398:18;;:::i;:::-;6438:10;6434:2;6427:22;6473:2;6465:6;6458:18;6513:7;6508:2;6503;6499;6495:11;6491:20;6488:33;6485:53;;;6534:1;6531;6524:12;6485:53;6590:2;6585;6581;6577:11;6572:2;6564:6;6560:15;6547:46;6635:1;6630:2;6625;6617:6;6613:15;6609:24;6602:35;6656:6;6646:16;;;;;;;5530:1138;;;;;;;:::o;6673:260::-;6741:6;6749;6802:2;6790:9;6781:7;6777:23;6773:32;6770:52;;;6818:1;6815;6808:12;6770:52;6841:29;6860:9;6841:29;:::i;:::-;6831:39;;6889:38;6923:2;6912:9;6908:18;6889:38;:::i;6938:380::-;7017:1;7013:12;;;;7060;;;7081:61;;7135:4;7127:6;7123:17;7113:27;;7081:61;7188:2;7180:6;7177:14;7157:18;7154:38;7151:161;;7234:10;7229:3;7225:20;7222:1;7215:31;7269:4;7266:1;7259:15;7297:4;7294:1;7287:15;7151:161;;6938:380;;;:::o;8563:413::-;8765:2;8747:21;;;8804:2;8784:18;;;8777:30;8843:34;8838:2;8823:18;;8816:62;-1:-1:-1;;;8909:2:1;8894:18;;8887:47;8966:3;8951:19;;8563:413::o;10501:127::-;10562:10;10557:3;10553:20;10550:1;10543:31;10593:4;10590:1;10583:15;10617:4;10614:1;10607:15;11580:1335;11756:3;11794:6;11788:13;11820:4;11833:51;11877:6;11872:3;11867:2;11859:6;11855:15;11833:51;:::i;:::-;11969:13;;11906:16;;;;11942:1;;12029;12051:18;;;;12104;;;;12131:93;;12209:4;12199:8;12195:19;12183:31;;12131:93;12272:2;12262:8;12259:16;12239:18;12236:40;12233:167;;-1:-1:-1;;;12299:33:1;;12355:4;12352:1;12345:15;12385:4;12306:3;12373:17;12233:167;12416:18;12443:110;;;;12567:1;12562:328;;;;12409:481;;12443:110;-1:-1:-1;;12478:24:1;;12464:39;;12523:20;;;;-1:-1:-1;12443:110:1;;12562:328;11527:1;11520:14;;;11564:4;11551:18;;12657:1;12671:169;12685:8;12682:1;12679:15;12671:169;;;12767:14;;12752:13;;;12745:37;12810:16;;;;12702:10;;12671:169;;;12675:3;;12871:8;12864:5;12860:20;12853:27;;12409:481;-1:-1:-1;12906:3:1;;11580:1335;-1:-1:-1;;;;;;;;;;11580:1335:1:o;12920:480::-;-1:-1:-1;;;;;13145:32:1;;13127:51;;13214:2;13209;13194:18;;13187:30;;;-1:-1:-1;;13240:45:1;;13266:18;;13258:6;13240:45;:::i;:::-;13333:9;13325:6;13321:22;13316:2;13305:9;13301:18;13294:50;13361:33;13387:6;13379;13361:33;:::i;:::-;13353:41;12920:480;-1:-1:-1;;;;;;12920:480:1:o;14629:127::-;14690:10;14685:3;14681:20;14678:1;14671:31;14721:4;14718:1;14711:15;14745:4;14742:1;14735:15;14761:125;14801:4;14829:1;14826;14823:8;14820:34;;;14834:18;;:::i;:::-;-1:-1:-1;14871:9:1;;14761:125::o;14891:128::-;14931:3;14962:1;14958:6;14955:1;14952:13;14949:39;;;14968:18;;:::i;:::-;-1:-1:-1;15004:9:1;;14891:128::o;15024:414::-;15226:2;15208:21;;;15265:2;15245:18;;;15238:30;15304:34;15299:2;15284:18;;15277:62;-1:-1:-1;;;15370:2:1;15355:18;;15348:48;15428:3;15413:19;;15024:414::o;15443:135::-;15482:3;15503:17;;;15500:43;;15523:18;;:::i;:::-;-1:-1:-1;15570:1:1;15559:13;;15443:135::o;15583:267::-;15672:6;15667:3;15660:19;15724:6;15717:5;15710:4;15705:3;15701:14;15688:43;-1:-1:-1;15776:1:1;15751:16;;;15769:4;15747:27;;;15740:38;;;;15832:2;15811:15;;;-1:-1:-1;;15807:29:1;15798:39;;;15794:50;;15583:267::o;15855:534::-;-1:-1:-1;;;;;16100:32:1;;16082:51;;16169:2;16164;16149:18;;16142:30;;;-1:-1:-1;;16195:62:1;;16238:18;;16230:6;16222;16195:62;:::i;:::-;16305:9;16297:6;16293:22;16288:2;16277:9;16273:18;16266:50;16333;16376:6;16368;16360;16333:50;:::i;:::-;16325:58;15855:534;-1:-1:-1;;;;;;;;15855:534:1:o;16748:489::-;-1:-1:-1;;;;;17017:15:1;;;16999:34;;17069:15;;17064:2;17049:18;;17042:43;17116:2;17101:18;;17094:34;;;17164:3;17159:2;17144:18;;17137:31;;;16942:4;;17185:46;;17211:19;;17203:6;17185:46;:::i;17242:249::-;17311:6;17364:2;17352:9;17343:7;17339:23;17335:32;17332:52;;;17380:1;17377;17370:12;17332:52;17412:9;17406:16;17431:30;17455:5;17431:30;:::i;17496:786::-;17907:25;17902:3;17895:38;17877:3;17962:6;17956:13;17978:62;18033:6;18028:2;18023:3;18019:12;18012:4;18004:6;18000:17;17978:62;:::i;:::-;-1:-1:-1;;;18099:2:1;18059:16;;;18091:11;;;18084:40;18149:13;;18171:63;18149:13;18220:2;18212:11;;18205:4;18193:17;;18171:63;:::i;:::-;18254:17;18273:2;18250:26;;17496:786;-1:-1:-1;;;;17496:786:1:o;19005:127::-;19066:10;19061:3;19057:20;19054:1;19047:31;19097:4;19094:1;19087:15;19121:4;19118:1;19111:15;19137:168;19177:7;19243:1;19239;19235:6;19231:14;19228:1;19225:21;19220:1;19213:9;19206:17;19202:45;19199:71;;;19250:18;;:::i;:::-;-1:-1:-1;19290:9:1;;19137:168::o;19310:136::-;19349:3;19377:5;19367:39;;19386:18;;:::i;:::-;-1:-1:-1;;;19422:18:1;;19310:136::o
Swarm Source
ipfs://3f2e4e111ebb14fcfd48ed3bd43792e9c4741b8397a395e4ca24c266823abf88
Loading...
Loading
Loading...
Loading
[ 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.