ERC-721
Overview
Max Total Supply
0 BITZ
Holders
365
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 BITZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
BitzClub
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.0; import "./eERC721.sol"; import "./eReentrantGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; /*************************************** * @author: 🍖 * * @team: Asteria * ****************************************/ contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } contract BitzClub is ERC721("Bitz Club", "BITZ"), Ownable, nonReentrant { address public constant BURN_ADDRESS = address(0x000000000000000000000000000000000000dEaD); address public openSeaProxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; bool private isOpenSeaProxyActive = true; address public constant PUNKIE_ADDRESS = 0xa0A7581F6DB997b5d7C775708B7AE86E352F753d; IERC1155 public constant OPENSEA_STORE = IERC1155(0x495f947276749Ce646f68AC8c248420045cb7b5e); constructor() { _setBaseURI("https://bitzclub.vercel.app/api/"); } /** * SETTERS */ function setBaseURI(string memory _baseURI) public onlyOwner { _setBaseURI(_baseURI); } function setIsOpenSeaProxyActive(bool _isActive) external onlyOwner { isOpenSeaProxyActive = _isActive; } function setOpenSeaProxyAddress(address _address) external onlyOwner { openSeaProxyRegistryAddress = _address; } /** * OVERRIDES */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Get a reference to OpenSea's proxy registry contract by instantiating // the contract using the already existing address. ProxyRegistry proxyRegistry = ProxyRegistry( openSeaProxyRegistryAddress ); if ( isOpenSeaProxyActive && address(proxyRegistry.proxies(owner)) == operator ) { return true; } return super.isApprovedForAll(owner, operator); } /** * USER FUNCTIONS */ function fromOSToken(uint256 _id) internal pure returns (uint256) { uint256 id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40; if (id > 1705 && id < 705) revert("BITZ: Invalid Token ID"); return id < 880 ? id - 704 : id - 705; } function claim(uint256[] calldata id) external reentryLock { if (id.length == 0) revert("BITZ: Invalid Amount"); uint256[] memory _transfer_amounts = new uint256[](id.length); unchecked { for (uint256 i = 0; i < id.length; i++) { uint256 _id = fromOSToken(id[i]); _transfer_amounts[i] = (1); _mint(msg.sender, _id); } try OPENSEA_STORE.safeBatchTransferFrom( msg.sender, BURN_ADDRESS, id, _transfer_amounts, "" ) {} catch Error(string memory reason) { revert(reason); } } } /** @dev This emergency function allows punkie to mint for others that have unreachable Bitz */ function punkieRecovery(address _a, uint256 _id) external { if (msg.sender != PUNKIE_ADDRESS) revert("BITZ: Not Punkie"); uint256 OS_id = fromOSToken(_id); _mint(_a, OS_id); } }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.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}. * Modified from original OpenZeppelin version to improve gas savings and allow mutlipositional minting. * * Huge thanks to NFTChance on Twitter for providing the resources for gas efficiency * https://nftchance.medium.com/the-gas-efficient-way-of-building-and-launching-an-erc721-nft-project-for-2022-b3b1dac5f2e1 */ 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; // Base URI string private _baseURI; // Array of all owner addresses and the tokenId they own by position address[1001] internal _owners; // 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}. * updated for owner array */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); uint256 _ownerBalance = 0; for (uint256 i = 0; i < _owners.length; i++) { if (_owners[i] == owner) _ownerBalance++; } return _ownerBalance; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory baseURI_ = baseURI(); return bytes(baseURI_).length > 0 ? string(abi.encodePacked(baseURI_, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function baseURI() internal view virtual returns (string memory) { return _baseURI; } /** * @dev Internal function to set the base URI for all token IDs. It is * automatically added as a prefix to the value returned in {tokenURI}, * or to the token ID if {tokenURI} is empty. */ function _setBaseURI(string memory baseURI_) internal virtual { _baseURI = baseURI_; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || 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); _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); _owners[tokenId] = address(0); 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); _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 Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT OR Apache-2.0 pragma solidity ^0.8.0; /** * @title nonReentrant module to prevent recursive calling of functions * @dev See https://medium.com/coinmonks/protect-your-solidity-smart-contracts-from-reentrancy-attacks-9972c3af7c21 */ abstract contract nonReentrant { bool private _reentryKey = false; modifier reentryLock() { require(!_reentryKey, "cannot reenter a locked function"); _reentryKey = true; _; _reentryKey = false; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _owner = _msgSender(); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) 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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPENSEA_STORE","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUNKIE_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"id","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openSeaProxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_a","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"punkieRecovery","outputs":[],"stateMutability":"nonpayable","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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsOpenSeaProxyActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setOpenSeaProxyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526103ee805460ff60a01b191690556103ef80546001600160a81b0319167401a5409ec958c83c3f309868babaca7c86dcb077c11790553480156200004757600080fd5b5060408051808201825260098152682134ba3d1021b63ab160b91b6020808301918252835180850190945260048452632124aa2d60e11b908401528151919291620000959160009162000136565b508051620000ab90600190602084019062000136565b50620000b79150503390565b6103ee80546001600160a01b0319166001600160a01b03929092169190911790556040805180820190915260208082527f68747470733a2f2f6269747a636c75622e76657263656c2e6170702f6170692f9082015262000117906200011d565b62000218565b80516200013290600290602084019062000136565b5050565b8280546200014490620001dc565b90600052602060002090601f016020900481019282620001685760008555620001b3565b82601f106200018357805160ff1916838001178555620001b3565b82800160010185558215620001b3579182015b82811115620001b357825182559160200191906001019062000196565b50620001c1929150620001c5565b5090565b5b80821115620001c15760008155600101620001c6565b600181811c90821680620001f157607f821691505b6020821081036200021257634e487b7160e01b600052602260045260246000fd5b50919050565b61212180620002286000396000f3fe608060405234801561001057600080fd5b50600436106101a35760003560e01c80638da5cb5b116100ee578063e07a650d11610097578063f27620f711610071578063f27620f714610360578063f2fde38b1461037b578063fccc28131461038e578063fe7b19841461039757600080fd5b8063e07a650d14610327578063e43082f71461033a578063e985e9c51461034d57600080fd5b8063b7f47d32116100c8578063b7f47d32146102ed578063b88d4fde14610301578063c87b56dd1461031457600080fd5b80638da5cb5b146102c057806395d89b41146102d2578063a22cb465146102da57600080fd5b806342842e0e116101505780636ba4c1381161012a5780636ba4c1381461028457806370a0823114610297578063715018a6146102b857600080fd5b806342842e0e1461024b57806355f804b31461025e5780636352211e1461027157600080fd5b8063095ea7b311610181578063095ea7b3146102105780631b2996921461022557806323b872dd1461023857600080fd5b806301ffc9a7146101a857806306fdde03146101d0578063081812fc146101e5575b600080fd5b6101bb6101b6366004611a30565b6103b2565b60405190151581526020015b60405180910390f35b6101d861044f565b6040516101c79190611aa5565b6101f86101f3366004611ab8565b6104e1565b6040516001600160a01b0390911681526020016101c7565b61022361021e366004611ae6565b61056f565b005b610223610233366004611b12565b6106a0565b610223610246366004611b2f565b61071e565b610223610259366004611b2f565b6107a5565b61022361026c366004611c11565b6107c0565b6101f861027f366004611ab8565b610827565b610223610292366004611c5a565b6108be565b6102aa6102a5366004611b12565b610b12565b6040519081526020016101c7565b610223610bf3565b6103ee546001600160a01b03166101f8565b6101d8610c5a565b6102236102e8366004611ce4565b610c69565b6103ef546101f8906001600160a01b031681565b61022361030f366004611d19565b610c78565b6101d8610322366004611ab8565b610d06565b610223610335366004611ae6565b610ddf565b610223610348366004611d99565b610e59565b6101bb61035b366004611db4565b610ed3565b6101f873495f947276749ce646f68ac8c248420045cb7b5e81565b610223610389366004611b12565b610fcb565b6101f861dead81565b6101f873a0a7581f6db997b5d7c775708b7ae86e352f753d81565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061041557506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061044957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606000805461045e90611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461048a90611ded565b80156104d75780601f106104ac576101008083540402835291602001916104d7565b820191906000526020600020905b8154815290600101906020018083116104ba57829003601f168201915b5050505050905090565b60006104ec826110ab565b6105525760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b5060009081526103ec60205260409020546001600160a01b031690565b600061057a82610827565b9050806001600160a01b0316836001600160a01b0316036106035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610549565b336001600160a01b038216148061061f575061061f8133610ed3565b6106915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610549565b61069b83836110d5565b505050565b6103ee546001600160a01b031633146106fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b6103ef80546001600160a01b0319166001600160a01b0392909216919091179055565b6107283382611144565b61079a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610549565b61069b838383611206565b61069b83838360405180602001604052806000815250610c78565b6103ee546001600160a01b0316331461081b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b61082481611383565b50565b6000806003836103e9811061083e5761083e611e27565b01546001600160a01b03169050806104495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610549565b6103ee54600160a01b900460ff16156109195760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610549565b6103ee805460ff60a01b1916600160a01b179055600081900361097e5760405162461bcd60e51b815260206004820152601460248201527f4249545a3a20496e76616c696420416d6f756e740000000000000000000000006044820152606401610549565b60008167ffffffffffffffff81111561099957610999611b70565b6040519080825280602002602001820160405280156109c2578160200160208202803683370190505b50905060005b82811015610a285760006109f38585848181106109e7576109e7611e27565b90506020020135611396565b90506001838381518110610a0957610a09611e27565b602002602001018181525050610a1f338261142b565b506001016109c8565b506040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273495f947276749ce646f68ac8c248420045cb7b5e90632eb2c2d690610a8390339061dead90889088908890600401611e3d565b600060405180830381600087803b158015610a9d57600080fd5b505af1925050508015610aae575060015b610aff57610aba611f04565b806308c379a003610af35750610ace611f20565b80610ad95750610af5565b8060405162461bcd60e51b81526004016105499190611aa5565b505b3d6000803e3d6000fd5b50506103ee805460ff60a01b1916905550565b60006001600160a01b038216610b905760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610549565b6000805b6103e9811015610bec57836001600160a01b03166003826103e98110610bbc57610bbc611e27565b01546001600160a01b031603610bda5781610bd681611fc0565b9250505b80610be481611fc0565b915050610b94565b5092915050565b6103ee546001600160a01b03163314610c4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b610c58600061153b565b565b60606001805461045e90611ded565b610c7433838361158e565b5050565b610c823383611144565b610cf45760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610549565b610d008484848461165d565b50505050565b6060610d11826110ab565b610d835760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610549565b6000610d8d6116e6565b90506000815111610dad5760405180602001604052806000815250610dd8565b80610db7846116f5565b604051602001610dc8929190611fd9565b6040516020818303038152906040525b9392505050565b3373a0a7581f6db997b5d7c775708b7ae86e352f753d14610e425760405162461bcd60e51b815260206004820152601060248201527f4249545a3a204e6f742050756e6b6965000000000000000000000000000000006044820152606401610549565b6000610e4d82611396565b905061069b838261142b565b6103ee546001600160a01b03163314610eb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b6103ef8054911515600160a01b0260ff60a01b19909216919091179055565b6103ef546000906001600160a01b03811690600160a01b900460ff168015610f8957506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e9190612008565b6001600160a01b0316145b15610f98576001915050610449565b6001600160a01b0380851660009081526103ed602090815260408083209387168352929052205460ff165b949350505050565b6103ee546001600160a01b031633146110265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b6001600160a01b0381166110a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610549565b6108248161153b565b6000806003836103e981106110c2576110c2611e27565b01546001600160a01b0316141592915050565b60008181526103ec6020526040902080546001600160a01b0319166001600160a01b038416908117909155819061110b82610827565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061114f826110ab565b6111b05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610549565b60006111bb83610827565b9050806001600160a01b0316846001600160a01b031614806111f65750836001600160a01b03166111eb846104e1565b6001600160a01b0316145b80610fc35750610fc38185610ed3565b826001600160a01b031661121982610827565b6001600160a01b0316146112955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610549565b6001600160a01b0382166113105760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610549565b61131b6000826110d5565b816003826103e9811061133057611330611e27565b0180546001600160a01b0319166001600160a01b03928316179055604051829184811691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a4505050565b8051610c74906002906020840190611981565b600066ffffffffffffff602883901c166106a9811180156113b857506102c181105b156114055760405162461bcd60e51b815260206004820152601660248201527f4249545a3a20496e76616c696420546f6b656e204944000000000000000000006044820152606401610549565b610370811061141f5761141a6102c182612025565b610dd8565b610dd86102c082612025565b6001600160a01b0382166114815760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610549565b61148a816110ab565b156114d75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610549565b816003826103e981106114ec576114ec611e27565b0180546001600160a01b0319166001600160a01b0392831617905560405182918416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6103ee80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036115ef5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610549565b6001600160a01b0383811660008181526103ed6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611668848484611206565b6116748484848461182a565b610d005760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610549565b60606002805461045e90611ded565b60608160000361173857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611762578061174c81611fc0565b915061175b9050600a83612052565b915061173c565b60008167ffffffffffffffff81111561177d5761177d611b70565b6040519080825280601f01601f1916602001820160405280156117a7576020820181803683370190505b5090505b8415610fc3576117bc600183612025565b91506117c9600a86612066565b6117d490603061207a565b60f81b8183815181106117e9576117e9611e27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611823600a86612052565b94506117ab565b60006001600160a01b0384163b1561197657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061186e903390899088908890600401612092565b6020604051808303816000875af19250505080156118a9575060408051601f3d908101601f191682019092526118a6918101906120ce565b60015b61195c573d8080156118d7576040519150601f19603f3d011682016040523d82523d6000602084013e6118dc565b606091505b5080516000036119545760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610549565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fc3565b506001949350505050565b82805461198d90611ded565b90600052602060002090601f0160209004810192826119af57600085556119f5565b82601f106119c857805160ff19168380011785556119f5565b828001600101855582156119f5579182015b828111156119f55782518255916020019190600101906119da565b50611a01929150611a05565b5090565b5b80821115611a015760008155600101611a06565b6001600160e01b03198116811461082457600080fd5b600060208284031215611a4257600080fd5b8135610dd881611a1a565b60005b83811015611a68578181015183820152602001611a50565b83811115610d005750506000910152565b60008151808452611a91816020860160208601611a4d565b601f01601f19169290920160200192915050565b602081526000610dd86020830184611a79565b600060208284031215611aca57600080fd5b5035919050565b6001600160a01b038116811461082457600080fd5b60008060408385031215611af957600080fd5b8235611b0481611ad1565b946020939093013593505050565b600060208284031215611b2457600080fd5b8135610dd881611ad1565b600080600060608486031215611b4457600080fd5b8335611b4f81611ad1565b92506020840135611b5f81611ad1565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611bac57611bac611b70565b6040525050565b600067ffffffffffffffff831115611bcd57611bcd611b70565b604051611be4601f8501601f191660200182611b86565b809150838152848484011115611bf957600080fd5b83836020830137600060208583010152509392505050565b600060208284031215611c2357600080fd5b813567ffffffffffffffff811115611c3a57600080fd5b8201601f81018413611c4b57600080fd5b610fc384823560208401611bb3565b60008060208385031215611c6d57600080fd5b823567ffffffffffffffff80821115611c8557600080fd5b818501915085601f830112611c9957600080fd5b813581811115611ca857600080fd5b8660208260051b8501011115611cbd57600080fd5b60209290920196919550909350505050565b80358015158114611cdf57600080fd5b919050565b60008060408385031215611cf757600080fd5b8235611d0281611ad1565b9150611d1060208401611ccf565b90509250929050565b60008060008060808587031215611d2f57600080fd5b8435611d3a81611ad1565b93506020850135611d4a81611ad1565b925060408501359150606085013567ffffffffffffffff811115611d6d57600080fd5b8501601f81018713611d7e57600080fd5b611d8d87823560208401611bb3565b91505092959194509250565b600060208284031215611dab57600080fd5b610dd882611ccf565b60008060408385031215611dc757600080fd5b8235611dd281611ad1565b91506020830135611de281611ad1565b809150509250929050565b600181811c90821680611e0157607f821691505b602082108103611e2157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808816835260208188168185015260a060408501528560a08501527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff861115611e8f57600080fd5b8560051b9150818760c0860137600091840160c08181018481528683039091016060870152865190819052828701939160e001905b80831015611ee45784518252938301936001929092019190830190611ec4565b50858103608087015260008152602081019b9a5050505050505050505050565b600060033d1115611f1d5760046000803e5060005160e01c5b90565b600060443d1015611f2e5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611f5e57505050505090565b8285019150815181811115611f765750505050505090565b843d8701016020828501011115611f905750505050505090565b611f9f60208286010187611b86565b509095945050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611fd257611fd2611faa565b5060010190565b60008351611feb818460208801611a4d565b835190830190611fff818360208801611a4d565b01949350505050565b60006020828403121561201a57600080fd5b8151610dd881611ad1565b60008282101561203757612037611faa565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826120615761206161203c565b500490565b6000826120755761207561203c565b500690565b6000821982111561208d5761208d611faa565b500190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526120c46080830184611a79565b9695505050505050565b6000602082840312156120e057600080fd5b8151610dd881611a1a56fea26469706673582212209b6ddcdfed0628000aaac41ff9c2c15b30b85a8ed9f56357bd6900ebd563833864736f6c634300080d0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a35760003560e01c80638da5cb5b116100ee578063e07a650d11610097578063f27620f711610071578063f27620f714610360578063f2fde38b1461037b578063fccc28131461038e578063fe7b19841461039757600080fd5b8063e07a650d14610327578063e43082f71461033a578063e985e9c51461034d57600080fd5b8063b7f47d32116100c8578063b7f47d32146102ed578063b88d4fde14610301578063c87b56dd1461031457600080fd5b80638da5cb5b146102c057806395d89b41146102d2578063a22cb465146102da57600080fd5b806342842e0e116101505780636ba4c1381161012a5780636ba4c1381461028457806370a0823114610297578063715018a6146102b857600080fd5b806342842e0e1461024b57806355f804b31461025e5780636352211e1461027157600080fd5b8063095ea7b311610181578063095ea7b3146102105780631b2996921461022557806323b872dd1461023857600080fd5b806301ffc9a7146101a857806306fdde03146101d0578063081812fc146101e5575b600080fd5b6101bb6101b6366004611a30565b6103b2565b60405190151581526020015b60405180910390f35b6101d861044f565b6040516101c79190611aa5565b6101f86101f3366004611ab8565b6104e1565b6040516001600160a01b0390911681526020016101c7565b61022361021e366004611ae6565b61056f565b005b610223610233366004611b12565b6106a0565b610223610246366004611b2f565b61071e565b610223610259366004611b2f565b6107a5565b61022361026c366004611c11565b6107c0565b6101f861027f366004611ab8565b610827565b610223610292366004611c5a565b6108be565b6102aa6102a5366004611b12565b610b12565b6040519081526020016101c7565b610223610bf3565b6103ee546001600160a01b03166101f8565b6101d8610c5a565b6102236102e8366004611ce4565b610c69565b6103ef546101f8906001600160a01b031681565b61022361030f366004611d19565b610c78565b6101d8610322366004611ab8565b610d06565b610223610335366004611ae6565b610ddf565b610223610348366004611d99565b610e59565b6101bb61035b366004611db4565b610ed3565b6101f873495f947276749ce646f68ac8c248420045cb7b5e81565b610223610389366004611b12565b610fcb565b6101f861dead81565b6101f873a0a7581f6db997b5d7c775708b7ae86e352f753d81565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061041557506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061044957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606000805461045e90611ded565b80601f016020809104026020016040519081016040528092919081815260200182805461048a90611ded565b80156104d75780601f106104ac576101008083540402835291602001916104d7565b820191906000526020600020905b8154815290600101906020018083116104ba57829003601f168201915b5050505050905090565b60006104ec826110ab565b6105525760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b5060009081526103ec60205260409020546001600160a01b031690565b600061057a82610827565b9050806001600160a01b0316836001600160a01b0316036106035760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610549565b336001600160a01b038216148061061f575061061f8133610ed3565b6106915760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610549565b61069b83836110d5565b505050565b6103ee546001600160a01b031633146106fb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b6103ef80546001600160a01b0319166001600160a01b0392909216919091179055565b6107283382611144565b61079a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610549565b61069b838383611206565b61069b83838360405180602001604052806000815250610c78565b6103ee546001600160a01b0316331461081b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b61082481611383565b50565b6000806003836103e9811061083e5761083e611e27565b01546001600160a01b03169050806104495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610549565b6103ee54600160a01b900460ff16156109195760405162461bcd60e51b815260206004820181905260248201527f63616e6e6f74207265656e7465722061206c6f636b65642066756e6374696f6e6044820152606401610549565b6103ee805460ff60a01b1916600160a01b179055600081900361097e5760405162461bcd60e51b815260206004820152601460248201527f4249545a3a20496e76616c696420416d6f756e740000000000000000000000006044820152606401610549565b60008167ffffffffffffffff81111561099957610999611b70565b6040519080825280602002602001820160405280156109c2578160200160208202803683370190505b50905060005b82811015610a285760006109f38585848181106109e7576109e7611e27565b90506020020135611396565b90506001838381518110610a0957610a09611e27565b602002602001018181525050610a1f338261142b565b506001016109c8565b506040517f2eb2c2d600000000000000000000000000000000000000000000000000000000815273495f947276749ce646f68ac8c248420045cb7b5e90632eb2c2d690610a8390339061dead90889088908890600401611e3d565b600060405180830381600087803b158015610a9d57600080fd5b505af1925050508015610aae575060015b610aff57610aba611f04565b806308c379a003610af35750610ace611f20565b80610ad95750610af5565b8060405162461bcd60e51b81526004016105499190611aa5565b505b3d6000803e3d6000fd5b50506103ee805460ff60a01b1916905550565b60006001600160a01b038216610b905760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610549565b6000805b6103e9811015610bec57836001600160a01b03166003826103e98110610bbc57610bbc611e27565b01546001600160a01b031603610bda5781610bd681611fc0565b9250505b80610be481611fc0565b915050610b94565b5092915050565b6103ee546001600160a01b03163314610c4e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b610c58600061153b565b565b60606001805461045e90611ded565b610c7433838361158e565b5050565b610c823383611144565b610cf45760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610549565b610d008484848461165d565b50505050565b6060610d11826110ab565b610d835760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610549565b6000610d8d6116e6565b90506000815111610dad5760405180602001604052806000815250610dd8565b80610db7846116f5565b604051602001610dc8929190611fd9565b6040516020818303038152906040525b9392505050565b3373a0a7581f6db997b5d7c775708b7ae86e352f753d14610e425760405162461bcd60e51b815260206004820152601060248201527f4249545a3a204e6f742050756e6b6965000000000000000000000000000000006044820152606401610549565b6000610e4d82611396565b905061069b838261142b565b6103ee546001600160a01b03163314610eb45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b6103ef8054911515600160a01b0260ff60a01b19909216919091179055565b6103ef546000906001600160a01b03811690600160a01b900460ff168015610f8957506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015610f5a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f7e9190612008565b6001600160a01b0316145b15610f98576001915050610449565b6001600160a01b0380851660009081526103ed602090815260408083209387168352929052205460ff165b949350505050565b6103ee546001600160a01b031633146110265760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610549565b6001600160a01b0381166110a25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610549565b6108248161153b565b6000806003836103e981106110c2576110c2611e27565b01546001600160a01b0316141592915050565b60008181526103ec6020526040902080546001600160a01b0319166001600160a01b038416908117909155819061110b82610827565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061114f826110ab565b6111b05760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610549565b60006111bb83610827565b9050806001600160a01b0316846001600160a01b031614806111f65750836001600160a01b03166111eb846104e1565b6001600160a01b0316145b80610fc35750610fc38185610ed3565b826001600160a01b031661121982610827565b6001600160a01b0316146112955760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610549565b6001600160a01b0382166113105760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610549565b61131b6000826110d5565b816003826103e9811061133057611330611e27565b0180546001600160a01b0319166001600160a01b03928316179055604051829184811691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a4505050565b8051610c74906002906020840190611981565b600066ffffffffffffff602883901c166106a9811180156113b857506102c181105b156114055760405162461bcd60e51b815260206004820152601660248201527f4249545a3a20496e76616c696420546f6b656e204944000000000000000000006044820152606401610549565b610370811061141f5761141a6102c182612025565b610dd8565b610dd86102c082612025565b6001600160a01b0382166114815760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610549565b61148a816110ab565b156114d75760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610549565b816003826103e981106114ec576114ec611e27565b0180546001600160a01b0319166001600160a01b0392831617905560405182918416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6103ee80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b0316036115ef5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610549565b6001600160a01b0383811660008181526103ed6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611668848484611206565b6116748484848461182a565b610d005760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610549565b60606002805461045e90611ded565b60608160000361173857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611762578061174c81611fc0565b915061175b9050600a83612052565b915061173c565b60008167ffffffffffffffff81111561177d5761177d611b70565b6040519080825280601f01601f1916602001820160405280156117a7576020820181803683370190505b5090505b8415610fc3576117bc600183612025565b91506117c9600a86612066565b6117d490603061207a565b60f81b8183815181106117e9576117e9611e27565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611823600a86612052565b94506117ab565b60006001600160a01b0384163b1561197657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061186e903390899088908890600401612092565b6020604051808303816000875af19250505080156118a9575060408051601f3d908101601f191682019092526118a6918101906120ce565b60015b61195c573d8080156118d7576040519150601f19603f3d011682016040523d82523d6000602084013e6118dc565b606091505b5080516000036119545760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610549565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610fc3565b506001949350505050565b82805461198d90611ded565b90600052602060002090601f0160209004810192826119af57600085556119f5565b82601f106119c857805160ff19168380011785556119f5565b828001600101855582156119f5579182015b828111156119f55782518255916020019190600101906119da565b50611a01929150611a05565b5090565b5b80821115611a015760008155600101611a06565b6001600160e01b03198116811461082457600080fd5b600060208284031215611a4257600080fd5b8135610dd881611a1a565b60005b83811015611a68578181015183820152602001611a50565b83811115610d005750506000910152565b60008151808452611a91816020860160208601611a4d565b601f01601f19169290920160200192915050565b602081526000610dd86020830184611a79565b600060208284031215611aca57600080fd5b5035919050565b6001600160a01b038116811461082457600080fd5b60008060408385031215611af957600080fd5b8235611b0481611ad1565b946020939093013593505050565b600060208284031215611b2457600080fd5b8135610dd881611ad1565b600080600060608486031215611b4457600080fd5b8335611b4f81611ad1565b92506020840135611b5f81611ad1565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff81118282101715611bac57611bac611b70565b6040525050565b600067ffffffffffffffff831115611bcd57611bcd611b70565b604051611be4601f8501601f191660200182611b86565b809150838152848484011115611bf957600080fd5b83836020830137600060208583010152509392505050565b600060208284031215611c2357600080fd5b813567ffffffffffffffff811115611c3a57600080fd5b8201601f81018413611c4b57600080fd5b610fc384823560208401611bb3565b60008060208385031215611c6d57600080fd5b823567ffffffffffffffff80821115611c8557600080fd5b818501915085601f830112611c9957600080fd5b813581811115611ca857600080fd5b8660208260051b8501011115611cbd57600080fd5b60209290920196919550909350505050565b80358015158114611cdf57600080fd5b919050565b60008060408385031215611cf757600080fd5b8235611d0281611ad1565b9150611d1060208401611ccf565b90509250929050565b60008060008060808587031215611d2f57600080fd5b8435611d3a81611ad1565b93506020850135611d4a81611ad1565b925060408501359150606085013567ffffffffffffffff811115611d6d57600080fd5b8501601f81018713611d7e57600080fd5b611d8d87823560208401611bb3565b91505092959194509250565b600060208284031215611dab57600080fd5b610dd882611ccf565b60008060408385031215611dc757600080fd5b8235611dd281611ad1565b91506020830135611de281611ad1565b809150509250929050565b600181811c90821680611e0157607f821691505b602082108103611e2157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808816835260208188168185015260a060408501528560a08501527f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff861115611e8f57600080fd5b8560051b9150818760c0860137600091840160c08181018481528683039091016060870152865190819052828701939160e001905b80831015611ee45784518252938301936001929092019190830190611ec4565b50858103608087015260008152602081019b9a5050505050505050505050565b600060033d1115611f1d5760046000803e5060005160e01c5b90565b600060443d1015611f2e5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611f5e57505050505090565b8285019150815181811115611f765750505050505090565b843d8701016020828501011115611f905750505050505090565b611f9f60208286010187611b86565b509095945050505050565b634e487b7160e01b600052601160045260246000fd5b600060018201611fd257611fd2611faa565b5060010190565b60008351611feb818460208801611a4d565b835190830190611fff818360208801611a4d565b01949350505050565b60006020828403121561201a57600080fd5b8151610dd881611ad1565b60008282101561203757612037611faa565b500390565b634e487b7160e01b600052601260045260246000fd5b6000826120615761206161203c565b500490565b6000826120755761207561203c565b500690565b6000821982111561208d5761208d611faa565b500190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526120c46080830184611a79565b9695505050505050565b6000602082840312156120e057600080fd5b8151610dd881611a1a56fea26469706673582212209b6ddcdfed0628000aaac41ff9c2c15b30b85a8ed9f56357bd6900ebd563833864736f6c634300080d0033
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.