Source Code
Overview
ETH Balance
0.069 ETH
Eth Value
$142.74 (@ $2,068.68/ETH)More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 41 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Safe Transfer Fr... | 16826443 | 1108 days ago | IN | 0 ETH | 0.00586951 | ||||
| Safe Mint | 15480490 | 1298 days ago | IN | 0.069 ETH | 0.0018676 | ||||
| Withdraw | 15477564 | 1298 days ago | IN | 0 ETH | 0.00015355 | ||||
| Safe Mint | 15474162 | 1299 days ago | IN | 0.069 ETH | 0.00120201 | ||||
| Safe Mint | 15419390 | 1307 days ago | IN | 0.069 ETH | 0.00148764 | ||||
| Safe Mint | 15374434 | 1315 days ago | IN | 0.069 ETH | 0.00199534 | ||||
| Safe Mint | 15374406 | 1315 days ago | IN | 0.069 ETH | 0.00238713 | ||||
| Safe Mint | 15361713 | 1317 days ago | IN | 0.069 ETH | 0.00179267 | ||||
| Set Approval For... | 15349217 | 1319 days ago | IN | 0 ETH | 0.00059372 | ||||
| Safe Transfer Fr... | 15349204 | 1319 days ago | IN | 0 ETH | 0.00116349 | ||||
| Safe Mint | 15347911 | 1319 days ago | IN | 0.069 ETH | 0.00313057 | ||||
| Safe Mint | 15341004 | 1320 days ago | IN | 0.069 ETH | 0.00512162 | ||||
| Safe Mint | 15332957 | 1321 days ago | IN | 0.069 ETH | 0.00140976 | ||||
| Set Approval For... | 15327563 | 1322 days ago | IN | 0 ETH | 0.00143871 | ||||
| Transfer From | 15324643 | 1322 days ago | IN | 0 ETH | 0.00135765 | ||||
| Safe Mint | 15320204 | 1323 days ago | IN | 0.069 ETH | 0.00141034 | ||||
| Set Approval For... | 15310255 | 1325 days ago | IN | 0 ETH | 0.00069384 | ||||
| Set Approval For... | 15309132 | 1325 days ago | IN | 0 ETH | 0.0012261 | ||||
| Transfer From | 15308916 | 1325 days ago | IN | 0 ETH | 0.0018466 | ||||
| Safe Mint | 15308659 | 1325 days ago | IN | 0.069 ETH | 0.00480625 | ||||
| Safe Mint | 15299339 | 1326 days ago | IN | 0.069 ETH | 0.00145174 | ||||
| Safe Mint | 15298703 | 1327 days ago | IN | 0.069 ETH | 0.00210502 | ||||
| Safe Mint | 15298700 | 1327 days ago | IN | 0.069 ETH | 0.00242009 | ||||
| Safe Mint | 15290669 | 1328 days ago | IN | 0.069 ETH | 0.00128456 | ||||
| Safe Mint | 15283171 | 1329 days ago | IN | 0.069 ETH | 0.00340667 |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GoblinChest
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
contract GoblinChest is ERC721, ERC721Enumerable {
using Strings for uint256;
using Counters for Counters.Counter;
Counters.Counter private _tokenIds;
address private _owner;
uint256 private _maxSupply;
uint8 public constant DECIMALS = 18;
uint256 public constant MINT_PRICE = 49 * (10 ** DECIMALS) / 1000;
string private _baseTokenURI;
string private _revealedTokenURI;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event Reveal();
modifier onlyOwner() {
require(owner() == _msgSender(), "Ownable: caller is not the owner");
_;
}
constructor(uint256 maxSupply, string memory baseTokenURI) ERC721("Goblin Chest", "GCH") {
_maxSupply = maxSupply;
_baseTokenURI = baseTokenURI;
_setOwner(_msgSender());
}
function owner() public view virtual returns (address)
{
return _owner;
}
function withdraw() public onlyOwner
{
payable(_owner).transfer(address(this).balance);
}
function transferOwnership(address newOwner) public virtual onlyOwner
{
require(newOwner != address(0), "Ownable: new owner is the zero address");
_setOwner(newOwner);
}
function safeMintTo(address to) public onlyOwner returns (uint256)
{
return _localSafeMint(to);
}
function safeMint() payable public returns (uint256)
{
require(msg.value >= MINT_PRICE, "Sent amount is lower then mint price");
return _localSafeMint(msg.sender);
}
function reveal(string memory revealedTokenURI) public onlyOwner
{
_revealedTokenURI = revealedTokenURI;
emit Reveal();
}
function maxSupply() public view returns (uint256)
{
return _maxSupply;
}
function _localSafeMint(address receiver) private returns (uint256)
{
require(_tokenIds.current() < _maxSupply, "Max supply reached");
_tokenIds.increment();
uint256 newItemId = _tokenIds.current();
_safeMint(receiver, newItemId);
return newItemId;
}
function _setOwner(address newOwner) private
{
address oldOwner = _owner;
_owner = newOwner;
emit OwnershipTransferred(oldOwner, newOwner);
}
// The following functions are overrides required by Solidity.
function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool)
{
return super.supportsInterface(interfaceId);
}
function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory)
{
require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
string memory baseURI = _baseURI();
if (bytes(_revealedTokenURI).length == 0) {
return baseURI;
}
return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), ".json")) : "";
}
function _baseURI() internal view override(ERC721) returns (string memory)
{
return bytes(_revealedTokenURI).length > 0 ? _revealedTokenURI : _baseTokenURI;
}
function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable)
{
super._beforeTokenTransfer(from, to, tokenId);
}
function _burn(uint256 tokenId) internal override(ERC721) {
super._burn(tokenId);
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../ERC721.sol";
import "./IERC721Enumerable.sol";
/**
* @dev This implements an optional extension of {ERC721} defined in the EIP that adds
* enumerability of all the token ids in the contract as well as all token ids owned by each
* account.
*/
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
// Mapping from owner to list of owned token IDs
mapping(address => mapping(uint256 => uint256)) private _ownedTokens;
// Mapping from token ID to index of the owner tokens list
mapping(uint256 => uint256) private _ownedTokensIndex;
// Array with all token ids, used for enumeration
uint256[] private _allTokens;
// Mapping from token id to position in the allTokens array
mapping(uint256 => uint256) private _allTokensIndex;
/**
* @dev See {IERC165-supportsInterface}.
*/
function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
}
/**
* @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
return _ownedTokens[owner][index];
}
/**
* @dev See {IERC721Enumerable-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _allTokens.length;
}
/**
* @dev See {IERC721Enumerable-tokenByIndex}.
*/
function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
return _allTokens[index];
}
/**
* @dev Hook that is called before any token transfer. This includes minting
* and burning.
*
* Calling conditions:
*
* - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
* transferred to `to`.
* - When `from` is zero, `tokenId` will be minted for `to`.
* - When `to` is zero, ``from``'s `tokenId` will be burned.
* - `from` cannot be the zero address.
* - `to` cannot be the zero address.
*
* To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
*/
function _beforeTokenTransfer(
address from,
address to,
uint256 tokenId
) internal virtual override {
super._beforeTokenTransfer(from, to, tokenId);
if (from == address(0)) {
_addTokenToAllTokensEnumeration(tokenId);
} else if (from != to) {
_removeTokenFromOwnerEnumeration(from, tokenId);
}
if (to == address(0)) {
_removeTokenFromAllTokensEnumeration(tokenId);
} else if (to != from) {
_addTokenToOwnerEnumeration(to, tokenId);
}
}
/**
* @dev Private function to add a token to this extension's ownership-tracking data structures.
* @param to address representing the new owner of the given token ID
* @param tokenId uint256 ID of the token to be added to the tokens list of the given address
*/
function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
uint256 length = ERC721.balanceOf(to);
_ownedTokens[to][length] = tokenId;
_ownedTokensIndex[tokenId] = length;
}
/**
* @dev Private function to add a token to this extension's token tracking data structures.
* @param tokenId uint256 ID of the token to be added to the tokens list
*/
function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
_allTokensIndex[tokenId] = _allTokens.length;
_allTokens.push(tokenId);
}
/**
* @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
* while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
* gas optimizations e.g. when performing a transfer operation (avoiding double writes).
* This has O(1) time complexity, but alters the order of the _ownedTokens array.
* @param from address representing the previous owner of the given token ID
* @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
*/
function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
// To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
uint256 tokenIndex = _ownedTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary
if (tokenIndex != lastTokenIndex) {
uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];
_ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
}
// This also deletes the contents at the last position of the array
delete _ownedTokensIndex[tokenId];
delete _ownedTokens[from][lastTokenIndex];
}
/**
* @dev Private function to remove a token from this extension's token tracking data structures.
* This has O(1) time complexity, but alters the order of the _allTokens array.
* @param tokenId uint256 ID of the token to be removed from the tokens list
*/
function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
// To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
// then delete the last slot (swap and pop).
uint256 lastTokenIndex = _allTokens.length - 1;
uint256 tokenIndex = _allTokensIndex[tokenId];
// When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
// rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
// an 'if' statement (like in _removeTokenFromOwnerEnumeration)
uint256 lastTokenId = _allTokens[lastTokenIndex];
_allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
_allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
// This also deletes the contents at the last position of the array
delete _allTokensIndex[tokenId];
_allTokens.pop();
}
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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: address zero is not a valid owner");
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: invalid token ID");
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) {
_requireMinted(tokenId);
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 token owner nor approved for all"
);
_approve(to, tokenId);
}
/**
* @dev See {IERC721-getApproved}.
*/
function getApproved(uint256 tokenId) public view virtual override returns (address) {
_requireMinted(tokenId);
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: caller is not token 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: caller is not token 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) {
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 an {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 an {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 Reverts if the `tokenId` has not been minted yet.
*/
function _requireMinted(uint256 tokenId) internal view virtual {
require(_exists(tokenId), "ERC721: invalid token ID");
}
/**
* @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 {
/// @solidity memory-safe-assembly
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.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)
pragma solidity ^0.8.0;
import "../IERC721.sol";
/**
* @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
* @dev See https://eips.ethereum.org/EIPS/eip-721
*/
interface IERC721Enumerable is IERC721 {
/**
* @dev Returns the total amount of tokens stored by the contract.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns a token ID owned by `owner` at a given `index` of its token list.
* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
*/
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);
/**
* @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
* Use along with {totalSupply} to enumerate all tokens.
*/
function tokenByIndex(uint256 index) external view returns (uint256);
}// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 (last updated v4.7.0) (utils/Strings.sol)
pragma solidity ^0.8.0;
/**
* @dev String operations.
*/
library Strings {
bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
uint8 private constant _ADDRESS_LENGTH = 20;
/**
* @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);
}
/**
* @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
*/
function toHexString(address addr) internal pure returns (string memory) {
return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
}
}// 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 (last updated v4.7.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
/// @solidity memory-safe-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 (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.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 (last updated v4.7.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 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 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);
}{
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"string","name":"baseTokenURI","type":"string"}],"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":[],"name":"Reveal","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":"DECIMALS","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"string","name":"revealedTokenURI","type":"string"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"safeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"safeMintTo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200417b3803806200417b833981810160405281019062000037919062000332565b6040518060400160405280600c81526020017f476f626c696e20436865737400000000000000000000000000000000000000008152506040518060400160405280600381526020017f47434800000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb929190620001ed565b508060019080519060200190620000d4929190620001ed565b50505081600c8190555080600d9080519060200190620000f6929190620001ed565b50620001176200010b6200011f60201b60201c565b6200012760201b60201c565b505062000540565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001fb9062000437565b90600052602060002090601f0160209004810192826200021f57600085556200026b565b82601f106200023a57805160ff19168380011785556200026b565b828001600101855582156200026b579182015b828111156200026a5782518255916020019190600101906200024d565b5b5090506200027a91906200027e565b5090565b5b80821115620002995760008160009055506001016200027f565b5090565b6000620002b4620002ae84620003c1565b62000398565b905082815260208101848484011115620002d357620002d262000506565b5b620002e084828562000401565b509392505050565b600082601f8301126200030057620002ff62000501565b5b8151620003128482602086016200029d565b91505092915050565b6000815190506200032c8162000526565b92915050565b600080604083850312156200034c576200034b62000510565b5b60006200035c858286016200031b565b925050602083015167ffffffffffffffff81111562000380576200037f6200050b565b5b6200038e85828601620002e8565b9150509250929050565b6000620003a4620003b7565b9050620003b282826200046d565b919050565b6000604051905090565b600067ffffffffffffffff821115620003df57620003de620004d2565b5b620003ea8262000515565b9050602081019050919050565b6000819050919050565b60005b838110156200042157808201518184015260208101905062000404565b8381111562000431576000848401525b50505050565b600060028204905060018216806200045057607f821691505b60208210811415620004675762000466620004a3565b5b50919050565b620004788262000515565b810181811067ffffffffffffffff821117156200049a5762000499620004d2565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b6200053181620003f7565b81146200053d57600080fd5b50565b613c2b80620005506000396000f3fe6080604052600436106101665760003560e01c80634f6ccce7116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610543578063d5abeb0114610580578063e985e9c5146105ab578063f2fde38b146105e857610166565b8063a22cb465146104c6578063b88d4fde146104ef578063c002d23d1461051857610166565b80634f6ccce71461039b5780636352211e146103d85780636871ee401461041557806370a08231146104335780638da5cb5b1461047057806395d89b411461049b57610166565b806323b872dd1161012357806323b872dd146102a15780632e0f2625146102ca5780632f745c59146102f55780633ccfd60b1461033257806342842e0e146103495780634c2612471461037257610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b31461021057806318160ddd1461023957806321bae9e414610264575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d91906128f9565b610611565b60405161019f9190612dd7565b60405180910390f35b3480156101b457600080fd5b506101bd610623565b6040516101ca9190612df2565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f5919061299c565b6106b5565b6040516102079190612d70565b60405180910390f35b34801561021c57600080fd5b50610237600480360381019061023291906128b9565b6106fb565b005b34801561024557600080fd5b5061024e610813565b60405161025b9190613054565b60405180910390f35b34801561027057600080fd5b5061028b60048036038101906102869190612736565b610820565b6040516102989190613054565b60405180910390f35b3480156102ad57600080fd5b506102c860048036038101906102c391906127a3565b6108ae565b005b3480156102d657600080fd5b506102df61090e565b6040516102ec919061306f565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906128b9565b610913565b6040516103299190613054565b60405180910390f35b34801561033e57600080fd5b506103476109b8565b005b34801561035557600080fd5b50610370600480360381019061036b91906127a3565b610a9f565b005b34801561037e57600080fd5b5061039960048036038101906103949190612953565b610abf565b005b3480156103a757600080fd5b506103c260048036038101906103bd919061299c565b610b81565b6040516103cf9190613054565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa919061299c565b610bf2565b60405161040c9190612d70565b60405180910390f35b61041d610ca4565b60405161042a9190613054565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190612736565b610d1d565b6040516104679190613054565b60405180910390f35b34801561047c57600080fd5b50610485610dd5565b6040516104929190612d70565b60405180910390f35b3480156104a757600080fd5b506104b0610dff565b6040516104bd9190612df2565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190612879565b610e91565b005b3480156104fb57600080fd5b50610516600480360381019061051191906127f6565b610ea7565b005b34801561052457600080fd5b5061052d610f09565b60405161053a9190613054565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061299c565b610f33565b6040516105779190612df2565b60405180910390f35b34801561058c57600080fd5b50610595610ffb565b6040516105a29190613054565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd9190612763565b611005565b6040516105df9190612dd7565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190612736565b611099565b005b600061061c82611191565b9050919050565b6060600080546106329061349d565b80601f016020809104026020016040519081016040528092919081815260200182805461065e9061349d565b80156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b5050505050905090565b60006106c08261120b565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061070682610bf2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076e90612fd4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610796611256565b73ffffffffffffffffffffffffffffffffffffffff1614806107c557506107c4816107bf611256565b611005565b5b610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb90612f34565b60405180910390fd5b61080e838361125e565b505050565b6000600880549050905090565b600061082a611256565b73ffffffffffffffffffffffffffffffffffffffff16610848610dd5565b73ffffffffffffffffffffffffffffffffffffffff161461089e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089590612f74565b60405180910390fd5b6108a782611317565b9050919050565b6108bf6108b9611256565b82611391565b6108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f590613034565b60405180910390fd5b610909838383611426565b505050565b601281565b600061091e83610d1d565b821061095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095690612e14565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109c0611256565b73ffffffffffffffffffffffffffffffffffffffff166109de610dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b90612f74565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a9c573d6000803e3d6000fd5b50565b610aba83838360405180602001604052806000815250610ea7565b505050565b610ac7611256565b73ffffffffffffffffffffffffffffffffffffffff16610ae5610dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290612f74565b60405180910390fd5b80600e9080519060200190610b5192919061254a565b507f66b9f0d2f5af4125e8098bf5f1efc517ed46a70d8638734d186af310e2f8bc7560405160405180910390a150565b6000610b8b610813565b8210610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc390613014565b60405180910390fd5b60088281548110610be057610bdf613636565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290612fb4565b60405180910390fd5b80915050919050565b60006103e86012600a610cb7919061322e565b6031610cc3919061334c565b610ccd91906131aa565b341015610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0690612f14565b60405180910390fd5b610d1833611317565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590612ef4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610e0e9061349d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3a9061349d565b8015610e875780601f10610e5c57610100808354040283529160200191610e87565b820191906000526020600020905b815481529060010190602001808311610e6a57829003601f168201915b5050505050905090565b610ea3610e9c611256565b838361168d565b5050565b610eb8610eb2611256565b83611391565b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90613034565b60405180910390fd5b610f03848484846117fa565b50505050565b6103e86012600a610f1a919061322e565b6031610f26919061334c565b610f3091906131aa565b81565b6060610f3e82611856565b610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7490612f94565b60405180910390fd5b6000610f876118c2565b90506000600e8054610f989061349d565b90501415610fa95780915050610ff6565b6000815111610fc75760405180602001604052806000815250610ff2565b80610fd184611972565b604051602001610fe2929190612d41565b6040516020818303038152906040525b9150505b919050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110a1611256565b73ffffffffffffffffffffffffffffffffffffffff166110bf610dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90612f74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90612e54565b60405180910390fd5b61118e81611ad3565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611204575061120382611b99565b5b9050919050565b61121481611856565b611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90612fb4565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112d183610bf2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600c54611326600a611c7b565b10611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90612ff4565b60405180910390fd5b611370600a611c89565b600061137c600a611c7b565b90506113888382611c9f565b80915050919050565b60008061139d83610bf2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806113df57506113de8185611005565b5b8061141d57508373ffffffffffffffffffffffffffffffffffffffff16611405846106b5565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661144682610bf2565b73ffffffffffffffffffffffffffffffffffffffff161461149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390612e74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390612eb4565b60405180910390fd5b611517838383611cbd565b61152260008261125e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461157291906133a6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115c99190613154565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611688838383611ccd565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390612ed4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117ed9190612dd7565b60405180910390a3505050565b611805848484611426565b61181184848484611cd2565b611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612e34565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600e80546118d39061349d565b9050116118e157600d6118e4565b600e5b80546118ef9061349d565b80601f016020809104026020016040519081016040528092919081815260200182805461191b9061349d565b80156119685780601f1061193d57610100808354040283529160200191611968565b820191906000526020600020905b81548152906001019060200180831161194b57829003601f168201915b5050505050905090565b606060008214156119ba576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ace565b600082905060005b600082146119ec5780806119d590613500565b915050600a826119e591906131aa565b91506119c2565b60008167ffffffffffffffff811115611a0857611a07613665565b5b6040519080825280601f01601f191660200182016040528015611a3a5781602001600182028036833780820191505090505b5090505b60008514611ac757600182611a5391906133a6565b9150600a85611a629190613549565b6030611a6e9190613154565b60f81b818381518110611a8457611a83613636565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611ac091906131aa565b9450611a3e565b8093505050505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c6457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c745750611c7382611e69565b5b9050919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b611cb9828260405180602001604052806000815250611ed3565b5050565b611cc8838383611f2e565b505050565b505050565b6000611cf38473ffffffffffffffffffffffffffffffffffffffff16612042565b15611e5c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d1c611256565b8786866040518563ffffffff1660e01b8152600401611d3e9493929190612d8b565b602060405180830381600087803b158015611d5857600080fd5b505af1925050508015611d8957506040513d601f19601f82011682018060405250810190611d869190612926565b60015b611e0c573d8060008114611db9576040519150601f19603f3d011682016040523d82523d6000602084013e611dbe565b606091505b50600081511415611e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfb90612e34565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e61565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611edd8383612065565b611eea6000848484611cd2565b611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2090612e34565b60405180910390fd5b505050565b611f3983838361223f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f7c57611f7781612244565b611fbb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611fba57611fb9838261228d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ffe57611ff9816123fa565b61203d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461203c5761203b82826124cb565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cc90612f54565b60405180910390fd5b6120de81611856565b1561211e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211590612e94565b60405180910390fd5b61212a60008383611cbd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217a9190613154565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461223b60008383611ccd565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161229a84610d1d565b6122a491906133a6565b9050600060076000848152602001908152602001600020549050818114612389576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061240e91906133a6565b905060006009600084815260200190815260200160002054905060006008838154811061243e5761243d613636565b5b9060005260206000200154905080600883815481106124605761245f613636565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806124af576124ae613607565b5b6001900381819060005260206000200160009055905550505050565b60006124d683610d1d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546125569061349d565b90600052602060002090601f01602090048101928261257857600085556125bf565b82601f1061259157805160ff19168380011785556125bf565b828001600101855582156125bf579182015b828111156125be5782518255916020019190600101906125a3565b5b5090506125cc91906125d0565b5090565b5b808211156125e95760008160009055506001016125d1565b5090565b60006126006125fb846130af565b61308a565b90508281526020810184848401111561261c5761261b613699565b5b61262784828561345b565b509392505050565b600061264261263d846130e0565b61308a565b90508281526020810184848401111561265e5761265d613699565b5b61266984828561345b565b509392505050565b60008135905061268081613b99565b92915050565b60008135905061269581613bb0565b92915050565b6000813590506126aa81613bc7565b92915050565b6000815190506126bf81613bc7565b92915050565b600082601f8301126126da576126d9613694565b5b81356126ea8482602086016125ed565b91505092915050565b600082601f83011261270857612707613694565b5b813561271884826020860161262f565b91505092915050565b60008135905061273081613bde565b92915050565b60006020828403121561274c5761274b6136a3565b5b600061275a84828501612671565b91505092915050565b6000806040838503121561277a576127796136a3565b5b600061278885828601612671565b925050602061279985828601612671565b9150509250929050565b6000806000606084860312156127bc576127bb6136a3565b5b60006127ca86828701612671565b93505060206127db86828701612671565b92505060406127ec86828701612721565b9150509250925092565b600080600080608085870312156128105761280f6136a3565b5b600061281e87828801612671565b945050602061282f87828801612671565b935050604061284087828801612721565b925050606085013567ffffffffffffffff8111156128615761286061369e565b5b61286d878288016126c5565b91505092959194509250565b600080604083850312156128905761288f6136a3565b5b600061289e85828601612671565b92505060206128af85828601612686565b9150509250929050565b600080604083850312156128d0576128cf6136a3565b5b60006128de85828601612671565b92505060206128ef85828601612721565b9150509250929050565b60006020828403121561290f5761290e6136a3565b5b600061291d8482850161269b565b91505092915050565b60006020828403121561293c5761293b6136a3565b5b600061294a848285016126b0565b91505092915050565b600060208284031215612969576129686136a3565b5b600082013567ffffffffffffffff8111156129875761298661369e565b5b612993848285016126f3565b91505092915050565b6000602082840312156129b2576129b16136a3565b5b60006129c084828501612721565b91505092915050565b6129d2816133da565b82525050565b6129e1816133ec565b82525050565b60006129f282613111565b6129fc8185613127565b9350612a0c81856020860161346a565b612a15816136a8565b840191505092915050565b6000612a2b8261311c565b612a358185613138565b9350612a4581856020860161346a565b612a4e816136a8565b840191505092915050565b6000612a648261311c565b612a6e8185613149565b9350612a7e81856020860161346a565b80840191505092915050565b6000612a97602b83613138565b9150612aa2826136c6565b604082019050919050565b6000612aba603283613138565b9150612ac582613715565b604082019050919050565b6000612add602683613138565b9150612ae882613764565b604082019050919050565b6000612b00602583613138565b9150612b0b826137b3565b604082019050919050565b6000612b23601c83613138565b9150612b2e82613802565b602082019050919050565b6000612b46602483613138565b9150612b518261382b565b604082019050919050565b6000612b69601983613138565b9150612b748261387a565b602082019050919050565b6000612b8c602983613138565b9150612b97826138a3565b604082019050919050565b6000612baf602483613138565b9150612bba826138f2565b604082019050919050565b6000612bd2603e83613138565b9150612bdd82613941565b604082019050919050565b6000612bf5602083613138565b9150612c0082613990565b602082019050919050565b6000612c18600583613149565b9150612c23826139b9565b600582019050919050565b6000612c3b602083613138565b9150612c46826139e2565b602082019050919050565b6000612c5e602f83613138565b9150612c6982613a0b565b604082019050919050565b6000612c81601883613138565b9150612c8c82613a5a565b602082019050919050565b6000612ca4602183613138565b9150612caf82613a83565b604082019050919050565b6000612cc7601283613138565b9150612cd282613ad2565b602082019050919050565b6000612cea602c83613138565b9150612cf582613afb565b604082019050919050565b6000612d0d602e83613138565b9150612d1882613b4a565b604082019050919050565b612d2c81613444565b82525050565b612d3b8161344e565b82525050565b6000612d4d8285612a59565b9150612d598284612a59565b9150612d6482612c0b565b91508190509392505050565b6000602082019050612d8560008301846129c9565b92915050565b6000608082019050612da060008301876129c9565b612dad60208301866129c9565b612dba6040830185612d23565b8181036060830152612dcc81846129e7565b905095945050505050565b6000602082019050612dec60008301846129d8565b92915050565b60006020820190508181036000830152612e0c8184612a20565b905092915050565b60006020820190508181036000830152612e2d81612a8a565b9050919050565b60006020820190508181036000830152612e4d81612aad565b9050919050565b60006020820190508181036000830152612e6d81612ad0565b9050919050565b60006020820190508181036000830152612e8d81612af3565b9050919050565b60006020820190508181036000830152612ead81612b16565b9050919050565b60006020820190508181036000830152612ecd81612b39565b9050919050565b60006020820190508181036000830152612eed81612b5c565b9050919050565b60006020820190508181036000830152612f0d81612b7f565b9050919050565b60006020820190508181036000830152612f2d81612ba2565b9050919050565b60006020820190508181036000830152612f4d81612bc5565b9050919050565b60006020820190508181036000830152612f6d81612be8565b9050919050565b60006020820190508181036000830152612f8d81612c2e565b9050919050565b60006020820190508181036000830152612fad81612c51565b9050919050565b60006020820190508181036000830152612fcd81612c74565b9050919050565b60006020820190508181036000830152612fed81612c97565b9050919050565b6000602082019050818103600083015261300d81612cba565b9050919050565b6000602082019050818103600083015261302d81612cdd565b9050919050565b6000602082019050818103600083015261304d81612d00565b9050919050565b60006020820190506130696000830184612d23565b92915050565b60006020820190506130846000830184612d32565b92915050565b60006130946130a5565b90506130a082826134cf565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ca576130c9613665565b5b6130d3826136a8565b9050602081019050919050565b600067ffffffffffffffff8211156130fb576130fa613665565b5b613104826136a8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061315f82613444565b915061316a83613444565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561319f5761319e61357a565b5b828201905092915050565b60006131b582613444565b91506131c083613444565b9250826131d0576131cf6135a9565b5b828204905092915050565b6000808291508390505b6001851115613225578086048111156132015761320061357a565b5b60018516156132105780820291505b808102905061321e856136b9565b94506131e5565b94509492505050565b600061323982613444565b91506132448361344e565b92506132717fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613279565b905092915050565b6000826132895760019050613345565b816132975760009050613345565b81600181146132ad57600281146132b7576132e6565b6001915050613345565b60ff8411156132c9576132c861357a565b5b8360020a9150848211156132e0576132df61357a565b5b50613345565b5060208310610133831016604e8410600b841016171561331b5782820a9050838111156133165761331561357a565b5b613345565b61332884848460016131db565b9250905081840481111561333f5761333e61357a565b5b81810290505b9392505050565b600061335782613444565b915061336283613444565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561339b5761339a61357a565b5b828202905092915050565b60006133b182613444565b91506133bc83613444565b9250828210156133cf576133ce61357a565b5b828203905092915050565b60006133e582613424565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561348857808201518184015260208101905061346d565b83811115613497576000848401525b50505050565b600060028204905060018216806134b557607f821691505b602082108114156134c9576134c86135d8565b5b50919050565b6134d8826136a8565b810181811067ffffffffffffffff821117156134f7576134f6613665565b5b80604052505050565b600061350b82613444565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561353e5761353d61357a565b5b600182019050919050565b600061355482613444565b915061355f83613444565b92508261356f5761356e6135a9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f53656e7420616d6f756e74206973206c6f776572207468656e206d696e74207060008201527f7269636500000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b613ba2816133da565b8114613bad57600080fd5b50565b613bb9816133ec565b8114613bc457600080fd5b50565b613bd0816133f8565b8114613bdb57600080fd5b50565b613be781613444565b8114613bf257600080fd5b5056fea2646970667358221220e6c140c59fd7163a5c70812c25d6237bbbbd446bad7562e4b7899fea94c8b64664736f6c6343000807003300000000000000000000000000000000000000000000000000000000000022b800000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d537a345a43426b6174387469417a744c32716f446f7a5974666134436e4178456b6a71337351453459574b392f00000000000000000000
Deployed Bytecode
0x6080604052600436106101665760003560e01c80634f6ccce7116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd14610543578063d5abeb0114610580578063e985e9c5146105ab578063f2fde38b146105e857610166565b8063a22cb465146104c6578063b88d4fde146104ef578063c002d23d1461051857610166565b80634f6ccce71461039b5780636352211e146103d85780636871ee401461041557806370a08231146104335780638da5cb5b1461047057806395d89b411461049b57610166565b806323b872dd1161012357806323b872dd146102a15780632e0f2625146102ca5780632f745c59146102f55780633ccfd60b1461033257806342842e0e146103495780634c2612471461037257610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b31461021057806318160ddd1461023957806321bae9e414610264575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d91906128f9565b610611565b60405161019f9190612dd7565b60405180910390f35b3480156101b457600080fd5b506101bd610623565b6040516101ca9190612df2565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f5919061299c565b6106b5565b6040516102079190612d70565b60405180910390f35b34801561021c57600080fd5b50610237600480360381019061023291906128b9565b6106fb565b005b34801561024557600080fd5b5061024e610813565b60405161025b9190613054565b60405180910390f35b34801561027057600080fd5b5061028b60048036038101906102869190612736565b610820565b6040516102989190613054565b60405180910390f35b3480156102ad57600080fd5b506102c860048036038101906102c391906127a3565b6108ae565b005b3480156102d657600080fd5b506102df61090e565b6040516102ec919061306f565b60405180910390f35b34801561030157600080fd5b5061031c600480360381019061031791906128b9565b610913565b6040516103299190613054565b60405180910390f35b34801561033e57600080fd5b506103476109b8565b005b34801561035557600080fd5b50610370600480360381019061036b91906127a3565b610a9f565b005b34801561037e57600080fd5b5061039960048036038101906103949190612953565b610abf565b005b3480156103a757600080fd5b506103c260048036038101906103bd919061299c565b610b81565b6040516103cf9190613054565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa919061299c565b610bf2565b60405161040c9190612d70565b60405180910390f35b61041d610ca4565b60405161042a9190613054565b60405180910390f35b34801561043f57600080fd5b5061045a60048036038101906104559190612736565b610d1d565b6040516104679190613054565b60405180910390f35b34801561047c57600080fd5b50610485610dd5565b6040516104929190612d70565b60405180910390f35b3480156104a757600080fd5b506104b0610dff565b6040516104bd9190612df2565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190612879565b610e91565b005b3480156104fb57600080fd5b50610516600480360381019061051191906127f6565b610ea7565b005b34801561052457600080fd5b5061052d610f09565b60405161053a9190613054565b60405180910390f35b34801561054f57600080fd5b5061056a6004803603810190610565919061299c565b610f33565b6040516105779190612df2565b60405180910390f35b34801561058c57600080fd5b50610595610ffb565b6040516105a29190613054565b60405180910390f35b3480156105b757600080fd5b506105d260048036038101906105cd9190612763565b611005565b6040516105df9190612dd7565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a9190612736565b611099565b005b600061061c82611191565b9050919050565b6060600080546106329061349d565b80601f016020809104026020016040519081016040528092919081815260200182805461065e9061349d565b80156106ab5780601f10610680576101008083540402835291602001916106ab565b820191906000526020600020905b81548152906001019060200180831161068e57829003601f168201915b5050505050905090565b60006106c08261120b565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061070682610bf2565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610777576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161076e90612fd4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610796611256565b73ffffffffffffffffffffffffffffffffffffffff1614806107c557506107c4816107bf611256565b611005565b5b610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb90612f34565b60405180910390fd5b61080e838361125e565b505050565b6000600880549050905090565b600061082a611256565b73ffffffffffffffffffffffffffffffffffffffff16610848610dd5565b73ffffffffffffffffffffffffffffffffffffffff161461089e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089590612f74565b60405180910390fd5b6108a782611317565b9050919050565b6108bf6108b9611256565b82611391565b6108fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f590613034565b60405180910390fd5b610909838383611426565b505050565b601281565b600061091e83610d1d565b821061095f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095690612e14565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6109c0611256565b73ffffffffffffffffffffffffffffffffffffffff166109de610dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2b90612f74565b60405180910390fd5b600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610a9c573d6000803e3d6000fd5b50565b610aba83838360405180602001604052806000815250610ea7565b505050565b610ac7611256565b73ffffffffffffffffffffffffffffffffffffffff16610ae5610dd5565b73ffffffffffffffffffffffffffffffffffffffff1614610b3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3290612f74565b60405180910390fd5b80600e9080519060200190610b5192919061254a565b507f66b9f0d2f5af4125e8098bf5f1efc517ed46a70d8638734d186af310e2f8bc7560405160405180910390a150565b6000610b8b610813565b8210610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc390613014565b60405180910390fd5b60088281548110610be057610bdf613636565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290612fb4565b60405180910390fd5b80915050919050565b60006103e86012600a610cb7919061322e565b6031610cc3919061334c565b610ccd91906131aa565b341015610d0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0690612f14565b60405180910390fd5b610d1833611317565b905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610d8e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8590612ef4565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054610e0e9061349d565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3a9061349d565b8015610e875780601f10610e5c57610100808354040283529160200191610e87565b820191906000526020600020905b815481529060010190602001808311610e6a57829003601f168201915b5050505050905090565b610ea3610e9c611256565b838361168d565b5050565b610eb8610eb2611256565b83611391565b610ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eee90613034565b60405180910390fd5b610f03848484846117fa565b50505050565b6103e86012600a610f1a919061322e565b6031610f26919061334c565b610f3091906131aa565b81565b6060610f3e82611856565b610f7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7490612f94565b60405180910390fd5b6000610f876118c2565b90506000600e8054610f989061349d565b90501415610fa95780915050610ff6565b6000815111610fc75760405180602001604052806000815250610ff2565b80610fd184611972565b604051602001610fe2929190612d41565b6040516020818303038152906040525b9150505b919050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6110a1611256565b73ffffffffffffffffffffffffffffffffffffffff166110bf610dd5565b73ffffffffffffffffffffffffffffffffffffffff1614611115576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110c90612f74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c90612e54565b60405180910390fd5b61118e81611ad3565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611204575061120382611b99565b5b9050919050565b61121481611856565b611253576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124a90612fb4565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166112d183610bf2565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000600c54611326600a611c7b565b10611366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135d90612ff4565b60405180910390fd5b611370600a611c89565b600061137c600a611c7b565b90506113888382611c9f565b80915050919050565b60008061139d83610bf2565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806113df57506113de8185611005565b5b8061141d57508373ffffffffffffffffffffffffffffffffffffffff16611405846106b5565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661144682610bf2565b73ffffffffffffffffffffffffffffffffffffffff161461149c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149390612e74565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561150c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150390612eb4565b60405180910390fd5b611517838383611cbd565b61152260008261125e565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461157291906133a6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115c99190613154565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611688838383611ccd565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156116fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f390612ed4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516117ed9190612dd7565b60405180910390a3505050565b611805848484611426565b61181184848484611cd2565b611850576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184790612e34565b60405180910390fd5b50505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b60606000600e80546118d39061349d565b9050116118e157600d6118e4565b600e5b80546118ef9061349d565b80601f016020809104026020016040519081016040528092919081815260200182805461191b9061349d565b80156119685780601f1061193d57610100808354040283529160200191611968565b820191906000526020600020905b81548152906001019060200180831161194b57829003601f168201915b5050505050905090565b606060008214156119ba576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611ace565b600082905060005b600082146119ec5780806119d590613500565b915050600a826119e591906131aa565b91506119c2565b60008167ffffffffffffffff811115611a0857611a07613665565b5b6040519080825280601f01601f191660200182016040528015611a3a5781602001600182028036833780820191505090505b5090505b60008514611ac757600182611a5391906133a6565b9150600a85611a629190613549565b6030611a6e9190613154565b60f81b818381518110611a8457611a83613636565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611ac091906131aa565b9450611a3e565b8093505050505b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c6457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c745750611c7382611e69565b5b9050919050565b600081600001549050919050565b6001816000016000828254019250508190555050565b611cb9828260405180602001604052806000815250611ed3565b5050565b611cc8838383611f2e565b505050565b505050565b6000611cf38473ffffffffffffffffffffffffffffffffffffffff16612042565b15611e5c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d1c611256565b8786866040518563ffffffff1660e01b8152600401611d3e9493929190612d8b565b602060405180830381600087803b158015611d5857600080fd5b505af1925050508015611d8957506040513d601f19601f82011682018060405250810190611d869190612926565b60015b611e0c573d8060008114611db9576040519150601f19603f3d011682016040523d82523d6000602084013e611dbe565b606091505b50600081511415611e04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfb90612e34565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611e61565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611edd8383612065565b611eea6000848484611cd2565b611f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2090612e34565b60405180910390fd5b505050565b611f3983838361223f565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611f7c57611f7781612244565b611fbb565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614611fba57611fb9838261228d565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ffe57611ff9816123fa565b61203d565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461203c5761203b82826124cb565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120cc90612f54565b60405180910390fd5b6120de81611856565b1561211e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211590612e94565b60405180910390fd5b61212a60008383611cbd565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461217a9190613154565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461223b60008383611ccd565b5050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161229a84610d1d565b6122a491906133a6565b9050600060076000848152602001908152602001600020549050818114612389576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061240e91906133a6565b905060006009600084815260200190815260200160002054905060006008838154811061243e5761243d613636565b5b9060005260206000200154905080600883815481106124605761245f613636565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806124af576124ae613607565b5b6001900381819060005260206000200160009055905550505050565b60006124d683610d1d565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546125569061349d565b90600052602060002090601f01602090048101928261257857600085556125bf565b82601f1061259157805160ff19168380011785556125bf565b828001600101855582156125bf579182015b828111156125be5782518255916020019190600101906125a3565b5b5090506125cc91906125d0565b5090565b5b808211156125e95760008160009055506001016125d1565b5090565b60006126006125fb846130af565b61308a565b90508281526020810184848401111561261c5761261b613699565b5b61262784828561345b565b509392505050565b600061264261263d846130e0565b61308a565b90508281526020810184848401111561265e5761265d613699565b5b61266984828561345b565b509392505050565b60008135905061268081613b99565b92915050565b60008135905061269581613bb0565b92915050565b6000813590506126aa81613bc7565b92915050565b6000815190506126bf81613bc7565b92915050565b600082601f8301126126da576126d9613694565b5b81356126ea8482602086016125ed565b91505092915050565b600082601f83011261270857612707613694565b5b813561271884826020860161262f565b91505092915050565b60008135905061273081613bde565b92915050565b60006020828403121561274c5761274b6136a3565b5b600061275a84828501612671565b91505092915050565b6000806040838503121561277a576127796136a3565b5b600061278885828601612671565b925050602061279985828601612671565b9150509250929050565b6000806000606084860312156127bc576127bb6136a3565b5b60006127ca86828701612671565b93505060206127db86828701612671565b92505060406127ec86828701612721565b9150509250925092565b600080600080608085870312156128105761280f6136a3565b5b600061281e87828801612671565b945050602061282f87828801612671565b935050604061284087828801612721565b925050606085013567ffffffffffffffff8111156128615761286061369e565b5b61286d878288016126c5565b91505092959194509250565b600080604083850312156128905761288f6136a3565b5b600061289e85828601612671565b92505060206128af85828601612686565b9150509250929050565b600080604083850312156128d0576128cf6136a3565b5b60006128de85828601612671565b92505060206128ef85828601612721565b9150509250929050565b60006020828403121561290f5761290e6136a3565b5b600061291d8482850161269b565b91505092915050565b60006020828403121561293c5761293b6136a3565b5b600061294a848285016126b0565b91505092915050565b600060208284031215612969576129686136a3565b5b600082013567ffffffffffffffff8111156129875761298661369e565b5b612993848285016126f3565b91505092915050565b6000602082840312156129b2576129b16136a3565b5b60006129c084828501612721565b91505092915050565b6129d2816133da565b82525050565b6129e1816133ec565b82525050565b60006129f282613111565b6129fc8185613127565b9350612a0c81856020860161346a565b612a15816136a8565b840191505092915050565b6000612a2b8261311c565b612a358185613138565b9350612a4581856020860161346a565b612a4e816136a8565b840191505092915050565b6000612a648261311c565b612a6e8185613149565b9350612a7e81856020860161346a565b80840191505092915050565b6000612a97602b83613138565b9150612aa2826136c6565b604082019050919050565b6000612aba603283613138565b9150612ac582613715565b604082019050919050565b6000612add602683613138565b9150612ae882613764565b604082019050919050565b6000612b00602583613138565b9150612b0b826137b3565b604082019050919050565b6000612b23601c83613138565b9150612b2e82613802565b602082019050919050565b6000612b46602483613138565b9150612b518261382b565b604082019050919050565b6000612b69601983613138565b9150612b748261387a565b602082019050919050565b6000612b8c602983613138565b9150612b97826138a3565b604082019050919050565b6000612baf602483613138565b9150612bba826138f2565b604082019050919050565b6000612bd2603e83613138565b9150612bdd82613941565b604082019050919050565b6000612bf5602083613138565b9150612c0082613990565b602082019050919050565b6000612c18600583613149565b9150612c23826139b9565b600582019050919050565b6000612c3b602083613138565b9150612c46826139e2565b602082019050919050565b6000612c5e602f83613138565b9150612c6982613a0b565b604082019050919050565b6000612c81601883613138565b9150612c8c82613a5a565b602082019050919050565b6000612ca4602183613138565b9150612caf82613a83565b604082019050919050565b6000612cc7601283613138565b9150612cd282613ad2565b602082019050919050565b6000612cea602c83613138565b9150612cf582613afb565b604082019050919050565b6000612d0d602e83613138565b9150612d1882613b4a565b604082019050919050565b612d2c81613444565b82525050565b612d3b8161344e565b82525050565b6000612d4d8285612a59565b9150612d598284612a59565b9150612d6482612c0b565b91508190509392505050565b6000602082019050612d8560008301846129c9565b92915050565b6000608082019050612da060008301876129c9565b612dad60208301866129c9565b612dba6040830185612d23565b8181036060830152612dcc81846129e7565b905095945050505050565b6000602082019050612dec60008301846129d8565b92915050565b60006020820190508181036000830152612e0c8184612a20565b905092915050565b60006020820190508181036000830152612e2d81612a8a565b9050919050565b60006020820190508181036000830152612e4d81612aad565b9050919050565b60006020820190508181036000830152612e6d81612ad0565b9050919050565b60006020820190508181036000830152612e8d81612af3565b9050919050565b60006020820190508181036000830152612ead81612b16565b9050919050565b60006020820190508181036000830152612ecd81612b39565b9050919050565b60006020820190508181036000830152612eed81612b5c565b9050919050565b60006020820190508181036000830152612f0d81612b7f565b9050919050565b60006020820190508181036000830152612f2d81612ba2565b9050919050565b60006020820190508181036000830152612f4d81612bc5565b9050919050565b60006020820190508181036000830152612f6d81612be8565b9050919050565b60006020820190508181036000830152612f8d81612c2e565b9050919050565b60006020820190508181036000830152612fad81612c51565b9050919050565b60006020820190508181036000830152612fcd81612c74565b9050919050565b60006020820190508181036000830152612fed81612c97565b9050919050565b6000602082019050818103600083015261300d81612cba565b9050919050565b6000602082019050818103600083015261302d81612cdd565b9050919050565b6000602082019050818103600083015261304d81612d00565b9050919050565b60006020820190506130696000830184612d23565b92915050565b60006020820190506130846000830184612d32565b92915050565b60006130946130a5565b90506130a082826134cf565b919050565b6000604051905090565b600067ffffffffffffffff8211156130ca576130c9613665565b5b6130d3826136a8565b9050602081019050919050565b600067ffffffffffffffff8211156130fb576130fa613665565b5b613104826136a8565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061315f82613444565b915061316a83613444565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561319f5761319e61357a565b5b828201905092915050565b60006131b582613444565b91506131c083613444565b9250826131d0576131cf6135a9565b5b828204905092915050565b6000808291508390505b6001851115613225578086048111156132015761320061357a565b5b60018516156132105780820291505b808102905061321e856136b9565b94506131e5565b94509492505050565b600061323982613444565b91506132448361344e565b92506132717fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484613279565b905092915050565b6000826132895760019050613345565b816132975760009050613345565b81600181146132ad57600281146132b7576132e6565b6001915050613345565b60ff8411156132c9576132c861357a565b5b8360020a9150848211156132e0576132df61357a565b5b50613345565b5060208310610133831016604e8410600b841016171561331b5782820a9050838111156133165761331561357a565b5b613345565b61332884848460016131db565b9250905081840481111561333f5761333e61357a565b5b81810290505b9392505050565b600061335782613444565b915061336283613444565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561339b5761339a61357a565b5b828202905092915050565b60006133b182613444565b91506133bc83613444565b9250828210156133cf576133ce61357a565b5b828203905092915050565b60006133e582613424565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561348857808201518184015260208101905061346d565b83811115613497576000848401525b50505050565b600060028204905060018216806134b557607f821691505b602082108114156134c9576134c86135d8565b5b50919050565b6134d8826136a8565b810181811067ffffffffffffffff821117156134f7576134f6613665565b5b80604052505050565b600061350b82613444565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561353e5761353d61357a565b5b600182019050919050565b600061355482613444565b915061355f83613444565b92508261356f5761356e6135a9565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160011c9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b7f53656e7420616d6f756e74206973206c6f776572207468656e206d696e74207060008201527f7269636500000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b613ba2816133da565b8114613bad57600080fd5b50565b613bb9816133ec565b8114613bc457600080fd5b50565b613bd0816133f8565b8114613bdb57600080fd5b50565b613be781613444565b8114613bf257600080fd5b5056fea2646970667358221220e6c140c59fd7163a5c70812c25d6237bbbbd446bad7562e4b7899fea94c8b64664736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000022b800000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d537a345a43426b6174387469417a744c32716f446f7a5974666134436e4178456b6a71337351453459574b392f00000000000000000000
-----Decoded View---------------
Arg [0] : maxSupply (uint256): 8888
Arg [1] : baseTokenURI (string): ipfs://QmSz4ZCBkat8tiAztL2qoDozYtfa4CnAxEkjq3sQE4YWK9/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000022b8
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [3] : 697066733a2f2f516d537a345a43426b6174387469417a744c32716f446f7a59
Arg [4] : 74666134436e4178456b6a71337351453459574b392f00000000000000000000
Loading...
Loading
Loading...
Loading
Net Worth in USD
$142.81
Net Worth in ETH
0.069035
Token Allocations
ETH
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $2,069.72 | 0.069 | $142.81 |
Loading...
Loading
Loading...
Loading
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.