Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 172 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Mint | 18866922 | 333 days ago | IN | 0 ETH | 0.00099901 | ||||
Mint | 18866890 | 333 days ago | IN | 0 ETH | 0.00075894 | ||||
Mint | 18554406 | 377 days ago | IN | 0 ETH | 0.00126618 | ||||
Mint | 17059084 | 586 days ago | IN | 0 ETH | 0.0015758 | ||||
Mint | 17010185 | 593 days ago | IN | 0 ETH | 0.00144973 | ||||
Mint | 16758284 | 629 days ago | IN | 0 ETH | 0.00155715 | ||||
Mint | 16730273 | 633 days ago | IN | 0 ETH | 0.00114899 | ||||
Mint | 16494843 | 666 days ago | IN | 0 ETH | 0.00118872 | ||||
Mint | 16494474 | 666 days ago | IN | 0 ETH | 0.00129118 | ||||
Mint | 16489971 | 666 days ago | IN | 0 ETH | 0.00110272 | ||||
Mint | 16489788 | 667 days ago | IN | 0 ETH | 0.00107783 | ||||
Mint | 16388666 | 681 days ago | IN | 0 ETH | 0.00113773 | ||||
Mint | 16388650 | 681 days ago | IN | 0 ETH | 0.00112913 | ||||
Mint | 16385764 | 681 days ago | IN | 0 ETH | 0.00228646 | ||||
Set Approval For... | 16383238 | 681 days ago | IN | 0 ETH | 0.00074361 | ||||
Mint | 16363062 | 684 days ago | IN | 0 ETH | 0.00162149 | ||||
Mint | 16363028 | 684 days ago | IN | 0 ETH | 0.00127466 | ||||
Mint | 16360107 | 685 days ago | IN | 0 ETH | 0.0010296 | ||||
Mint | 16340787 | 687 days ago | IN | 0 ETH | 0.00157745 | ||||
Mint | 16335364 | 688 days ago | IN | 0 ETH | 0.00126897 | ||||
Mint | 16314929 | 691 days ago | IN | 0 ETH | 0.00094332 | ||||
Mint | 16209296 | 706 days ago | IN | 0 ETH | 0.0009473 | ||||
Set Approval For... | 16195721 | 708 days ago | IN | 0 ETH | 0.00061861 | ||||
Mint | 16105611 | 720 days ago | IN | 0 ETH | 0.00070398 | ||||
Mint | 16101475 | 721 days ago | IN | 0 ETH | 0.00075182 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
15848403 | 756 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Contract Name:
MagicMirrorNFT
Compiler Version
v0.8.13+commit.abaa5c0e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { Strings } from "@openzeppelin/contracts/utils/Strings.sol"; import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; /** * @title MagicMirrorNFT * @notice MagicMirrorNFT is a contract for mirroring NFTs on other networks. MagicMirror is meant * to be used in conjunction with a trusted MagicMirror backend. It's possible to use the * same backend to serve NFTs for multiple different networks by specifying a chain ID. */ contract MagicMirrorNFT is ERC721, Ownable { /** * @notice URI for the MagicMirror backend server. */ string public api; /** * @notice Chain ID for the chain to mirror NFTs on. */ uint256 public immutable chain; /** * @param _api URI for the MagicMirror backend server. * @param _chain Chain ID for the chain to mirror NFTs on. */ constructor( address _owner, string memory _api, uint256 _chain ) ERC721("Magic Mirror NFT", "MMNFT") { api = _api; chain = _chain; _transferOwnership(_owner); } /** * @notice Mints a new MagicMirror NFT. */ function mint() public { _mint(msg.sender, uint256(uint160(msg.sender))); } /** * @notice Retrieves the URI for a given token. * * @param _tokenId ID of the token to retrieve a URI for. * * @return URI for the given token. */ function tokenURI( uint256 _tokenId ) public override view returns ( string memory ) { return string( abi.encodePacked( api, Strings.toString(chain), "/", Strings.toHexString(uint160(_tokenId)) ) ); } /** * @notice Allows the owner to set the API URL. * * @param _api API for the MagicMirror backend server. */ function setAPI( string memory _api ) public onlyOwner { api = _api; } /** * @notice Transfers are blocked. */ function _transfer( address, address, uint256 ) internal override pure { revert("MagicMirrorNFT: mirrored NFTs cannot be transferred"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"string","name":"_api","type":"string"},{"internalType":"uint256","name":"_chain","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"api","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"chain","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_api","type":"string"}],"name":"setAPI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b50604051620034ec380380620034ec8339818101604052810190620000379190620004ed565b6040518060400160405280601081526020017f4d61676963204d6972726f72204e4654000000000000000000000000000000008152506040518060400160405280600581526020017f4d4d4e46540000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000200565b508060019080519060200190620000d492919062000200565b505050620000f7620000eb6200013260201b60201c565b6200013a60201b60201c565b81600790805190602001906200010f92919062000200565b50806080818152505062000129836200013a60201b60201c565b505050620005cc565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200020e9062000597565b90600052602060002090601f0160209004810192826200023257600085556200027e565b82601f106200024d57805160ff19168380011785556200027e565b828001600101855582156200027e579182015b828111156200027d57825182559160200191906001019062000260565b5b5090506200028d919062000291565b5090565b5b80821115620002ac57600081600090555060010162000292565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002f182620002c4565b9050919050565b6200030381620002e4565b81146200030f57600080fd5b50565b6000815190506200032381620002f8565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200037e8262000333565b810181811067ffffffffffffffff82111715620003a0576200039f62000344565b5b80604052505050565b6000620003b5620002b0565b9050620003c3828262000373565b919050565b600067ffffffffffffffff821115620003e657620003e562000344565b5b620003f18262000333565b9050602081019050919050565b60005b838110156200041e57808201518184015260208101905062000401565b838111156200042e576000848401525b50505050565b60006200044b6200044584620003c8565b620003a9565b9050828152602081018484840111156200046a57620004696200032e565b5b62000477848285620003fe565b509392505050565b600082601f83011262000497576200049662000329565b5b8151620004a984826020860162000434565b91505092915050565b6000819050919050565b620004c781620004b2565b8114620004d357600080fd5b50565b600081519050620004e781620004bc565b92915050565b600080600060608486031215620005095762000508620002ba565b5b6000620005198682870162000312565b935050602084015167ffffffffffffffff8111156200053d576200053c620002bf565b5b6200054b868287016200047f565b92505060406200055e86828701620004d6565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005b057607f821691505b602082108103620005c657620005c562000568565b5b50919050565b608051612efd620005ef60003960008181610b2d0152610b580152612efd6000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063c763e5a111610071578063c763e5a114610307578063c87b56dd14610325578063d2c18e0b14610355578063e985e9c514610373578063f2fde38b146103a35761012c565b8063715018a6146102895780638da5cb5b1461029357806395d89b41146102b1578063a22cb465146102cf578063b88d4fde146102eb5761012c565b806323b872dd116100f457806323b872dd146101d557806342842e0e146101f15780636352211e1461020d578063696cf2a01461023d57806370a08231146102595761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af5780631249c58b146101cb575b600080fd5b61014b60048036038101906101469190611bd7565b6103bf565b6040516101589190611c1f565b60405180910390f35b6101696104a1565b6040516101769190611cd3565b60405180910390f35b61019960048036038101906101949190611d2b565b610533565b6040516101a69190611d99565b60405180910390f35b6101c960048036038101906101c49190611de0565b6105b8565b005b6101d36106cf565b005b6101ef60048036038101906101ea9190611e20565b6106f1565b005b61020b60048036038101906102069190611e20565b610751565b005b61022760048036038101906102229190611d2b565b610771565b6040516102349190611d99565b60405180910390f35b61025760048036038101906102529190611fa8565b610822565b005b610273600480360381019061026e9190611ff1565b6108b8565b604051610280919061202d565b60405180910390f35b61029161096f565b005b61029b6109f7565b6040516102a89190611d99565b60405180910390f35b6102b9610a21565b6040516102c69190611cd3565b60405180910390f35b6102e960048036038101906102e49190612074565b610ab3565b005b61030560048036038101906103009190612155565b610ac9565b005b61030f610b2b565b60405161031c919061202d565b60405180910390f35b61033f600480360381019061033a9190611d2b565b610b4f565b60405161034c9190611cd3565b60405180910390f35b61035d610bc3565b60405161036a9190611cd3565b60405180910390f35b61038d600480360381019061038891906121d8565b610c51565b60405161039a9190611c1f565b60405180910390f35b6103bd60048036038101906103b89190611ff1565b610ce5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061049a575061049982610ddc565b5b9050919050565b6060600080546104b090612247565b80601f01602080910402602001604051908101604052809291908181526020018280546104dc90612247565b80156105295780601f106104fe57610100808354040283529160200191610529565b820191906000526020600020905b81548152906001019060200180831161050c57829003601f168201915b5050505050905090565b600061053e82610e46565b61057d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610574906122ea565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105c382610771565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a9061237c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610652610eb2565b73ffffffffffffffffffffffffffffffffffffffff16148061068157506106808161067b610eb2565b610c51565b5b6106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b79061240e565b60405180910390fd5b6106ca8383610eba565b505050565b6106ef333373ffffffffffffffffffffffffffffffffffffffff16610f73565b565b6107026106fc610eb2565b8261114c565b610741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610738906124a0565b60405180910390fd5b61074c83838361122a565b505050565b61076c83838360405180602001604052806000815250610ac9565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081090612532565b60405180910390fd5b80915050919050565b61082a610eb2565b73ffffffffffffffffffffffffffffffffffffffff166108486109f7565b73ffffffffffffffffffffffffffffffffffffffff161461089e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108959061259e565b60405180910390fd5b80600790805190602001906108b4929190611ac8565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091f90612630565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610977610eb2565b73ffffffffffffffffffffffffffffffffffffffff166109956109f7565b73ffffffffffffffffffffffffffffffffffffffff16146109eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e29061259e565b60405180910390fd5b6109f56000611265565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610a3090612247565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90612247565b8015610aa95780601f10610a7e57610100808354040283529160200191610aa9565b820191906000526020600020905b815481529060010190602001808311610a8c57829003601f168201915b5050505050905090565b610ac5610abe610eb2565b838361132b565b5050565b610ada610ad4610eb2565b8361114c565b610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b10906124a0565b60405180910390fd5b610b2584848484611497565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60606007610b7c7f00000000000000000000000000000000000000000000000000000000000000006114f3565b610b9b8473ffffffffffffffffffffffffffffffffffffffff16611653565b604051602001610bad9392919061276c565b6040516020818303038152906040529050919050565b60078054610bd090612247565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfc90612247565b8015610c495780601f10610c1e57610100808354040283529160200191610c49565b820191906000526020600020905b815481529060010190602001808311610c2c57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610ced610eb2565b73ffffffffffffffffffffffffffffffffffffffff16610d0b6109f7565b73ffffffffffffffffffffffffffffffffffffffff1614610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d589061259e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc79061281a565b60405180910390fd5b610dd981611265565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f2d83610771565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990612886565b60405180910390fd5b610feb81610e46565b1561102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906128f2565b60405180910390fd5b611037600083836116d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110879190612941565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611148600083836116dd565b5050565b600061115782610e46565b611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90612a09565b60405180910390fd5b60006111a183610771565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806111e357506111e28185610c51565b5b8061122157508373ffffffffffffffffffffffffffffffffffffffff1661120984610533565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90612a9b565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139090612b07565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161148a9190611c1f565b60405180910390a3505050565b6114a284848461122a565b6114ae848484846116e2565b6114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e490612b99565b60405180910390fd5b50505050565b60606000820361153a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061164e565b600082905060005b6000821461156c57808061155590612bb9565b915050600a826115659190612c30565b9150611542565b60008167ffffffffffffffff81111561158857611587611e7d565b5b6040519080825280601f01601f1916602001820160405280156115ba5781602001600182028036833780820191505090505b5090505b60008514611647576001826115d39190612c61565b9150600a856115e29190612c95565b60306115ee9190612941565b60f81b81838151811061160457611603612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856116409190612c30565b94506115be565b8093505050505b919050565b60606000820361169a576040518060400160405280600481526020017f307830300000000000000000000000000000000000000000000000000000000081525090506116d3565b600082905060005b600082146116c45780806116b590612bb9565b915050600882901c91506116a2565b6116ce8482611869565b925050505b919050565b505050565b505050565b60006117038473ffffffffffffffffffffffffffffffffffffffff16611aa5565b1561185c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261172c610eb2565b8786866040518563ffffffff1660e01b815260040161174e9493929190612d4a565b6020604051808303816000875af192505050801561178a57506040513d601f19601f820116820180604052508101906117879190612dab565b60015b61180c573d80600081146117ba576040519150601f19603f3d011682016040523d82523d6000602084013e6117bf565b606091505b506000815103611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90612b99565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611861565b600190505b949350505050565b60606000600283600261187c9190612dd8565b6118869190612941565b67ffffffffffffffff81111561189f5761189e611e7d565b5b6040519080825280601f01601f1916602001820160405280156118d15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061190957611908612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061196d5761196c612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026119ad9190612dd8565b6119b79190612941565b90505b6001811115611a57577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106119f9576119f8612cc6565b5b1a60f81b828281518110611a1057611a0f612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611a5090612e32565b90506119ba565b5060008414611a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9290612ea7565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054611ad490612247565b90600052602060002090601f016020900481019282611af65760008555611b3d565b82601f10611b0f57805160ff1916838001178555611b3d565b82800160010185558215611b3d579182015b82811115611b3c578251825591602001919060010190611b21565b5b509050611b4a9190611b4e565b5090565b5b80821115611b67576000816000905550600101611b4f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bb481611b7f565b8114611bbf57600080fd5b50565b600081359050611bd181611bab565b92915050565b600060208284031215611bed57611bec611b75565b5b6000611bfb84828501611bc2565b91505092915050565b60008115159050919050565b611c1981611c04565b82525050565b6000602082019050611c346000830184611c10565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c74578082015181840152602081019050611c59565b83811115611c83576000848401525b50505050565b6000601f19601f8301169050919050565b6000611ca582611c3a565b611caf8185611c45565b9350611cbf818560208601611c56565b611cc881611c89565b840191505092915050565b60006020820190508181036000830152611ced8184611c9a565b905092915050565b6000819050919050565b611d0881611cf5565b8114611d1357600080fd5b50565b600081359050611d2581611cff565b92915050565b600060208284031215611d4157611d40611b75565b5b6000611d4f84828501611d16565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d8382611d58565b9050919050565b611d9381611d78565b82525050565b6000602082019050611dae6000830184611d8a565b92915050565b611dbd81611d78565b8114611dc857600080fd5b50565b600081359050611dda81611db4565b92915050565b60008060408385031215611df757611df6611b75565b5b6000611e0585828601611dcb565b9250506020611e1685828601611d16565b9150509250929050565b600080600060608486031215611e3957611e38611b75565b5b6000611e4786828701611dcb565b9350506020611e5886828701611dcb565b9250506040611e6986828701611d16565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611eb582611c89565b810181811067ffffffffffffffff82111715611ed457611ed3611e7d565b5b80604052505050565b6000611ee7611b6b565b9050611ef38282611eac565b919050565b600067ffffffffffffffff821115611f1357611f12611e7d565b5b611f1c82611c89565b9050602081019050919050565b82818337600083830152505050565b6000611f4b611f4684611ef8565b611edd565b905082815260208101848484011115611f6757611f66611e78565b5b611f72848285611f29565b509392505050565b600082601f830112611f8f57611f8e611e73565b5b8135611f9f848260208601611f38565b91505092915050565b600060208284031215611fbe57611fbd611b75565b5b600082013567ffffffffffffffff811115611fdc57611fdb611b7a565b5b611fe884828501611f7a565b91505092915050565b60006020828403121561200757612006611b75565b5b600061201584828501611dcb565b91505092915050565b61202781611cf5565b82525050565b6000602082019050612042600083018461201e565b92915050565b61205181611c04565b811461205c57600080fd5b50565b60008135905061206e81612048565b92915050565b6000806040838503121561208b5761208a611b75565b5b600061209985828601611dcb565b92505060206120aa8582860161205f565b9150509250929050565b600067ffffffffffffffff8211156120cf576120ce611e7d565b5b6120d882611c89565b9050602081019050919050565b60006120f86120f3846120b4565b611edd565b90508281526020810184848401111561211457612113611e78565b5b61211f848285611f29565b509392505050565b600082601f83011261213c5761213b611e73565b5b813561214c8482602086016120e5565b91505092915050565b6000806000806080858703121561216f5761216e611b75565b5b600061217d87828801611dcb565b945050602061218e87828801611dcb565b935050604061219f87828801611d16565b925050606085013567ffffffffffffffff8111156121c0576121bf611b7a565b5b6121cc87828801612127565b91505092959194509250565b600080604083850312156121ef576121ee611b75565b5b60006121fd85828601611dcb565b925050602061220e85828601611dcb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061225f57607f821691505b60208210810361227257612271612218565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006122d4602c83611c45565b91506122df82612278565b604082019050919050565b60006020820190508181036000830152612303816122c7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612366602183611c45565b91506123718261230a565b604082019050919050565b6000602082019050818103600083015261239581612359565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006123f8603883611c45565b91506124038261239c565b604082019050919050565b60006020820190508181036000830152612427816123eb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061248a603183611c45565b91506124958261242e565b604082019050919050565b600060208201905081810360008301526124b98161247d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061251c602983611c45565b9150612527826124c0565b604082019050919050565b6000602082019050818103600083015261254b8161250f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612588602083611c45565b915061259382612552565b602082019050919050565b600060208201905081810360008301526125b78161257b565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061261a602a83611c45565b9150612625826125be565b604082019050919050565b600060208201905081810360008301526126498161260d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461267d81612247565b6126878186612650565b945060018216600081146126a257600181146126b3576126e6565b60ff198316865281860193506126e6565b6126bc8561265b565b60005b838110156126de578154818901526001820191506020810190506126bf565b838801955050505b50505092915050565b60006126fa82611c3a565b6127048185612650565b9350612714818560208601611c56565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000612756600183612650565b915061276182612720565b600182019050919050565b60006127788286612670565b915061278482856126ef565b915061278f82612749565b915061279b82846126ef565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612804602683611c45565b915061280f826127a8565b604082019050919050565b60006020820190508181036000830152612833816127f7565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612870602083611c45565b915061287b8261283a565b602082019050919050565b6000602082019050818103600083015261289f81612863565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006128dc601c83611c45565b91506128e7826128a6565b602082019050919050565b6000602082019050818103600083015261290b816128cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061294c82611cf5565b915061295783611cf5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561298c5761298b612912565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006129f3602c83611c45565b91506129fe82612997565b604082019050919050565b60006020820190508181036000830152612a22816129e6565b9050919050565b7f4d616769634d6972726f724e46543a206d6972726f726564204e46547320636160008201527f6e6e6f74206265207472616e7366657272656400000000000000000000000000602082015250565b6000612a85603383611c45565b9150612a9082612a29565b604082019050919050565b60006020820190508181036000830152612ab481612a78565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612af1601983611c45565b9150612afc82612abb565b602082019050919050565b60006020820190508181036000830152612b2081612ae4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612b83603283611c45565b9150612b8e82612b27565b604082019050919050565b60006020820190508181036000830152612bb281612b76565b9050919050565b6000612bc482611cf5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612bf657612bf5612912565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612c3b82611cf5565b9150612c4683611cf5565b925082612c5657612c55612c01565b5b828204905092915050565b6000612c6c82611cf5565b9150612c7783611cf5565b925082821015612c8a57612c89612912565b5b828203905092915050565b6000612ca082611cf5565b9150612cab83611cf5565b925082612cbb57612cba612c01565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000612d1c82612cf5565b612d268185612d00565b9350612d36818560208601611c56565b612d3f81611c89565b840191505092915050565b6000608082019050612d5f6000830187611d8a565b612d6c6020830186611d8a565b612d79604083018561201e565b8181036060830152612d8b8184612d11565b905095945050505050565b600081519050612da581611bab565b92915050565b600060208284031215612dc157612dc0611b75565b5b6000612dcf84828501612d96565b91505092915050565b6000612de382611cf5565b9150612dee83611cf5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e2757612e26612912565b5b828202905092915050565b6000612e3d82611cf5565b915060008203612e5057612e4f612912565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612e91602083611c45565b9150612e9c82612e5b565b602082019050919050565b60006020820190508181036000830152612ec081612e84565b905091905056fea264697066735822122002052d95cf379ab6c01ea780e6e436980f945775aa766ecf69b42d87cea4054864736f6c634300080d003300000000000000000000000068108902de3a5031197a6eb3b74b3b033e8e8e4d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6f7066702e6172742f6170692f6d6972726f722f7572692f
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063c763e5a111610071578063c763e5a114610307578063c87b56dd14610325578063d2c18e0b14610355578063e985e9c514610373578063f2fde38b146103a35761012c565b8063715018a6146102895780638da5cb5b1461029357806395d89b41146102b1578063a22cb465146102cf578063b88d4fde146102eb5761012c565b806323b872dd116100f457806323b872dd146101d557806342842e0e146101f15780636352211e1461020d578063696cf2a01461023d57806370a08231146102595761012c565b806301ffc9a71461013157806306fdde0314610161578063081812fc1461017f578063095ea7b3146101af5780631249c58b146101cb575b600080fd5b61014b60048036038101906101469190611bd7565b6103bf565b6040516101589190611c1f565b60405180910390f35b6101696104a1565b6040516101769190611cd3565b60405180910390f35b61019960048036038101906101949190611d2b565b610533565b6040516101a69190611d99565b60405180910390f35b6101c960048036038101906101c49190611de0565b6105b8565b005b6101d36106cf565b005b6101ef60048036038101906101ea9190611e20565b6106f1565b005b61020b60048036038101906102069190611e20565b610751565b005b61022760048036038101906102229190611d2b565b610771565b6040516102349190611d99565b60405180910390f35b61025760048036038101906102529190611fa8565b610822565b005b610273600480360381019061026e9190611ff1565b6108b8565b604051610280919061202d565b60405180910390f35b61029161096f565b005b61029b6109f7565b6040516102a89190611d99565b60405180910390f35b6102b9610a21565b6040516102c69190611cd3565b60405180910390f35b6102e960048036038101906102e49190612074565b610ab3565b005b61030560048036038101906103009190612155565b610ac9565b005b61030f610b2b565b60405161031c919061202d565b60405180910390f35b61033f600480360381019061033a9190611d2b565b610b4f565b60405161034c9190611cd3565b60405180910390f35b61035d610bc3565b60405161036a9190611cd3565b60405180910390f35b61038d600480360381019061038891906121d8565b610c51565b60405161039a9190611c1f565b60405180910390f35b6103bd60048036038101906103b89190611ff1565b610ce5565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061048a57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061049a575061049982610ddc565b5b9050919050565b6060600080546104b090612247565b80601f01602080910402602001604051908101604052809291908181526020018280546104dc90612247565b80156105295780601f106104fe57610100808354040283529160200191610529565b820191906000526020600020905b81548152906001019060200180831161050c57829003601f168201915b5050505050905090565b600061053e82610e46565b61057d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610574906122ea565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105c382610771565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161062a9061237c565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610652610eb2565b73ffffffffffffffffffffffffffffffffffffffff16148061068157506106808161067b610eb2565b610c51565b5b6106c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106b79061240e565b60405180910390fd5b6106ca8383610eba565b505050565b6106ef333373ffffffffffffffffffffffffffffffffffffffff16610f73565b565b6107026106fc610eb2565b8261114c565b610741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610738906124a0565b60405180910390fd5b61074c83838361122a565b505050565b61076c83838360405180602001604052806000815250610ac9565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610819576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161081090612532565b60405180910390fd5b80915050919050565b61082a610eb2565b73ffffffffffffffffffffffffffffffffffffffff166108486109f7565b73ffffffffffffffffffffffffffffffffffffffff161461089e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108959061259e565b60405180910390fd5b80600790805190602001906108b4929190611ac8565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161091f90612630565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610977610eb2565b73ffffffffffffffffffffffffffffffffffffffff166109956109f7565b73ffffffffffffffffffffffffffffffffffffffff16146109eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109e29061259e565b60405180910390fd5b6109f56000611265565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610a3090612247565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90612247565b8015610aa95780601f10610a7e57610100808354040283529160200191610aa9565b820191906000526020600020905b815481529060010190602001808311610a8c57829003601f168201915b5050505050905090565b610ac5610abe610eb2565b838361132b565b5050565b610ada610ad4610eb2565b8361114c565b610b19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b10906124a0565b60405180910390fd5b610b2584848484611497565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000a81565b60606007610b7c7f000000000000000000000000000000000000000000000000000000000000000a6114f3565b610b9b8473ffffffffffffffffffffffffffffffffffffffff16611653565b604051602001610bad9392919061276c565b6040516020818303038152906040529050919050565b60078054610bd090612247565b80601f0160208091040260200160405190810160405280929190818152602001828054610bfc90612247565b8015610c495780601f10610c1e57610100808354040283529160200191610c49565b820191906000526020600020905b815481529060010190602001808311610c2c57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610ced610eb2565b73ffffffffffffffffffffffffffffffffffffffff16610d0b6109f7565b73ffffffffffffffffffffffffffffffffffffffff1614610d61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d589061259e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc79061281a565b60405180910390fd5b610dd981611265565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16610f2d83610771565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610fe2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd990612886565b60405180910390fd5b610feb81610e46565b1561102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906128f2565b60405180910390fd5b611037600083836116d8565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546110879190612941565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611148600083836116dd565b5050565b600061115782610e46565b611196576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118d90612a09565b60405180910390fd5b60006111a183610771565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806111e357506111e28185610c51565b5b8061122157508373ffffffffffffffffffffffffffffffffffffffff1661120984610533565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125c90612a9b565b60405180910390fd5b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611399576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139090612b07565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161148a9190611c1f565b60405180910390a3505050565b6114a284848461122a565b6114ae848484846116e2565b6114ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e490612b99565b60405180910390fd5b50505050565b60606000820361153a576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061164e565b600082905060005b6000821461156c57808061155590612bb9565b915050600a826115659190612c30565b9150611542565b60008167ffffffffffffffff81111561158857611587611e7d565b5b6040519080825280601f01601f1916602001820160405280156115ba5781602001600182028036833780820191505090505b5090505b60008514611647576001826115d39190612c61565b9150600a856115e29190612c95565b60306115ee9190612941565b60f81b81838151811061160457611603612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856116409190612c30565b94506115be565b8093505050505b919050565b60606000820361169a576040518060400160405280600481526020017f307830300000000000000000000000000000000000000000000000000000000081525090506116d3565b600082905060005b600082146116c45780806116b590612bb9565b915050600882901c91506116a2565b6116ce8482611869565b925050505b919050565b505050565b505050565b60006117038473ffffffffffffffffffffffffffffffffffffffff16611aa5565b1561185c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261172c610eb2565b8786866040518563ffffffff1660e01b815260040161174e9493929190612d4a565b6020604051808303816000875af192505050801561178a57506040513d601f19601f820116820180604052508101906117879190612dab565b60015b61180c573d80600081146117ba576040519150601f19603f3d011682016040523d82523d6000602084013e6117bf565b606091505b506000815103611804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117fb90612b99565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611861565b600190505b949350505050565b60606000600283600261187c9190612dd8565b6118869190612941565b67ffffffffffffffff81111561189f5761189e611e7d565b5b6040519080825280601f01601f1916602001820160405280156118d15781602001600182028036833780820191505090505b5090507f30000000000000000000000000000000000000000000000000000000000000008160008151811061190957611908612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f78000000000000000000000000000000000000000000000000000000000000008160018151811061196d5761196c612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026119ad9190612dd8565b6119b79190612941565b90505b6001811115611a57577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106119f9576119f8612cc6565b5b1a60f81b828281518110611a1057611a0f612cc6565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c945080611a5090612e32565b90506119ba565b5060008414611a9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9290612ea7565b60405180910390fd5b8091505092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b828054611ad490612247565b90600052602060002090601f016020900481019282611af65760008555611b3d565b82601f10611b0f57805160ff1916838001178555611b3d565b82800160010185558215611b3d579182015b82811115611b3c578251825591602001919060010190611b21565b5b509050611b4a9190611b4e565b5090565b5b80821115611b67576000816000905550600101611b4f565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b611bb481611b7f565b8114611bbf57600080fd5b50565b600081359050611bd181611bab565b92915050565b600060208284031215611bed57611bec611b75565b5b6000611bfb84828501611bc2565b91505092915050565b60008115159050919050565b611c1981611c04565b82525050565b6000602082019050611c346000830184611c10565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015611c74578082015181840152602081019050611c59565b83811115611c83576000848401525b50505050565b6000601f19601f8301169050919050565b6000611ca582611c3a565b611caf8185611c45565b9350611cbf818560208601611c56565b611cc881611c89565b840191505092915050565b60006020820190508181036000830152611ced8184611c9a565b905092915050565b6000819050919050565b611d0881611cf5565b8114611d1357600080fd5b50565b600081359050611d2581611cff565b92915050565b600060208284031215611d4157611d40611b75565b5b6000611d4f84828501611d16565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000611d8382611d58565b9050919050565b611d9381611d78565b82525050565b6000602082019050611dae6000830184611d8a565b92915050565b611dbd81611d78565b8114611dc857600080fd5b50565b600081359050611dda81611db4565b92915050565b60008060408385031215611df757611df6611b75565b5b6000611e0585828601611dcb565b9250506020611e1685828601611d16565b9150509250929050565b600080600060608486031215611e3957611e38611b75565b5b6000611e4786828701611dcb565b9350506020611e5886828701611dcb565b9250506040611e6986828701611d16565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b611eb582611c89565b810181811067ffffffffffffffff82111715611ed457611ed3611e7d565b5b80604052505050565b6000611ee7611b6b565b9050611ef38282611eac565b919050565b600067ffffffffffffffff821115611f1357611f12611e7d565b5b611f1c82611c89565b9050602081019050919050565b82818337600083830152505050565b6000611f4b611f4684611ef8565b611edd565b905082815260208101848484011115611f6757611f66611e78565b5b611f72848285611f29565b509392505050565b600082601f830112611f8f57611f8e611e73565b5b8135611f9f848260208601611f38565b91505092915050565b600060208284031215611fbe57611fbd611b75565b5b600082013567ffffffffffffffff811115611fdc57611fdb611b7a565b5b611fe884828501611f7a565b91505092915050565b60006020828403121561200757612006611b75565b5b600061201584828501611dcb565b91505092915050565b61202781611cf5565b82525050565b6000602082019050612042600083018461201e565b92915050565b61205181611c04565b811461205c57600080fd5b50565b60008135905061206e81612048565b92915050565b6000806040838503121561208b5761208a611b75565b5b600061209985828601611dcb565b92505060206120aa8582860161205f565b9150509250929050565b600067ffffffffffffffff8211156120cf576120ce611e7d565b5b6120d882611c89565b9050602081019050919050565b60006120f86120f3846120b4565b611edd565b90508281526020810184848401111561211457612113611e78565b5b61211f848285611f29565b509392505050565b600082601f83011261213c5761213b611e73565b5b813561214c8482602086016120e5565b91505092915050565b6000806000806080858703121561216f5761216e611b75565b5b600061217d87828801611dcb565b945050602061218e87828801611dcb565b935050604061219f87828801611d16565b925050606085013567ffffffffffffffff8111156121c0576121bf611b7a565b5b6121cc87828801612127565b91505092959194509250565b600080604083850312156121ef576121ee611b75565b5b60006121fd85828601611dcb565b925050602061220e85828601611dcb565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061225f57607f821691505b60208210810361227257612271612218565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006122d4602c83611c45565b91506122df82612278565b604082019050919050565b60006020820190508181036000830152612303816122c7565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612366602183611c45565b91506123718261230a565b604082019050919050565b6000602082019050818103600083015261239581612359565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006123f8603883611c45565b91506124038261239c565b604082019050919050565b60006020820190508181036000830152612427816123eb565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061248a603183611c45565b91506124958261242e565b604082019050919050565b600060208201905081810360008301526124b98161247d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061251c602983611c45565b9150612527826124c0565b604082019050919050565b6000602082019050818103600083015261254b8161250f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612588602083611c45565b915061259382612552565b602082019050919050565b600060208201905081810360008301526125b78161257b565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061261a602a83611c45565b9150612625826125be565b604082019050919050565b600060208201905081810360008301526126498161260d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461267d81612247565b6126878186612650565b945060018216600081146126a257600181146126b3576126e6565b60ff198316865281860193506126e6565b6126bc8561265b565b60005b838110156126de578154818901526001820191506020810190506126bf565b838801955050505b50505092915050565b60006126fa82611c3a565b6127048185612650565b9350612714818560208601611c56565b80840191505092915050565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b6000612756600183612650565b915061276182612720565b600182019050919050565b60006127788286612670565b915061278482856126ef565b915061278f82612749565b915061279b82846126ef565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000612804602683611c45565b915061280f826127a8565b604082019050919050565b60006020820190508181036000830152612833816127f7565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000612870602083611c45565b915061287b8261283a565b602082019050919050565b6000602082019050818103600083015261289f81612863565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006128dc601c83611c45565b91506128e7826128a6565b602082019050919050565b6000602082019050818103600083015261290b816128cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061294c82611cf5565b915061295783611cf5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561298c5761298b612912565b5b828201905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006129f3602c83611c45565b91506129fe82612997565b604082019050919050565b60006020820190508181036000830152612a22816129e6565b9050919050565b7f4d616769634d6972726f724e46543a206d6972726f726564204e46547320636160008201527f6e6e6f74206265207472616e7366657272656400000000000000000000000000602082015250565b6000612a85603383611c45565b9150612a9082612a29565b604082019050919050565b60006020820190508181036000830152612ab481612a78565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000612af1601983611c45565b9150612afc82612abb565b602082019050919050565b60006020820190508181036000830152612b2081612ae4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000612b83603283611c45565b9150612b8e82612b27565b604082019050919050565b60006020820190508181036000830152612bb281612b76565b9050919050565b6000612bc482611cf5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203612bf657612bf5612912565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612c3b82611cf5565b9150612c4683611cf5565b925082612c5657612c55612c01565b5b828204905092915050565b6000612c6c82611cf5565b9150612c7783611cf5565b925082821015612c8a57612c89612912565b5b828203905092915050565b6000612ca082611cf5565b9150612cab83611cf5565b925082612cbb57612cba612c01565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000612d1c82612cf5565b612d268185612d00565b9350612d36818560208601611c56565b612d3f81611c89565b840191505092915050565b6000608082019050612d5f6000830187611d8a565b612d6c6020830186611d8a565b612d79604083018561201e565b8181036060830152612d8b8184612d11565b905095945050505050565b600081519050612da581611bab565b92915050565b600060208284031215612dc157612dc0611b75565b5b6000612dcf84828501612d96565b91505092915050565b6000612de382611cf5565b9150612dee83611cf5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612e2757612e26612912565b5b828202905092915050565b6000612e3d82611cf5565b915060008203612e5057612e4f612912565b5b600182039050919050565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b6000612e91602083611c45565b9150612e9c82612e5b565b602082019050919050565b60006020820190508181036000830152612ec081612e84565b905091905056fea264697066735822122002052d95cf379ab6c01ea780e6e436980f945775aa766ecf69b42d87cea4054864736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000068108902de3a5031197a6eb3b74b3b033e8e8e4d0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f6f7066702e6172742f6170692f6d6972726f722f7572692f
-----Decoded View---------------
Arg [0] : _owner (address): 0x68108902De3A5031197a6eB3b74b3b033e8E8e4d
Arg [1] : _api (string): https://opfp.art/api/mirror/uri/
Arg [2] : _chain (uint256): 10
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000068108902de3a5031197a6eb3b74b3b033e8e8e4d
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [4] : 68747470733a2f2f6f7066702e6172742f6170692f6d6972726f722f7572692f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.