Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
0 SNAPCOVER2
Holders
136
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SNAPCOVER2Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SnapSpecialEditionCoverIssue02
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.0; // SPDX-License-Identifier: MIT License import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract SnapSpecialEditionCoverIssue02 is ERC721URIStorage, ERC721Pausable, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIds; uint public fee; address payable private cashOutWallet = payable(0xE52894D7187903EF634eE9B115a1F6B7334BfE7c); address private constant _deadWalletAddress = 0x000000000000000000000000000000000000dEaD; address private snapAddress = 0x4c5813b8c6FbbAC76CAA148aAf8910f236B56fDF; address private cover01Address = 0x2E1b5f11B55923Bc56e78E974B41e650ad48fe3d; mapping (address => uint8) private mintedTokens; mapping (address => bool) private mintedForFree; string private _baseURIPrefix; event PriceUpdated(uint newPrice); receive() external payable {} constructor() ERC721("SNAP UNIVERSE special edition cover, Issue 02", "SNAPCOVER2") { fee = 3000000000000000000; //3,000,000,000 SNAP! _baseURIPrefix = "ipfs://QmTg8P1Jxsomid17Qy5CWJi7uNTbvngMyUyWemWFhcoPbz/"; mintOwner(msg.sender); _pause(); } function setBaseURI(string memory baseURIPrefix) external onlyOwner { _baseURIPrefix = baseURIPrefix; } function _baseURI() internal view override returns (string memory) { return _baseURIPrefix; } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return super.tokenURI(tokenId); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal whenNotPaused override(ERC721, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } /** * @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); } function mintSnapCover(address wallet) whenNotPaused external returns (uint256) { require(_tokenIds.current() >= 20, "Need to mint reserved nfts first"); require(_tokenIds.current() + 1 <= 300, "Maximum amount of tokens already minted"); require(!mintedForFree[wallet], "You cannot minted twice for free"); require(ERC20(cover01Address).balanceOf(wallet) > 0, "You need snapcover1 to mint for free"); mintedTokens[wallet] += 1; require(mintedTokens[wallet] <= 6, "You can't mint more than 6 for one wallet"); mintedForFree[wallet] = true; doMint(wallet, 1); return _tokenIds.current(); } function mint(address wallet, uint8 numberOfMints) whenNotPaused external returns (uint256) { require(_tokenIds.current() >= 20, "Need to mint reserved nfts first"); require(_tokenIds.current() + numberOfMints <= 300, "Maximum amount of tokens already minted"); require(numberOfMints <= 3, "You cant mint more than 3 at a time"); require(ERC20(snapAddress).transferFrom(msg.sender, address(this), fee * numberOfMints), "Could not transfer tokens."); mintedTokens[wallet] += numberOfMints; require(mintedTokens[wallet] <= 6, "You cant mint more than 6 for one wallet."); doMint(wallet, numberOfMints); return _tokenIds.current(); } function doMint(address wallet, uint numberOfMints) private { for(uint i = 0; i < numberOfMints; i++) { _tokenIds.increment(); uint256 tokenId = _tokenIds.current(); _safeMint(wallet, tokenId); string memory tokenURISuffix = string(abi.encodePacked(toString(tokenId), ".json")); _setTokenURI(tokenId, tokenURISuffix); } } function mintOwner(address wallet) private onlyOwner returns (uint256) { require(_tokenIds.current() == 0); doMint(wallet, 20); return _tokenIds.current(); } function mintSpecial(address wallet) external onlyOwner returns (uint256) { doMint(wallet, 1); return _tokenIds.current(); } function updateFee(uint newFee) external onlyOwner{ fee = newFee; emit PriceUpdated(newFee); } function setSnapAddress(address _snapAddress) external onlyOwner{ snapAddress =_snapAddress; } function setCover01Address(address _cover01Address) external onlyOwner{ cover01Address = _cover01Address; } function getFee() external view returns (uint) { return fee; } function cashOut() external onlyOwner { cashOutWallet.call{value: address(this).balance}(""); } function burnOut() external onlyOwner { ERC20 snap = ERC20(snapAddress); snap.transfer(_deadWalletAddress, snap.balanceOf(address(this))); } function currentTokenId() external view returns (uint256) { return _tokenIds.current(); } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The defaut value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); _approve(sender, _msgSender(), currentAllowance - amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); _approve(_msgSender(), spender, currentAllowance - subtractedValue); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); _balances[sender] = senderBalance - amount; _balances[recipient] += amount; emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); _balances[account] = accountBalance - amount; _totalSupply -= amount; emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount) internal virtual { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping (uint256 => address) private _owners; // Mapping owner address to token count mapping (address => uint256) private _balances; // Mapping from token ID to approved address mapping (uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping (address => mapping (address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev 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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-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` 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 { } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented or decremented by one. 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; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT 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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT 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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cashOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fee","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":[],"name":"getFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint8","name":"numberOfMints","type":"uint8"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"mintSnapCover","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"mintSpecial","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURIPrefix","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cover01Address","type":"address"}],"name":"setCover01Address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_snapAddress","type":"address"}],"name":"setSnapAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFee","type":"uint256"}],"name":"updateFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600a80546001600160a01b031990811673e52894d7187903ef634ee9b115a1f6b7334bfe7c17909155600b80548216734c5813b8c6fbbac76caa148aaf8910f236b56fdf179055600c8054909116732e1b5f11b55923bc56e78e974b41e650ad48fe3d1790553480156200007757600080fd5b506040518060600160405280602d8152602001620038eb602d91396040518060400160405280600a81526020016929a720a821a7ab22a91960b11b8152508160009080519060200190620000cd92919062000842565b508051620000e390600190602084019062000842565b50506007805460ff19169055506000620000fc620001aa565b60078054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506729a2241af62c000060095560408051606081019091526036808252620038b5602083013980516200018d91600f9160209091019062000842565b506200019933620001ae565b50620001a46200024d565b62000c81565b3390565b6000620001ba620001aa565b6001600160a01b0316620001cd620002c8565b6001600160a01b031614620001ff5760405162461bcd60e51b8152600401620001f69062000b2f565b60405180910390fd5b620002166008620002dc60201b6200135e1760201c565b156200022157600080fd5b6200022e826014620002e0565b620002456008620002dc60201b6200135e1760201c565b90505b919050565b6200025762000384565b15620002775760405162461bcd60e51b8152600401620001f69062000a82565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002af620001aa565b604051620002be919062000944565b60405180910390a1565b60075461010090046001600160a01b031690565b5490565b60005b818110156200037f576200030360086200038d60201b620013621760201c565b60006200031c6008620002dc60201b6200135e1760201c565b90506200032a848262000396565b60006200033782620003bc565b60405160200162000349919062000919565b60408051601f198184030181529190529050620003678282620004f3565b50508080620003769062000c20565b915050620002e3565b505050565b60075460ff1690565b80546001019055565b620003b88282604051806020016040528060008152506200053e60201b60201c565b5050565b606081620003e357506040805180820190915260018152600360fc1b602082015262000248565b8160005b8115620004135780620003fa8162000c20565b91506200040b9050600a8362000b7f565b9150620003e7565b6000816001600160401b038111156200043c57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562000467576020820181803683370190505b5090505b8415620004eb576200047f60018362000b96565b91506200048e600a8662000c3e565b6200049b90603062000b64565b60f81b818381518110620004bf57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350620004e3600a8662000b7f565b94506200046b565b949350505050565b620004fe8262000578565b6200051d5760405162461bcd60e51b8152600401620001f69062000aac565b600082815260066020908152604090912082516200037f9284019062000842565b6200054a838362000595565b62000559600084848462000680565b6200037f5760405162461bcd60e51b8152600401620001f690620009f9565b6000908152600260205260409020546001600160a01b0316151590565b6001600160a01b038216620005be5760405162461bcd60e51b8152600401620001f69062000afa565b620005c98162000578565b15620005e95760405162461bcd60e51b8152600401620001f69062000a4b565b620005f760008383620007b8565b6001600160a01b03821660009081526003602052604081208054600192906200062290849062000b64565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000620006a1846001600160a01b0316620007fa60201b6200136b1760201c565b15620007ad576001600160a01b03841663150b7a02620006c0620001aa565b8786866040518563ffffffff1660e01b8152600401620006e4949392919062000958565b602060405180830381600087803b158015620006ff57600080fd5b505af192505050801562000732575060408051601f3d908101601f191682019092526200072f91810190620008e8565b60015b62000792573d80801562000763576040519150601f19603f3d011682016040523d82523d6000602084013e62000768565b606091505b5080516200078a5760405162461bcd60e51b8152600401620001f690620009f9565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620004eb565b506001949350505050565b620007c262000384565b15620007e25760405162461bcd60e51b8152600401620001f69062000a82565b6200037f8383836200080060201b620013711760201c565b3b151590565b620008188383836200037f60201b6200074c1760201c565b6200082262000384565b156200037f5760405162461bcd60e51b8152600401620001f690620009ae565b828054620008509062000be3565b90600052602060002090601f016020900481019282620008745760008555620008bf565b82601f106200088f57805160ff1916838001178555620008bf565b82800160010185558215620008bf579182015b82811115620008bf578251825591602001919060010190620008a2565b50620008cd929150620008d1565b5090565b5b80821115620008cd5760008155600101620008d2565b600060208284031215620008fa578081fd5b81516001600160e01b03198116811462000912578182fd5b9392505050565b600082516200092d81846020870162000bb0565b64173539b7b760d91b920191825250600501919050565b6001600160a01b0391909116815260200190565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620009978160a085016020870162000bb0565b601f01601f19169190910160a00195945050505050565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111562000b7a5762000b7a62000c55565b500190565b60008262000b915762000b9162000c6b565b500490565b60008282101562000bab5762000bab62000c55565b500390565b60005b8381101562000bcd57818101518382015260200162000bb3565b8381111562000bdd576000848401525b50505050565b60028104600182168062000bf857607f821691505b6020821081141562000c1a57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000c375762000c3762000c55565b5060010190565b60008262000c505762000c5062000c6b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b612c248062000c916000396000f3fe6080604052600436106101db5760003560e01c806370a0823111610102578063a22cb46511610095578063ced72f8711610064578063ced72f8714610518578063ddca3f431461052d578063e985e9c514610542578063f2fde38b14610562576101e2565b8063a22cb465146104a3578063a9371480146104c3578063b88d4fde146104d8578063c87b56dd146104f8576101e2565b80638da5cb5b116100d15780638da5cb5b146104395780639012c4a81461044e57806395d89b411461046e578063a16a3e5a14610483576101e2565b806370a08231146103da578063715018a6146103fa578063793cd71e1461040f5780638456cb5914610424576101e2565b80633f4ba83a1161017a5780636352211e116101495780636352211e1461035a57806363fe5cca1461037a578063691562a01461039a578063697d581e146103ba576101e2565b80633f4ba83a146102f057806342842e0e1461030557806355f804b3146103255780635c975abb14610345576101e2565b8063081812fc116101b6578063081812fc14610261578063095ea7b31461028e57806314d3d9f4146102b057806323b872dd146102d0576101e2565b80629a9b7b146101e757806301ffc9a71461021257806306fdde031461023f576101e2565b366101e257005b600080fd5b3480156101f357600080fd5b506101fc610582565b6040516102099190612a5f565b60405180910390f35b34801561021e57600080fd5b5061023261022d3660046120d5565b610593565b6040516102099190612298565b34801561024b57600080fd5b506102546105db565b60405161020991906122a3565b34801561026d57600080fd5b5061028161027c366004612153565b61066d565b604051610209919061220a565b34801561029a57600080fd5b506102ae6102a9366004612060565b6106b9565b005b3480156102bc57600080fd5b506101fc6102cb366004611f2a565b610751565b3480156102dc57600080fd5b506102ae6102eb366004611f76565b61096d565b3480156102fc57600080fd5b506102ae6109a5565b34801561031157600080fd5b506102ae610320366004611f76565b6109ee565b34801561033157600080fd5b506102ae61034036600461210d565b610a09565b34801561035157600080fd5b50610232610a5f565b34801561036657600080fd5b50610281610375366004612153565b610a68565b34801561038657600080fd5b506101fc610395366004611f2a565b610a9d565b3480156103a657600080fd5b506101fc6103b5366004612089565b610ae9565b3480156103c657600080fd5b506102ae6103d5366004611f2a565b610ced565b3480156103e657600080fd5b506101fc6103f5366004611f2a565b610d4e565b34801561040657600080fd5b506102ae610d92565b34801561041b57600080fd5b506102ae610e21565b34801561043057600080fd5b506102ae610eba565b34801561044557600080fd5b50610281610f01565b34801561045a57600080fd5b506102ae610469366004612153565b610f15565b34801561047a57600080fd5b50610254610f94565b34801561048f57600080fd5b506102ae61049e366004611f2a565b610fa3565b3480156104af57600080fd5b506102ae6104be36600461202a565b611004565b3480156104cf57600080fd5b506102ae6110d2565b3480156104e457600080fd5b506102ae6104f3366004611fb1565b61120e565b34801561050457600080fd5b50610254610513366004612153565b61124d565b34801561052457600080fd5b506101fc611258565b34801561053957600080fd5b506101fc61125e565b34801561054e57600080fd5b5061023261055d366004611f44565b611264565b34801561056e57600080fd5b506102ae61057d366004611f2a565b611292565b600061058e600861135e565b905090565b60006001600160e01b031982166380ac58cd60e01b14806105c457506001600160e01b03198216635b5e139f60e01b145b806105d357506105d3826113a1565b90505b919050565b6060600080546105ea90612b1b565b80601f016020809104026020016040519081016040528092919081815260200182805461061690612b1b565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b6000610678826113ba565b61069d5760405162461bcd60e51b815260040161069490612754565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106c482610a68565b9050806001600160a01b0316836001600160a01b031614156106f85760405162461bcd60e51b8152600401610694906128f8565b806001600160a01b031661070a6113d7565b6001600160a01b0316148061072657506107268161055d6113d7565b6107425760405162461bcd60e51b81526004016106949061255b565b61074c83836113db565b505050565b600061075b610a5f565b156107785760405162461bcd60e51b815260040161069490612531565b6014610784600861135e565b10156107a25760405162461bcd60e51b8152600401610694906124b0565b61012c6107af600861135e565b6107ba906001612a68565b11156107d85760405162461bcd60e51b8152600401610694906127a0565b6001600160a01b0382166000908152600e602052604090205460ff16156108115760405162461bcd60e51b8152600401610694906126ce565b600c546040516370a0823160e01b81526000916001600160a01b0316906370a082319061084290869060040161220a565b60206040518083038186803b15801561085a57600080fd5b505afa15801561086e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610892919061216b565b116108af5760405162461bcd60e51b8152600401610694906128b4565b6001600160a01b0382166000908152600d602052604081208054600192906108db90849060ff16612a80565b82546101009290920a60ff8181021990931691831602179091556001600160a01b0384166000908152600d602052604090205460069116111590506109325760405162461bcd60e51b8152600401610694906129d3565b6001600160a01b0382166000908152600e60205260409020805460ff19166001908117909155610963908390611449565b6105d3600861135e565b61097e6109786113d7565b826114c1565b61099a5760405162461bcd60e51b815260040161069490612982565b61074c838383611546565b6109ad6113d7565b6001600160a01b03166109be610f01565b6001600160a01b0316146109e45760405162461bcd60e51b8152600401610694906127e7565b6109ec611673565b565b61074c8383836040518060200160405280600081525061120e565b610a116113d7565b6001600160a01b0316610a22610f01565b6001600160a01b031614610a485760405162461bcd60e51b8152600401610694906127e7565b8051610a5b90600f906020840190611e0a565b5050565b60075460ff1690565b6000818152600260205260408120546001600160a01b0316806105d35760405162461bcd60e51b815260040161069490612602565b6000610aa76113d7565b6001600160a01b0316610ab8610f01565b6001600160a01b031614610ade5760405162461bcd60e51b8152600401610694906127e7565b610963826001611449565b6000610af3610a5f565b15610b105760405162461bcd60e51b815260040161069490612531565b6014610b1c600861135e565b1015610b3a5760405162461bcd60e51b8152600401610694906124b0565b61012c8260ff16610b4b600861135e565b610b559190612a68565b1115610b735760405162461bcd60e51b8152600401610694906127a0565b60038260ff161115610b975760405162461bcd60e51b815260040161069490612a1c565b600b546009546001600160a01b03909116906323b872dd9033903090610bc19060ff881690612ab9565b6040518463ffffffff1660e01b8152600401610bdf9392919061221e565b602060405180830381600087803b158015610bf957600080fd5b505af1158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3191906120b9565b610c4d5760405162461bcd60e51b8152600401610694906123fe565b6001600160a01b0383166000908152600d602052604081208054849290610c7890849060ff16612a80565b82546101009290920a60ff8181021990931691831602179091556001600160a01b0385166000908152600d60205260409020546006911611159050610ccf5760405162461bcd60e51b815260040161069490612939565b610cdc838360ff16611449565b610ce6600861135e565b9392505050565b610cf56113d7565b6001600160a01b0316610d06610f01565b6001600160a01b031614610d2c5760405162461bcd60e51b8152600401610694906127e7565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610d765760405162461bcd60e51b8152600401610694906125b8565b506001600160a01b031660009081526003602052604090205490565b610d9a6113d7565b6001600160a01b0316610dab610f01565b6001600160a01b031614610dd15760405162461bcd60e51b8152600401610694906127e7565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b610e296113d7565b6001600160a01b0316610e3a610f01565b6001600160a01b031614610e605760405162461bcd60e51b8152600401610694906127e7565b600a546040516001600160a01b03909116904790610e7d90612207565b60006040518083038185875af1925050503d806000811461074c576040519150601f19603f3d011682016040523d82523d6000602084013e61074c565b610ec26113d7565b6001600160a01b0316610ed3610f01565b6001600160a01b031614610ef95760405162461bcd60e51b8152600401610694906127e7565b6109ec6116e1565b60075461010090046001600160a01b031690565b610f1d6113d7565b6001600160a01b0316610f2e610f01565b6001600160a01b031614610f545760405162461bcd60e51b8152600401610694906127e7565b60098190556040517f66cbca4f3c64fecf1dcb9ce094abcf7f68c3450a1d4e3a8e917dd621edb4ebe090610f89908390612a5f565b60405180910390a150565b6060600180546105ea90612b1b565b610fab6113d7565b6001600160a01b0316610fbc610f01565b6001600160a01b031614610fe25760405162461bcd60e51b8152600401610694906127e7565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b61100c6113d7565b6001600160a01b0316826001600160a01b0316141561103d5760405162461bcd60e51b815260040161069490612479565b806005600061104a6113d7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561108e6113d7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110c69190612298565b60405180910390a35050565b6110da6113d7565b6001600160a01b03166110eb610f01565b6001600160a01b0316146111115760405162461bcd60e51b8152600401610694906127e7565b600b546040516370a0823160e01b81526001600160a01b0390911690819063a9059cbb9061dead9083906370a082319061114f90309060040161220a565b60206040518083038186803b15801561116757600080fd5b505afa15801561117b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119f919061216b565b6040518363ffffffff1660e01b81526004016111bc92919061227f565b602060405180830381600087803b1580156111d657600080fd5b505af11580156111ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5b91906120b9565b61121f6112196113d7565b836114c1565b61123b5760405162461bcd60e51b815260040161069490612982565b6112478484848461173c565b50505050565b60606105d38261176f565b60095490565b60095481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61129a6113d7565b6001600160a01b03166112ab610f01565b6001600160a01b0316146112d15760405162461bcd60e51b8152600401610694906127e7565b6001600160a01b0381166112f75760405162461bcd60e51b815260040161069490612381565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5490565b80546001019055565b3b151590565b61137c83838361074c565b611384610a5f565b1561074c5760405162461bcd60e51b8152600401610694906122b6565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061141082610a68565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b8181101561074c5761145e6008611362565b600061146a600861135e565b90506114768482611888565b6000611481826118a2565b60405160200161149191906121de565b60405160208183030381529060405290506114ac82826119bd565b505080806114b990612b56565b91505061144c565b60006114cc826113ba565b6114e85760405162461bcd60e51b8152600401610694906124e5565b60006114f383610a68565b9050806001600160a01b0316846001600160a01b0316148061152e5750836001600160a01b03166115238461066d565b6001600160a01b0316145b8061153e575061153e8185611264565b949350505050565b826001600160a01b031661155982610a68565b6001600160a01b03161461157f5760405162461bcd60e51b81526004016106949061281c565b6001600160a01b0382166115a55760405162461bcd60e51b815260040161069490612435565b6115b0838383611a01565b6115bb6000826113db565b6001600160a01b03831660009081526003602052604081208054600192906115e4908490612ad8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611612908490612a68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61167b610a5f565b6116975760405162461bcd60e51b815260040161069490612301565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116ca6113d7565b6040516116d7919061220a565b60405180910390a1565b6116e9610a5f565b156117065760405162461bcd60e51b815260040161069490612531565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116ca6113d7565b611747848484611546565b61175384848484611a31565b6112475760405162461bcd60e51b81526004016106949061232f565b606061177a826113ba565b6117965760405162461bcd60e51b815260040161069490612703565b600082815260066020526040812080546117af90612b1b565b80601f01602080910402602001604051908101604052809291908181526020018280546117db90612b1b565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b505050505090506000611839611b4c565b905080516000141561184d575090506105d6565b81511561187f5780826040516020016118679291906121af565b604051602081830303815290604052925050506105d6565b61153e84611b5b565b610a5b828260405180602001604052806000815250611bdd565b6060816118c757506040805180820190915260018152600360fc1b60208201526105d6565b8160005b81156118f157806118db81612b56565b91506118ea9050600a83612aa5565b91506118cb565b60008167ffffffffffffffff81111561191a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611944576020820181803683370190505b5090505b841561153e57611959600183612ad8565b9150611966600a86612b71565b611971906030612a68565b60f81b81838151811061199457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506119b6600a86612aa5565b9450611948565b6119c6826113ba565b6119e25760405162461bcd60e51b81526004016106949061264b565b6000828152600660209081526040909120825161074c92840190611e0a565b611a09610a5f565b15611a265760405162461bcd60e51b815260040161069490612531565b61074c838383611371565b6000611a45846001600160a01b031661136b565b15611b4157836001600160a01b031663150b7a02611a616113d7565b8786866040518563ffffffff1660e01b8152600401611a839493929190612242565b602060405180830381600087803b158015611a9d57600080fd5b505af1925050508015611acd575060408051601f3d908101601f19168201909252611aca918101906120f1565b60015b611b27573d808015611afb576040519150601f19603f3d011682016040523d82523d6000602084013e611b00565b606091505b508051611b1f5760405162461bcd60e51b81526004016106949061232f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061153e565b506001949350505050565b6060600f80546105ea90612b1b565b6060611b66826113ba565b611b825760405162461bcd60e51b815260040161069490612865565b6000611b8c611b4c565b90506000815111611bac5760405180602001604052806000815250610ce6565b80611bb684611c10565b604051602001611bc79291906121af565b6040516020818303038152906040529392505050565b611be78383611d2b565b611bf46000848484611a31565b61074c5760405162461bcd60e51b81526004016106949061232f565b606081611c3557506040805180820190915260018152600360fc1b60208201526105d6565b8160005b8115611c5f5780611c4981612b56565b9150611c589050600a83612aa5565b9150611c39565b60008167ffffffffffffffff811115611c8857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611cb2576020820181803683370190505b5090505b841561153e57611cc7600183612ad8565b9150611cd4600a86612b71565b611cdf906030612a68565b60f81b818381518110611d0257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d24600a86612aa5565b9450611cb6565b6001600160a01b038216611d515760405162461bcd60e51b815260040161069490612699565b611d5a816113ba565b15611d775760405162461bcd60e51b8152600401610694906123c7565b611d8360008383611a01565b6001600160a01b0382166000908152600360205260408120805460019290611dac908490612a68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e1690612b1b565b90600052602060002090601f016020900481019282611e385760008555611e7e565b82601f10611e5157805160ff1916838001178555611e7e565b82800160010185558215611e7e579182015b82811115611e7e578251825591602001919060010190611e63565b50611e8a929150611e8e565b5090565b5b80821115611e8a5760008155600101611e8f565b600067ffffffffffffffff80841115611ebe57611ebe612bb1565b604051601f8501601f191681016020018281118282101715611ee257611ee2612bb1565b604052848152915081838501861015611efa57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146105d657600080fd5b600060208284031215611f3b578081fd5b610ce682611f13565b60008060408385031215611f56578081fd5b611f5f83611f13565b9150611f6d60208401611f13565b90509250929050565b600080600060608486031215611f8a578081fd5b611f9384611f13565b9250611fa160208501611f13565b9150604084013590509250925092565b60008060008060808587031215611fc6578081fd5b611fcf85611f13565b9350611fdd60208601611f13565b925060408501359150606085013567ffffffffffffffff811115611fff578182fd5b8501601f8101871361200f578182fd5b61201e87823560208401611ea3565b91505092959194509250565b6000806040838503121561203c578182fd5b61204583611f13565b9150602083013561205581612bc7565b809150509250929050565b60008060408385031215612072578182fd5b61207b83611f13565b946020939093013593505050565b6000806040838503121561209b578182fd5b6120a483611f13565b9150602083013560ff81168114612055578182fd5b6000602082840312156120ca578081fd5b8151610ce681612bc7565b6000602082840312156120e6578081fd5b8135610ce681612bd8565b600060208284031215612102578081fd5b8151610ce681612bd8565b60006020828403121561211e578081fd5b813567ffffffffffffffff811115612134578182fd5b8201601f81018413612144578182fd5b61153e84823560208401611ea3565b600060208284031215612164578081fd5b5035919050565b60006020828403121561217c578081fd5b5051919050565b6000815180845261219b816020860160208601612aef565b601f01601f19169290920160200192915050565b600083516121c1818460208801612aef565b8351908301906121d5818360208801612aef565b01949350505050565b600082516121f0818460208701612aef565b64173539b7b760d91b920191825250600501919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061227590830184612183565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610ce66020830184612183565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601a908201527f436f756c64206e6f74207472616e7366657220746f6b656e732e000000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f4e65656420746f206d696e74207265736572766564206e667473206669727374604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252818101527f596f752063616e6e6f74206d696e74656420747769636520666f722066726565604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526027908201527f4d6178696d756d20616d6f756e74206f6620746f6b656e7320616c7265616479604082015266081b5a5b9d195960ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526024908201527f596f75206e65656420736e6170636f7665723120746f206d696e7420666f72206040820152636672656560e01b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526029908201527f596f752063616e74206d696e74206d6f7265207468616e203620666f72206f6e60408201526832903bb0b63632ba1760b91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526029908201527f596f752063616e2774206d696e74206d6f7265207468616e203620666f72206f6040820152681b99481dd85b1b195d60ba1b606082015260800190565b60208082526023908201527f596f752063616e74206d696e74206d6f7265207468616e203320617420612074604082015262696d6560e81b606082015260800190565b90815260200190565b60008219821115612a7b57612a7b612b85565b500190565b600060ff821660ff84168060ff03821115612a9d57612a9d612b85565b019392505050565b600082612ab457612ab4612b9b565b500490565b6000816000190483118215151615612ad357612ad3612b85565b500290565b600082821015612aea57612aea612b85565b500390565b60005b83811015612b0a578181015183820152602001612af2565b838111156112475750506000910152565b600281046001821680612b2f57607f821691505b60208210811415612b5057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b6a57612b6a612b85565b5060010190565b600082612b8057612b80612b9b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114612bd557600080fd5b50565b6001600160e01b031981168114612bd557600080fdfea26469706673582212203fa8800de4ae285ae047fa3f15fa873477b0d420c6d13ae9adf8fe3f6da89fb964736f6c63430008000033697066733a2f2f516d54673850314a78736f6d6964313751793543574a6937754e5462766e674d79557957656d574668636f50627a2f534e415020554e495645525345207370656369616c2065646974696f6e20636f7665722c204973737565203032
Deployed Bytecode
0x6080604052600436106101db5760003560e01c806370a0823111610102578063a22cb46511610095578063ced72f8711610064578063ced72f8714610518578063ddca3f431461052d578063e985e9c514610542578063f2fde38b14610562576101e2565b8063a22cb465146104a3578063a9371480146104c3578063b88d4fde146104d8578063c87b56dd146104f8576101e2565b80638da5cb5b116100d15780638da5cb5b146104395780639012c4a81461044e57806395d89b411461046e578063a16a3e5a14610483576101e2565b806370a08231146103da578063715018a6146103fa578063793cd71e1461040f5780638456cb5914610424576101e2565b80633f4ba83a1161017a5780636352211e116101495780636352211e1461035a57806363fe5cca1461037a578063691562a01461039a578063697d581e146103ba576101e2565b80633f4ba83a146102f057806342842e0e1461030557806355f804b3146103255780635c975abb14610345576101e2565b8063081812fc116101b6578063081812fc14610261578063095ea7b31461028e57806314d3d9f4146102b057806323b872dd146102d0576101e2565b80629a9b7b146101e757806301ffc9a71461021257806306fdde031461023f576101e2565b366101e257005b600080fd5b3480156101f357600080fd5b506101fc610582565b6040516102099190612a5f565b60405180910390f35b34801561021e57600080fd5b5061023261022d3660046120d5565b610593565b6040516102099190612298565b34801561024b57600080fd5b506102546105db565b60405161020991906122a3565b34801561026d57600080fd5b5061028161027c366004612153565b61066d565b604051610209919061220a565b34801561029a57600080fd5b506102ae6102a9366004612060565b6106b9565b005b3480156102bc57600080fd5b506101fc6102cb366004611f2a565b610751565b3480156102dc57600080fd5b506102ae6102eb366004611f76565b61096d565b3480156102fc57600080fd5b506102ae6109a5565b34801561031157600080fd5b506102ae610320366004611f76565b6109ee565b34801561033157600080fd5b506102ae61034036600461210d565b610a09565b34801561035157600080fd5b50610232610a5f565b34801561036657600080fd5b50610281610375366004612153565b610a68565b34801561038657600080fd5b506101fc610395366004611f2a565b610a9d565b3480156103a657600080fd5b506101fc6103b5366004612089565b610ae9565b3480156103c657600080fd5b506102ae6103d5366004611f2a565b610ced565b3480156103e657600080fd5b506101fc6103f5366004611f2a565b610d4e565b34801561040657600080fd5b506102ae610d92565b34801561041b57600080fd5b506102ae610e21565b34801561043057600080fd5b506102ae610eba565b34801561044557600080fd5b50610281610f01565b34801561045a57600080fd5b506102ae610469366004612153565b610f15565b34801561047a57600080fd5b50610254610f94565b34801561048f57600080fd5b506102ae61049e366004611f2a565b610fa3565b3480156104af57600080fd5b506102ae6104be36600461202a565b611004565b3480156104cf57600080fd5b506102ae6110d2565b3480156104e457600080fd5b506102ae6104f3366004611fb1565b61120e565b34801561050457600080fd5b50610254610513366004612153565b61124d565b34801561052457600080fd5b506101fc611258565b34801561053957600080fd5b506101fc61125e565b34801561054e57600080fd5b5061023261055d366004611f44565b611264565b34801561056e57600080fd5b506102ae61057d366004611f2a565b611292565b600061058e600861135e565b905090565b60006001600160e01b031982166380ac58cd60e01b14806105c457506001600160e01b03198216635b5e139f60e01b145b806105d357506105d3826113a1565b90505b919050565b6060600080546105ea90612b1b565b80601f016020809104026020016040519081016040528092919081815260200182805461061690612b1b565b80156106635780601f1061063857610100808354040283529160200191610663565b820191906000526020600020905b81548152906001019060200180831161064657829003601f168201915b5050505050905090565b6000610678826113ba565b61069d5760405162461bcd60e51b815260040161069490612754565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006106c482610a68565b9050806001600160a01b0316836001600160a01b031614156106f85760405162461bcd60e51b8152600401610694906128f8565b806001600160a01b031661070a6113d7565b6001600160a01b0316148061072657506107268161055d6113d7565b6107425760405162461bcd60e51b81526004016106949061255b565b61074c83836113db565b505050565b600061075b610a5f565b156107785760405162461bcd60e51b815260040161069490612531565b6014610784600861135e565b10156107a25760405162461bcd60e51b8152600401610694906124b0565b61012c6107af600861135e565b6107ba906001612a68565b11156107d85760405162461bcd60e51b8152600401610694906127a0565b6001600160a01b0382166000908152600e602052604090205460ff16156108115760405162461bcd60e51b8152600401610694906126ce565b600c546040516370a0823160e01b81526000916001600160a01b0316906370a082319061084290869060040161220a565b60206040518083038186803b15801561085a57600080fd5b505afa15801561086e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610892919061216b565b116108af5760405162461bcd60e51b8152600401610694906128b4565b6001600160a01b0382166000908152600d602052604081208054600192906108db90849060ff16612a80565b82546101009290920a60ff8181021990931691831602179091556001600160a01b0384166000908152600d602052604090205460069116111590506109325760405162461bcd60e51b8152600401610694906129d3565b6001600160a01b0382166000908152600e60205260409020805460ff19166001908117909155610963908390611449565b6105d3600861135e565b61097e6109786113d7565b826114c1565b61099a5760405162461bcd60e51b815260040161069490612982565b61074c838383611546565b6109ad6113d7565b6001600160a01b03166109be610f01565b6001600160a01b0316146109e45760405162461bcd60e51b8152600401610694906127e7565b6109ec611673565b565b61074c8383836040518060200160405280600081525061120e565b610a116113d7565b6001600160a01b0316610a22610f01565b6001600160a01b031614610a485760405162461bcd60e51b8152600401610694906127e7565b8051610a5b90600f906020840190611e0a565b5050565b60075460ff1690565b6000818152600260205260408120546001600160a01b0316806105d35760405162461bcd60e51b815260040161069490612602565b6000610aa76113d7565b6001600160a01b0316610ab8610f01565b6001600160a01b031614610ade5760405162461bcd60e51b8152600401610694906127e7565b610963826001611449565b6000610af3610a5f565b15610b105760405162461bcd60e51b815260040161069490612531565b6014610b1c600861135e565b1015610b3a5760405162461bcd60e51b8152600401610694906124b0565b61012c8260ff16610b4b600861135e565b610b559190612a68565b1115610b735760405162461bcd60e51b8152600401610694906127a0565b60038260ff161115610b975760405162461bcd60e51b815260040161069490612a1c565b600b546009546001600160a01b03909116906323b872dd9033903090610bc19060ff881690612ab9565b6040518463ffffffff1660e01b8152600401610bdf9392919061221e565b602060405180830381600087803b158015610bf957600080fd5b505af1158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c3191906120b9565b610c4d5760405162461bcd60e51b8152600401610694906123fe565b6001600160a01b0383166000908152600d602052604081208054849290610c7890849060ff16612a80565b82546101009290920a60ff8181021990931691831602179091556001600160a01b0385166000908152600d60205260409020546006911611159050610ccf5760405162461bcd60e51b815260040161069490612939565b610cdc838360ff16611449565b610ce6600861135e565b9392505050565b610cf56113d7565b6001600160a01b0316610d06610f01565b6001600160a01b031614610d2c5760405162461bcd60e51b8152600401610694906127e7565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160a01b038216610d765760405162461bcd60e51b8152600401610694906125b8565b506001600160a01b031660009081526003602052604090205490565b610d9a6113d7565b6001600160a01b0316610dab610f01565b6001600160a01b031614610dd15760405162461bcd60e51b8152600401610694906127e7565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b610e296113d7565b6001600160a01b0316610e3a610f01565b6001600160a01b031614610e605760405162461bcd60e51b8152600401610694906127e7565b600a546040516001600160a01b03909116904790610e7d90612207565b60006040518083038185875af1925050503d806000811461074c576040519150601f19603f3d011682016040523d82523d6000602084013e61074c565b610ec26113d7565b6001600160a01b0316610ed3610f01565b6001600160a01b031614610ef95760405162461bcd60e51b8152600401610694906127e7565b6109ec6116e1565b60075461010090046001600160a01b031690565b610f1d6113d7565b6001600160a01b0316610f2e610f01565b6001600160a01b031614610f545760405162461bcd60e51b8152600401610694906127e7565b60098190556040517f66cbca4f3c64fecf1dcb9ce094abcf7f68c3450a1d4e3a8e917dd621edb4ebe090610f89908390612a5f565b60405180910390a150565b6060600180546105ea90612b1b565b610fab6113d7565b6001600160a01b0316610fbc610f01565b6001600160a01b031614610fe25760405162461bcd60e51b8152600401610694906127e7565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b61100c6113d7565b6001600160a01b0316826001600160a01b0316141561103d5760405162461bcd60e51b815260040161069490612479565b806005600061104a6113d7565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff19169215159290921790915561108e6113d7565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110c69190612298565b60405180910390a35050565b6110da6113d7565b6001600160a01b03166110eb610f01565b6001600160a01b0316146111115760405162461bcd60e51b8152600401610694906127e7565b600b546040516370a0823160e01b81526001600160a01b0390911690819063a9059cbb9061dead9083906370a082319061114f90309060040161220a565b60206040518083038186803b15801561116757600080fd5b505afa15801561117b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119f919061216b565b6040518363ffffffff1660e01b81526004016111bc92919061227f565b602060405180830381600087803b1580156111d657600080fd5b505af11580156111ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a5b91906120b9565b61121f6112196113d7565b836114c1565b61123b5760405162461bcd60e51b815260040161069490612982565b6112478484848461173c565b50505050565b60606105d38261176f565b60095490565b60095481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61129a6113d7565b6001600160a01b03166112ab610f01565b6001600160a01b0316146112d15760405162461bcd60e51b8152600401610694906127e7565b6001600160a01b0381166112f75760405162461bcd60e51b815260040161069490612381565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5490565b80546001019055565b3b151590565b61137c83838361074c565b611384610a5f565b1561074c5760405162461bcd60e51b8152600401610694906122b6565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061141082610a68565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60005b8181101561074c5761145e6008611362565b600061146a600861135e565b90506114768482611888565b6000611481826118a2565b60405160200161149191906121de565b60405160208183030381529060405290506114ac82826119bd565b505080806114b990612b56565b91505061144c565b60006114cc826113ba565b6114e85760405162461bcd60e51b8152600401610694906124e5565b60006114f383610a68565b9050806001600160a01b0316846001600160a01b0316148061152e5750836001600160a01b03166115238461066d565b6001600160a01b0316145b8061153e575061153e8185611264565b949350505050565b826001600160a01b031661155982610a68565b6001600160a01b03161461157f5760405162461bcd60e51b81526004016106949061281c565b6001600160a01b0382166115a55760405162461bcd60e51b815260040161069490612435565b6115b0838383611a01565b6115bb6000826113db565b6001600160a01b03831660009081526003602052604081208054600192906115e4908490612ad8565b90915550506001600160a01b0382166000908152600360205260408120805460019290611612908490612a68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61167b610a5f565b6116975760405162461bcd60e51b815260040161069490612301565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6116ca6113d7565b6040516116d7919061220a565b60405180910390a1565b6116e9610a5f565b156117065760405162461bcd60e51b815260040161069490612531565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116ca6113d7565b611747848484611546565b61175384848484611a31565b6112475760405162461bcd60e51b81526004016106949061232f565b606061177a826113ba565b6117965760405162461bcd60e51b815260040161069490612703565b600082815260066020526040812080546117af90612b1b565b80601f01602080910402602001604051908101604052809291908181526020018280546117db90612b1b565b80156118285780601f106117fd57610100808354040283529160200191611828565b820191906000526020600020905b81548152906001019060200180831161180b57829003601f168201915b505050505090506000611839611b4c565b905080516000141561184d575090506105d6565b81511561187f5780826040516020016118679291906121af565b604051602081830303815290604052925050506105d6565b61153e84611b5b565b610a5b828260405180602001604052806000815250611bdd565b6060816118c757506040805180820190915260018152600360fc1b60208201526105d6565b8160005b81156118f157806118db81612b56565b91506118ea9050600a83612aa5565b91506118cb565b60008167ffffffffffffffff81111561191a57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611944576020820181803683370190505b5090505b841561153e57611959600183612ad8565b9150611966600a86612b71565b611971906030612a68565b60f81b81838151811061199457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506119b6600a86612aa5565b9450611948565b6119c6826113ba565b6119e25760405162461bcd60e51b81526004016106949061264b565b6000828152600660209081526040909120825161074c92840190611e0a565b611a09610a5f565b15611a265760405162461bcd60e51b815260040161069490612531565b61074c838383611371565b6000611a45846001600160a01b031661136b565b15611b4157836001600160a01b031663150b7a02611a616113d7565b8786866040518563ffffffff1660e01b8152600401611a839493929190612242565b602060405180830381600087803b158015611a9d57600080fd5b505af1925050508015611acd575060408051601f3d908101601f19168201909252611aca918101906120f1565b60015b611b27573d808015611afb576040519150601f19603f3d011682016040523d82523d6000602084013e611b00565b606091505b508051611b1f5760405162461bcd60e51b81526004016106949061232f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061153e565b506001949350505050565b6060600f80546105ea90612b1b565b6060611b66826113ba565b611b825760405162461bcd60e51b815260040161069490612865565b6000611b8c611b4c565b90506000815111611bac5760405180602001604052806000815250610ce6565b80611bb684611c10565b604051602001611bc79291906121af565b6040516020818303038152906040529392505050565b611be78383611d2b565b611bf46000848484611a31565b61074c5760405162461bcd60e51b81526004016106949061232f565b606081611c3557506040805180820190915260018152600360fc1b60208201526105d6565b8160005b8115611c5f5780611c4981612b56565b9150611c589050600a83612aa5565b9150611c39565b60008167ffffffffffffffff811115611c8857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611cb2576020820181803683370190505b5090505b841561153e57611cc7600183612ad8565b9150611cd4600a86612b71565b611cdf906030612a68565b60f81b818381518110611d0257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611d24600a86612aa5565b9450611cb6565b6001600160a01b038216611d515760405162461bcd60e51b815260040161069490612699565b611d5a816113ba565b15611d775760405162461bcd60e51b8152600401610694906123c7565b611d8360008383611a01565b6001600160a01b0382166000908152600360205260408120805460019290611dac908490612a68565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611e1690612b1b565b90600052602060002090601f016020900481019282611e385760008555611e7e565b82601f10611e5157805160ff1916838001178555611e7e565b82800160010185558215611e7e579182015b82811115611e7e578251825591602001919060010190611e63565b50611e8a929150611e8e565b5090565b5b80821115611e8a5760008155600101611e8f565b600067ffffffffffffffff80841115611ebe57611ebe612bb1565b604051601f8501601f191681016020018281118282101715611ee257611ee2612bb1565b604052848152915081838501861015611efa57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146105d657600080fd5b600060208284031215611f3b578081fd5b610ce682611f13565b60008060408385031215611f56578081fd5b611f5f83611f13565b9150611f6d60208401611f13565b90509250929050565b600080600060608486031215611f8a578081fd5b611f9384611f13565b9250611fa160208501611f13565b9150604084013590509250925092565b60008060008060808587031215611fc6578081fd5b611fcf85611f13565b9350611fdd60208601611f13565b925060408501359150606085013567ffffffffffffffff811115611fff578182fd5b8501601f8101871361200f578182fd5b61201e87823560208401611ea3565b91505092959194509250565b6000806040838503121561203c578182fd5b61204583611f13565b9150602083013561205581612bc7565b809150509250929050565b60008060408385031215612072578182fd5b61207b83611f13565b946020939093013593505050565b6000806040838503121561209b578182fd5b6120a483611f13565b9150602083013560ff81168114612055578182fd5b6000602082840312156120ca578081fd5b8151610ce681612bc7565b6000602082840312156120e6578081fd5b8135610ce681612bd8565b600060208284031215612102578081fd5b8151610ce681612bd8565b60006020828403121561211e578081fd5b813567ffffffffffffffff811115612134578182fd5b8201601f81018413612144578182fd5b61153e84823560208401611ea3565b600060208284031215612164578081fd5b5035919050565b60006020828403121561217c578081fd5b5051919050565b6000815180845261219b816020860160208601612aef565b601f01601f19169290920160200192915050565b600083516121c1818460208801612aef565b8351908301906121d5818360208801612aef565b01949350505050565b600082516121f0818460208701612aef565b64173539b7b760d91b920191825250600501919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061227590830184612183565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610ce66020830184612183565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601a908201527f436f756c64206e6f74207472616e7366657220746f6b656e732e000000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f4e65656420746f206d696e74207265736572766564206e667473206669727374604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252818101527f596f752063616e6e6f74206d696e74656420747769636520666f722066726565604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526027908201527f4d6178696d756d20616d6f756e74206f6620746f6b656e7320616c7265616479604082015266081b5a5b9d195960ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526024908201527f596f75206e65656420736e6170636f7665723120746f206d696e7420666f72206040820152636672656560e01b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526029908201527f596f752063616e74206d696e74206d6f7265207468616e203620666f72206f6e60408201526832903bb0b63632ba1760b91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60208082526029908201527f596f752063616e2774206d696e74206d6f7265207468616e203620666f72206f6040820152681b99481dd85b1b195d60ba1b606082015260800190565b60208082526023908201527f596f752063616e74206d696e74206d6f7265207468616e203320617420612074604082015262696d6560e81b606082015260800190565b90815260200190565b60008219821115612a7b57612a7b612b85565b500190565b600060ff821660ff84168060ff03821115612a9d57612a9d612b85565b019392505050565b600082612ab457612ab4612b9b565b500490565b6000816000190483118215151615612ad357612ad3612b85565b500290565b600082821015612aea57612aea612b85565b500390565b60005b83811015612b0a578181015183820152602001612af2565b838111156112475750506000910152565b600281046001821680612b2f57607f821691505b60208210811415612b5057634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415612b6a57612b6a612b85565b5060010190565b600082612b8057612b80612b9b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114612bd557600080fd5b50565b6001600160e01b031981168114612bd557600080fdfea26469706673582212203fa8800de4ae285ae047fa3f15fa873477b0d420c6d13ae9adf8fe3f6da89fb964736f6c63430008000033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.