ERC-721
Overview
Max Total Supply
0 SNAPCOVER3
Holders
139
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 SNAPCOVER3Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SnapSpecialEditionCoverIssue03
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 SnapSpecialEditionCoverIssue03 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; mapping (address => uint8) private mintedTokens; string private _baseURIPrefix; event PriceUpdated(uint newPrice); receive() external payable {} constructor() ERC721("SNAP UNIVERSE special edition cover, Issue 03", "SNAPCOVER3") { fee = 4000000000000000000; //4,000,000,000 SNAP! _baseURIPrefix = "ipfs://QmRspwSE8xG4uT8iDJ679T7rSCXV9nHXJ7vNjUA9DGp1SB/"; 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 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 <= 2, "You cant mint more than 2 at a time"); require(ERC20(snapAddress).transferFrom(msg.sender, address(this), fee * numberOfMints), "Could not transfer tokens."); mintedTokens[wallet] += numberOfMints; require(mintedTokens[wallet] <= 4, "You cant mint more than 4 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 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":"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":"_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
6080604052600a80546001600160a01b031990811673e52894d7187903ef634ee9b115a1f6b7334bfe7c17909155600b8054909116734c5813b8c6fbbac76caa148aaf8910f236b56fdf1790553480156200005957600080fd5b506040518060600160405280602d815260200162003542602d91396040518060400160405280600a815260200169534e4150434f5645523360b01b8152508160009080519060200190620000af92919062000824565b508051620000c590600190602084019062000824565b50506007805460ff19169055506000620000de6200018c565b60078054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350673782dace9d900000600955604080516060810190915260368082526200350c602083013980516200016f91600d9160209091019062000824565b506200017b3362000190565b50620001866200022f565b62000c63565b3390565b60006200019c6200018c565b6001600160a01b0316620001af620002aa565b6001600160a01b031614620001e15760405162461bcd60e51b8152600401620001d89062000b11565b60405180910390fd5b620001f86008620002be60201b620010951760201c565b156200020357600080fd5b62000210826014620002c2565b620002276008620002be60201b620010951760201c565b90505b919050565b6200023962000366565b15620002595760405162461bcd60e51b8152600401620001d89062000a64565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620002916200018c565b604051620002a0919062000926565b60405180910390a1565b60075461010090046001600160a01b031690565b5490565b60005b818110156200036157620002e560086200036f60201b620010991760201c565b6000620002fe6008620002be60201b620010951760201c565b90506200030c848262000378565b600062000319826200039e565b6040516020016200032b9190620008fb565b60408051601f198184030181529190529050620003498282620004d5565b50508080620003589062000c02565b915050620002c5565b505050565b60075460ff1690565b80546001019055565b6200039a8282604051806020016040528060008152506200052060201b60201c565b5050565b606081620003c557506040805180820190915260018152600360fc1b60208201526200022a565b8160005b8115620003f55780620003dc8162000c02565b9150620003ed9050600a8362000b61565b9150620003c9565b6000816001600160401b038111156200041e57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801562000449576020820181803683370190505b5090505b8415620004cd576200046160018362000b78565b915062000470600a8662000c20565b6200047d90603062000b46565b60f81b818381518110620004a157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350620004c5600a8662000b61565b94506200044d565b949350505050565b620004e0826200055a565b620004ff5760405162461bcd60e51b8152600401620001d89062000a8e565b60008281526006602090815260409091208251620003619284019062000824565b6200052c838362000577565b6200053b600084848462000662565b620003615760405162461bcd60e51b8152600401620001d890620009db565b6000908152600260205260409020546001600160a01b0316151590565b6001600160a01b038216620005a05760405162461bcd60e51b8152600401620001d89062000adc565b620005ab816200055a565b15620005cb5760405162461bcd60e51b8152600401620001d89062000a2d565b620005d9600083836200079a565b6001600160a01b03821660009081526003602052604081208054600192906200060490849062000b46565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600062000683846001600160a01b0316620007dc60201b620010a21760201c565b156200078f576001600160a01b03841663150b7a02620006a26200018c565b8786866040518563ffffffff1660e01b8152600401620006c694939291906200093a565b602060405180830381600087803b158015620006e157600080fd5b505af192505050801562000714575060408051601f3d908101601f191682019092526200071191810190620008ca565b60015b62000774573d80801562000745576040519150601f19603f3d011682016040523d82523d6000602084013e6200074a565b606091505b5080516200076c5760405162461bcd60e51b8152600401620001d890620009db565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620004cd565b506001949350505050565b620007a462000366565b15620007c45760405162461bcd60e51b8152600401620001d89062000a64565b62000361838383620007e260201b620010a81760201c565b3b151590565b620007fa8383836200036160201b620006f61760201c565b6200080462000366565b15620003615760405162461bcd60e51b8152600401620001d89062000990565b828054620008329062000bc5565b90600052602060002090601f016020900481019282620008565760008555620008a1565b82601f106200087157805160ff1916838001178555620008a1565b82800160010185558215620008a1579182015b82811115620008a157825182559160200191906001019062000884565b50620008af929150620008b3565b5090565b5b80821115620008af5760008155600101620008b4565b600060208284031215620008dc578081fd5b81516001600160e01b031981168114620008f4578182fd5b9392505050565b600082516200090f81846020870162000b92565b64173539b7b760d91b920191825250600501919050565b6001600160a01b0391909116815260200190565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620009798160a085016020870162000b92565b601f01601f19169190910160a00195945050505050565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111562000b5c5762000b5c62000c37565b500190565b60008262000b735762000b7362000c4d565b500490565b60008282101562000b8d5762000b8d62000c37565b500390565b60005b8381101562000baf57818101518382015260200162000b95565b8381111562000bbf576000848401525b50505050565b60028104600182168062000bda57607f821691505b6020821081141562000bfc57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000c195762000c1962000c37565b5060010190565b60008262000c325762000c3262000c4d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b6128998062000c736000396000f3fe6080604052600436106101c55760003560e01c8063715018a6116100f7578063a22cb46511610095578063ced72f8711610064578063ced72f87146104c2578063ddca3f43146104d7578063e985e9c5146104ec578063f2fde38b1461050c576101cc565b8063a22cb4651461044d578063a93714801461046d578063b88d4fde14610482578063c87b56dd146104a2576101cc565b80638da5cb5b116100d15780638da5cb5b146103e35780639012c4a8146103f857806395d89b4114610418578063a16a3e5a1461042d576101cc565b8063715018a6146103a4578063793cd71e146103b95780638456cb59146103ce576101cc565b806342842e0e116101645780636352211e1161013e5780636352211e1461032457806363fe5cca14610344578063691562a01461036457806370a0823114610384576101cc565b806342842e0e146102cf57806355f804b3146102ef5780635c975abb1461030f576101cc565b8063081812fc116101a0578063081812fc1461024b578063095ea7b31461027857806323b872dd1461029a5780633f4ba83a146102ba576101cc565b80629a9b7b146101d157806301ffc9a7146101fc57806306fdde0314610229576101cc565b366101cc57005b600080fd5b3480156101dd57600080fd5b506101e661052c565b6040516101f391906126d4565b60405180910390f35b34801561020857600080fd5b5061021c610217366004611e0c565b61053d565b6040516101f39190611fcf565b34801561023557600080fd5b5061023e610585565b6040516101f39190611fda565b34801561025757600080fd5b5061026b610266366004611e8a565b610617565b6040516101f39190611f41565b34801561028457600080fd5b50610298610293366004611d97565b610663565b005b3480156102a657600080fd5b506102986102b5366004611cad565b6106fb565b3480156102c657600080fd5b50610298610733565b3480156102db57600080fd5b506102986102ea366004611cad565b61077c565b3480156102fb57600080fd5b5061029861030a366004611e44565b610797565b34801561031b57600080fd5b5061021c6107ed565b34801561033057600080fd5b5061026b61033f366004611e8a565b6107f6565b34801561035057600080fd5b506101e661035f366004611c61565b61082b565b34801561037057600080fd5b506101e661037f366004611dc0565b610881565b34801561039057600080fd5b506101e661039f366004611c61565b610a85565b3480156103b057600080fd5b50610298610ac9565b3480156103c557600080fd5b50610298610b58565b3480156103da57600080fd5b50610298610bf1565b3480156103ef57600080fd5b5061026b610c38565b34801561040457600080fd5b50610298610413366004611e8a565b610c4c565b34801561042457600080fd5b5061023e610ccb565b34801561043957600080fd5b50610298610448366004611c61565b610cda565b34801561045957600080fd5b50610298610468366004611d61565b610d3b565b34801561047957600080fd5b50610298610e09565b34801561048e57600080fd5b5061029861049d366004611ce8565b610f45565b3480156104ae57600080fd5b5061023e6104bd366004611e8a565b610f84565b3480156104ce57600080fd5b506101e6610f8f565b3480156104e357600080fd5b506101e6610f95565b3480156104f857600080fd5b5061021c610507366004611c7b565b610f9b565b34801561051857600080fd5b50610298610527366004611c61565b610fc9565b60006105386008611095565b905090565b60006001600160e01b031982166380ac58cd60e01b148061056e57506001600160e01b03198216635b5e139f60e01b145b8061057d575061057d826110d8565b90505b919050565b60606000805461059490612790565b80601f01602080910402602001604051908101604052809291908181526020018280546105c090612790565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b5050505050905090565b6000610622826110f1565b6106475760405162461bcd60e51b815260040161063e906124e2565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061066e826107f6565b9050806001600160a01b0316836001600160a01b031614156106a25760405162461bcd60e51b815260040161063e90612642565b806001600160a01b03166106b461110e565b6001600160a01b031614806106d057506106d08161050761110e565b6106ec5760405162461bcd60e51b815260040161063e9061231e565b6106f68383611112565b505050565b61070c61070661110e565b82611180565b6107285760405162461bcd60e51b815260040161063e90612683565b6106f6838383611205565b61073b61110e565b6001600160a01b031661074c610c38565b6001600160a01b0316146107725760405162461bcd60e51b815260040161063e90612575565b61077a611332565b565b6106f683838360405180602001604052806000815250610f45565b61079f61110e565b6001600160a01b03166107b0610c38565b6001600160a01b0316146107d65760405162461bcd60e51b815260040161063e90612575565b80516107e990600d906020840190611b41565b5050565b60075460ff1690565b6000818152600260205260408120546001600160a01b03168061057d5760405162461bcd60e51b815260040161063e906123c5565b600061083561110e565b6001600160a01b0316610846610c38565b6001600160a01b03161461086c5760405162461bcd60e51b815260040161063e90612575565b6108778260016113a0565b61057d6008611095565b600061088b6107ed565b156108a85760405162461bcd60e51b815260040161063e906122f4565b60146108b46008611095565b10156108d25760405162461bcd60e51b815260040161063e9061222a565b61012c8260ff166108e36008611095565b6108ed91906126dd565b111561090b5760405162461bcd60e51b815260040161063e9061252e565b60028260ff16111561092f5760405162461bcd60e51b815260040161063e906120b8565b600b546009546001600160a01b03909116906323b872dd90339030906109599060ff88169061272e565b6040518463ffffffff1660e01b815260040161097793929190611f55565b602060405180830381600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c99190611df0565b6109e55760405162461bcd60e51b815260040161063e90612178565b6001600160a01b0383166000908152600c602052604081208054849290610a1090849060ff166126f5565b82546101009290920a60ff8181021990931691831602179091556001600160a01b0385166000908152600c60205260409020546004911611159050610a675760405162461bcd60e51b815260040161063e906122ab565b610a74838360ff166113a0565b610a7e6008611095565b9392505050565b60006001600160a01b038216610aad5760405162461bcd60e51b815260040161063e9061237b565b506001600160a01b031660009081526003602052604090205490565b610ad161110e565b6001600160a01b0316610ae2610c38565b6001600160a01b031614610b085760405162461bcd60e51b815260040161063e90612575565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b610b6061110e565b6001600160a01b0316610b71610c38565b6001600160a01b031614610b975760405162461bcd60e51b815260040161063e90612575565b600a546040516001600160a01b03909116904790610bb490611f3e565b60006040518083038185875af1925050503d80600081146106f6576040519150601f19603f3d011682016040523d82523d6000602084013e6106f6565b610bf961110e565b6001600160a01b0316610c0a610c38565b6001600160a01b031614610c305760405162461bcd60e51b815260040161063e90612575565b61077a611418565b60075461010090046001600160a01b031690565b610c5461110e565b6001600160a01b0316610c65610c38565b6001600160a01b031614610c8b5760405162461bcd60e51b815260040161063e90612575565b60098190556040517f66cbca4f3c64fecf1dcb9ce094abcf7f68c3450a1d4e3a8e917dd621edb4ebe090610cc09083906126d4565b60405180910390a150565b60606001805461059490612790565b610ce261110e565b6001600160a01b0316610cf3610c38565b6001600160a01b031614610d195760405162461bcd60e51b815260040161063e90612575565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b610d4361110e565b6001600160a01b0316826001600160a01b03161415610d745760405162461bcd60e51b815260040161063e906121f3565b8060056000610d8161110e565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610dc561110e565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610dfd9190611fcf565b60405180910390a35050565b610e1161110e565b6001600160a01b0316610e22610c38565b6001600160a01b031614610e485760405162461bcd60e51b815260040161063e90612575565b600b546040516370a0823160e01b81526001600160a01b0390911690819063a9059cbb9061dead9083906370a0823190610e86903090600401611f41565b60206040518083038186803b158015610e9e57600080fd5b505afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190611ea2565b6040518363ffffffff1660e01b8152600401610ef3929190611fb6565b602060405180830381600087803b158015610f0d57600080fd5b505af1158015610f21573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190611df0565b610f56610f5061110e565b83611180565b610f725760405162461bcd60e51b815260040161063e90612683565b610f7e84848484611473565b50505050565b606061057d826114a6565b60095490565b60095481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610fd161110e565b6001600160a01b0316610fe2610c38565b6001600160a01b0316146110085760405162461bcd60e51b815260040161063e90612575565b6001600160a01b03811661102e5760405162461bcd60e51b815260040161063e906120fb565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5490565b80546001019055565b3b151590565b6110b38383836106f6565b6110bb6107ed565b156106f65760405162461bcd60e51b815260040161063e90611fed565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611147826107f6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061118b826110f1565b6111a75760405162461bcd60e51b815260040161063e9061225f565b60006111b2836107f6565b9050806001600160a01b0316846001600160a01b031614806111ed5750836001600160a01b03166111e284610617565b6001600160a01b0316145b806111fd57506111fd8185610f9b565b949350505050565b826001600160a01b0316611218826107f6565b6001600160a01b03161461123e5760405162461bcd60e51b815260040161063e906125aa565b6001600160a01b0382166112645760405162461bcd60e51b815260040161063e906121af565b61126f8383836115bf565b61127a600082611112565b6001600160a01b03831660009081526003602052604081208054600192906112a390849061274d565b90915550506001600160a01b03821660009081526003602052604081208054600192906112d19084906126dd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61133a6107ed565b6113565760405162461bcd60e51b815260040161063e90612038565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61138961110e565b6040516113969190611f41565b60405180910390a1565b60005b818110156106f6576113b56008611099565b60006113c16008611095565b90506113cd84826115ef565b60006113d882611609565b6040516020016113e89190611f15565b60405160208183030381529060405290506114038282611724565b50508080611410906127cb565b9150506113a3565b6114206107ed565b1561143d5760405162461bcd60e51b815260040161063e906122f4565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861138961110e565b61147e848484611205565b61148a84848484611768565b610f7e5760405162461bcd60e51b815260040161063e90612066565b60606114b1826110f1565b6114cd5760405162461bcd60e51b815260040161063e90612491565b600082815260066020526040812080546114e690612790565b80601f016020809104026020016040519081016040528092919081815260200182805461151290612790565b801561155f5780601f106115345761010080835404028352916020019161155f565b820191906000526020600020905b81548152906001019060200180831161154257829003601f168201915b505050505090506000611570611883565b905080516000141561158457509050610580565b8151156115b657808260405160200161159e929190611ee6565b60405160208183030381529060405292505050610580565b6111fd84611892565b6115c76107ed565b156115e45760405162461bcd60e51b815260040161063e906122f4565b6106f68383836110a8565b6107e9828260405180602001604052806000815250611914565b60608161162e57506040805180820190915260018152600360fc1b6020820152610580565b8160005b81156116585780611642816127cb565b91506116519050600a8361271a565b9150611632565b60008167ffffffffffffffff81111561168157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116ab576020820181803683370190505b5090505b84156111fd576116c060018361274d565b91506116cd600a866127e6565b6116d89060306126dd565b60f81b8183815181106116fb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061171d600a8661271a565b94506116af565b61172d826110f1565b6117495760405162461bcd60e51b815260040161063e9061240e565b600082815260066020908152604090912082516106f692840190611b41565b600061177c846001600160a01b03166110a2565b1561187857836001600160a01b031663150b7a0261179861110e565b8786866040518563ffffffff1660e01b81526004016117ba9493929190611f79565b602060405180830381600087803b1580156117d457600080fd5b505af1925050508015611804575060408051601f3d908101601f1916820190925261180191810190611e28565b60015b61185e573d808015611832576040519150601f19603f3d011682016040523d82523d6000602084013e611837565b606091505b5080516118565760405162461bcd60e51b815260040161063e90612066565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111fd565b506001949350505050565b6060600d805461059490612790565b606061189d826110f1565b6118b95760405162461bcd60e51b815260040161063e906125f3565b60006118c3611883565b905060008151116118e35760405180602001604052806000815250610a7e565b806118ed84611947565b6040516020016118fe929190611ee6565b6040516020818303038152906040529392505050565b61191e8383611a62565b61192b6000848484611768565b6106f65760405162461bcd60e51b815260040161063e90612066565b60608161196c57506040805180820190915260018152600360fc1b6020820152610580565b8160005b81156119965780611980816127cb565b915061198f9050600a8361271a565b9150611970565b60008167ffffffffffffffff8111156119bf57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119e9576020820181803683370190505b5090505b84156111fd576119fe60018361274d565b9150611a0b600a866127e6565b611a169060306126dd565b60f81b818381518110611a3957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a5b600a8661271a565b94506119ed565b6001600160a01b038216611a885760405162461bcd60e51b815260040161063e9061245c565b611a91816110f1565b15611aae5760405162461bcd60e51b815260040161063e90612141565b611aba600083836115bf565b6001600160a01b0382166000908152600360205260408120805460019290611ae39084906126dd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611b4d90612790565b90600052602060002090601f016020900481019282611b6f5760008555611bb5565b82601f10611b8857805160ff1916838001178555611bb5565b82800160010185558215611bb5579182015b82811115611bb5578251825591602001919060010190611b9a565b50611bc1929150611bc5565b5090565b5b80821115611bc15760008155600101611bc6565b600067ffffffffffffffff80841115611bf557611bf5612826565b604051601f8501601f191681016020018281118282101715611c1957611c19612826565b604052848152915081838501861015611c3157600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461058057600080fd5b600060208284031215611c72578081fd5b610a7e82611c4a565b60008060408385031215611c8d578081fd5b611c9683611c4a565b9150611ca460208401611c4a565b90509250929050565b600080600060608486031215611cc1578081fd5b611cca84611c4a565b9250611cd860208501611c4a565b9150604084013590509250925092565b60008060008060808587031215611cfd578081fd5b611d0685611c4a565b9350611d1460208601611c4a565b925060408501359150606085013567ffffffffffffffff811115611d36578182fd5b8501601f81018713611d46578182fd5b611d5587823560208401611bda565b91505092959194509250565b60008060408385031215611d73578182fd5b611d7c83611c4a565b91506020830135611d8c8161283c565b809150509250929050565b60008060408385031215611da9578182fd5b611db283611c4a565b946020939093013593505050565b60008060408385031215611dd2578182fd5b611ddb83611c4a565b9150602083013560ff81168114611d8c578182fd5b600060208284031215611e01578081fd5b8151610a7e8161283c565b600060208284031215611e1d578081fd5b8135610a7e8161284d565b600060208284031215611e39578081fd5b8151610a7e8161284d565b600060208284031215611e55578081fd5b813567ffffffffffffffff811115611e6b578182fd5b8201601f81018413611e7b578182fd5b6111fd84823560208401611bda565b600060208284031215611e9b578081fd5b5035919050565b600060208284031215611eb3578081fd5b5051919050565b60008151808452611ed2816020860160208601612764565b601f01601f19169290920160200192915050565b60008351611ef8818460208801612764565b835190830190611f0c818360208801612764565b01949350505050565b60008251611f27818460208701612764565b64173539b7b760d91b920191825250600501919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fac90830184611eba565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610a7e6020830184611eba565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f596f752063616e74206d696e74206d6f7265207468616e203220617420612074604082015262696d6560e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601a908201527f436f756c64206e6f74207472616e7366657220746f6b656e732e000000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f4e65656420746f206d696e74207265736572766564206e667473206669727374604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f596f752063616e74206d696e74206d6f7265207468616e203420666f72206f6e60408201526832903bb0b63632ba1760b91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526027908201527f4d6178696d756d20616d6f756e74206f6620746f6b656e7320616c7265616479604082015266081b5a5b9d195960ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b90815260200190565b600082198211156126f0576126f06127fa565b500190565b600060ff821660ff84168060ff03821115612712576127126127fa565b019392505050565b60008261272957612729612810565b500490565b6000816000190483118215151615612748576127486127fa565b500290565b60008282101561275f5761275f6127fa565b500390565b60005b8381101561277f578181015183820152602001612767565b83811115610f7e5750506000910152565b6002810460018216806127a457607f821691505b602082108114156127c557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127df576127df6127fa565b5060010190565b6000826127f5576127f5612810565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461284a57600080fd5b50565b6001600160e01b03198116811461284a57600080fdfea264697066735822122031e9666191f5684fc51d59f18994eec0b9344e82b242c031ea1fc4fdee32716264736f6c63430008000033697066733a2f2f516d5273707753453878473475543869444a36373954377253435856396e48584a37764e6a5541394447703153422f534e415020554e495645525345207370656369616c2065646974696f6e20636f7665722c204973737565203033
Deployed Bytecode
0x6080604052600436106101c55760003560e01c8063715018a6116100f7578063a22cb46511610095578063ced72f8711610064578063ced72f87146104c2578063ddca3f43146104d7578063e985e9c5146104ec578063f2fde38b1461050c576101cc565b8063a22cb4651461044d578063a93714801461046d578063b88d4fde14610482578063c87b56dd146104a2576101cc565b80638da5cb5b116100d15780638da5cb5b146103e35780639012c4a8146103f857806395d89b4114610418578063a16a3e5a1461042d576101cc565b8063715018a6146103a4578063793cd71e146103b95780638456cb59146103ce576101cc565b806342842e0e116101645780636352211e1161013e5780636352211e1461032457806363fe5cca14610344578063691562a01461036457806370a0823114610384576101cc565b806342842e0e146102cf57806355f804b3146102ef5780635c975abb1461030f576101cc565b8063081812fc116101a0578063081812fc1461024b578063095ea7b31461027857806323b872dd1461029a5780633f4ba83a146102ba576101cc565b80629a9b7b146101d157806301ffc9a7146101fc57806306fdde0314610229576101cc565b366101cc57005b600080fd5b3480156101dd57600080fd5b506101e661052c565b6040516101f391906126d4565b60405180910390f35b34801561020857600080fd5b5061021c610217366004611e0c565b61053d565b6040516101f39190611fcf565b34801561023557600080fd5b5061023e610585565b6040516101f39190611fda565b34801561025757600080fd5b5061026b610266366004611e8a565b610617565b6040516101f39190611f41565b34801561028457600080fd5b50610298610293366004611d97565b610663565b005b3480156102a657600080fd5b506102986102b5366004611cad565b6106fb565b3480156102c657600080fd5b50610298610733565b3480156102db57600080fd5b506102986102ea366004611cad565b61077c565b3480156102fb57600080fd5b5061029861030a366004611e44565b610797565b34801561031b57600080fd5b5061021c6107ed565b34801561033057600080fd5b5061026b61033f366004611e8a565b6107f6565b34801561035057600080fd5b506101e661035f366004611c61565b61082b565b34801561037057600080fd5b506101e661037f366004611dc0565b610881565b34801561039057600080fd5b506101e661039f366004611c61565b610a85565b3480156103b057600080fd5b50610298610ac9565b3480156103c557600080fd5b50610298610b58565b3480156103da57600080fd5b50610298610bf1565b3480156103ef57600080fd5b5061026b610c38565b34801561040457600080fd5b50610298610413366004611e8a565b610c4c565b34801561042457600080fd5b5061023e610ccb565b34801561043957600080fd5b50610298610448366004611c61565b610cda565b34801561045957600080fd5b50610298610468366004611d61565b610d3b565b34801561047957600080fd5b50610298610e09565b34801561048e57600080fd5b5061029861049d366004611ce8565b610f45565b3480156104ae57600080fd5b5061023e6104bd366004611e8a565b610f84565b3480156104ce57600080fd5b506101e6610f8f565b3480156104e357600080fd5b506101e6610f95565b3480156104f857600080fd5b5061021c610507366004611c7b565b610f9b565b34801561051857600080fd5b50610298610527366004611c61565b610fc9565b60006105386008611095565b905090565b60006001600160e01b031982166380ac58cd60e01b148061056e57506001600160e01b03198216635b5e139f60e01b145b8061057d575061057d826110d8565b90505b919050565b60606000805461059490612790565b80601f01602080910402602001604051908101604052809291908181526020018280546105c090612790565b801561060d5780601f106105e25761010080835404028352916020019161060d565b820191906000526020600020905b8154815290600101906020018083116105f057829003601f168201915b5050505050905090565b6000610622826110f1565b6106475760405162461bcd60e51b815260040161063e906124e2565b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061066e826107f6565b9050806001600160a01b0316836001600160a01b031614156106a25760405162461bcd60e51b815260040161063e90612642565b806001600160a01b03166106b461110e565b6001600160a01b031614806106d057506106d08161050761110e565b6106ec5760405162461bcd60e51b815260040161063e9061231e565b6106f68383611112565b505050565b61070c61070661110e565b82611180565b6107285760405162461bcd60e51b815260040161063e90612683565b6106f6838383611205565b61073b61110e565b6001600160a01b031661074c610c38565b6001600160a01b0316146107725760405162461bcd60e51b815260040161063e90612575565b61077a611332565b565b6106f683838360405180602001604052806000815250610f45565b61079f61110e565b6001600160a01b03166107b0610c38565b6001600160a01b0316146107d65760405162461bcd60e51b815260040161063e90612575565b80516107e990600d906020840190611b41565b5050565b60075460ff1690565b6000818152600260205260408120546001600160a01b03168061057d5760405162461bcd60e51b815260040161063e906123c5565b600061083561110e565b6001600160a01b0316610846610c38565b6001600160a01b03161461086c5760405162461bcd60e51b815260040161063e90612575565b6108778260016113a0565b61057d6008611095565b600061088b6107ed565b156108a85760405162461bcd60e51b815260040161063e906122f4565b60146108b46008611095565b10156108d25760405162461bcd60e51b815260040161063e9061222a565b61012c8260ff166108e36008611095565b6108ed91906126dd565b111561090b5760405162461bcd60e51b815260040161063e9061252e565b60028260ff16111561092f5760405162461bcd60e51b815260040161063e906120b8565b600b546009546001600160a01b03909116906323b872dd90339030906109599060ff88169061272e565b6040518463ffffffff1660e01b815260040161097793929190611f55565b602060405180830381600087803b15801561099157600080fd5b505af11580156109a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109c99190611df0565b6109e55760405162461bcd60e51b815260040161063e90612178565b6001600160a01b0383166000908152600c602052604081208054849290610a1090849060ff166126f5565b82546101009290920a60ff8181021990931691831602179091556001600160a01b0385166000908152600c60205260409020546004911611159050610a675760405162461bcd60e51b815260040161063e906122ab565b610a74838360ff166113a0565b610a7e6008611095565b9392505050565b60006001600160a01b038216610aad5760405162461bcd60e51b815260040161063e9061237b565b506001600160a01b031660009081526003602052604090205490565b610ad161110e565b6001600160a01b0316610ae2610c38565b6001600160a01b031614610b085760405162461bcd60e51b815260040161063e90612575565b60075460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360078054610100600160a81b0319169055565b610b6061110e565b6001600160a01b0316610b71610c38565b6001600160a01b031614610b975760405162461bcd60e51b815260040161063e90612575565b600a546040516001600160a01b03909116904790610bb490611f3e565b60006040518083038185875af1925050503d80600081146106f6576040519150601f19603f3d011682016040523d82523d6000602084013e6106f6565b610bf961110e565b6001600160a01b0316610c0a610c38565b6001600160a01b031614610c305760405162461bcd60e51b815260040161063e90612575565b61077a611418565b60075461010090046001600160a01b031690565b610c5461110e565b6001600160a01b0316610c65610c38565b6001600160a01b031614610c8b5760405162461bcd60e51b815260040161063e90612575565b60098190556040517f66cbca4f3c64fecf1dcb9ce094abcf7f68c3450a1d4e3a8e917dd621edb4ebe090610cc09083906126d4565b60405180910390a150565b60606001805461059490612790565b610ce261110e565b6001600160a01b0316610cf3610c38565b6001600160a01b031614610d195760405162461bcd60e51b815260040161063e90612575565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b610d4361110e565b6001600160a01b0316826001600160a01b03161415610d745760405162461bcd60e51b815260040161063e906121f3565b8060056000610d8161110e565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610dc561110e565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610dfd9190611fcf565b60405180910390a35050565b610e1161110e565b6001600160a01b0316610e22610c38565b6001600160a01b031614610e485760405162461bcd60e51b815260040161063e90612575565b600b546040516370a0823160e01b81526001600160a01b0390911690819063a9059cbb9061dead9083906370a0823190610e86903090600401611f41565b60206040518083038186803b158015610e9e57600080fd5b505afa158015610eb2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed69190611ea2565b6040518363ffffffff1660e01b8152600401610ef3929190611fb6565b602060405180830381600087803b158015610f0d57600080fd5b505af1158015610f21573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e99190611df0565b610f56610f5061110e565b83611180565b610f725760405162461bcd60e51b815260040161063e90612683565b610f7e84848484611473565b50505050565b606061057d826114a6565b60095490565b60095481565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610fd161110e565b6001600160a01b0316610fe2610c38565b6001600160a01b0316146110085760405162461bcd60e51b815260040161063e90612575565b6001600160a01b03811661102e5760405162461bcd60e51b815260040161063e906120fb565b6007546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b5490565b80546001019055565b3b151590565b6110b38383836106f6565b6110bb6107ed565b156106f65760405162461bcd60e51b815260040161063e90611fed565b6001600160e01b031981166301ffc9a760e01b14919050565b6000908152600260205260409020546001600160a01b0316151590565b3390565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611147826107f6565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061118b826110f1565b6111a75760405162461bcd60e51b815260040161063e9061225f565b60006111b2836107f6565b9050806001600160a01b0316846001600160a01b031614806111ed5750836001600160a01b03166111e284610617565b6001600160a01b0316145b806111fd57506111fd8185610f9b565b949350505050565b826001600160a01b0316611218826107f6565b6001600160a01b03161461123e5760405162461bcd60e51b815260040161063e906125aa565b6001600160a01b0382166112645760405162461bcd60e51b815260040161063e906121af565b61126f8383836115bf565b61127a600082611112565b6001600160a01b03831660009081526003602052604081208054600192906112a390849061274d565b90915550506001600160a01b03821660009081526003602052604081208054600192906112d19084906126dd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61133a6107ed565b6113565760405162461bcd60e51b815260040161063e90612038565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa61138961110e565b6040516113969190611f41565b60405180910390a1565b60005b818110156106f6576113b56008611099565b60006113c16008611095565b90506113cd84826115ef565b60006113d882611609565b6040516020016113e89190611f15565b60405160208183030381529060405290506114038282611724565b50508080611410906127cb565b9150506113a3565b6114206107ed565b1561143d5760405162461bcd60e51b815260040161063e906122f4565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861138961110e565b61147e848484611205565b61148a84848484611768565b610f7e5760405162461bcd60e51b815260040161063e90612066565b60606114b1826110f1565b6114cd5760405162461bcd60e51b815260040161063e90612491565b600082815260066020526040812080546114e690612790565b80601f016020809104026020016040519081016040528092919081815260200182805461151290612790565b801561155f5780601f106115345761010080835404028352916020019161155f565b820191906000526020600020905b81548152906001019060200180831161154257829003601f168201915b505050505090506000611570611883565b905080516000141561158457509050610580565b8151156115b657808260405160200161159e929190611ee6565b60405160208183030381529060405292505050610580565b6111fd84611892565b6115c76107ed565b156115e45760405162461bcd60e51b815260040161063e906122f4565b6106f68383836110a8565b6107e9828260405180602001604052806000815250611914565b60608161162e57506040805180820190915260018152600360fc1b6020820152610580565b8160005b81156116585780611642816127cb565b91506116519050600a8361271a565b9150611632565b60008167ffffffffffffffff81111561168157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156116ab576020820181803683370190505b5090505b84156111fd576116c060018361274d565b91506116cd600a866127e6565b6116d89060306126dd565b60f81b8183815181106116fb57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061171d600a8661271a565b94506116af565b61172d826110f1565b6117495760405162461bcd60e51b815260040161063e9061240e565b600082815260066020908152604090912082516106f692840190611b41565b600061177c846001600160a01b03166110a2565b1561187857836001600160a01b031663150b7a0261179861110e565b8786866040518563ffffffff1660e01b81526004016117ba9493929190611f79565b602060405180830381600087803b1580156117d457600080fd5b505af1925050508015611804575060408051601f3d908101601f1916820190925261180191810190611e28565b60015b61185e573d808015611832576040519150601f19603f3d011682016040523d82523d6000602084013e611837565b606091505b5080516118565760405162461bcd60e51b815260040161063e90612066565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506111fd565b506001949350505050565b6060600d805461059490612790565b606061189d826110f1565b6118b95760405162461bcd60e51b815260040161063e906125f3565b60006118c3611883565b905060008151116118e35760405180602001604052806000815250610a7e565b806118ed84611947565b6040516020016118fe929190611ee6565b6040516020818303038152906040529392505050565b61191e8383611a62565b61192b6000848484611768565b6106f65760405162461bcd60e51b815260040161063e90612066565b60608161196c57506040805180820190915260018152600360fc1b6020820152610580565b8160005b81156119965780611980816127cb565b915061198f9050600a8361271a565b9150611970565b60008167ffffffffffffffff8111156119bf57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156119e9576020820181803683370190505b5090505b84156111fd576119fe60018361274d565b9150611a0b600a866127e6565b611a169060306126dd565b60f81b818381518110611a3957634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611a5b600a8661271a565b94506119ed565b6001600160a01b038216611a885760405162461bcd60e51b815260040161063e9061245c565b611a91816110f1565b15611aae5760405162461bcd60e51b815260040161063e90612141565b611aba600083836115bf565b6001600160a01b0382166000908152600360205260408120805460019290611ae39084906126dd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611b4d90612790565b90600052602060002090601f016020900481019282611b6f5760008555611bb5565b82601f10611b8857805160ff1916838001178555611bb5565b82800160010185558215611bb5579182015b82811115611bb5578251825591602001919060010190611b9a565b50611bc1929150611bc5565b5090565b5b80821115611bc15760008155600101611bc6565b600067ffffffffffffffff80841115611bf557611bf5612826565b604051601f8501601f191681016020018281118282101715611c1957611c19612826565b604052848152915081838501861015611c3157600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461058057600080fd5b600060208284031215611c72578081fd5b610a7e82611c4a565b60008060408385031215611c8d578081fd5b611c9683611c4a565b9150611ca460208401611c4a565b90509250929050565b600080600060608486031215611cc1578081fd5b611cca84611c4a565b9250611cd860208501611c4a565b9150604084013590509250925092565b60008060008060808587031215611cfd578081fd5b611d0685611c4a565b9350611d1460208601611c4a565b925060408501359150606085013567ffffffffffffffff811115611d36578182fd5b8501601f81018713611d46578182fd5b611d5587823560208401611bda565b91505092959194509250565b60008060408385031215611d73578182fd5b611d7c83611c4a565b91506020830135611d8c8161283c565b809150509250929050565b60008060408385031215611da9578182fd5b611db283611c4a565b946020939093013593505050565b60008060408385031215611dd2578182fd5b611ddb83611c4a565b9150602083013560ff81168114611d8c578182fd5b600060208284031215611e01578081fd5b8151610a7e8161283c565b600060208284031215611e1d578081fd5b8135610a7e8161284d565b600060208284031215611e39578081fd5b8151610a7e8161284d565b600060208284031215611e55578081fd5b813567ffffffffffffffff811115611e6b578182fd5b8201601f81018413611e7b578182fd5b6111fd84823560208401611bda565b600060208284031215611e9b578081fd5b5035919050565b600060208284031215611eb3578081fd5b5051919050565b60008151808452611ed2816020860160208601612764565b601f01601f19169290920160200192915050565b60008351611ef8818460208801612764565b835190830190611f0c818360208801612764565b01949350505050565b60008251611f27818460208701612764565b64173539b7b760d91b920191825250600501919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611fac90830184611eba565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b600060208252610a7e6020830184611eba565b6020808252602b908201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760408201526a1a1a5b19481c185d5cd95960aa1b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526023908201527f596f752063616e74206d696e74206d6f7265207468616e203220617420612074604082015262696d6560e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b6020808252601a908201527f436f756c64206e6f74207472616e7366657220746f6b656e732e000000000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252818101527f4e65656420746f206d696e74207265736572766564206e667473206669727374604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526029908201527f596f752063616e74206d696e74206d6f7265207468616e203420666f72206f6e60408201526832903bb0b63632ba1760b91b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252602e908201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60408201526d32bc34b9ba32b73a103a37b5b2b760911b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526031908201527f45524337323155524953746f726167653a2055524920717565727920666f72206040820152703737b732bc34b9ba32b73a103a37b5b2b760791b606082015260800190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526027908201527f4d6178696d756d20616d6f756e74206f6620746f6b656e7320616c7265616479604082015266081b5a5b9d195960ca1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b90815260200190565b600082198211156126f0576126f06127fa565b500190565b600060ff821660ff84168060ff03821115612712576127126127fa565b019392505050565b60008261272957612729612810565b500490565b6000816000190483118215151615612748576127486127fa565b500290565b60008282101561275f5761275f6127fa565b500390565b60005b8381101561277f578181015183820152602001612767565b83811115610f7e5750506000910152565b6002810460018216806127a457607f821691505b602082108114156127c557634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127df576127df6127fa565b5060010190565b6000826127f5576127f5612810565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461284a57600080fd5b50565b6001600160e01b03198116811461284a57600080fdfea264697066735822122031e9666191f5684fc51d59f18994eec0b9344e82b242c031ea1fc4fdee32716264736f6c63430008000033
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.